:root {
  --bs-primary: #75bb43;
  --bs-primary-rgb: 117, 187, 67;

  --primary-gradient: linear-gradient(135deg, #75bb43 0%, #679f3f 100%);

  --bs-body-bg: #fafafa;
  --bs-body-color: #111111;

  --border-color: #ececec;
  --card-bg: #ffffff;
}

/* Base */
html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);

  background-image: radial-gradient(rgba(var(--bs-primary-rgb), 0.03) 1px,
      transparent 1px);

  background-size: 26px 26px;
}

/* Logo */
.logo {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.92);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.05);

  z-index: 1000;
}

.navbar .nav-link {
  color: #1a1a1a;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--bs-primary);
}

/* Dropdown */
.dropdown-menu {
  background: #ffffff;

  border: 1px solid rgba(0, 0, 0, 0.06);

  border-radius: 16px;

  padding: 0.75rem;

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.dropdown-item {
  border-radius: 10px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: #f6f8f4;
  color: var(--bs-primary);
}

/* Hover dropdown */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 8px;
}

/* Toggler */
.navbar-toggler {
  border: none;
  box-shadow: none !important;
}

.navbar-toggler svg {
  transition: transform 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] svg {
  transform: rotate(90deg);
}

/* Buttons */
.btn-primary {
  background: var(--bs-primary);
  border: 1px solid var(--bs-primary);
  color: #ffffff;
  border-radius: 5px;
  padding: 0.8rem 1.4rem;
  box-shadow: 0 8px 20px rgba(var(--bs-primary-rgb), 0.22);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #679f3f;
  border-color: #679f3f;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(var(--bs-primary-rgb), 0.28);
  color: #ffffff;
}

.btn-outline-primary {
  background: transparent;
  border: 1px solid var(--bs-primary);
  color: var(--bs-primary);
  border-radius: 12px;
  padding: 0.8rem 1.4rem;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: #679f3f;
  border-color: #679f3f;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(var(--bs-primary-rgb), 0.22);
}

.btn-primary:active,
.btn-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:focus {
  background-color: #5d8f39 !important;
  border-color: #5d8f39 !important;
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25) !important;
}

/* Override Bootstrap Blue Defaults */
.dropdown-item:active,
.dropdown-item.active {
  background-color: var(--bs-primary);
}

.nav-link:focus,
.btn:focus,
.btn-primary:focus,
.form-control:focus,
.navbar-toggler:focus,
.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25) !important;
}

.show>.btn-primary.dropdown-toggle {
  background-color: #5d8f39 !important;
  border-color: #5d8f39 !important;
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25) !important;
}

a:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

/* Cards */
.card {
  background: var(--card-bg);

  border: 1px solid var(--border-color);

  border-radius: 22px;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);

  border-color: rgba(var(--bs-primary-rgb), 0.25);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

/* Hero Wrapper */
.hero-wrapper {
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);

  border-bottom: 1px solid rgba(0, 0, 0, 0.04);

  margin-top: -85px;
  padding-top: 85px;

  position: relative;
  overflow: hidden;
}

/* Hero background*/
.hero {
  position: relative;
  z-index: 1;
  padding: 8rem 0 6rem;
  background-image: linear-gradient(90deg,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0.2) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero h1 {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero p {
  color: #333 !important;
}

.hero.home {
  background-image:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0.2) 100%),
    url("../images/dashboardII.jpg");
}

/* Green Glow  */
.hero::before {
  content: "";

  position: absolute;

  top: -150px;
  right: -120px;

  width: 500px;
  height: 500px;

  background: radial-gradient(circle,
      rgba(var(--bs-primary-rgb), 0.14) 0%,
      transparent 70%);

  z-index: -1;
}

/* Soft Secondary Glow */
.hero::after {
  content: "";

  position: absolute;

  bottom: -200px;
  left: -120px;

  width: 420px;
  height: 420px;

  background: radial-gradient(circle,
      rgba(var(--bs-primary-rgb), 0.08) 0%,
      transparent 70%);

  z-index: -1;
}

/* Reveal */
.reveal-up {
  opacity: 0;

  transform: translateY(30px);

  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger */
.row>div:nth-child(2) {
  transition-delay: 0.1s;
}

.row>div:nth-child(3) {
  transition-delay: 0.2s;
}

.row>div:nth-child(4) {
  transition-delay: 0.3s;
}

.row>div:nth-child(5) {
  transition-delay: 0.4s;
}

.row>div:nth-child(6) {
  transition-delay: 0.5s;
}

.d-flex>div:nth-child(2) {
  transition-delay: 0.1s;
}

.d-flex>div:nth-child(3) {
  transition-delay: 0.2s;
}

.d-flex>div:nth-child(4) {
  transition-delay: 0.3s;
}

.d-flex>div:nth-child(5) {
  transition-delay: 0.4s;
}

.d-flex>div:nth-child(6) {
  transition-delay: 0.5s;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.bg-light {
  background: #ffffff !important;
}

.bg-alt {
  background: #f5f8f2 !important;
}

.hidden {
  display: none;
}

/* Mobile menu */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #ffffff;

    margin: 1rem -1rem -1rem;

    padding: 1.5rem;

    border-radius: 0 0 18px 18px;

    border-top: 1px solid rgba(0, 0, 0, 0.05);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  }
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;

  bottom: 28px;
  right: 28px;

  width: 60px;
  height: 60px;

  background: #25d366;

  color: #ffffff;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  font-size: 30px;

  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.28);

  z-index: 1000;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.06);

  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.35);

  color: #ffffff;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;

    font-size: 24px;

    bottom: 20px;
    right: 20px;
  }
}

/* Marquee Animation for Testimonials */
.marquee-container {
  mask-image: linear-gradient(to right,
      transparent,
      black 5%,
      black 95%,
      transparent);
  -webkit-mask-image: linear-gradient(to right,
      transparent,
      black 5%,
      black 95%,
      transparent);
}

.marquee-track {
  animation: scroll 40s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  min-width: 350px;
  max-width: 400px;
}

.hover-lift {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Pagination Colors - Override Bootstrap */
.pagination .page-item.active .page-link {
  background-color: var(--bs-primary) !important;
  color: white !important;
  border: none !important;
}

.pagination .page-item .page-link:hover {
  background-color: rgba(117, 187, 67, 0.1) !important;
  color: var(--bs-primary) !important;
}

.pagination .page-item .page-link {
  color: #1a1a1a;
}

.pagination .page-item.disabled .page-link {
  color: #adb5bd !important;
}

/* Fix for dropdowns to make them larger */
.dropdown-menu {
  padding: 1.5rem !important;
  animation: dropdownPop 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropdownPop {
  0% {
    opacity: 0;
    margin-top: 18px;
  }

  100% {
    opacity: 1;
    margin-top: 8px;
  }
}

.dropdown-menu .fw-bold {
  margin-bottom: 1.2rem !important;
  font-size: 1.15rem;
}

.dropdown-menu .dropdown-item {
  padding: 0.75rem 1rem !important;
  font-size: 1.05rem;
  border-radius: 8px;
  margin-bottom: 0.2rem;
  transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: rgba(117, 187, 67, 0.08) !important;
  transform: translateX(6px);
}

.icon-check-wrapper {
  pointer-events: none;
  padding: 0px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.icon-check-wrapper i {
  font-size: 12px;
}

.btn{
    font-size: 0.85rem;      
    text-transform: uppercase; 
    letter-spacing: 0.05em;
}

/* Responsive Dropdown Fixes for Mobile/Tablet */
@media (max-width: 991px) {
  .navbar-collapse .dropdown-menu {
    width: 100% !important;
    transform: none !important;
    left: 0 !important;
    padding: 0.5rem 0 !important;
    border: none !important;
    box-shadow: none !important;
    animation: none !important;
    margin-top: 0 !important;
  }

  .navbar-collapse .dropdown-menu .fw-bold {
    margin-top: 1rem !important;
    margin-bottom: 0.5rem !important;
    padding-left: 0.5rem;
  }

  .navbar-collapse .dropdown-menu .dropdown-item {
    padding: 0.6rem 1rem !important;
  }

  /* Stack mega menu columns on mobile/tablet */
  .navbar-collapse .dropdown-menu .col-md-4 {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  /* Fix hero section overlapping with fixed navbar on mobile */
  .hero.py-5 {
    padding-top: 110px !important;
  }
}

/* Accordion Green Color for Faq*/
.accordion-button:not(.collapsed) {
  background-color: rgba(224, 253, 203, 0.1) !important;
  color: #75bb43 !important;
}

/* Footer link underline on hover */
.link-group a:hover {
  text-decoration: underline !important;
  text-decoration-color: black !important;
  text-underline-offset: 4px !important;
}

/* Headings - NO underline */
.link-group h4:hover {
  text-decoration: none !important;
}

/* Mobile Responsive Fixes for Terms & Privacy Pages */
@media (max-width: 768px) {

  /* Stack cards vertically on mobile */
  .row.g-5 .col-md-6 {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  /* Remove bottom margin from last card */
  .row.g-5 .col-md-6:last-child {
    margin-bottom: 0;
  }

  /* Reduce padding inside cards */
  .card {
    padding: 1rem !important;
  }

  /* Smaller number circles */
  .bg-primary.bg-opacity-10.rounded-circle {
    width: 35px !important;
    height: 35px !important;
  }

  .fw-bold.text-primary.fs-4 {
    font-size: 1.2rem !important;
  }

  /* Adjust heading sizes */
  .card .h6.fw-bold {
    font-size: 1rem;
  }

  /* Card text size */
  .card .text-muted.small {
    font-size: 0.8rem;
  }

  /* Reduce gap between rows on mobile */
  .row.g-5 {
    margin-bottom: 2rem !important;
  }

  /* Hero section adjustments */
  h1.display-4,
  h1.display-5 {
    font-size: 1.8rem !important;
  }

  .lead {
    font-size: 0.9rem !important;
  }
}

/* WORDPRESS ADMIN BAR THINGS */

/* Shift the fixed navbar down only when the WordPress Admin Bar is present */
body.admin-bar .navbar.fixed-top {
  top: 32px;
}

/* Handle mobile screens where the admin bar expands to 46px */
@media screen and (max-width: 782px) {
  body.admin-bar .navbar.fixed-top {
    top: 46px;
  }
}