/* SHP India — Pure Herbal Solutions palette (greens, lime, sun orange, gold) */
:root {
  --ag-green-deep: #1b5e20;
  --ag-green-dark: #2e7d32;
  --ag-green: #388e3c;
  --ag-green-light: #66bb6a;
  --ag-green-bright: #8bc34a;
  --ag-orange: #f57c00;
  --ag-gold-yellow: #fbc02d;

  /* Kept for compatibility with existing markup / utilities */
  --ag-navy: var(--ag-green-deep);
  --ag-navy-mid: #256628;
  --ag-primary: var(--ag-green-dark);
  --ag-primary-light: #43a047;
  --ag-accent: var(--ag-green-bright);
  --ag-saffron: var(--ag-orange);
  --ag-flag-green: #2e7d32;

  --ag-forest: var(--ag-green-deep);
  --ag-forest-deep: #0d3010;
  --ag-gold: var(--ag-orange);

  --ag-pale-mint: #e8f5e9;
  --ag-pale-blue: var(--ag-pale-mint);
  --ag-lime: #dcedc8;

  --ag-teal: var(--ag-primary);
  --ag-teal-light: var(--ag-green-light);

  --ag-muted: #5a6570;
  --ag-text-secondary: #4a5c4a;
  --ag-mint-bg: rgba(46, 125, 50, 0.14);

  --ag-page-bg: #f7fbf7;
  --ag-section-alt: #eef7ef;

  /* Herbal banner / About page (no pure white) */
  --ag-herbal-pale: #daedc6;
  --ag-herbal-panel: #e8f4da;
  --ag-herbal-muted: #c5dfa0;

  --ag-footer: var(--ag-green-deep);
  --ag-fab: var(--ag-green-dark);

  /* Footer / inner cards — pale mint */
  --ag-hero-surface: #f2f9f2;
  /* First slider: outer + joint card surface — peach (second ref #ffcc9a / #ffcc99) */
  --ag-slider-bg: #ffcc9a;
  /* Inset panels on peach slide (ingredients box, logo tile, Net Qty) — pale mint (first ref) */
  --ag-slider-inset-panel: #e2f0d9;
  /* Thin strips (footer top, etc.) */
  --ag-brand-accent-gradient: linear-gradient(90deg, #ffb366 0%, #ffe0b2 55%, #c8e6c9 100%);
  --ag-brand-band-gradient: var(--ag-hero-surface);
  /* Footer — soft diagonal greens + light top-right glow (ref) */
  --ag-footer-bg-gradient:
    radial-gradient(ellipse 85% 70% at 90% 8%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(152deg, #003814 0%, #0a4d1a 24%, #146324 52%, #1f7a33 78%, #2e9d45 100%);

  /* Editorial neutrals (readable on light UI; use with brand greens for accents) */
  --ag-text-ink: #0f172a;
  --ag-text-body: #334155;
  --ag-text-subtle: #64748b;
  --ag-text-caption: #475569;
}

body {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ag-text-body);
  background-color: var(--ag-page-bg);
}

body.page-about {
  background-color: var(--ag-herbal-pale);
}

.font-serif-display {
  font-family: "Lora", Georgia, serif;
}

/* Navbar */
.navbar-ag {
  background: #fff;
  box-shadow: 0 1px 12px rgba(27, 94, 32, 0.08);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.navbar-ag.navbar-scrolled {
  background: var(--ag-pale-blue);
  box-shadow: 0 4px 20px rgba(27, 94, 32, 0.12);
}
@media (min-width: 992px) {
  .navbar-ag {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}
.navbar-ag .navbar-brand {
  font-weight: 700;
  color: var(--ag-navy) !important;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  margin-right: 1rem;
}
@media (max-width: 991.98px) {
  .navbar-ag .navbar-brand {
    margin-right: 0.5rem;
    max-width: calc(100% - 3.75rem);
  }
}
.site-logo-nav {
  display: block;
  height: auto;
  width: auto;
  /* Mobile-first: scales with viewport; taller floor so logos read clearly on phones */
  max-height: clamp(4.5rem, 28vw, 6rem);
  max-width: min(100%, min(92vw, 400px));
  object-fit: contain;
  object-position: left center;
  vertical-align: middle;
}
@media (min-width: 576px) {
  .site-logo-nav {
    max-height: clamp(4.75rem, 20vw, 5.5rem);
    max-width: min(100%, 360px);
  }
}
@media (min-width: 992px) {
  .site-logo-nav {
    max-height: 88px;
    max-width: min(100%, 360px);
  }
}
@media (min-width: 1200px) {
  .site-logo-nav {
    max-height: 96px;
    max-width: min(100%, 400px);
  }
}
.site-logo-footer {
  display: block;
  height: auto;
  max-height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.site-footer .site-logo-footer {
  max-height: 48px;
  max-width: 200px;
}
.navbar-ag .nav-link {
  color: #2c2c2c !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
}
.navbar-ag .nav-link:hover {
  color: var(--ag-primary) !important;
}

/* Hero carousel — peach band; slide 1 joint card matches same peach (not green full-bleed) */
.hero-carousel {
  background: var(--ag-slider-bg);
  position: relative;
  overflow: hidden;
}
.hero-carousel .hero-img-wrap img {
  max-height: min(38vh, 280px);
  width: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 992px) {
  .hero-carousel .hero-img-wrap img {
    max-height: min(42vh, 320px);
  }
}
.hero-carousel .leaf-deco {
  position: absolute;
  width: 180px;
  height: 180px;
  opacity: 0.14;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%231B5E20' d='M50 5 C20 40 5 70 50 95 C80 70 95 40 50 5'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.hero-carousel .leaf-deco.tl {
  top: -30px;
  left: -40px;
  opacity: 0.12;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%232e7d32' d='M50 5 C20 40 5 70 50 95 C80 70 95 40 50 5'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.hero-carousel .leaf-deco.br {
  bottom: -40px;
  right: -30px;
}
.hero-title {
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  font-weight: 700;
  color: var(--ag-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero-title .highlight {
  color: var(--ag-saffron);
}
.hero-tagline {
  color: var(--ag-text-caption);
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 26rem;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 8%;
  opacity: 0.85;
}
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 230, 200, 0.95);
  border: 1px solid rgba(27, 94, 32, 0.35);
  opacity: 0.65;
}
.hero-carousel .carousel-indicators .active {
  opacity: 1;
  background-color: var(--ag-primary);
  border-color: var(--ag-primary);
}
.hero-img-wrap img {
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(27, 94, 32, 0.18);
}

/* Hero slide 1 — JointPain: same peach as carousel; green only on inset panels */
.joint-slide {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 0;
  border-radius: 12px;
  background: var(--ag-slider-bg);
  border: 1px solid rgba(200, 110, 50, 0.22);
  box-shadow: 0 6px 22px rgba(160, 80, 30, 0.12);
  border-top: 3px solid rgba(245, 124, 0, 0.45);
}
.joint-slide-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 90% 55% at 50% 0%,
    rgba(255, 236, 210, 0.75) 0%,
    transparent 52%
  );
}
.joint-slide-logo-box {
  display: inline-block;
  background: var(--ag-slider-inset-panel);
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(46, 125, 50, 0.16);
  box-shadow: 0 2px 10px rgba(46, 125, 50, 0.08);
}
.joint-slide-logo {
  max-height: 58px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.joint-slide-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  font-style: italic;
  color: #1565c0;
}
.joint-slide-title {
  font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0;
}
.joint-word-joint {
  color: #1b5e20;
  text-shadow: none;
}
.joint-word-pain {
  color: #d32f2f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.joint-relief-pill {
  display: inline-block;
  background: linear-gradient(180deg, #d32f2f 0%, #b71c1c 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  letter-spacing: 0.2em;
  padding: 0.4rem 1.35rem;
  border-radius: 999px;
  border: 2px solid rgba(183, 28, 28, 0.35);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}
.joint-joints-strip {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
  color: #2d3d2d;
}
@media (min-width: 992px) {
  .joint-joints-strip {
    font-size: 0.8rem;
  }
}
.joint-slide-phone {
  color: var(--ag-green-deep);
  font-weight: 600;
  text-decoration: underline;
}
.joint-slide-phone:hover {
  color: var(--ag-primary);
}
.joint-slide-panel {
  color: #3d4a3d;
}
.joint-slide-panel-head {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ag-green-deep);
}
@media (min-width: 992px) {
  .joint-slide-panel-head {
    font-size: 0.85rem;
  }
}
.joint-ingredient-list li {
  padding: 0.15rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.72rem;
  color: #37474f;
}
.joint-slide-box {
  background: var(--ag-slider-inset-panel) !important;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.14) !important;
}
.joint-slide-warn {
  background: #d32f2f;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.65rem;
  line-height: 1.35;
}
.joint-spec-box {
  background: var(--ag-slider-inset-panel);
  border: 1px solid rgba(46, 125, 50, 0.14);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.08);
  font-size: 0.85rem;
  color: #263238;
}
.joint-slide-company {
  color: var(--ag-green-deep);
}
.joint-slide-link {
  color: var(--ag-primary);
  text-decoration: none;
}
.joint-slide-link:hover {
  text-decoration: underline;
}
.joint-joint-icon {
  font-size: 0.75rem;
  white-space: nowrap;
}
.joint-joint-icons .bi-circle-fill {
  font-size: 0.45rem;
  vertical-align: middle;
}

/* Feature cards strip */
.section-pale {
  background: var(--ag-section-alt);
}
.feature-card-ag {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(27, 94, 32, 0.08);
  border-bottom: 4px solid var(--ag-primary);
  height: 100%;
  transition: transform 0.2s ease;
}
.feature-card-ag:hover {
  transform: translateY(-4px);
}
.feature-card-ag .icon-strip {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--ag-mint-bg);
  border-radius: 6px;
  margin-bottom: 0.75rem;
}
.feature-card-ag h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ag-navy);
}
.feature-card-ag p {
  color: var(--ag-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}
.feature-card-ag .bi {
  font-size: 1.5rem;
  color: var(--ag-primary);
}

/* About */
.section-about {
  background: var(--ag-page-bg);
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.badge-years {
  position: absolute;
  bottom: 1rem;
  right: 0.5rem;
  background: #fff;
  border-radius: 999px;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-width: 200px;
  text-align: center;
}
.badge-years .num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ag-navy);
  line-height: 1;
}
.badge-years .label {
  font-weight: 700;
  color: var(--ag-navy);
  font-size: 0.9rem;
}
.badge-years .sub {
  font-size: 0.75rem;
  color: var(--ag-muted);
  margin-top: 0.25rem;
}
.about-kicker {
  color: var(--ag-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.about-heading {
  font-family: "Lora", Georgia, serif;
  color: var(--ag-navy);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}
.about-box {
  border: 1px solid #e0e4e0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  background: #fff;
}
.about-box .icon-sq {
  width: 48px;
  height: 48px;
  background: var(--ag-mint-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-box .icon-sq .bi {
  font-size: 1.35rem;
  color: var(--ag-primary);
}

/* Collections */
.collections-section .badge-teal {
  background: var(--ag-teal) !important;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.4em 0.9em;
}
.collections-section .card {
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  overflow: hidden;
}
.collections-section .card-img-top {
  height: 200px;
  object-fit: cover;
}
.collections-section .btn-outline-teal {
  color: var(--ag-teal);
  border-color: var(--ag-teal);
  font-weight: 600;
  font-size: 0.9rem;
}
.collections-section .btn-outline-teal:hover {
  background: var(--ag-teal);
  color: #fff;
  border-color: var(--ag-teal);
}

/* Network / form */
.network-kicker {
  color: var(--ag-orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.network-title {
  font-family: "Lora", Georgia, serif;
  color: var(--ag-navy);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.network-card {
  border: 1px solid #e8ebe8;
  border-radius: 10px;
  padding: 1.25rem;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.network-card .icon-box {
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, var(--ag-navy), var(--ag-primary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.network-card .icon-box .bi {
  font-size: 1.4rem;
  color: #fff;
}
.form-panel {
  background: linear-gradient(145deg, var(--ag-green-deep) 0%, #236b28 50%, var(--ag-green) 100%);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 12px 40px rgba(27, 94, 32, 0.35);
}
.form-panel .pill-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}
.form-panel .form-control {
  border-radius: 10px;
  border: none;
  padding: 0.75rem 1rem;
}
.form-panel .btn-apply {
  background: linear-gradient(180deg, #fff8e1 0%, #fffde7 100%);
  color: var(--ag-green-deep);
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 0.85rem;
}

/* Footer — diagonal forest→leaf green + soft highlight (cards stay light for copy) */
.site-footer {
  background: var(--ag-footer-bg-gradient);
  background-color: #0a3d16;
  color: var(--ag-text-body);
  font-size: 0.875rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.site-footer::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  opacity: 0.9;
}
.footer-cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0.06) 100%);
  backdrop-filter: blur(12px);
}
.footer-cta-title {
  font-size: clamp(1.125rem, 2.1vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.footer-cta-lead {
  font-size: 0.9375rem;
  color: rgba(245, 250, 246, 0.92) !important;
  max-width: 34rem;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.btn-footer-cta {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(145deg, #ef6c00 0%, #d84315 100%);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}
.btn-footer-cta:hover {
  color: #fff !important;
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
}
.btn-footer-cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}
.footer-main-panel {
  background: rgba(253, 255, 252, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.55) inset;
}
@media (min-width: 768px) {
  .footer-main-panel {
    padding: 2rem 2.25rem;
  }
}
.footer-col-head {
  min-height: 3rem;
  display: flex;
  align-items: flex-end;
  margin-bottom: 1rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(27, 94, 32, 0.1);
}
.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ag-green-deep);
}
.footer-logo-link {
  display: inline-block;
  line-height: 0;
}
.footer-col-text,
.footer-col-list,
.footer-contact-list {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ag-text-body);
}
.site-footer .footer-main-panel .text-white-50 {
  color: var(--ag-text-body) !important;
}
.footer-contact-list i.bi {
  color: var(--ag-text-subtle);
  font-size: 1rem;
}
.site-footer a:not(.social-btn):not(.btn-footer-cta) {
  color: var(--ag-green-dark);
  text-decoration: none;
  font-weight: 500;
}
.site-footer .footer-main-panel a:not(.social-btn):not(.btn-footer-cta):hover {
  color: var(--ag-green-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.site-footer a.text-white {
  color: var(--ag-green-dark) !important;
  font-weight: 500;
}
.site-footer a.text-white:hover {
  color: var(--ag-green-deep) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer .text-white-50 {
  color: var(--ag-text-caption) !important;
}
.site-footer-bar {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(0, 0, 0, 0.12);
}
.site-footer .site-footer-bar .footer-bar-text,
.site-footer .site-footer-bar .text-white-50 {
  font-size: 0.8125rem;
  color: rgba(235, 245, 236, 0.88) !important;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.social-btn.tw {
  background: #55acee;
}
.social-btn.fb {
  background: #3b5998;
}
.site-footer .footer-social .social-btn {
  background: linear-gradient(145deg, var(--ag-green-dark), var(--ag-green-deep));
  color: #fff;
  box-shadow: 0 2px 8px rgba(27, 94, 32, 0.2);
}
.site-footer .footer-social .social-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 94, 32, 0.28);
  filter: brightness(1.05);
}

/* FAB — hidden until user scrolls down */
.fab-support {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  right: max(1.5rem, env(safe-area-inset-right, 0px));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ag-orange), var(--ag-green-dark));
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(245, 124, 0, 0.4);
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.28s ease;
}
.fab-support.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.fab-support:hover {
  color: #fff;
  filter: brightness(1.08);
}
.fab-support i {
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .fab-support {
    transition: none;
  }
}

@media (max-width: 991.98px) {
  .hero-carousel .row {
    text-align: center;
  }
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
  .badge-years {
    right: 50%;
    transform: translateX(50%);
  }
}

/* ——— About page ——— */
.about-hero-wrap {
  margin-bottom: 0;
  position: relative;
  isolation: isolate;
}
/* Hero paints after the nav in DOM; keep menu above gradient + image */
.about-hero-nav {
  z-index: 1050;
}
.about-hero-nav:not(.navbar-scrolled) .navbar-brand img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.about-hero {
  position: relative;
  z-index: 0;
  min-height: 420px;
  padding-top: 5.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 992px) {
  .about-hero {
    min-height: 480px;
    padding-top: 7rem;
  }
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(27, 94, 32, 0.9) 0%,
      rgba(56, 142, 60, 0.72) 42%,
      rgba(245, 124, 0, 0.58) 85%,
      rgba(251, 192, 45, 0.45) 100%
    ),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80") center / cover no-repeat;
}
.about-hero-title {
  font-family: "Lora", Georgia, serif;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.about-breadcrumb .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  padding: 0;
}
.about-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}
.about-breadcrumb .breadcrumb-item a:hover {
  text-decoration: underline;
}
.about-breadcrumb .breadcrumb-item span,
.about-breadcrumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.85);
}

.about-hero-nav .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 500;
}
.about-hero-nav .nav-link:hover,
.about-hero-nav .nav-link.active {
  color: #fff !important;
}
.about-hero-nav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
}
@media (max-width: 991.98px) {
  .about-hero-nav:not(.navbar-scrolled) .navbar-collapse {
    background: rgba(13, 48, 16, 0.94);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
  }
}
.about-hero-nav.navbar-scrolled {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: var(--ag-pale-blue) !important;
  box-shadow: 0 4px 20px rgba(27, 94, 32, 0.14);
}
.about-hero-nav.navbar-scrolled .nav-link {
  color: #2c2c2c !important;
}
.about-hero-nav.navbar-scrolled .nav-link:hover,
.about-hero-nav.navbar-scrolled .nav-link.active {
  color: var(--ag-primary) !important;
}

body.page-about .about-hero-nav.navbar-scrolled {
  background: var(--ag-herbal-panel) !important;
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.12);
}

.navbar-ag .nav-link.active {
  font-weight: 600;
  color: var(--ag-primary) !important;
}

.about-section-white {
  background: var(--ag-herbal-pale);
}
.about-section-muted {
  background: var(--ag-herbal-muted);
}

.page-about .about-feature-card,
.page-about .about-team-card,
.page-about .about-testimonial-card,
.page-about .about-news-card {
  background: var(--ag-herbal-panel);
  border-color: rgba(46, 125, 50, 0.1);
}

.page-about .about-team-img-wrap {
  background: #dceec8;
}

.about-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  font-size: 1.75rem;
  color: #fff;
}
.about-icon-box--green {
  background: #1a5f3c;
}
.about-icon-box--pink {
  background: var(--ag-orange);
}
.about-icon-box--blue {
  background: var(--ag-green);
}

.about-tabs .nav-link {
  background: none;
  border: none;
  border-radius: 0;
  color: #2a3340;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-bottom: 3px solid transparent;
}
.about-tabs .nav-link:hover {
  color: var(--ag-primary);
}
.about-tabs .nav-link.active {
  background: none;
  color: #111;
  border-bottom-color: var(--ag-orange);
}

.about-feature-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.about-feature-icon {
  font-size: 2.25rem;
  line-height: 1;
}

.about-team-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.about-team-img-wrap {
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background: #e8ecf2;
}
.about-team-img-wrap img {
  height: 100%;
  object-fit: cover;
}
.about-social {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ag-pale-mint);
  color: var(--ag-primary);
  font-size: 0.85rem;
  text-decoration: none;
}
.about-social:hover {
  background: var(--ag-primary);
  color: #fff;
}

.about-testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.about-quote-icon {
  font-size: 2.5rem;
  color: #b8d4b9;
  line-height: 1;
}

.about-news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.about-news-img img {
  height: 200px;
  object-fit: cover;
  display: block;
}
.about-news-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--ag-orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
}
.about-news-title {
  color: var(--ag-navy);
}
.about-news-title:hover {
  color: var(--ag-primary);
}
.about-read-more {
  color: var(--ag-primary);
}
.about-read-more:hover {
  text-decoration: underline !important;
}

/* ——— Register / Login auth pages ——— */
body.page-register,
body.page-login,
body.page-forgot {
  background: linear-gradient(165deg, #0a1628 0%, #132a42 42%, #0d1f33 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
body.page-register .navbar-ag,
body.page-login .navbar-ag,
body.page-forgot .navbar-ag {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.12);
}
.auth-card-forgot {
  overflow: hidden;
}
.auth-card-topbar {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #1565c0 0%, #00897b 55%, #4db6ac 100%);
  flex-shrink: 0;
}
.auth-input-teal {
  border: 1px solid rgba(0, 137, 123, 0.55);
  background-color: #f8fafc;
}
.auth-input-teal:focus {
  border-color: #00897b;
  box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.18);
  background-color: #fff;
}
.auth-login-meta {
  width: 100%;
}
.auth-forgot-link {
  font-weight: 500;
}
.auth-page {
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.auth-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
}
.auth-card-logo {
  max-height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.auth-card-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  color: #0f2744;
  letter-spacing: -0.02em;
}
.auth-card-sub {
  color: #5c6b7a !important;
}
.auth-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a3a5c;
  margin-bottom: 0.35rem;
}
.auth-input {
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.9375rem;
}
.auth-input:focus {
  background-color: #fff;
  border-color: rgba(46, 125, 50, 0.45);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}
.auth-input.is-invalid {
  border-color: #dc3545;
}
.auth-select {
  background-color: #0f2744;
  color: #fff;
  border: 1px solid #0f2744;
  border-radius: 10px;
  padding: 0.65rem 2.25rem 0.65rem 0.85rem;
  font-size: 0.9375rem;
}
.auth-select:focus {
  border-color: #1b5e20;
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.25);
}
.auth-select option {
  color: #0f172a;
  background: #fff;
}
.btn-auth-otp {
  background: linear-gradient(145deg, #00897b 0%, #00695c 100%);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 105, 92, 0.25);
}
.btn-auth-otp:hover:not(:disabled) {
  color: #fff !important;
  filter: brightness(1.06);
}
.btn-auth-otp:disabled {
  opacity: 0.85;
}
.auth-password-wrap .auth-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}
.btn-auth-eye {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  color: #64748b;
  padding: 0 0.85rem;
}
.btn-auth-eye:hover {
  background: #e2e8f0;
  color: #334155;
}
.auth-check .form-check-input {
  border-radius: 0.25rem;
  margin-top: 0.2rem;
}
.auth-link {
  color: #1565c0;
  text-decoration: none;
}
.auth-link:hover {
  text-decoration: underline;
}
.btn-auth-submit {
  background: linear-gradient(145deg, #00897b 0%, #004d40 100%);
  color: #fff !important;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 77, 64, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.btn-auth-submit:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 77, 64, 0.4);
}

/* Full-screen loader while forgot-password (or similar) POST is in flight */
.auth-page-loader {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(10, 22, 40, 0.72);
  backdrop-filter: blur(4px);
}
.auth-page-loader.is-visible {
  display: flex;
}
.auth-page-loader-inner {
  text-align: center;
  padding: 1.5rem;
}
.auth-page-loader .spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.28em;
  color: #4db6ac;
}
.auth-page-loader-text {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(248, 250, 252, 0.95);
}

@media (max-width: 575.98px) {
  .btn-auth-otp {
    font-size: 0.8125rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* ——— Plan page (images + optional PDF) ——— */
body.page-plan {
  background-color: var(--ag-page-bg);
}
.plan-page-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  color: var(--ag-green-deep);
  letter-spacing: -0.02em;
}
/* Mobile: break out of .container so slides use full screen width */
.plan-img-gallery-bleed {
  max-width: 100%;
}
.plan-img-gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  max-width: min(1040px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.plan-img-slide {
  margin: 0;
}
.plan-img-card {
  background: #fff;
  border: 1px solid rgba(27, 94, 32, 0.1);
  border-radius: 16px;
  box-shadow:
    0 4px 6px rgba(15, 40, 25, 0.04),
    0 12px 32px rgba(15, 40, 25, 0.08);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.plan-img-card:hover {
  box-shadow:
    0 6px 10px rgba(15, 40, 25, 0.06),
    0 18px 40px rgba(15, 40, 25, 0.1);
}
.plan-img-viewport {
  padding: clamp(0.65rem, 2vw, 1.15rem);
  line-height: 0;
  background: linear-gradient(180deg, #f6faf7 0%, #ffffff 45%);
}
.plan-slide-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  body.page-plan {
    overflow-x: hidden;
  }
  .plan-img-gallery-bleed {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }
  .plan-img-gallery {
    gap: 1.35rem;
    max-width: none;
  }
  .plan-img-card {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow:
      0 2px 4px rgba(15, 40, 25, 0.06),
      0 8px 24px rgba(15, 40, 25, 0.07);
  }
  .plan-img-viewport {
    padding: 0.5rem 0.75rem 0.65rem;
    background: #fff;
  }
  .plan-slide-img {
    width: 100%;
    max-width: none;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(15, 40, 25, 0.08);
  }
}

@media (max-width: 575.98px) {
  .plan-img-gallery-bleed {
    padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
  }
  .plan-img-viewport {
    padding: 0.35rem 0.5rem 0.5rem;
  }
}
