html, body {
  margin: 0;
  padding: 0;
}

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  /* FONTS */
  --open-sans: "Open Sans", sans-serif;

  /* COLORS */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --white: #ffffff;
  --background-light: #f9fafb;
  --background-dark: #111827;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;

  /* SHADOWS */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--open-sans);
  color: var(--text-primary);
  line-height: 1.4;
}

a,
ul,
li {
  text-decoration: none;
  list-style: none;
}

a:link,
a:visited {
  color: inherit;
}

img {
  width: 100%;
  height: auto;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: var(--open-sans);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

h2 {
  font-size: 2.3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

section {
  padding: 80px 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ========== HEADER ========== */

/* HEADER BASE — FINAL, LOCKED */
header.header,
nav.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
}

/* === HEADER INNER — CLINIC MATCH (LOCKED) === */
header.header .flex,
nav.header .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 32px;   /* 🔑 THIS is the match */
  line-height: 1;
}


/* Logo — CLINIC MATCH (THIS IS THE KEY) */
header.header .logo img,
nav.header .logo img {
  height: 36px;
  width: auto;
  display: block;
}

/* Prevent vertical stretching */
header.header *,
nav.header * {
  box-sizing: border-box;
}


/* ========== DESKTOP NAV (default) ========== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: all 0.4s ease;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hide hamburger on desktop */
.nav-toggle {
  display: none;
}

/* ========== MOBILE NAV (ALL PAGES EXCEPT SHOP) ========== */
@media (max-width: 900px) {
  /* Add padding to body so content doesn't hide under fixed header */
  /* body:not(.shop-page) {
    padding-top: 90px;
  } */

  /* Show hamburger button - ONLY on non-shop pages */
  body:not(.shop-page) .nav-toggle {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.8);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    font-size: 0;
    z-index: 1001;
  }

  /* Hide hamburger on shop page */
  body.shop-page .nav-toggle {
    display: none !important;
  }

  body:not(.shop-page) .hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  /* Hamburger → X animation */
  body:not(.shop-page) .nav-toggle.is-open .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body:not(.shop-page) .nav-toggle.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  body:not(.shop-page) .nav-toggle.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Mobile menu - HIDDEN by default on NON-SHOP pages */
  body:not(.shop-page) .nav-menu {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* HIDDEN BY DEFAULT */
    display: none !important;
    pointer-events: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    
    margin: 0;
    height: calc(100vh - 90px);
    padding: 24px 20px;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    
    overflow-y: auto;
    z-index: 999;
  }

  /* SHOW menu when .active class is added */
  body:not(.shop-page) .nav-menu.active {
    display: flex !important;
    pointer-events: auto;
  }

  /* Shop page keeps normal horizontal menu on mobile */
  body.shop-page .nav-menu {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    background: transparent !important;
    overflow: visible !important;
  }

  /* Mobile menu styling for non-shop pages */
  body:not(.shop-page) .nav-menu li {
    width: 100%;
    margin: 0;
  }

  body:not(.shop-page) .nav-menu .nav-link {
    display: block;
    width: 100%;
    padding: 14px 8px;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  body:not(.shop-page) .nav-menu .nav-link::after {
    display: none; /* Remove underline animation on mobile */
  }

  body:not(.shop-page) .nav-menu paypal-cart-button {
    margin-top: 16px;
    width: 100%;
  }
}

/* ========== DESKTOP (restore normal layout) ========== */
@media (min-width: 901px) {
  body {
    padding-top: 0;
  }

  .nav-toggle {
    display: none !important;
  }

  .nav-menu {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
  }
}
/* Hero trust bar (Pinterest traffic reassurance) */
.trust-bar{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  align-items: center;
  font-size: 0.95rem;
  opacity: 0.95;
}

.trust-bar span{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}

/* ========== HERO SECTION (FIXED HEADER–SAFE) ========== */

.hero-section {
  height: 100vh;
  background: url("../images/hero-bg.jpg") no-repeat top center / cover fixed;
  background-color: var(--background-dark);
  position: relative;
  /* ❌ REMOVED margin-top */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  z-index: 1;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: linear-gradient(
    0deg,
    rgba(26, 20, 20, 0) 27%,
    rgba(26, 20, 20, 0.8) 100%
  );
  z-index: -1;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(26, 20, 20, 0.5);
  z-index: -1;
}

.hero-section .container {
  max-width: 881px;
}

.hero-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* ========== SLIM HERO (SHOP + CLINIC) ========== */

.page-hero.page-hero--slim {
  width: 100%;
  margin: 0;                 /* ❌ no margin-top */
  padding: 0;
  height: clamp(260px, 30vw, 460px);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  background: #071a3a;
}

.page-hero.page-hero--slim img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 62%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95rem 3rem;
  border-radius: 200px;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  vertical-align: middle;
  outline: none;
  transition: all 0.5s linear;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: var(--background-dark);
  transform: scalex(0);
  transform-style: preserve-3d;
  transition: transform 0.4s ease-in-out;
  transform-origin: right center;
  z-index: -1;
}

.btn:hover:before {
  transform: scalex(1);
  transform-origin: left center;
}

.btn:hover {
  color: var(--white);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white) !important;
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color) !important;
  box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
  color: var(--white) !important;
}

.btn i {
  margin-left: 10px;
}
.newsletter{
  padding: 60px 0;
  text-align: center;
}

.newsletter-intro{
  max-width: 760px;
  margin: 12px auto 18px;
  line-height: 1.6;
  color: #333;
}

.newsletter-embed{
  max-width: 640px;
  margin: 0 auto;
}

.newsletter-note{
  margin-top: 12px;
  font-size: 0.95rem;
  color: #555;
}
/* Newsletter section on dark background */
.newsletter{
  color: #f2f4f8;
}

.newsletter h1{
  color: #ffffff;
}

.newsletter .span{
  color: #cfd8ff;
}

.newsletter-intro{
  color: #e6e9f2;
}

.newsletter-note{
  color: #cfd4e6;
}

/* Make "Start Here" stand out for ad traffic without looking salesy */
.nav-start{
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* ========== MARKETING VIDEO ========== */
.video-wrapper {
  position: relative;
  max-width: 800px;
  height: 500px;
  margin: 0 auto 2.5rem;
}

#brainsteady-video {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e7ff;
  background-color: var(--background-dark);
}

/* Overlay play button */
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: var(--background-dark);
  background: none;
  border: none;
  cursor: pointer;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s ease;
}

.play-overlay i {
  background-color: var(--white);
  border-radius: 300px;
}

/* ========== About Section ========== */
.about-us {
  padding-top: 60px;
}

.about-us .flex {
  gap: 30px;
  align-items: stretch;
}

.about-us .flex > div {
  width: calc(100% / 2);
}

.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.section-heading h1 {
  font-size: 3rem;
}

.section-heading .span {
  margin-bottom: 40px;
  transition: all 0.5s ease-in-out;
  box-shadow: 0 5px 7px rgba(0, 0, 0, 0.4);
}

.section-heading .span:hover {
  background: var(--background-dark);
  color: #77b2ff;
}

.span {
  padding: 0.6rem 1rem;
  border-radius: 200px;
  background: #e1edff;
  color: var(--background-dark);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: inline-block;
  font-family: var(--open-sans);
}

.span i {
  margin-right: 10px;
}

.content p {
  padding-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.content ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
}

.content ul li {
  width: calc(100% / 2);
}

.content ul li i {
  color: var(--primary-color);
}

.content .btn {
  margin-top: 10px;
}

.flex-img {
  border-radius: 10px;
  overflow: hidden;
}

.flex-img img {
  border-radius: inherit;
  transition: all 0.4s ease-in;
  height: 100%;
  object-fit: cover;
}

.flex-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.section-intro{
  max-width: 720px;
  margin: 12px auto 6px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}
.neuro-translation{
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  max-width: 760px;
}
/* Soft validation line under section headings */
.section-intro{
  max-width: 760px;
  margin: 14px auto 10px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}
.benefits-next{
  margin: 18px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.benefits-next a{
  text-decoration: underline;
  font-weight: 600;
}
.testimonials-cta{
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}




/* ========== Supporting Section ========== */
.supporting {
  text-align: center;
  padding: 4.5rem 0;
  background-color: #e4ebfa;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23C1D6FA' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23B7D4FF'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
  position: relative;
  z-index: 1;
}

.supporting::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><g fill="%23FFFFFF"><path d="M0 0v100c250 0 375-24 500-48 125 24 250 48 500 48V0H0Z" opacity=".5"></path><path d="M0 0v4c250 0 375 24 500 48C625 28 750 4 1000 4V0H0Z"></path></g></svg>')
    no-repeat top -5% center/contain;
}

.supporting::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 480"><g fill="%23A5BCE5"><path d="M240 0a240 240 0 1 0 0 480 240 240 0 0 0 0-480Zm0 400a160 160 0 1 1 0-320 160 160 0 0 1 0 320Z"></path><circle cx="240" cy="240" r="80"></circle></g></svg>')
    no-repeat top right/35%;
  background-position: top -120% right -15%;
  opacity: 0.3;
}

.supporting p {
  font-size: 1.1rem;
  max-width: 820px;
  margin: 0 auto 3rem;
}

.benefits {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 0 4rem;
}

.benefit-card {
  background: #fff;
  padding: 2rem 1.75rem;
  border: 1px solid #cecece;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s;
}

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

.benefit-card i {
  font-size: 2.2rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
  padding: 0.85rem;
  border-radius: 100%;
  background: var(--background-dark);
}

.benefit-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.benefit-card p {
  margin-bottom: 0;
}

/* ========== Secondary CTA ========== */
.secondary-cta {
  background: url("../images/constellation.png") repeat center center/contain
    fixed;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.secondary-cta::before {
  position: absolute;
  content: "";
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 480"><g fill="%23182237"><path d="M0 0v120a360 360 0 0 1 360 360h120A480 480 0 0 0 0 0Z"></path><path d="M0 240v120a120 120 0 0 1 120 120h120A240 240 0 0 0 0 240Z"></path></g></svg>')
    no-repeat bottom left/25%;
}

.secondary-cta::after {
  position: absolute;
  content: "";
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  left: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 480"><g fill="%23182237"><path d="M240 0a240 240 0 1 0 0 480 240 240 0 0 0 0-480Zm0 400a160 160 0 1 1 0-320 160 160 0 0 1 0 320Z"></path><circle cx="240" cy="240" r="80"></circle></g></svg>')
    no-repeat top right/25%;
  background-position: top -50% right -10%;
  opacity: 0.4;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.row > * {
  width: calc(100% / 2);
}

.row h2 {
  margin-bottom: 0;
  color: var(--white);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.3;
}

.secondary-cta-img {
  overflow: hidden;
  border-radius: 10px;
}

.secondary-cta-img img {
  border-radius: inherit;
  transition: all 0.5s ease-in-out;
}

.secondary-cta-img img:hover {
  transform: scale(1.05);
}

.secondary-cta-content p {
  padding: 20px 0 30px;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: justify;
}

.secondary-cta-content .btn:before,
.secondary-cta-content .btn:hover:before {
  background: var(--primary-light);
}

/* ========== Testimonials ========== */
.testimonials {
  background: var(--white);
  text-align: center;
}

.testimonials .section-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  padding-bottom: 10px;
}

.testimonials-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #cecece;
  border-radius: 10px;
  margin-top: 1.5rem;
  background: var(--background-dark);
  overflow: hidden;
  min-height: 320px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 3rem;
  pointer-events: none;
  align-self: anchor-center;
}

.testimonial.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-text {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 3rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.author-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: left;
  color: var(--border-light);
}

.author-title {
  color: var(--text-light);
  font-size: 0.9rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-light);
  transition: all 0.3s ease;
  cursor: pointer;
}

.testimonial-btn.active {
  background: var(--background-dark);
  transform: scale(1.2);
}

/* ========== Newsletter ========== */
.newsletter {
  padding: 5rem 2rem;
  position: relative;
  background-color: var(--background-light);
  z-index: 1;
}

.newsletter .container {
  position: relative;
  z-index: 1;
  padding: 5rem;
}

.newsletter .container::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  background: url("../images/bermuda-diamond.png") no-repeat center center/cover;
  z-index: -1;
}

.newsletter .row {
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 60%;
  margin: 0 auto;
}

.newsletter .row > * {
  width: 100%;
}

.newsletter .row p {
  font-size: 1.2rem;
  color: var(--background-light);
}

.newsletter-form {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

input,
textarea {
  padding: 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--open-sans);
  width: 100%;
  height: 64px;
  outline: none;
  border: 1px solid #cecece;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-light);
}

.newsletter-form .btn {
  height: 64px;
  border-radius: 0;
  width: 40%;
  background: var(--background-dark);
}

.newsletter-form .btn:before,
.newsletter-form .btn:hover:before {
  background: var(--primary-dark);
}


/* ========== Footer ========== */
footer {
  background-color: var(--background-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

footer::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  background: url("../images/constellation.png") repeat center center/40%;
  z-index: -1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 115px;
  height: 115px;
  filter: brightness(0) invert(1);
}

.footer-logo span {
  font-size: 1.6rem;
  font-weight: 700;
  word-break: break-all;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: var(--primary-light);
}

footer .contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: transparent !important;
  padding: 0 !important;
}

footer .contact-details {
  background: none;
  border: 1px solid #465575;
  width: 100%;
}

footer .contact-details p {
  margin-left: 0;
  padding-bottom: 0;
}

footer .contact-details summary {
  color: var(--white);
  height: 46px;
}

footer .contact-info a {
  color: var(--primary-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  word-break: break-all;
}

footer .contact-details[open] {
  background: none;
  border-color: #5e6d8b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-light);
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

/* ========== PAGE-SPECIFIC HERO SECTIONS ========== */
.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 55vh;
  margin-top: 90px;
  padding: 0 10rem;
  background: url("../images/hero-bg.jpg") no-repeat center center/cover fixed;
  color: var(--white);
  z-index: 1;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(26, 20, 20, 0.5);
  z-index: -1;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: var(--background-dark);
  background: linear-gradient(
    0deg,
    rgba(26, 20, 20, 0) 27%,
    rgba(26, 20, 20, 0.8) 100%
  );
  z-index: -1;
}

.page-hero h2 {
  font-size: 1.4rem;
  color: var(--border-light);
  margin-bottom: 0;
}

/* ========================================================================================================
                  <---------- SHOP PAGE DESIGN ---------->
=========================================================================================================== */
.page-hero.shop-hero {
  background-image: url("../images/pills-bg.png");
  background-size: contain;
  background-position: top right;
  background-color: #d4cabe;
}

.product-layout {
  width: 70%;
}
@media (max-width: 960px) {
  .product-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .product-info {
    align-items: center;
  }
}

.product-img img {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-xl);
  border: 1px solid #e5e7eb;
  background-color: #e4ebfa;
}

/* === PRODUCT IMAGE SLIDER === */
.product-img-slider {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background-color: #e1edff;
  padding-bottom: 30px;
}
.slider-wrapper {
  position: relative;
}
.slide {
  display: none;
  /* width: 70%; */
  max-width: 575px;
  height: 400px;
  margin: auto;
  object-fit: contain;
  cursor: pointer;
}
.slide.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #e1edff;
  color: var(--primary-color);
  font-size: 1.5rem;
  padding: 0.3rem 0.75rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s;
}
.slider-btn.prev {
  left: 10px;
}
.slider-btn.next {
  right: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

/* === DOTS === */
.slider-dots {
  text-align: center;
}
.dot {
  width: 10px;
  height: 10px;
  margin: 0 6px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  transition: background 0.3s ease;
}
.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* === THUMBNAILS === */
.slider-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  justify-content: center;
}
.slider-thumbs img {
  width: 90px;
  height: 90px;
  border-radius: 6px;
  padding: 7px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  background-color: var(--white);
  transition: border 0.5s ease-in-out;
}
.slider-thumbs img:hover {
  border: 2px solid var(--primary-color);
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox-img {
  max-height: 100vh;
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  z-index: 9999;
}
.lightbox-prev {
  left: 30px;
}
.lightbox-next {
  right: 30px;
}

.product-info {
  margin-top: 3rem;
  text-align: center;
}

.product-info h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--background-dark);
  margin-bottom: 0.9rem;
}
.short-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Key Benefits list */
.key-benefits {
  padding: 0;
  margin: 1.25rem 0 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.key-benefits li {
  color: var(--primary-color);
  font-size: 1rem;
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

/* Dosage box */
.dosage-box {
  background: #e1edff;
  border: 1px solid #c1d8fc;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  text-align: left;
}

.dosage-box h3 {
  margin: 0 0 0.9rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.dosage-box ul {
  margin-left: 0.75rem;
}

.dosage-box ul li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  font-size: 1.1rem;
  padding-bottom: 10px;
  font-weight: 500;
}

.dosage-box ul li:nth-child(1) span {
  padding-left: 45px;
}
.dosage-box ul li:nth-child(2) span {
  padding-left: 35px;
}

.dosage-box ul li i {
  padding: 0 10px;
  color: var(--primary-color);
}

.product-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 3rem 0;
  cursor: default;
}
.product-card {
  background: linear-gradient(135deg, #203970 0%, var(--background-dark) 100%);
  border-radius: 20px;
  padding: 2rem 1rem;
  text-align: center;
  transition: all 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
}
.product-card:hover {
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.4);
}

.best-seller {
  border: 3px solid var(--primary-color);
  transform: scale(1.1);
}

.product-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  color: #77b2ff;
  margin-bottom: 0.7rem;
}

.product-card-img {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  position: relative;
  z-index: 1;
  margin: 1rem auto 0;
  width: 140px;
  height: 180px;
}

.product-card-img img {
  position: absolute;
  left: 40px;
  z-index: -1;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-img.bottle-1 img:nth-child(1) {
  left: 0;
}

.product-card-img img:nth-child(1) {
  left: -40px;
}

.product-card-img img:nth-child(2) {
  left: 40px;
}

.product-card-img img:nth-child(3) {
  left: 0;
  height: 200px;
}

.add-cart {
  width: 100%;
  padding: 0.75rem 1rem;
  font-weight: 400;
  font-size: 1rem;
  margin-top: 30px;
}

.btn-disabled {
  cursor: not-allowed;
}

.sold-out-note {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.sold-out-note a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Bonus Offer */
.bonus-offer {
  background: linear-gradient(135deg, #203970 0%, var(--background-dark) 100%);
  background-size: 100% 100%;
  background-position: left center;
  border-radius: 20px;
  padding: 2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  margin-bottom: 2rem;
  transition: background-position 0.4s ease-in-out;
  position: relative;
}

.bonus-offer:hover {
  background-position: right center;
  background-size: 200% 200%;
  transition: background-position 0.6s ease-in-out, background-size 0.6s ease-in-out;
}

.bonus-offer h3 {
  font-size: 2.4rem;
  margin: 0.8rem 0;
  font-weight: 800;
  background: #ffffff;
  background: linear-gradient(to right, #90c0ff 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bonus-offer p {
  font-size: 1.3rem;
  font-weight: 600;
  padding-bottom: 1rem;
}

.bonus-offer ul li {
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--background-light);
}

.bonus-offer ul li i {
  color: var(--primary-light);
}

/* Benefits */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.benefits-list li {
  color: var(--primary-color);
  font-size: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Subscribe CTA */
.subscribe-cta {
  padding: 2rem;
  background-color: #e1edff;
  border: 1px solid #c1d8fc;
  color: var(--text-primary);
  border-radius: 10px;
}

.subscribe-guide {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.subscribe-guide p {
  padding-bottom: 10px;
}

.bs-label-section {
  background-color: var(--background-light);
  padding: 30px 0;
}

.bs-label {
  margin-top: 1.5rem;
}

.bs-label.with-bottle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  cursor: default;
  margin-top: 2rem;
}
.badge {
  flex: 1 1 160px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.95rem;
  color: #1f2937;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.badge i {
  color: var(--primary-color);
}

.cert-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.cert-modal .modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeInScale 0.25s ease-in-out;
}
.cert-modal h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #1f2937;
}
.cert-modal p {
  font-size: 1rem;
  line-height: 1.5;
  color: #374151;
}
.close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
}
@keyframes fadeInScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.badge {
  cursor: pointer;
  background-color: #f1f5f9;
  border: none;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  margin: 0.5rem 0.5rem 0 0;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}
.badge:hover {
  background-color: #e0e7ff;
}

/* ========================================================================================================
                  <---------- INGREDIENTS PAGE DESIGN START ---------->
=========================================================================================================== */
.page-hero.ingredients-hero {
  background-color: #d4cabe;
  background-image: url("../images/pills-bg.png");
  background-size: contain;
  background-position: top right;
}

.ingredients-section {
  background-color: var(--white);
  padding: 5rem 1rem;
}

.ingredients-section h2 {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 30px;
}

.ingredients-section .container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.ingredient {
  background: linear-gradient(135deg, #203970 0%, var(--background-dark) 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: stretch;
}

.ingredient::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #3b82f633, transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.ingredient:hover::before {
  left: 100%;
}

.ingredient:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.ingredient i {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary-light);
}

.ingredient h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ingredient p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
}

.ingredients-cta {
  background: url("../images/bermuda-diamond.png") no-repeat center center/cover;
  color: #ffffff;
  padding: 4rem 1rem;
  text-align: center;
}

.ingredients-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.ingredients-cta p {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.ingredients-cta .btn {
  background: #ffffff;
  color: var(--background-dark) !important;
  border: none;
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  border-radius: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.2s ease;
}

.ingredients-cta .btn:hover {
  color: var(--white) !important;
}

/* ========================================================================================================
                  <---------- ABOUT PAGE DESIGN ---------->
=========================================================================================================== */
.page-hero.about-hero {
  background-image: url("../images/about-bg.jpg");
}

.about-section .flex {
  align-items: center;
}

.why-trust-us {
  background: var(--background-light);
  text-align: center;
}

.why-trust-us ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 720px;
  margin: 20px auto 10px;
  gap: 0.8rem;
  text-align: left;
  color: var(--text-primary);
}

.why-trust-us ul li {
  background: #e4ebfa;
  padding: 0.9rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: default;
}

.why-trust-us ul li i {
  color: var(--primary-color);
  margin-right: 10px;
}

.our-mission {
  background-color: #e4ebfa;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23C1D6FA' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23B7D4FF'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

.our-mission .flex:nth-child(2) {
  margin-top: 4rem;
}

.our-mission .flex > div,
.why-choose-us .flex > div {
  width: calc(100% / 2);
}

.our-mission span {
  font-size: 1.5rem;
  margin-bottom: 7px;
  font-weight: 600;
  display: inline-block;
}

.our-mission span i {
  margin-right: 5px;
  font-size: 1.4rem;
}

.our-mission h2,
.about-section h2,
.why-content h2,
.why-trust-us h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.our-mission p,
.why-content p,
.why-trust-us p {
  line-height: 1.6;
  padding-bottom: 10px;
}

.our-mission img {
  border-radius: 10px;
}

/* ======= WHY CHOOSE US ======= */
.why-content {
  color: var(--text-primary);
}

.section-label {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  background-color: #eef2ff;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-label i {
  margin-right: 5px;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.why-list li i {
  color: var(--secondary-color);
  font-size: 1rem;
}

.why-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

/* ========================================================================================================
                  <---------- CONTACT PAGE DESIGN ---------->
=========================================================================================================== */
.page-hero.contact-hero {
  background-image: url("../images/contact-bg.png");
}

.contact-section .container {
  padding: 0 2rem;
}

.contact-section .flex {
  align-items: stretch;
}

.contact-form {
  padding: 2rem;
  background-color: var(--background-dark);
  background-image: url("../images/about-shape-1.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 10px;
  color: var(--white);
}

.contact-form h2 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
}

.contact-form p {
  padding: 1rem 0;
  color: var(--text-light);
}

.form-group {
  margin-bottom: 20px;
}

.form-input {
  background: transparent;
  border: 1px solid #37414e;
  border-radius: 6px;
  color: var(--background-light);
  font-size: 0.9rem;
  height: 56px;
}

textarea.form-input {
  min-height: 200px;
  resize: none;
}

.form-message {
  color: var(--background-light);
  font-size: 1.1rem;
  font-weight: 500;
  display: none;
  padding-top: 10px;
}

.form-message.show {
  display: block;
}

.contact-form .btn {
  font-weight: 500;
  font-size: 1rem;
}

.contact-info-container img {
  border-radius: 10px;
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details {
  background-color: var(--background-light);
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 0 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.contact-details summary {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-primary);
  font-size: 1rem;
  height: 54px;
  outline: none;
}

.contact-details summary .chevron-icon {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.contact-details summary span i {
  margin-right: 10px;
}

/* Rotate when open */
.contact-details[open] summary .chevron-icon {
  transform: rotate(180deg);
}

.contact-details summary::-webkit-details-marker {
  display: none;
}

.contact-details p {
  margin-left: 1.85rem;
  padding-bottom: 1.05rem;
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 700;
  word-break: break-all;
}

.contact-details[open] {
  background-color: #e4ebfa;
  border-color: #c7d2fe;
}

/* ========================================================================================================
                  <---------- FAQs PAGE DESIGN ---------->
=========================================================================================================== */
.faq-section {
  background-color: #ffffff;
  padding: 4rem 1rem 5rem;
}

.faq-section .flex {
  align-items: stretch;
  gap: 30px;
}

.faq-section .flex .faq-images {
  width: 100%;
}

.faq-images {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: stretch;
  gap: 20px;
  position: relative;
}

.faq-images img {
  border-radius: 10px;
  border: 5px solid var(--white);
}

.faq-images img:nth-child(2) {
  margin-top: -60px;
  margin-left: -40px;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-lg);
}

.faq-question {
  background: none;
  border: none;
  border-left: 5px solid var(--primary-color);
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background-color: #eef2ff;
}

.faq-question i {
  font-size: 1rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  opacity: 1;
}

.faq-answer a {
  color: #2f80ed;
  text-decoration: underline;
}
/* OPEN STATE (missing) */
.faq-item.active .faq-answer {
  max-height: 500px;       /* adjust if you have longer answers */
  opacity: 1;
  padding: 0 1.5rem 1.25rem;
}
.faq-item.active .faq-answer {
  max-height: 1200px;
  opacity: 1;
  padding: 0 1.5rem 1.25rem;
}


/* ========================================================================================================
                  <---------- BLOG PAGE DESIGN ---------->
=========================================================================================================== */

.blog-area {
  background: #ffffff;
  padding: 4rem 1rem 5rem;
}
.blog-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  align-items: flex-start;
  gap: 3rem;
  grid-template-columns: 1fr 320px; /* main + sidebar */
}
@media (max-width: 1024px) {
  .blog-layout, .blog-area .blog-main {
    grid-template-columns: 1fr;
  }
}

/* === BLOG CARD === */
.blog-main {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.blog-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
}
.blog-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.card-img {
  position: relative;
}
.card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #ffffff;
  color: #111827;
  text-align: center;
  line-height: 1;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.card-date .day {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem 0.25rem;
}
.card-date .month {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary-color);
  color: #fff;
  padding: 0.25rem 0;
  border-radius: 0 0 6px 6px;
}

.card-body {
  padding: 1rem 0.95rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.meta {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
  display: flex;
  gap: 0.5rem;
}
.meta i {
  color: #6366f1;
}
.card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}
.card-body p {
  color: #4b5563;
  font-size: 1rem;
  flex: 1;
}
.read-more {
  font-weight: 600;
  color: var(--primary-color) !important;
}
.read-more i {
  margin-left: 0.25rem;
}

/* === SIDEBAR === */
.blog-sidebar .widget {
  margin-bottom: 2.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 2rem;
  background-color: #e4ebfa;
}
.widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--background-dark);
  margin-bottom: 1rem;
}
.latest-posts,
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.latest-posts i {
  margin-right: 10px;
  color: var(--background-dark);
}
.latest-posts a,
.category-list a {
  color: #4b5563;
  transition: 0.25s;
}
.latest-posts a:hover,
.category-list a:hover {
  color: var(--primary-color);
}

.category-list li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

.category-list li a i {
  font-size: 0.6rem;
  color: var(--background-dark);
}

.category-list a.active {
  color: var(--primary-color);
}

.blog-tags {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.blog-tag {
  background: var(--background-dark);
  color: var(--background-light);
  padding: 0.3rem 1rem;
  border-radius: 200px;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-block;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
}

.no-posts {
  font-size: 1.2rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 2rem;
}

/* ========================================================================================================
                  <---------- BLOG PAGE DESIGN ---------->
=========================================================================================================== */
.blog-detail-section {
  margin-top: 50px;
}

.blog-detail-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.blog-main {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
}

.featured-image img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}

.post-nav-link {
  margin-bottom: 1rem;
  font-weight: 600;
  background-color: #eaf1ff;
  width: fit-content;
  padding: 0.6rem 1.2rem;
  border-radius: 200px;
}

.post-nav-link a {
  color: var(--primary-color);
}

.blog-title {
  font-size: 2rem;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.blog-meta {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.blog-meta #post-categories {
  background-color: #e0e7ff;
  color: var(--background-dark);
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 200px;
  box-shadow: var(--shadow-md);
}

.blog-content {
  color: var(--text-secondary);
  padding-bottom: 2rem;
}

.blog-content p {
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 500;
}

.blog-content h2,
.blog-content h3 {
  margin-top: 1rem;
  margin-bottom: 7px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.blog-content ul {
  margin: 0.5rem 0 0 2rem;
}

.blog-content ul li {
  list-style: disc;
  padding-bottom: 0.6rem;
}

/* ========================================================================================================
                  <---------- LEGAL PAGES (privacy, terms) ---------->
=========================================================================================================== */
.legal-navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  background: #e4ebfa;
  padding: 1.5rem;
  margin-top: 90px;
}

.legal-navbar a {
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.4s ease;
}

.legal-navbar a:hover {
  color: var(--primary-color);
}

.legal-page {
  background: var(--white);
  padding: 2rem 1rem 6rem;
}

.legal-page .container {
  max-width: 960px;
  margin: 0 auto;
}

.legal-head {
  text-align: center;
  border-bottom: 1px solid #cecece;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.legal-head h1 {
  font-size: 1.3rem;
  background: var(--primary-light);
  width: fit-content;
  margin: 0 auto;
  color: var(--white);
  padding: 1rem 1.2rem;
  border-radius: 200px;
  margin-bottom: 20px;
}

.legal-head h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.legal-head p {
  line-height: 1.2;
  margin-bottom: 20px;
}

.legal-page h3 {
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 0;
}

.legal-page p,
.legal-page li {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-primary);
}

.legal-page a {
  color: #2f80ed;
  text-decoration: underline;
}

.legal-page a:hover {
  color: #1e40af;
}

.legal-page ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.legal-page li {
  list-style: square;
}

.legal-page .contact-info {
  margin: 1rem 0;
}

.legal-page .contact-details summary {
  font-size: 0.9rem;
  height: 46px;
}

/* ========================================================================================================
                  <---------- NONINDEX PAGES ---------->
=========================================================================================================== */
.content-section {
  padding: 3rem 1rem 4rem;
}
.resource-box {
  max-width: 820px;
  margin: 0 auto;
  background: var(--background-light);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-xl);
}

.lead {
  padding-bottom: 1rem;
  border-bottom: 1px solid #cecece;
}

.lead p {
  padding-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary) !important;
}

.lead p strong {
  font-size: 1.5rem;
  font-weight: 700;
}

.resource-box h3 {
  font-size: 1.35rem;
  margin: 2rem 0 0.8rem;
  color: var(--text-primary);
}

.resource-box h3 i {
  color: var(--primary-color);
}

.resource-box p {
  color: var(--text-secondary);
  font-weight: 600;
}
.styled-list {
  margin-left: 1.25rem;
}
.styled-list li {
  margin: 0.6rem 0;
  position: relative;
  padding-left: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.styled-list .fa-caret-right {
  color: var(--primary-color);
}

.styled-ol {
  counter-reset: item;
  margin-top: 1.5rem;
}
.styled-ol li {
  counter-increment: item;
  margin: 0.6rem 0 1.2rem 0;
  padding-left: 0.6rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.styled-ol li::before {
  content: counter(item) ".";
  font-weight: 700;
  font-size: 1.3rem;
  margin-right: 0.4rem;
  color: var(--primary-color);
}

.styled-ol li p {
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
}

.styled-ol li p strong {
  font-size: 1.3rem;
}

.resource-box .note {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 600;
  padding-top: 1rem;
}

.swap-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  background: #eaf1ff;
}

.swap-table th,
.swap-table td {
  border: 1px solid #e5e7eb;
  padding: 0.85rem;
  font-size: 0.9rem;
}
.swap-table th {
  background: #bad6ff;
  font-weight: 700;
  padding: 0.85rem 0;
}

.swap-table td {
  font-weight: 500;
}

/* ========================================
        RESPONSIVE DESIGN
======================================== */
@media (max-width: 991px) {
  
  .about-us .flex,
  .newsletter .row,
  .our-mission .flex {
    flex-direction: column;
  }

  .about-us .flex > div,
  .row > * {
    width: 100%;
  }

  .newsletter .row {
    width: 100%;
  }

  .newsletter .container {
    padding: 3rem 1rem;
  }

  .newsletter .row h2 {
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    gap: 3rem;
  }

  /* ----- SHOP PAGE ----- */
  .product-layout {
    width: 100%;
  }

  /* ----- INGREDIENTS PAGE ----- */
  .page-hero {
    padding: 0;
  }

  /* ----- ABOUT PAGE ----- */
  .our-mission .flex > div,
  .why-choose-us .flex > div {
    width: 100%;
  }

  .our-mission .flex:nth-child(1),
  .why-choose-us .flex {
    flex-direction: column-reverse;
  }

  /* ----- FAQ PAGE ----- */
  .faq-section .flex {
    flex-direction: column-reverse;
  }

  .faq-images img {
    width: 80%;
  }

  .faq-images img:nth-child(2) {
    margin-left: 80px;
  }

  /* ----- CONTACT PAGE ----- */
  .contact-section .flex {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 2rem;
  }

  .secondary-cta .row {
    flex-direction: column;
  }

  .benefits,
  .blog-detail-wrapper {
    grid-template-columns: 1fr;
  }

  .testimonials-container {
    min-height: 380px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 3rem;
  }

  /* ----- SHOP PAGE ----- */
  .product-section {
    padding: 50px 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
  .best-seller {
    transform: scale(1);
  }

  /* ----- INGREDIENTS PAGE ----- */
  .page-hero.ingredients-hero {
    background-position: bottom center;
  }
}

@media (max-width: 560px) {
  .header {
    padding: 10px;
  }

  .hero-section,
  .page-hero {
    background-attachment: unset;
  }

  .hero-section h1 {
    font-size: 3rem;
  }

  .hero-section h2 {
    font-size: 1.6rem;
  }

  h1,
  .section-heading h1 {
    font-size: 2.6rem;
  }

  .content p,
  .supporting p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.95rem 1.8rem;
  }

  .benefits {
    padding: 0 1rem;
  }

  .testimonial-text {
    font-size: 1.2rem;
  }

  .newsletter-form .btn {
    width: 60%;
    font-size: 1rem;
  }

  footer {
    padding: 2rem 0;
  }

  .footer-content {
    gap: 0.5rem;
  }

  /* ----- ABOUT PAGE ----- */
  .why-trust-us ul {
    grid-template-columns: 1fr;
  }

  /* ----- BLOG PAGE ----- */
  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .logo h1 {
    font-size: 1rem;
  }

  .hero-section {
    height: 75vh;
    background-position: center right -200px;
  }

  .page-hero.blog-hero,
  .page-hero.faq-hero {
    background-position: center right -100px;
  }

  .hero-section h1,
  h1,
  .section-heading h1,
  .row h2 {
    font-size: 2rem;
  }

  .hero-section h2,
  .footer-logo span {
    font-size: 1.22rem;
  }

  .video-wrapper {
    height: 100%;
  }

  .content ul li {
    width: 100%;
  }

  .cta,
  .content ul {
    flex-direction: column;
  }

  .cta > * {
    width: 70%;
  }

  .newsletter {
    padding: 4rem 0;
  }

  .newsletter .row h2,
  .contact-form h2 {
    font-size: 1.75rem;
  }

  input,
  .testimonial-text {
    font-size: 0.9rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  .footer-logo img {
    width: 80px;
    height: 80px;
  }

  .page-hero h2 {
    font-size: 1.1rem;
  }

  /* ----- SHOP PAGE ----- */
  .slider-thumbs {
    gap: 0.45rem;
  }
  .slider-thumbs img {
    width: 70px;
    height: 70px;
  }

  .dosage-box ul li {
    gap: 5px;
  }

  /* ----- INGREDIENTS PAGE ----- */
  .ingredients-section {
    padding: 2rem 0;
  }

  .ingredients-section h2,
  .ingredients-cta h2,
  .our-mission h2,
  .about-section h2,
  .why-content h2,
  .why-trust-us h2 {
    font-size: 1.9rem;
    line-height: 1.3;
  }

  .ingredient {
    padding: 1rem;
  }

  .ingredients-cta p {
    font-size: 1.1rem;
  }

  .bs-label.with-bottle {
    flex-direction: column;
  }

  .bs-label.with-bottle div:nth-child(1) img {
    width: 50%;
    margin: 0 auto;
    display: flex;
  }

  /* ----- BLOG PAGE ----- */
  .blog-area {
    padding: 3rem 0;
  }

  .blog-sidebar .widget {
    width: 300px;
  }

  /* ----- CONTACT PAGE ----- */
  .contact-section .container {
    padding: 0 10px;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-form p {
    font-size: 14px;
  }

  /* ----- LEGAL PAGES ----- */
  .legal-page {
    padding: 2rem 0 3rem;
  }

  .legal-head h2 {
    font-size: 1.6rem;
    padding-bottom: 0;
  }

  .legal-head h1 {
    font-size: 1rem;
  }

  .content-section {
    padding: 2rem 0;
  }

  .resource-box {
    padding: 1.5rem;
  }

  .styled-list li {
    padding-left: 0;
  }

  .lead p strong {
    font-size: 1.2rem;
  }

  .styled-ol li p strong,
  .styled-ol li::before,
  .resource-box .note {
    font-size: 1.1rem;
  }

html, body {
  margin: 0;
  padding: 0;
}

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  /* FONTS */
  --open-sans: "Open Sans", sans-serif;

  /* COLORS */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --white: #ffffff;
  --background-light: #f9fafb;
  --background-dark: #111827;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;

  /* SHADOWS */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--open-sans);
  color: var(--text-primary);
  line-height: 1.4;
  padding-top: 56px; /* fixed header offset */
}

a,
ul,
li {
  text-decoration: none;
  list-style: none;
}

a:link,
a:visited {
  color: inherit;
}

img {
  width: 100%;
  height: auto;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: var(--open-sans);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

h2 {
  font-size: 2.3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

section {
  padding: 80px 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ========== HEADER ========== */

/* Shared fixed header sizing (matches clinic + shop) */
:root{
  --header-offset: 56px;
  --brand-logo-height: 40px;
}

html{
  scroll-padding-top: var(--header-offset);
}

body{
  padding-top: var(--header-offset);
}

nav.header,
.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 2px 0; /* slimmer header */
}

/* header inner layout */
nav.header .flex,
.header .flex{
  min-height: var(--header-offset);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand (shop uses .brand, some pages use .logo) */
.brand,
.logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand img,
.logo img{
  height: var(--brand-logo-height);
  width: auto;
  display: block;
}

.logo h1{
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary);
}

/* ========== DESKTOP NAV (default) ========== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: all 0.4s ease;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hide hamburger on desktop */
.nav-toggle {
  display: none;
}

/* ========== MOBILE NAV (ALL PAGES EXCEPT SHOP) ========== */
@media (max-width: 900px) {
  /* Add padding to body so content doesn't hide under fixed header */
  /* body:not(.shop-page) {
    padding-top: 90px;
  } */

  /* Show hamburger button - ONLY on non-shop pages */
  body:not(.shop-page) .nav-toggle {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.8);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    font-size: 0;
    z-index: 1001;
  }

  /* Hide hamburger on shop page */
  body.shop-page .nav-toggle {
    display: none !important;
  }

  body:not(.shop-page) .hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  /* Hamburger → X animation */
  body:not(.shop-page) .nav-toggle.is-open .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body:not(.shop-page) .nav-toggle.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  body:not(.shop-page) .nav-toggle.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Mobile menu - HIDDEN by default on NON-SHOP pages */
  body:not(.shop-page) .nav-menu {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* HIDDEN BY DEFAULT */
    display: none !important;
    pointer-events: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    
    margin: 0;
    height: calc(100vh - 90px);
    padding: 24px 20px;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    
    overflow-y: auto;
    z-index: 999;
  }

  /* SHOW menu when .active class is added */
  body:not(.shop-page) .nav-menu.active {
    display: flex !important;
    pointer-events: auto;
  }

  /* Shop page keeps normal horizontal menu on mobile */
  body.shop-page .nav-menu {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    background: transparent !important;
    overflow: visible !important;
  }

  /* Mobile menu styling for non-shop pages */
  body:not(.shop-page) .nav-menu li {
    width: 100%;
    margin: 0;
  }

  body:not(.shop-page) .nav-menu .nav-link {
    display: block;
    width: 100%;
    padding: 14px 8px;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  body:not(.shop-page) .nav-menu .nav-link::after {
    display: none; /* Remove underline animation on mobile */
  }

  body:not(.shop-page) .nav-menu paypal-cart-button {
    margin-top: 16px;
    width: 100%;
  }
}

/* ========== DESKTOP (restore normal layout) ========== */
@media (min-width: 901px) {
.nav-toggle {
    display: none !important;
  }

  .nav-menu {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
  }
}
/* Hero trust bar (Pinterest traffic reassurance) */
.trust-bar{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  align-items: center;
  font-size: 0.95rem;
  opacity: 0.95;
}

.trust-bar span{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}

/* ========== HERO SECTION ========== */
.hero-section {
  height: 100vh;
  background: url("../images/hero-bg.jpg") no-repeat top center/cover fixed;
  background-color: var(--background-dark);
  position: relative;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  z-index: 1;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: rgb(26, 20, 20);
  background: linear-gradient(
    0deg,
    rgba(26, 20, 20, 0) 27%,
    rgba(26, 20, 20, 0.8) 100%
  );
  z-index: -1;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(26, 20, 20, 0.5);
  z-index: -1;
}

.hero-section .container {
  max-width: 881px;
}

.hero-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
/* Slim hero (Shop + Clinic pages) — single source of truth */
.page-hero.page-hero--slim{
  width: 100%;
  margin: 0;
  margin-top: -1px;                    /* closes the small gap under the fixed nav */
  padding: 0;
  height: clamp(260px, 30vw, 460px);   /* more room so logo + bottle bottom aren't chopped */
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  background: #071a3a;                 /* fallback behind image */
}

.page-hero.page-hero--slim img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 62%;         /* shifts crop DOWN to reveal more bottle + logo bottom */
}


/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95rem 3rem;
  border-radius: 200px;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  vertical-align: middle;
  outline: none;
  transition: all 0.5s linear;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: var(--background-dark);
  transform: scalex(0);
  transform-style: preserve-3d;
  transition: transform 0.4s ease-in-out;
  transform-origin: right center;
  z-index: -1;
}

.btn:hover:before {
  transform: scalex(1);
  transform-origin: left center;
}

.btn:hover {
  color: var(--white);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white) !important;
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color) !important;
  box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
  color: var(--white) !important;
}

.btn i {
  margin-left: 10px;
}
.newsletter{
  padding: 60px 0;
  text-align: center;
}

.newsletter-intro{
  max-width: 760px;
  margin: 12px auto 18px;
  line-height: 1.6;
  color: #333;
}

.newsletter-embed{
  max-width: 640px;
  margin: 0 auto;
}

.newsletter-note{
  margin-top: 12px;
  font-size: 0.95rem;
  color: #555;
}
/* Newsletter section on dark background */
.newsletter{
  color: #f2f4f8;
}

.newsletter h1{
  color: #ffffff;
}

.newsletter .span{
  color: #cfd8ff;
}

.newsletter-intro{
  color: #e6e9f2;
}

.newsletter-note{
  color: #cfd4e6;
}

/* Make "Start Here" stand out for ad traffic without looking salesy */
.nav-start{
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* ========== MARKETING VIDEO ========== */
.video-wrapper {
  position: relative;
  max-width: 800px;
  height: 500px;
  margin: 0 auto 2.5rem;
}

#brainsteady-video {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e7ff;
  background-color: var(--background-dark);
}

/* Overlay play button */
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: var(--background-dark);
  background: none;
  border: none;
  cursor: pointer;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s ease;
}

.play-overlay i {
  background-color: var(--white);
  border-radius: 300px;
}

/* ========== About Section ========== */
.about-us {
  padding-top: 60px;
}

.about-us .flex {
  gap: 30px;
  align-items: stretch;
}

.about-us .flex > div {
  width: calc(100% / 2);
}

.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.section-heading h1 {
  font-size: 3rem;
}

.section-heading .span {
  margin-bottom: 40px;
  transition: all 0.5s ease-in-out;
  box-shadow: 0 5px 7px rgba(0, 0, 0, 0.4);
}

.section-heading .span:hover {
  background: var(--background-dark);
  color: #77b2ff;
}

.span {
  padding: 0.6rem 1rem;
  border-radius: 200px;
  background: #e1edff;
  color: var(--background-dark);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: inline-block;
  font-family: var(--open-sans);
}

.span i {
  margin-right: 10px;
}

.content p {
  padding-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.content ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
}

.content ul li {
  width: calc(100% / 2);
}

.content ul li i {
  color: var(--primary-color);
}

.content .btn {
  margin-top: 10px;
}

.flex-img {
  border-radius: 10px;
  overflow: hidden;
}

.flex-img img {
  border-radius: inherit;
  transition: all 0.4s ease-in;
  height: 100%;
  object-fit: cover;
}

.flex-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.section-intro{
  max-width: 720px;
  margin: 12px auto 6px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}
.neuro-translation{
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  max-width: 760px;
}
/* Soft validation line under section headings */
.section-intro{
  max-width: 760px;
  margin: 14px auto 10px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}
.benefits-next{
  margin: 18px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.benefits-next a{
  text-decoration: underline;
  font-weight: 600;
}
.testimonials-cta{
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}




/* ========== Supporting Section ========== */
.supporting {
  text-align: center;
  padding: 4.5rem 0;
  background-color: #e4ebfa;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23C1D6FA' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23B7D4FF'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
  position: relative;
  z-index: 1;
}

.supporting::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><g fill="%23FFFFFF"><path d="M0 0v100c250 0 375-24 500-48 125 24 250 48 500 48V0H0Z" opacity=".5"></path><path d="M0 0v4c250 0 375 24 500 48C625 28 750 4 1000 4V0H0Z"></path></g></svg>')
    no-repeat top -5% center/contain;
}

.supporting::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 480"><g fill="%23A5BCE5"><path d="M240 0a240 240 0 1 0 0 480 240 240 0 0 0 0-480Zm0 400a160 160 0 1 1 0-320 160 160 0 0 1 0 320Z"></path><circle cx="240" cy="240" r="80"></circle></g></svg>')
    no-repeat top right/35%;
  background-position: top -120% right -15%;
  opacity: 0.3;
}

.supporting p {
  font-size: 1.1rem;
  max-width: 820px;
  margin: 0 auto 3rem;
}

.benefits {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 0 4rem;
}

.benefit-card {
  background: #fff;
  padding: 2rem 1.75rem;
  border: 1px solid #cecece;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s;
}

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

.benefit-card i {
  font-size: 2.2rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
  padding: 0.85rem;
  border-radius: 100%;
  background: var(--background-dark);
}

.benefit-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.benefit-card p {
  margin-bottom: 0;
}

/* ========== Secondary CTA ========== */
.secondary-cta {
  background: url("../images/constellation.png") repeat center center/contain
    fixed;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.secondary-cta::before {
  position: absolute;
  content: "";
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 480"><g fill="%23182237"><path d="M0 0v120a360 360 0 0 1 360 360h120A480 480 0 0 0 0 0Z"></path><path d="M0 240v120a120 120 0 0 1 120 120h120A240 240 0 0 0 0 240Z"></path></g></svg>')
    no-repeat bottom left/25%;
}

.secondary-cta::after {
  position: absolute;
  content: "";
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  left: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 480"><g fill="%23182237"><path d="M240 0a240 240 0 1 0 0 480 240 240 0 0 0 0-480Zm0 400a160 160 0 1 1 0-320 160 160 0 0 1 0 320Z"></path><circle cx="240" cy="240" r="80"></circle></g></svg>')
    no-repeat top right/25%;
  background-position: top -50% right -10%;
  opacity: 0.4;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.row > * {
  width: calc(100% / 2);
}

.row h2 {
  margin-bottom: 0;
  color: var(--white);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.3;
}

.secondary-cta-img {
  overflow: hidden;
  border-radius: 10px;
}

.secondary-cta-img img {
  border-radius: inherit;
  transition: all 0.5s ease-in-out;
}

.secondary-cta-img img:hover {
  transform: scale(1.05);
}

.secondary-cta-content p {
  padding: 20px 0 30px;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: justify;
}

.secondary-cta-content .btn:before,
.secondary-cta-content .btn:hover:before {
  background: var(--primary-light);
}

/* ========== Testimonials ========== */
.testimonials {
  background: var(--white);
  text-align: center;
}

.testimonials .section-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  padding-bottom: 10px;
}

.testimonials-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #cecece;
  border-radius: 10px;
  margin-top: 1.5rem;
  background: var(--background-dark);
  overflow: hidden;
  min-height: 320px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 3rem;
  pointer-events: none;
  align-self: anchor-center;
}

.testimonial.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-text {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 3rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.author-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: left;
  color: var(--border-light);
}

.author-title {
  color: var(--text-light);
  font-size: 0.9rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-light);
  transition: all 0.3s ease;
  cursor: pointer;
}

.testimonial-btn.active {
  background: var(--background-dark);
  transform: scale(1.2);
}

/* ========== Newsletter ========== */
.newsletter {
  padding: 5rem 2rem;
  position: relative;
  background-color: var(--background-light);
  z-index: 1;
}

.newsletter .container {
  position: relative;
  z-index: 1;
  padding: 5rem;
}

.newsletter .container::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  background: url("../images/bermuda-diamond.png") no-repeat center center/cover;
  z-index: -1;
}

.newsletter .row {
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 60%;
  margin: 0 auto;
}

.newsletter .row > * {
  width: 100%;
}

.newsletter .row p {
  font-size: 1.2rem;
  color: var(--background-light);
}

.newsletter-form {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

input,
textarea {
  padding: 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--open-sans);
  width: 100%;
  height: 64px;
  outline: none;
  border: 1px solid #cecece;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-light);
}

.newsletter-form .btn {
  height: 64px;
  border-radius: 0;
  width: 40%;
  background: var(--background-dark);
}

.newsletter-form .btn:before,
.newsletter-form .btn:hover:before {
  background: var(--primary-dark);
}


/* ========== Footer ========== */
footer {
  background-color: var(--background-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

footer::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  background: url("../images/constellation.png") repeat center center/40%;
  z-index: -1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 115px;
  height: 115px;
  filter: brightness(0) invert(1);
}

.footer-logo span {
  font-size: 1.6rem;
  font-weight: 700;
  word-break: break-all;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: var(--primary-light);
}

footer .contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: transparent !important;
  padding: 0 !important;
}

footer .contact-details {
  background: none;
  border: 1px solid #465575;
  width: 100%;
}

footer .contact-details p {
  margin-left: 0;
  padding-bottom: 0;
}

footer .contact-details summary {
  color: var(--white);
  height: 46px;
}

footer .contact-info a {
  color: var(--primary-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  word-break: break-all;
}

footer .contact-details[open] {
  background: none;
  border-color: #5e6d8b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-light);
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

/* ========== PAGE-SPECIFIC HERO SECTIONS ========== */
.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 55vh;
  margin-top: 0;
  padding: 0 10rem;
  background: url("../images/hero-bg.jpg") no-repeat center center/cover fixed;
  color: var(--white);
  z-index: 1;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(26, 20, 20, 0.5);
  z-index: -1;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: var(--background-dark);
  background: linear-gradient(
    0deg,
    rgba(26, 20, 20, 0) 27%,
    rgba(26, 20, 20, 0.8) 100%
  );
  z-index: -1;
}

.page-hero h2 {
  font-size: 1.4rem;
  color: var(--border-light);
  margin-bottom: 0;
}

/* ========================================================================================================
                  <---------- SHOP PAGE DESIGN ---------->
=========================================================================================================== */
.page-hero.shop-hero {
  background-image: url("../images/pills-bg.png");
  background-size: contain;
  background-position: top right;
  background-color: #d4cabe;
}

.product-layout {
  width: 70%;
}
@media (max-width: 960px) {
  .product-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .product-info {
    align-items: center;
  }
}

.product-img img {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-xl);
  border: 1px solid #e5e7eb;
  background-color: #e4ebfa;
}

/* === PRODUCT IMAGE SLIDER === */
.product-img-slider {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background-color: #e1edff;
  padding-bottom: 30px;
}
.slider-wrapper {
  position: relative;
}
.slide {
  display: none;
  /* width: 70%; */
  max-width: 575px;
  height: 400px;
  margin: auto;
  object-fit: contain;
  cursor: pointer;
}
.slide.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #e1edff;
  color: var(--primary-color);
  font-size: 1.5rem;
  padding: 0.3rem 0.75rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s;
}
.slider-btn.prev {
  left: 10px;
}
.slider-btn.next {
  right: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

/* === DOTS === */
.slider-dots {
  text-align: center;
}
.dot {
  width: 10px;
  height: 10px;
  margin: 0 6px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  transition: background 0.3s ease;
}
.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* === THUMBNAILS === */
.slider-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  justify-content: center;
}
.slider-thumbs img {
  width: 90px;
  height: 90px;
  border-radius: 6px;
  padding: 7px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  background-color: var(--white);
  transition: border 0.5s ease-in-out;
}
.slider-thumbs img:hover {
  border: 2px solid var(--primary-color);
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox-img {
  max-height: 100vh;
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  z-index: 9999;
}
.lightbox-prev {
  left: 30px;
}
.lightbox-next {
  right: 30px;
}

.product-info {
  margin-top: 3rem;
  text-align: center;
}

.product-info h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--background-dark);
  margin-bottom: 0.9rem;
}
.short-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Key Benefits list */
.key-benefits {
  padding: 0;
  margin: 1.25rem 0 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.key-benefits li {
  color: var(--primary-color);
  font-size: 1rem;
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

/* Dosage box */
.dosage-box {
  background: #e1edff;
  border: 1px solid #c1d8fc;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  text-align: left;
}

.dosage-box h3 {
  margin: 0 0 0.9rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.dosage-box ul {
  margin-left: 0.75rem;
}

.dosage-box ul li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  font-size: 1.1rem;
  padding-bottom: 10px;
  font-weight: 500;
}

.dosage-box ul li:nth-child(1) span {
  padding-left: 45px;
}
.dosage-box ul li:nth-child(2) span {
  padding-left: 35px;
}

.dosage-box ul li i {
  padding: 0 10px;
  color: var(--primary-color);
}

.product-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 3rem 0;
  cursor: default;
}
.product-card {
  background: linear-gradient(135deg, #203970 0%, var(--background-dark) 100%);
  border-radius: 20px;
  padding: 2rem 1rem;
  text-align: center;
  transition: all 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
}
.product-card:hover {
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.4);
}

.best-seller {
  border: 3px solid var(--primary-color);
  transform: scale(1.1);
}

.product-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  color: #77b2ff;
  margin-bottom: 0.7rem;
}

.product-card-img {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  position: relative;
  z-index: 1;
  margin: 1rem auto 0;
  width: 140px;
  height: 180px;
}

.product-card-img img {
  position: absolute;
  left: 40px;
  z-index: -1;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-img.bottle-1 img:nth-child(1) {
  left: 0;
}

.product-card-img img:nth-child(1) {
  left: -40px;
}

.product-card-img img:nth-child(2) {
  left: 40px;
}

.product-card-img img:nth-child(3) {
  left: 0;
  height: 200px;
}

.add-cart {
  width: 100%;
  padding: 0.75rem 1rem;
  font-weight: 400;
  font-size: 1rem;
  margin-top: 30px;
}

.btn-disabled {
  cursor: not-allowed;
}

.sold-out-note {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.sold-out-note a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Bonus Offer */
.bonus-offer {
  background: linear-gradient(135deg, #203970 0%, var(--background-dark) 100%);
  background-size: 100% 100%;
  background-position: left center;
  border-radius: 20px;
  padding: 2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  margin-bottom: 2rem;
  transition: background-position 0.4s ease-in-out;
  position: relative;
}

.bonus-offer:hover {
  background-position: right center;
  background-size: 200% 200%;
  transition: background-position 0.6s ease-in-out, background-size 0.6s ease-in-out;
}

.bonus-offer h3 {
  font-size: 2.4rem;
  margin: 0.8rem 0;
  font-weight: 800;
  background: #ffffff;
  background: linear-gradient(to right, #90c0ff 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bonus-offer p {
  font-size: 1.3rem;
  font-weight: 600;
  padding-bottom: 1rem;
}

.bonus-offer ul li {
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--background-light);
}

.bonus-offer ul li i {
  color: var(--primary-light);
}

/* Benefits */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.benefits-list li {
  color: var(--primary-color);
  font-size: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Subscribe CTA */
.subscribe-cta {
  padding: 2rem;
  background-color: #e1edff;
  border: 1px solid #c1d8fc;
  color: var(--text-primary);
  border-radius: 10px;
}

.subscribe-guide {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.subscribe-guide p {
  padding-bottom: 10px;
}

.bs-label-section {
  background-color: var(--background-light);
  padding: 30px 0;
}

.bs-label {
  margin-top: 1.5rem;
}

.bs-label.with-bottle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  cursor: default;
  margin-top: 2rem;
}
.badge {
  flex: 1 1 160px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.95rem;
  color: #1f2937;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.badge i {
  color: var(--primary-color);
}

.cert-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.cert-modal .modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeInScale 0.25s ease-in-out;
}
.cert-modal h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #1f2937;
}
.cert-modal p {
  font-size: 1rem;
  line-height: 1.5;
  color: #374151;
}
.close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
}
@keyframes fadeInScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.badge {
  cursor: pointer;
  background-color: #f1f5f9;
  border: none;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  margin: 0.5rem 0.5rem 0 0;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}
.badge:hover {
  background-color: #e0e7ff;
}

/* ========================================================================================================
                  <---------- INGREDIENTS PAGE DESIGN START ---------->
=========================================================================================================== */
.page-hero.ingredients-hero {
  background-color: #d4cabe;
  background-image: url("../images/pills-bg.png");
  background-size: contain;
  background-position: top right;
}

.ingredients-section {
  background-color: var(--white);
  padding: 5rem 1rem;
}

.ingredients-section h2 {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 30px;
}

.ingredients-section .container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.ingredient {
  background: linear-gradient(135deg, #203970 0%, var(--background-dark) 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: stretch;
}

.ingredient::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #3b82f633, transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.ingredient:hover::before {
  left: 100%;
}

.ingredient:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.ingredient i {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary-light);
}

.ingredient h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ingredient p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
}

.ingredients-cta {
  background: url("../images/bermuda-diamond.png") no-repeat center center/cover;
  color: #ffffff;
  padding: 4rem 1rem;
  text-align: center;
}

.ingredients-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.ingredients-cta p {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.ingredients-cta .btn {
  background: #ffffff;
  color: var(--background-dark) !important;
  border: none;
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  border-radius: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.2s ease;
}

.ingredients-cta .btn:hover {
  color: var(--white) !important;
}

/* ========================================================================================================
                  <---------- ABOUT PAGE DESIGN ---------->
=========================================================================================================== */
.page-hero.about-hero {
  background-image: url("../images/about-bg.jpg");
}

.about-section .flex {
  align-items: center;
}

.why-trust-us {
  background: var(--background-light);
  text-align: center;
}

.why-trust-us ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 720px;
  margin: 20px auto 10px;
  gap: 0.8rem;
  text-align: left;
  color: var(--text-primary);
}

.why-trust-us ul li {
  background: #e4ebfa;
  padding: 0.9rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: default;
}

.why-trust-us ul li i {
  color: var(--primary-color);
  margin-right: 10px;
}

.our-mission {
  background-color: #e4ebfa;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23C1D6FA' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23B7D4FF'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

.our-mission .flex:nth-child(2) {
  margin-top: 4rem;
}

.our-mission .flex > div,
.why-choose-us .flex > div {
  width: calc(100% / 2);
}

.our-mission span {
  font-size: 1.5rem;
  margin-bottom: 7px;
  font-weight: 600;
  display: inline-block;
}

.our-mission span i {
  margin-right: 5px;
  font-size: 1.4rem;
}

.our-mission h2,
.about-section h2,
.why-content h2,
.why-trust-us h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.our-mission p,
.why-content p,
.why-trust-us p {
  line-height: 1.6;
  padding-bottom: 10px;
}

.our-mission img {
  border-radius: 10px;
}

/* ======= WHY CHOOSE US ======= */
.why-content {
  color: var(--text-primary);
}

.section-label {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  background-color: #eef2ff;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-label i {
  margin-right: 5px;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.why-list li i {
  color: var(--secondary-color);
  font-size: 1rem;
}

.why-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

/* ========================================================================================================
                  <---------- CONTACT PAGE DESIGN ---------->
=========================================================================================================== */
.page-hero.contact-hero {
  background-image: url("../images/contact-bg.png");
}

.contact-section .container {
  padding: 0 2rem;
}

.contact-section .flex {
  align-items: stretch;
}

.contact-form {
  padding: 2rem;
  background-color: var(--background-dark);
  background-image: url("../images/about-shape-1.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 10px;
  color: var(--white);
}

.contact-form h2 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
}

.contact-form p {
  padding: 1rem 0;
  color: var(--text-light);
}

.form-group {
  margin-bottom: 20px;
}

.form-input {
  background: transparent;
  border: 1px solid #37414e;
  border-radius: 6px;
  color: var(--background-light);
  font-size: 0.9rem;
  height: 56px;
}

textarea.form-input {
  min-height: 200px;
  resize: none;
}

.form-message {
  color: var(--background-light);
  font-size: 1.1rem;
  font-weight: 500;
  display: none;
  padding-top: 10px;
}

.form-message.show {
  display: block;
}

.contact-form .btn {
  font-weight: 500;
  font-size: 1rem;
}

.contact-info-container img {
  border-radius: 10px;
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details {
  background-color: var(--background-light);
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 0 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.contact-details summary {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-primary);
  font-size: 1rem;
  height: 54px;
  outline: none;
}

.contact-details summary .chevron-icon {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.contact-details summary span i {
  margin-right: 10px;
}

/* Rotate when open */
.contact-details[open] summary .chevron-icon {
  transform: rotate(180deg);
}

.contact-details summary::-webkit-details-marker {
  display: none;
}

.contact-details p {
  margin-left: 1.85rem;
  padding-bottom: 1.05rem;
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 700;
  word-break: break-all;
}

.contact-details[open] {
  background-color: #e4ebfa;
  border-color: #c7d2fe;
}

/* ========================================================================================================
                  <---------- FAQs PAGE DESIGN ---------->
=========================================================================================================== */
.faq-section {
  background-color: #ffffff;
  padding: 4rem 1rem 5rem;
}

.faq-section .flex {
  align-items: stretch;
  gap: 30px;
}

.faq-section .flex .faq-images {
  width: 100%;
}

.faq-images {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: stretch;
  gap: 20px;
  position: relative;
}

.faq-images img {
  border-radius: 10px;
  border: 5px solid var(--white);
}

.faq-images img:nth-child(2) {
  margin-top: -60px;
  margin-left: -40px;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-lg);
}

.faq-question {
  background: none;
  border: none;
  border-left: 5px solid var(--primary-color);
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background-color: #eef2ff;
}

.faq-question i {
  font-size: 1rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  opacity: 1;
}

.faq-answer a {
  color: #2f80ed;
  text-decoration: underline;
}

/* ========================================================================================================
                  <---------- BLOG PAGE DESIGN ---------->
=========================================================================================================== */

.blog-area {
  background: #ffffff;
  padding: 4rem 1rem 5rem;
}
.blog-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  align-items: flex-start;
  gap: 3rem;
  grid-template-columns: 1fr 320px; /* main + sidebar */
}
@media (max-width: 1024px) {
  .blog-layout, .blog-area .blog-main {
    grid-template-columns: 1fr;
  }
}

/* === BLOG CARD === */
.blog-main {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.blog-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
}
.blog-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.card-img {
  position: relative;
}
.card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #ffffff;
  color: #111827;
  text-align: center;
  line-height: 1;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.card-date .day {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem 0.25rem;
}
.card-date .month {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary-color);
  color: #fff;
  padding: 0.25rem 0;
  border-radius: 0 0 6px 6px;
}

.card-body {
  padding: 1rem 0.95rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.meta {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
  display: flex;
  gap: 0.5rem;
}
.meta i {
  color: #6366f1;
}
.card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}
.card-body p {
  color: #4b5563;
  font-size: 1rem;
  flex: 1;
}
.read-more {
  font-weight: 600;
  color: var(--primary-color) !important;
}
.read-more i {
  margin-left: 0.25rem;
}

/* === SIDEBAR === */
.blog-sidebar .widget {
  margin-bottom: 2.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 2rem;
  background-color: #e4ebfa;
}
.widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--background-dark);
  margin-bottom: 1rem;
}
.latest-posts,
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.latest-posts i {
  margin-right: 10px;
  color: var(--background-dark);
}
.latest-posts a,
.category-list a {
  color: #4b5563;
  transition: 0.25s;
}
.latest-posts a:hover,
.category-list a:hover {
  color: var(--primary-color);
}

.category-list li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

.category-list li a i {
  font-size: 0.6rem;
  color: var(--background-dark);
}

.category-list a.active {
  color: var(--primary-color);
}

.blog-tags {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.blog-tag {
  background: var(--background-dark);
  color: var(--background-light);
  padding: 0.3rem 1rem;
  border-radius: 200px;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-block;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
}

.no-posts {
  font-size: 1.2rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 2rem;
}

/* ========================================================================================================
                  <---------- BLOG PAGE DESIGN ---------->
=========================================================================================================== */
.blog-detail-section {
  margin-top: 50px;
}

.blog-detail-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.blog-main {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
}

.featured-image img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}

.post-nav-link {
  margin-bottom: 1rem;
  font-weight: 600;
  background-color: #eaf1ff;
  width: fit-content;
  padding: 0.6rem 1.2rem;
  border-radius: 200px;
}

.post-nav-link a {
  color: var(--primary-color);
}

.blog-title {
  font-size: 2rem;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.blog-meta {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.blog-meta #post-categories {
  background-color: #e0e7ff;
  color: var(--background-dark);
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 200px;
  box-shadow: var(--shadow-md);
}

.blog-content {
  color: var(--text-secondary);
  padding-bottom: 2rem;
}

.blog-content p {
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 500;
}

.blog-content h2,
.blog-content h3 {
  margin-top: 1rem;
  margin-bottom: 7px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.blog-content ul {
  margin: 0.5rem 0 0 2rem;
}

.blog-content ul li {
  list-style: disc;
  padding-bottom: 0.6rem;
}

/* ========================================================================================================
                  <---------- LEGAL PAGES (privacy, terms) ---------->
=========================================================================================================== */
.legal-navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  background: #e4ebfa;
  padding: 1.5rem;
  margin-top: 0;
}

.legal-navbar a {
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.4s ease;
}

.legal-navbar a:hover {
  color: var(--primary-color);
}

.legal-page {
  background: var(--white);
  padding: 2rem 1rem 6rem;
}

.legal-page .container {
  max-width: 960px;
  margin: 0 auto;
}

.legal-head {
  text-align: center;
  border-bottom: 1px solid #cecece;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.legal-head h1 {
  font-size: 1.3rem;
  background: var(--primary-light);
  width: fit-content;
  margin: 0 auto;
  color: var(--white);
  padding: 1rem 1.2rem;
  border-radius: 200px;
  margin-bottom: 20px;
}

.legal-head h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.legal-head p {
  line-height: 1.2;
  margin-bottom: 20px;
}

.legal-page h3 {
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 0;
}

.legal-page p,
.legal-page li {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-primary);
}

.legal-page a {
  color: #2f80ed;
  text-decoration: underline;
}

.legal-page a:hover {
  color: #1e40af;
}

.legal-page ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.legal-page li {
  list-style: square;
}

.legal-page .contact-info {
  margin: 1rem 0;
}

.legal-page .contact-details summary {
  font-size: 0.9rem;
  height: 46px;
}

/* ========================================================================================================
                  <---------- NONINDEX PAGES ---------->
=========================================================================================================== */
.content-section {
  padding: 3rem 1rem 4rem;
}
.resource-box {
  max-width: 820px;
  margin: 0 auto;
  background: var(--background-light);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-xl);
}

.lead {
  padding-bottom: 1rem;
  border-bottom: 1px solid #cecece;
}

.lead p {
  padding-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary) !important;
}

.lead p strong {
  font-size: 1.5rem;
  font-weight: 700;
}

.resource-box h3 {
  font-size: 1.35rem;
  margin: 2rem 0 0.8rem;
  color: var(--text-primary);
}

.resource-box h3 i {
  color: var(--primary-color);
}

.resource-box p {
  color: var(--text-secondary);
  font-weight: 600;
}
.styled-list {
  margin-left: 1.25rem;
}
.styled-list li {
  margin: 0.6rem 0;
  position: relative;
  padding-left: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.styled-list .fa-caret-right {
  color: var(--primary-color);
}

.styled-ol {
  counter-reset: item;
  margin-top: 1.5rem;
}
.styled-ol li {
  counter-increment: item;
  margin: 0.6rem 0 1.2rem 0;
  padding-left: 0.6rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.styled-ol li::before {
  content: counter(item) ".";
  font-weight: 700;
  font-size: 1.3rem;
  margin-right: 0.4rem;
  color: var(--primary-color);
}

.styled-ol li p {
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
}

.styled-ol li p strong {
  font-size: 1.3rem;
}

.resource-box .note {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 600;
  padding-top: 1rem;
}

.swap-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  background: #eaf1ff;
}

.swap-table th,
.swap-table td {
  border: 1px solid #e5e7eb;
  padding: 0.85rem;
  font-size: 0.9rem;
}
.swap-table th {
  background: #bad6ff;
  font-weight: 700;
  padding: 0.85rem 0;
}

.swap-table td {
  font-weight: 500;
}

/* ========================================
        RESPONSIVE DESIGN
======================================== */
@media (max-width: 991px) {
  
  .about-us .flex,
  .newsletter .row,
  .our-mission .flex {
    flex-direction: column;
  }

  .about-us .flex > div,
  .row > * {
    width: 100%;
  }

  .newsletter .row {
    width: 100%;
  }

  .newsletter .container {
    padding: 3rem 1rem;
  }

  .newsletter .row h2 {
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    gap: 3rem;
  }

  /* ----- SHOP PAGE ----- */
  .product-layout {
    width: 100%;
  }

  /* ----- INGREDIENTS PAGE ----- */
  .page-hero {
    padding: 0;
  }

  /* ----- ABOUT PAGE ----- */
  .our-mission .flex > div,
  .why-choose-us .flex > div {
    width: 100%;
  }

  .our-mission .flex:nth-child(1),
  .why-choose-us .flex {
    flex-direction: column-reverse;
  }

  /* ----- FAQ PAGE ----- */
  .faq-section .flex {
    flex-direction: column-reverse;
  }

  .faq-images img {
    width: 80%;
  }

  .faq-images img:nth-child(2) {
    margin-left: 80px;
  }

  /* ----- CONTACT PAGE ----- */
  .contact-section .flex {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 2rem;
  }

  .secondary-cta .row {
    flex-direction: column;
  }

  .benefits,
  .blog-detail-wrapper {
    grid-template-columns: 1fr;
  }

  .testimonials-container {
    min-height: 380px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 3rem;
  }

  /* ----- SHOP PAGE ----- */
  .product-section {
    padding: 50px 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
  .best-seller {
    transform: scale(1);
  }

  /* ----- INGREDIENTS PAGE ----- */
  .page-hero.ingredients-hero {
    background-position: bottom center;
  }
}

@media (max-width: 560px) {
  .header {
    padding: 10px;
  }

  .hero-section,
  .page-hero {
    background-attachment: unset;
  }

  .hero-section h1 {
    font-size: 3rem;
  }

  .hero-section h2 {
    font-size: 1.6rem;
  }

  h1,
  .section-heading h1 {
    font-size: 2.6rem;
  }

  .content p,
  .supporting p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.95rem 1.8rem;
  }

  .benefits {
    padding: 0 1rem;
  }

  .testimonial-text {
    font-size: 1.2rem;
  }

  .newsletter-form .btn {
    width: 60%;
    font-size: 1rem;
  }

  footer {
    padding: 2rem 0;
  }

  .footer-content {
    gap: 0.5rem;
  }

  /* ----- ABOUT PAGE ----- */
  .why-trust-us ul {
    grid-template-columns: 1fr;
  }

  /* ----- BLOG PAGE ----- */
  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .logo h1 {
    font-size: 1rem;
  }

  .hero-section {
    height: 75vh;
    background-position: center right -200px;
  }

  .page-hero.blog-hero,
  .page-hero.faq-hero {
    background-position: center right -100px;
  }

  .hero-section h1,
  h1,
  .section-heading h1,
  .row h2 {
    font-size: 2rem;
  }

  .hero-section h2,
  .footer-logo span {
    font-size: 1.22rem;
  }

  .video-wrapper {
    height: 100%;
  }

  .content ul li {
    width: 100%;
  }

  .cta,
  .content ul {
    flex-direction: column;
  }

  .cta > * {
    width: 70%;
  }

  .newsletter {
    padding: 4rem 0;
  }

  .newsletter .row h2,
  .contact-form h2 {
    font-size: 1.75rem;
  }

  input,
  .testimonial-text {
    font-size: 0.9rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  .footer-logo img {
    width: 80px;
    height: 80px;
  }

  .page-hero h2 {
    font-size: 1.1rem;
  }

  /* ----- SHOP PAGE ----- */
  .slider-thumbs {
    gap: 0.45rem;
  }
  .slider-thumbs img {
    width: 70px;
    height: 70px;
  }

  .dosage-box ul li {
    gap: 5px;
  }

  /* ----- INGREDIENTS PAGE ----- */
  .ingredients-section {
    padding: 2rem 0;
  }

  .ingredients-section h2,
  .ingredients-cta h2,
  .our-mission h2,
  .about-section h2,
  .why-content h2,
  .why-trust-us h2 {
    font-size: 1.9rem;
    line-height: 1.3;
  }

  .ingredient {
    padding: 1rem;
  }

  .ingredients-cta p {
    font-size: 1.1rem;
  }

  .bs-label.with-bottle {
    flex-direction: column;
  }

  .bs-label.with-bottle div:nth-child(1) img {
    width: 50%;
    margin: 0 auto;
    display: flex;
  }

  /* ----- BLOG PAGE ----- */
  .blog-area {
    padding: 3rem 0;
  }

  .blog-sidebar .widget {
    width: 300px;
  }

  /* ----- CONTACT PAGE ----- */
  .contact-section .container {
    padding: 0 10px;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-form p {
    font-size: 14px;
  }

  /* ----- LEGAL PAGES ----- */
  .legal-page {
    padding: 2rem 0 3rem;
  }

  .legal-head h2 {
    font-size: 1.6rem;
    padding-bottom: 0;
  }

  .legal-head h1 {
    font-size: 1rem;
  }

  .content-section {
    padding: 2rem 0;
  }

  .resource-box {
    padding: 1.5rem;
  }

  .styled-list li {
    padding-left: 0;
  }

  .lead p strong {
    font-size: 1.2rem;
  }

  .styled-ol li p strong,
  .styled-ol li::before,
  .resource-box .note {
    font-size: 1.1rem;
  }


/* =========================================================
   SHOP HEADER: match clinic header height + alignment
   Paste at VERY BOTTOM of style.css so it overrides everything
   ========================================================= */

:root { --headerH: 64px; }

/* Header bar */
nav.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

/* Lock header height (this is the “clinic feel”) */
nav.header > .container.flex{
  height: var(--headerH);
  padding: 0 32px;
  align-items: center;
}

/* Brand (shop uses .brand, not .logo) */
nav.header .brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  font-weight: 800;
  font-size: 1.25rem;
}

nav.header .brand img{
  height: 44px;
  width: auto;
  display: block;
}

/* Right side wrapper (exists on shop page only) */
nav.header .nav-right{
  display: flex;
  align-items: center;
  gap: 18px;
  line-height: 1;
}

/* Nav links */
nav.header .nav-menu{
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}

nav.header .nav-menu a{
  display: block;
  padding: 8px 0;
  line-height: 1;        /* prevents “fat” baseline spacing */
}

/* Cart inline (shop page only) */
nav.header .cart-inline{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  white-space: nowrap;
}

nav.header .cart-inline a{
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* PayPal web component tends to add extra baseline space by default */
nav.header paypal-cart-button{
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
}

/* Hamburger button alignment */
nav.header .nav-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
}

/* IMPORTANT: use body padding, not hero margin, for fixed header offset */
body{ padding-top: var(--headerH); }
.hero-section{ margin-top: 0 !important; }
.page-hero{ margin-top: 0 !important; }

/* Your desktop media rule was zeroing out padding-top — override it */
@media (min-width: 901px){
  body{ padding-top: var(--headerH) !important; }
}

.purchase-reassurance{
  margin: 14px auto 18px;
  max-width: 720px;
  text-align: center;
  font-size: .95rem;
  color: #586176;
  clear: both;
}

