@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Custom Green Color Override */
:root {
  --color-primary: #009883;
  --color-primary-light: rgba(0, 152, 131, 0.1);
  --color-primary-lighter: rgba(0, 152, 131, 0.05);
}

body {
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

.text-light-green {
  color: #009883;
}

section:not(.home-hero-section) {
  overflow-x: hidden;
}

/* Header Styles */
.main-navigation {
  .menu {
    display: flex;
  }
}

/* Contact Section Styles */
.contact-section {
  .wpforms-container .wpforms-field {
    padding-bottom: 0;
  }
  .contact-us-form {
    .wpforms-field-label {
      font-weight: 400;
      font-size: 18px;
      line-height: 120%;
      color: #002823;
      margin-bottom: 5px;
    }
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select,
    .wpforms-field-medium,
    .wpforms-field-large {
      font-weight: 400;
      font-size: 16px;
      line-height: 140%;
      border: 1.5px solid #002823;
      border-radius: 4px;
    }
    .wpforms-submit.btn-main {
      border-radius: 8px;
      padding: 12px;
      background-color: #009883 !important;
      width: 100%;
      font-weight: 400;
      font-size: 18px;
      line-height: 140%;
      color: #ffffff;
      height: auto;
      margin-top: 1rem;
      &:hover {
        background-color: #007f6e;
      }
    }
  }
}

.achieve-sec .animated-image {
  position: absolute;
  bottom: 0;
  left: -2rem;
  width: 60%;
}

/* Home Page */
.home-hero-section {
  .hero-title,
  .hero-description,
  .hero-buttons a,
  .hero-badge {
    opacity: 0;
  }
}
.home-hero-section .hero-buttons a {
  white-space: nowrap;
}

/* Main Menu Header */
.site-header {
  z-index: 50;
  transition: transform 0.3s ease-in-out;
  &.scrolled {
    position: sticky;
    top: 0.5rem;
    animation: slideUpDown 1s;
    .container {
      background: linear-gradient(
        270deg,
        rgba(0, 152, 131, 0.05) 0%,
        rgba(0, 152, 131, 0.1) 100%
      );
      border: 1px solid var(--Icons-Primary-3, #ffffff);
      box-shadow: 0px 4px 24px 0px #00988326;
      border-radius: 24px;
      backdrop-filter: blur(10px);
    }
  }
}

@keyframes slideUpDown {
  0% {
    transform: translateY(-150%);
  }
  100% {
    transform: translateY(0);
  }
}

.site-header.hidden {
  transform: translateY(-100%);
}

.site-header .menu li a {
  color: #606666;
  font-weight: 300;
  font-size: 18px;
  line-height: 140%;
  margin: 0 1rem;
}
.site-header .menu li.current-menu-item a,
.site-header .menu li a:hover {
  color: #009883;
}

/* Mobile Menu Toggle Button */
#mobile-menu-toggle {
  position: relative;
  z-index: 50;
}

#mobile-menu-toggle.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

#mobile-menu-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

#mobile-menu-toggle.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
  margin: 4px;
}

/* Mobile Menu */
.mobile-menu {
  padding-top: 80px;
  overflow-y: auto;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobile-menu-list li {
  border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-list li a {
  display: block;
  padding: 1rem 0;
  color: #606666;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu-list li.current-menu-item a,
.mobile-menu-list li a:hover {
  color: #009883;
}

/* Blog */
.wp-block-group__inner-container {
  width: 1300px;
  margin-inline-end: auto;
  margin-inline-start: auto;
  box-sizing: border-box;
  padding: 0px 15px;
}

.blog-content {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #009883;
  }

  /* Headings */
  h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 70px;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  h2 {
    font-size: 40px;
    font-weight: 400;
    line-height: 38px;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  h3 {
    font-size: 26px;
    font-weight: 400;
    line-height: 110%;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  p {
    color: #606666;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    margin: 1rem 0;
  }
}

/* Responsive */
@media (max-width: 1300px) {
  .wp-block-group__inner-container {
    width: 100%;
    padding: 0px 2rem;
  }
}
@media (max-width: 768px) {
  .achieve-sec .animated-image {
    position: relative;
    left: 0;
    width: auto;
  }

  .blog-content {
    h1 {
      font-size: 36px;
      line-height: 46px;
    }
    h2 {
      font-size: 24px;
      line-height: 34px;
    }
    h3 {
      font-size: 22px;
    }
    p {
      font-size: 16px;
      line-height: 24px;
    }
  }
}
