@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Italiana&family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --italiana: "Italiana", serif;
  --dm-sans: "DM Sans", sans-serif;
  --poppins: "Poppins", sans-serif;
  --green: #1d7431;

  /* basic color palette */
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 90%);
  --black-1: hsl(0, 0%, 0%);
  --black-2: hsl(0, 0%, 20%);
  --blue-1: hsl(200, 50%, 50%);
  /* fonts */
  --ft-fy-fallback-1: sans-serif;
  --ft-fy-1: "Poppins", var(--ft-fy-fallback-1);
  --ft-se-300: 0.9rem;
  --ft-se-400: 1.05rem;
  /* spaces */
  --space-300: 1em;
  --space-350: 1.7em;
  --space-400: 2em;
  --space-600: 3em;
  /* z-index */
  --zx-400: 400;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--dm-sans);
}

body {
  overflow-x: hidden;
  width: 100%;
  margin: 0 auto;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

ul,
li {
  list-style: none;
}

h1,
h2,
h2 span,
h3,
h4,
h5,
h6 {
  font-family: var(--poppins);
  margin: 0;
  color: #202020;
}

h1 {
  font-weight: 500;
  font-size: 56px;
  margin: 0 0 20px 0;
}

a,
ul,
li,
p {
  font-family: var(--dm-sans);
  color: #202020;
}

p {
  line-height: 1.7em;
  font-size: 1.1em;
}

.container {
  width: 95%;
  margin: auto;
  padding: 20px 30px;
}

.green {
  color: var(--green);
}

/* ======= Animations ====== */
.reveal {
  position: relative;
  opacity: 0;
}

.reveal.ani-active {
  opacity: 1;
}
.ani-active.fade-bottom {
  animation: fade-bottom 0.8s ease-in;
}
.ani-active.fade-top {
  animation: fade-top 0.8s ease-in-out;
}
.ani-active.fade-left {
  animation: fade-left 0.8s ease-in-out;
}
.ani-active.fade-right {
  animation: fade-right 0.8s ease-in;
}
@keyframes fade-bottom {
  0% {
    transform: translateY(150px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-left {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-right {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.animated-p1 {
  animation-duration: 1.5s;
  animation-fill-mode: both;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-90px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInDown {
  animation-name: fadeInDown;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(150px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadeInLeft {
  animation-name: fadeInLeft;
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(-150px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadeInRight {
  animation-name: fadeInRight;
}

@keyframes fadeInTop {
  0% {
    opacity: 0;
    transform: translateY(190px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInTop {
  animation-name: fadeInTop;
}

/* ===== Header - Navbar ====== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 9rem 5px 9rem;
  background: #006d31;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  width: 94px;
  height: 121px;
  margin: 0px 0px 0px 15px;
}

.tooltip {
  display: grid;
  place-items: center;
  line-height: var(--space-350);
  position: relative;
}
.tooltip__content {
  color: #fff;
  z-index: var(--zx-400);
  width: max-content;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  padding: 0.3em 0.8em;
  font-size: 18px;
  font-weight: 700;
  border-radius: 6px;
  background-color: #a0a776;
}
.tooltip__content_top {
  transform: translateY(-100%);
}
.tooltip__content_top::before {
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  bottom: calc(var(--wh) / 2 * -1);
}

.tooltip__content::before {
  --wh: 10px;
  width: var(--wh, 10px);
  position: absolute;
  content: "";
  aspect-ratio: 1;
  background-color: #a0a776;
}

.tooltip:hover .tooltip__content {
  transition: opacity 250ms ease-in;
  opacity: 1;
  visibility: visible;
}

@media (max-width: 950px) {
  .row {
    flex-direction: column;
  }
}

.zosma-text h3 {
  font-size: 41px;
  color: #fff;
}

.navbar.scroll-on,
.navbar.responsive-navbar.scroll-on {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 0.125rem 1.75rem 0 rgb(0, 0, 0, 0.3);
  transition: all 0.15s ease-in-out 0s;
  z-index: 1000;
  animation: headerSlideDown 0.5s ease forwards;
}

.navbar.scroll-on ul li a {
  color: #202020;
}

@keyframes headerSlideDown {
  0% {
    margin-top: -100px;
    opacity: 0;
  }

  30% {
    margin-top: -50px;
    opacity: 0;
  }

  100% {
    margin-top: 0;
    opacity: 1;
  }
}

.btn {
  padding: 15px 20px;
  border: 2px solid var(--green);
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  margin-top: 20px;
  margin-right: 10px;
  transition: 0.5s;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 10;
}

.btn.contact-btn {
  background: #fff;
  border-color: #fff;
  color: #202020;
}

.btn:hover {
  background: transparent;
  color: #fff;
}

/* ===== Services Section ===== */
.section-header {
  position: relative;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 60px;
  padding-bottom: 5px;
}

.section-header::before {
  position: absolute;
  content: "";
  width: 100px;
  height: 3px;
  left: calc(50% - 50px);
  bottom: 0;
  background: linear-gradient(to left, #ffea00, #024e24, #ffea00);
  border-radius: 100%;
}

.section-header::after {
  position: absolute;
  content: "";
  width: 20px;
  height: 9px;
  left: calc(50% - 10px);
  bottom: -3px;
  background: #024e24;
  border-radius: 5px;
}

.section-header h1 {
  font-weight: 400 !important;
  font-size: 50px;
  line-height: 1.2;
  color: #444;
}

/* Banner */

.page-header {
  height: 25vh;
  background: url("/images/banner2.jpg");
  background-color: rgb(0, 0, 0, 0.7);
  background-blend-mode: multiply;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.banner h2 {
  color: #fff;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 20px;
  position: relative;
  z-index: 105;
}

/* ===== BLOGS Section ===== */
.blogs .flex {
  align-items: flex-start;
  gap: 50px;
}

.linkedin-links {
  background: #fcffd1;
  padding: 10px 20px;
}

.linkedin-links li {
  padding: 12px 5px;
  border-bottom: 1px solid #a0a776;
  font-size: 20px;
  margin-left: 20px;
  list-style-image: url("images/check-mark.png");
  vertical-align: middle;
  transition: 0.5s ease-out;
}

.linkedin-links li:hover {
  background: #e9edba;
  transform: translateY(-3px);
}

/* ===== About Us Section ===== */
.section {
  padding: 30px;
}

section:not(#home) h1 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 30px;
}

.section h2 {
  font-size: 38px;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

.about.section .green {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  justify-content: center;
}

.flex {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-evenly;
  margin-bottom: 10px;
}

.flex-img {
  overflow: hidden;
  border-radius: 6px;
  width: 50%;
}

.flex img {
  width: 70%;
  display: flex;
  margin: 0 auto;
  border-radius: 6px;
  transition: 0.5s;
}

.flex img:hover {
  transform: scale(1.05);
}

.flex-content {
  width: 50%;
}

.flex-content h3 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 10px;
  font-weight: 500;
}

.flex-content p {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
}

.flex-content p strong {
  color: #444;
}

.flex .box {
  text-align: center;
  padding: 30px 40px;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  font-size: 20px;
  width: 40%;
  height: auto;
}

.box h3 {
  font-weight: 400;
}

.box p {
  font-size: 46px;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.3;
}

/* ===== Contact Section ===== */

.contact-info {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  box-shadow: 0 0 29px 0 rgb(0 0 0 / 20%);
}

.float-right {
  padding: 40px 25px;
  width: 35%;
  background: var(--green);
}
.float-left {
  width: 80%;
}

.float-right h2,
.float-left h2 {
  font-size: 38px;
  font-weight: 400;
  margin-bottom: 30px;
  color: #fff;
}

.float-left h2 {
  padding: 40px 40px 0 30px;
  color: #202020;
}

.float-right h4 {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}

.info-details {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.info-details i {
  font-size: 22px;
  color: #fff;
}

.info-details p {
  font-size: 18px;
  text-align: left;
  color: #fff;
}

.info-details p a {
  color: #fff;
}

.contact_form {
  position: relative;
  width: 100%;
  background: #fff;
  z-index: 20;
  padding: 0px 100px 25px 100px;
  border-radius: 6px;
  margin-top: 30px;
}

.contact_form input[type="email"],
.contact_form input[type="tel"],
.contact_form input[type="text"],
.contact_form input[type="url"],
.contact_form textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  margin: 0 0 15px;
  padding: 10px;
  box-sizing: border-box;
  font: 400 14px/16px var(--poppins);
  border-radius: 5px;
}

.contact_form textarea {
  height: 100px;
}

label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.contact_form input:focus,
.contact_form textarea:focus {
  outline-color: #e1e1e1;
}

.contact_form .btn {
  cursor: pointer;
  color: #fff;
  height: auto;
  background: linear-gradient(145deg, #1d7431 0, #2aff5c 100%);
  margin-bottom: 60px;
  font: 500 12px/16px var(--montserrat);
  border-radius: 5px;
  font-size: 1.2em;
  margin: 0px 0 10px 0;
  padding: 15px 30px;
  border: 2px solid #fff;
  transition: 0.4s;
}

.contact_form .btn:hover {
  transform: translateY(-3px);
  background: #fff;
  color: #1d7431 !important;
  border-color: #1d7431;
}

.contact_form .empty_notice {
  color: #f52225;
  margin-bottom: 15px;
  display: none;
  text-align: left;
  font-weight: 500;
}
.contact_form .contact_error {
  color: #f52225;
  text-align: left;
  font-weight: 500;
}
.contact_form .returnmessage {
  color: green;
  text-align: left;
  font-weight: 500;
  margin-bottom: 15px;
}

/* ===== Footer ===== */
footer {
  position: relative;
  height: auto;
  padding: 0px 0 0 0;
  background: #e1e1e1;
  text-align: center;
  color: #202020;
}

footer .container {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

footer .branding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

.branding p {
  color: #202020;
}

/* ====== Responsive Design ====== */
@media (max-width: 991px) {
  .navbar {
    padding: 1rem 3rem;
  }

  .page-header {
    height: 20vh;
    background-position: left;
  }

  .float-right {
    padding-left: 30px;
    padding-right: 30px;
  }

  .flex,
  .contact-info {
    flex-direction: column;
  }

  .flex-content,
  .float-left,
  .float-right {
    width: 100%;
  }
  .flex-img {
    width: 70%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 48px;
  }

  .flex-img {
    width: 100%;
  }

  .services,
  .contact,
  .about {
    padding-top: 0;
  }

  .banner h3 {
    font-size: 26px;
  }

  .float-right {
    text-align: center;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 46px;
    line-height: 1.2em !important;
  }

  .navbar {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .section h2 {
    margin-bottom: 20px;
    font-size: 30px;
  }

  .flex-content p {
    padding: 0;
    font-size: 16px;
  }

  .container {
    padding: 10px 10px;
  }

  .services,
  .contact,
  .about {
    padding: 15px;
  }

  .flex-content h2 {
    font-size: 28px;
  }

  .contact-info {
    width: 100%;
  }
}

@media (max-width: 425px) {
  section:not(#home) h1 {
    line-height: 1.7;
  }

  h1 {
    font-size: 40px;
  }

  .flex {
    margin-bottom: 0;
  }

  .banner h3 {
    font-size: 18px;
  }

  .page-header {
    height: 25vh;
    background-position: left;
  }

  .page-header.section {
    padding: 0;
  }

  .popup-mobilemenu .menu-inner {
    width: 280px;
  }

  .float-right {
    padding: 30px 20px;
  }

  .float-right h2,
  .float-left h2 {
    font-size: 30px;
  }

  .info-details p,
  .float-right h4 {
    font-size: 14px;
  }

  .section-header h1 {
    font-size: 38px;
  }
}

@media (max-width: 375px) {
  h1 {
    font-size: 34px;
  }
}
