/* ------------------------------------------------------------------
   Sanvextra consolidated style.css
   - All inline styles from previous index.html moved here
   - Updated: added certificate/contact top strip styles (cledral copy)
   ------------------------------------------------------------------ */

/* Colors / variables */
:root{
  --purple-1:#8a6daf;
  --purple-2:#a875f7;
  --accent-grad: linear-gradient(135deg,var(--purple-1),var(--purple-2));
}

/* Reset / base */
*{box-sizing:border-box;margin:0;padding:0}
html, body {
	height:100%
	width: 100%;
	overflow-x: hidden;
	}
body{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background:#fff;
  color:#1f2937;
  line-height:1.6;
  display:flex;
  flex-direction:column;
}

/* ---------- CERTIFICATES / CONTACT STRIP (new) ---------- */
/* === FIXED CERT STRIP + NAVBAR AT TOP === */
.cert-strip {
	position: relative;
	background: #ffffff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.topbar {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* === CERT STRIP SCROLLS AWAY, MAIN NAVBAR FIXED THROUGHOUT === */

/* Certificate strip scrolls normally */
.cert-strip {
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 10;
}

/* Main navbar stays fixed on top */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: top 0.3s ease;
}

/* Push the hero/content down so it doesn’t hide behind navbar */
body {
  padding-top: 90px; /* height of navbar */
}


.cert-inner{
  max-width:1200px;
  margin:0 auto;
  padding:8px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.cert-left{
  display:flex;
  align-items:center;
  gap:12px;
}
.cert-img{
  height:36px;
  display:block;
  object-fit:contain;
  opacity:0.98;
}
.cert-img.who{ height:34px; }
.cert-img.gmp{ height:36px; }
.cert-img.iso{ height:36px; }

/* right side contact items */
.cert-right{
  display:flex;
  align-items:center;
  gap:18px;
}
.cert-item{
  display:flex;
  align-items:center;
  gap:8px;
}
.cert-item a, .cert-item i { color:#4b5563; font-size:18px; display:inline-block; width:26px; text-align:center; }
.cert-text{ display:flex; flex-direction:column; line-height:1; }
.cert-label{ font-size:11px; color:#6b7280; font-weight:700; text-transform:uppercase; letter-spacing:0.6px; }
.cert-value{ font-size:13px; color:#111827; font-weight:600; }

/* ---------- NAVBAR / TOPBAR ---------- */

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:84px;
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}
.brand{display:flex;align-items:center;gap:14px}

/* brand images previously inline */
.brand-icon{
  height:56px;
  width:56px;
  border-radius:10px;
  display:block;
  object-fit:cover;
}
.brand-text-wrapper{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.brand-text-img{height:35px;display:block;}
.brand-tagline{
  font-size:8px;
  color:var(--purple-2);
  font-weight:600;
  margin-top:1px;
}

/* fallback brand logo element (if present) */
.brand .logo{
  width:56px;height:56px;border-radius:12px;
  background:var(--accent-grad);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:700;font-family:Cardo,serif;font-size:22px;
}

/* nav links */
.nav-links{display:flex;gap:22px;align-items:center}
.nav-links a{
  font-weight:600;
  color:#374151;
  padding:8px 10px;
  border-radius:8px;
  text-decoration:none;
}
.nav-links a:hover{
  color:var(--purple-2);
  background:rgba(139,92,246,0.06);
}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  min-height:90vh;
  display:flex;
  align-items:flex-start;
  overflow:hidden;
  color:#fff;
}
.hero::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(60,30,90,0.8) 0%, rgba(90,40,150,0.6) 70%, rgba(0,0,0,0.45) 100%);
  z-index:1;
}
.hero-bg{
  position:absolute;inset:0;
  background:url('../assets/home_page.jpeg') center/cover no-repeat;
  z-index:0;
  filter:brightness(0.65);
}
.hero-content{
  position:relative;
  z-index:5;
  max-width:1200px;
  margin:0 auto;
  padding:180px 24px 0; /* adjust to center hero text vertically if needed */
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.hero h1{
  font-family: Cardo, serif;
  font-size:50px;
  line-height:1.1;
  margin-bottom:16px;
}
.accent-text{ color:var(--purple-2); }
.hero-sub{
  max-width:600px;
  margin-bottom:24px;
  color: rgba(255,255,255,0.9);
  font-size:18px;
}
.hero .hero-cta{ display:flex; gap:14px; justify-content:center; }

/* Buttons */
.btn{
  padding:16px 30px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
  border:none;
  font-size:17px;
}
.btn-primary{ background:var(--accent-grad); color:#fff; }
.btn-outline{ background:transparent; border:2px solid rgba(255,255,255,0.3); color:#fff; }

.btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(138,109,175,0.25);
}

/* Hero wave svg */
.hero-wave{
  position:absolute;
  bottom:-1px;
  left:0;
  width:100%;
  overflow:hidden;
  line-height:0;
  z-index:5;
}
.hero-wave svg{ position:relative; display:block; width:calc(100% + 1.3px); height:200px; }
.hero-wave path{ fill:#ffffff; }

/* ---------- Feature Cards (the small cards overlapping hero) ---------- */
.features {
  position: relative;
  z-index: 10;
  margin-top: -260px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 24px 0;
  overflow: visible; /* allows pop-out images */
}

.feature-card{
  background:#fff;border-radius:16px;padding:24px;text-align:center;
  box-shadow:0 8px 24px rgba(17,24,39,0.08);
  transition:all 0.3s ease;
}
.feature-card:hover{ transform:translateY(-6px); box-shadow:0 12px 32px rgba(17,24,39,0.12); }
.feature-card h3{ margin:10px 0 6px; font-size:18px; font-weight:700; }
.feature-card p{ color:#475569; font-size:14.5px; }
.feature-card span{ font-size:36px; color:var(--purple-1); display:block; margin-bottom:8px; }

/* ---------- ABOUT SECTION (moved inline styles) ---------- */
.about-section{ background:#fff; padding:100px 24px; }
.about-inner-wrapper{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:40px;
}
.about-left{ flex:1; min-width:300px; display:flex; flex-direction:column; gap:16px; }
.about-left-img{
  width:100%;
  border-radius:16px;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
  display:block;
  object-fit:cover;
}
.about-right{ flex:1; min-width:300px; }
.about-right h2{ font-family:Cardo,serif; font-size:32px; margin-bottom:16px; }
.about-paragraph{ color:#374151; margin-bottom:16px; text-align:justify; }
.certifications-list{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.cert-pill{
  background:linear-gradient(135deg,#8a6daf,#a875f7);
  color:#fff;
  padding:10px 20px;
  border-radius:999px;
  font-weight:600;
  box-shadow:0 4px 10px rgba(168,117,247,0.3);
  font-size:14px;
}

/* ---------- Third Party Manufacturing ---------- */
.third-party-section{ background:#faf8ff; padding:100px 24px; }
.third-party-wrapper{ max-width:1200px; margin:0 auto; display:flex; flex-wrap:wrap; align-items:center; gap:40px; }
.third-party-left{ flex:1; min-width:300px; }
.third-party-left h2{ font-family:Cardo,serif; font-size:32px; margin-bottom:16px; color:#1f1f1f; }
.cta-contact{
  background:linear-gradient(135deg,#8a6daf,#a875f7);
  border:none;color:#fff;padding:14px 28px;border-radius:999px;font-weight:700;font-size:16px;
  cursor:pointer;box-shadow:0 6px 20px rgba(138,109,175,0.25);
}

/* stats cards */
.third-party-right{
  flex:1;min-width:280px;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;
}
.stat-card{
  background:#fff;border-radius:16px;padding:30px;text-align:center;box-shadow:0 8px 20px rgba(0,0,0,0.06);
}
.stat-card h3{ font-family:Cardo,serif;font-size:22px;margin-bottom:10px;color:var(--purple-1); }
.stat-number{ font-size:36px;font-weight:800;color:#1f1f1f; }
.stat-plus{ color:var(--purple-2); }

/* ---------- Why Choose Us (icon boxes) ---------- */
.why-choose-section{ background:#fff6ff; padding:100px 24px; }
.why-choose-wrapper{ max-width:1200px; margin:0 auto; display:flex; flex-wrap:wrap; align-items:center; gap:40px; }
.why-left{ flex:1; min-width:320px; }
.why-left-img{ width:100%; border-radius:16px; box-shadow:0 8px 20px rgba(0,0,0,0.08); display:block; object-fit:cover; }
.why-right{ flex:1; min-width:320px; text-align:justify; }
.icon-boxes{ display:flex; flex-direction:column; gap:20px; }
.icon-box{ display:flex; align-items:flex-start; gap:16px; }
.icon-circle{
  background:linear-gradient(135deg,#8a6daf,#a875f7);
  color:#fff;border-radius:50%;padding:14px;display:flex;align-items:center;justify-content:center;font-size:20px;
}
.icon-box-content h3{ margin:0; font-size:20px; font-family:Cardo,serif; color:#1f1f1f; }
.icon-box-content p{ margin-top:6px; color:#475569; font-size:15px; }

/* ---------- Mission & Vision ---------- */
.mission-vision-section{ background:#fff; padding:100px 24px; }
.mission-vision-wrapper{ max-width:1200px; margin:0 auto; display:flex; flex-wrap:wrap; gap:40px; align-items:stretch; }
.vision-card, .mission-card{
  flex:1; min-width:300px; background:#faf8ff; border-radius:16px; padding:40px; box-shadow:0 8px 20px rgba(0,0,0,0.05);
}
.vision-card h2, .mission-card h2{ font-family:Cardo,serif; font-size:30px; margin-bottom:14px; color:#1f1f1f; }
.vision-card p, .mission-card p{
	text-align: justify;
}
.vision-card h3, .mission-card h3{
	text-align: center;
}

/* ---------- Partner Section ---------- */
.partner-section{ background:#fff; padding:100px 24px; }
.partner-wrapper{ max-width:1200px; margin:0 auto; display:flex; flex-wrap:wrap; align-items:center; gap:50px; }
.partner-left{ flex:1; min-width:300px; }
.partner-left-img{
  width:100%; border-radius:16px; box-shadow:0 10px 25px rgba(0,0,0,0.1); display:block; object-fit:cover;
}
.partner-right{ flex:1; min-width:300px; text-align:justify; }
.partner-features{ display:flex; gap:40px; flex-wrap:wrap; margin-bottom:32px; }
.partner-feature{ flex:1; min-width:200px; display:flex; align-items:flex-start; gap:14px; }
.pf-icon{ background:#f0f4ff; color:#2a4b8d; padding:12px; border-radius:10px; display:flex; align-items:center; justify-content:center; }
.partner-contact-link{
  display:inline-block; background:#2a4b8d; color:#fff; text-decoration:none; padding:12px 26px; border-radius:6px; font-weight:600; transition:0.3s; margin-top:10px;
}

/* ---------- Products section & Swiper product cards ---------- */
.products-section{ background:#faf8ff; padding:100px 24px; }
.products-inner{ max-width:1200px; margin:0 auto; text-align:center; }
.products-inner h2{ font-family:Cardo,serif; font-size:34px; margin-bottom:12px; color:#1f1f1f; }
.products-inner p{ max-width:700px; margin:0 auto 40px; color:#475569; font-size:16px; }

/* product card (was inline) */
.product-card{
  background:#fff; border-radius:16px; box-shadow:0 8px 20px rgba(0,0,0,0.06);
  overflow:hidden; display:flex; flex-direction:column;
}
.product-card img{ width:100%; height:240px; object-fit:cover; display:block; }
.product-card h3{ padding:16px; font-size:17px; color:#1f1f1f; }

/* Swiper control arrow color classes for your custom arrow elements */
.product-next, .product-prev, .review-next, .review-prev,
.swiper-button-next, .swiper-button-prev {
  color:var(--purple-1);
}

/* ---------- Reviews / Testimonials ---------- */
.reviews-section{ background:#fffafc; padding:100px 24px; }
.reviews-inner{ max-width:1200px; margin:0 auto; text-align:center; }
.reviews-inner h2{ font-family:Cardo,serif; font-size:34px; margin-bottom:12px; color:#1f1f1f; }
.reviews-inner p{ max-width:700px; margin:0 auto 40px; color:#475569; font-size:16px; }

.review-card{
  background:#fff; border-radius:16px; padding:30px; box-shadow:0 8px 24px rgba(0,0,0,0.08); text-align:left;
}
.review-head{ display:flex; align-items:center; gap:16px; margin-bottom:16px; }
.review-avatar{ width:64px; height:64px; border-radius:50%; object-fit:cover; }
.review-role{ font-size:14px; color:#6b7280; }
.review-rating{ color:#fbbf24; font-size:18px; }

/* ---------- Footer ---------- */
.site-footer{ background:#f9f9ff; padding:80px 24px 40px; }
.footer-top{ max-width:1200px; margin:0 auto; }
.footer-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:40px; }

.footer-about h2, .footer-links h2, .footer-support h2, .footer-contact h2{
  font-family:Cardo,serif; font-size:22px; margin-bottom:16px; color:#1f1f1f;
}
.footer-about p{ color:#475569; font-size:15px; line-height:1.6; text-align: justify; }
.footer-about hr{ margin:24px 0; border:none; border-top:1px solid #ddd; }

 /* social icons area */
.social-icons{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; justify-items:center; margin-top:10px; }
.social{ font-size:28px; text-decoration:none; }

/* footer lists */
.footer-links ul, .footer-support ul{ list-style:none; padding:0; line-height:2; }
.footer-contact ul{ list-style:none; padding:0; line-height:1.8; color:#475569; font-size:15px; }

/* certifications */
.footer-certifications{ text-align:center; margin-top:80px; }
.cert-logos{ display:flex; justify-content:center; align-items:center; gap:40px; flex-wrap:wrap; }
.cert-logos img{ height:80px; }

/* newsletter */
.footer-newsletter{ text-align:center; margin-top:60px; }
.newsletter-form{ display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:12px; }
.newsletter-input{ padding:14px 18px; border:1px solid #ccc; border-radius:999px; width:260px; font-size:15px; }

/* bottom elementor-style footer */
.sanvextra-footer{
  background:#f9f6ff;
  border-top:1px solid rgba(138,109,175,0.2);
  color:#333;
  padding:20px 0;
  font-size:15px;
  text-align:center;
  position:relative;
  bottom:0;
  width:100%;
  margin-top:auto;
}
.elementor-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}
.left-copy p, .right-copy p{ margin:6px 0; color:#555; }
.dev-link{ color:#a875f7; text-decoration:none; }

/* ---------- small-screen responsive tweaks ---------- */
@media(max-width:900px){
  .hero h1{ font-size:42px; }
  .features{ margin-top:-180px; }
}
@media(max-width:600px){
  .hero-content{ padding-top:80px; }
  .features{ grid-template-columns:1fr; }
  /* as original inline had nav hide on small screens - kept optional */
  .nav-links{ display:none; }
  /* on small screens collapse cert-left visuals */
  .cert-left{ display:none; }
  .cert-right{ gap:10px; }
  .cert-value{ font-size:12px; }
  .cert-label{ font-size:9px; }
}
@media(max-width:768px){
  .sanvextra-footer .elementor-container{ flex-direction:column; text-align:center; gap:6px; }
  .cert-inner{ padding:8px 12px; }
  .cert-item { gap:6px; }
  .cert-item a, .cert-item i { font-size:16px; width:22px; }
}

/* ---------- Helpful overrides (if you notice small diffs) ---------- */
/* If certain inline color/size specifics still appear different (due to specificity),
   you can uncomment some !important overrides below for strict parity. */

/*
.brand-tagline{ font-size:8px !important; color:var(--purple-2) !important; font-weight:600 !important; }
.product-card img{ height:240px !important; object-fit:cover !important; }
.cert-pill{ box-shadow:0 4px 10px rgba(168,117,247,0.3) !important; }
.swiper-button-next, .swiper-button-prev { color: var(--purple-1) !important; }
*/

/* ---------- POPUP STYLES ---------- */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.popup-box {
  background: #fff;
  border-radius: 16px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  position: relative;
  overflow: auto;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.3s ease;
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 28px;
  border: none;
  background: none;
  color: #555;
  cursor: pointer;
  z-index: 2;
}

.popup-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
}

/* Left side image */
.popup-image {
  flex: 0 0 45%;
  min-width: 260px;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px
}

.popup-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: calc(90vh - 160px);
  object-fit: contain;
  display: block;
}

/* Right side form */
.popup-form-section {
  flex: 1;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-form-section h2 {
  font-size: 26px;
  color: var(--purple-1);
  margin-bottom: 18px;
  font-family: Cardo, serif;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-form input,
.popup-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: Inter, sans-serif;
}

.popup-submit {
  background: var(--accent-grad);
  border: none;
  color: #fff;
  padding: 12px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.popup-submit:hover {
  opacity: 0.9;
}

/* ---------- Popup mobile optimization ---------- */
@media (max-width: 768px) {
  .popup-box {
    max-width: 90%;          /* shrink width */
    max-height: 90vh;        /* keep some space top/bottom */
    overflow: auto;        /* allow scrolling inside if needed */
    border-radius: 12px;     /* smaller corners */
  }
  
  .popup-content {
	  flex-direction: column;
  }

  .popup-image {
	flex: 0 0 auto;
	width: 100%;
    height: auto;           /* smaller image area */
	padding: 8px 12px;
  }
  
  .popup-image img {
	width: 100%;
	height: auto;
	max-height: 36vh;
	object-fit: contain;
  }

  .popup-form-section {
    padding: 20px;      /* reduce padding for better fit */
  }

  .popup-form input,
  .popup-form textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  .popup-submit {
    padding: 10px;
    font-size: 15px;
  }
}


.topbar {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: background 0.3s ease;
}

section {
  scroll-margin-top: 90px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.popup-box {
  animation: fadeInScale 0.3s ease forwards;
}

.sanvextra-footer {
  background: linear-gradient(135deg, #f9f6ff, #f3e8ff);
  border-top: 1px solid rgba(138,109,175,0.25);
}
.dev-link:hover {
  color: #7e22ce;
  text-decoration: underline;
}

/* --- Updated Multivitamin Promo Card --- */
.feature-card-promo {
  position: relative;
  overflow: visible; /* allow image to pop out */
  background: #fff; /* restore your original white style */
  color: #1f1f1f;
  border-radius: 16px;
  padding: 40px 24px 100px; /* bottom padding so text doesn’t overlap */
  text-align: left; /* text alignment like in screenshot */
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
  transition: all 0.35s ease;
}

.feature-card-promo:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
}

/* promo tag on top */
.feature-card-promo .promo-badge {
  position: absolute;
  top: 16px;
  left: 20px;
  background: var(--purple-2);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(168, 117, 247, 0.3);
}

/* text */
.feature-card-promo .feature-content {
  position: relative;
  z-index: 3;
  padding-right: 100px; /* make space for image */
}

.feature-card-promo h3 {
  font-size: 22px;
  font-family: Cardo, serif;
  margin-bottom: 6px;
  color: #1f1f1f;
}

.feature-card-promo p {
  color: #475569;
  font-size: 15px;
  margin-bottom: 0;
  line-height: 1.4;
}

/* bottle image (bigger + more out of box) */
.feature-card-promo .feature-img {
  position: absolute;
  bottom: -85px; /* pushes it further out of the box */
  right: -80px;
  width: 250px; /* bigger bottle */
  height: auto;
  transform: scale(1);
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 5;
  pointer-events: none;
}

.feature-card-promo:hover .feature-img {
  transform: scale(1.1) translateY(-10px);
}

.feature-card-promo::after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: 40px;
  width: 120px;
  height: 25px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.25) 0%, transparent 70%);
  z-index: 1;
  filter: blur(6px);
}

/* ---------- Assured Quality Certifications (new) ---------- */
.assured-certifications{
  flex-basis: 100%;
  text-align: center;
  margin-top: 28px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.assured-certifications h3{
  font-family: Cardo, serif;
  font-size: 24px;
  color: #2b2350;
  margin-bottom: 8px;
  font-weight: 700;
}

.assured-sub{
  color: #6b7280;
  margin-bottom: 18px;
  font-size: 15px;
}

/* certification tiles */
.cert-grid{
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 8px 0 0;
  padding: 0 12px;
}

.cert-box{
  background: #fff;
  min-width: 150px;
  max-width: 200px;
  padding: 16px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(17,24,39,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-weight: 700;
}

.cert-box:hover{
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(17,24,39,0.12);
}

.cert-icon{
  font-size: 28px;
  width: 48px;
  color: var(--purple-1);
  display:block;
}

.cert-name{
  color: #111827;
  font-size: 14px;
  line-height: 1.2;
  margin-top: 4px;
}

/* responsive tweaks */
@media (max-width: 900px){
  .cert-grid { gap: 12px; }
  .cert-box { min-width: 130px; padding: 12px 14px; }
  .assured-certifications h3 { font-size: 22px; }
}
@media (max-width: 480px){
  .assured-certifications h3 { font-size: 20px; }
  .assured-sub { font-size: 14px; }
  .cert-grid { gap: 10px; }
  .cert-box { min-width: 120px; padding: 10px 12px; font-size: 13px; }
}

/* ---------- Leading Healthcare Innovation (replacement for Third Party) ---------- */
.third-party-section{
  padding: 48px 20px;
  background: linear-gradient(180deg, rgba(247,249,252,1) 0%, rgba(255,255,255,1) 100%);
}

.third-party-wrapper{
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 16px;
}

/* content box */
.third-party-content{
  width: 100%;
  text-align: center;
  padding: 6px 12px;
}

/* title + subtitle */
.lp-title{
  font-family: Cardo, serif;
  font-size: 30px;
  color: #1f1140;
  margin: 6px 0 10px;
  font-weight: 700;
}

.lp-sub{
  color: #4b5563;
  max-width: 900px;
  margin: 0 auto 26px;
  font-size: 15px;
  line-height: 1.6;
}

/* mission & vision wrapper (two cards side-by-side on wide screens, stacked on small) */
.mission-vision-wrapper{
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  margin: 0 auto 22px;
  flex-wrap: wrap;
  padding: 6px;
}

/* individual cards */
.mission-vision-wrapper .vision-card,
.mission-vision-wrapper .mission-card{
  background: #ffffff;
  min-width: 280px;
  max-width: 520px;
  flex: 1 1 320px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(17,24,39,0.06);
  padding: 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mission-vision-wrapper h3{
  font-size: 20px;
  margin: 0;
  color: #141025;
  font-weight: 700;
}

.mission-vision-wrapper p{
  margin: 0;
  color: #374151;
  line-height: 1.5;
  font-size: 15px;
}

/* CTA placement */
.third-cta{
  margin-top: 14px;
}

/* re-use existing .cta-contact style; if it's not present, fallback */
.cta-contact{
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  background: linear-gradient(90deg, #6b21a8, #8b5cf6);
  color: #fff;
  box-shadow: 0 8px 20px rgba(107,33,168,0.18);
}

/* responsive tweaks */
@media (max-width: 900px){
  .lp-title { font-size: 26px; }
  .mission-vision-wrapper { gap: 14px; }
  .mission-vision-wrapper .vision-card,
  .mission-vision-wrapper .mission-card { padding: 18px; }
}

@media (max-width: 520px){
  .third-party-section { padding: 28px 12px; }
  .lp-title { font-size: 22px; }
  .lp-sub { font-size: 14px; margin-bottom: 18px; }
  .mission-vision-wrapper { flex-direction: column; align-items: center; }
  .mission-vision-wrapper .vision-card,
  .mission-vision-wrapper .mission-card { width: 100%; max-width: 560px; }
  .cta-contact { width: 100%; }
}

/* ---------- Stats cards (Satisfied Clients + Partnerships) ---------- */
.stats-wrapper{
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* stat cards common */
.stat-card{
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(17,24,39,0.06);
  padding: 18px;
  min-width: 300px;
  max-width: 540px;
  width: calc(50% - 12px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

/* small screens stack */
@media (max-width: 880px){
  .stat-card { width: 100%; }
}

/* Clients graph area */
.graph-area{
  width: 100%;
  height: 160px;
  margin-bottom: 8px;
  background: linear-gradient(180deg, rgba(250,250,255,1), rgba(245,245,250,1));
  border-radius: 8px;
  padding: 8px;
  box-sizing: border-box;
}

/* SVG takes full area */
#clients-svg{ width: 100%; height: 100%; display: block; }

/* Bars row */
.bars{
  display: flex;
  gap: 8px;
  align-items: end;
  justify-content: center;
  padding: 8px 4px 0;
  height: 80px;
  box-sizing: border-box;
}

.bar{
  width: 12%;
  min-width: 18px;
  height: 100%;
  display:flex;
  align-items: flex-end;
  justify-content:center;
  background: transparent;
}

.bar-fill{
  width: 100%;
  height: 4%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #6b21a8, #8b5cf6);
  transition: height 0.6s ease-out;
  box-shadow: 0 6px 18px rgba(107,33,168,0.12);
}

/* Numbers below */
.stat-number-wrap{ display:flex; flex-direction:column; align-items:center; gap:6px; padding-top:4px; }
.stat-number{
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
}
.stat-label{
  font-size: 13px;
  color: #4b5563;
  font-weight: 600;
}

/* Partnership card */
.partner-visual{ display:flex; justify-content:center; align-items:center; padding-top:6px; padding-bottom:4px; }
.partner-icon{ opacity: 0.95; }

/* Partner big number */
.partner-number-wrap{ display:flex; flex-direction:column; align-items:center; gap:6px; padding-bottom:6px; }
.partner-number{
  font-size: 40px;
  font-weight: 900;
  color: #0f172a;
}
.partner-number .plus{ margin-left:6px; font-size: 24px; vertical-align: middle; color: #111827; }

/* small visual improvements */
.clients-card h3, .partners-card h3{ margin:0; font-size:18px; color:#111827; font-weight:800; }

/* ---------- Stats layout (if not already added) ---------- */
.stats-wrapper{
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 22px;
  flex-wrap: wrap;
}

.stat-card{
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(17,24,39,0.06);
  padding: 18px;
  min-width: 300px;
  max-width: 540px;
  width: calc(50% - 12px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

@media (max-width: 880px){
  .stat-card { width: 100%; }
}

.clients-card h3,
.partners-card h3{
  margin: 0;
  font-size: 18px;
  color: #111827;
  font-weight: 800;
}

/* ---------- Graph area (curve + bars inside SVG) ---------- */
.graph-area{
  width: 100%;
  height: 180px;
  margin-bottom: 8px;
  background: linear-gradient(180deg, rgba(250,250,255,1), rgba(245,245,250,1));
  border-radius: 10px;
  padding: 8px;
  box-sizing: border-box;
  overflow: hidden;
}

#clients-svg{
  width: 100%;
  height: 100%;
  display: block;
}

/* bars behind curve */
.bars-group .bar-rect{
  fill: url(#barGradient);
  opacity: 0.7;
  rx: 6;
  ry: 6;
}

/* curve styling */
.clients-line{
  filter: drop-shadow(0 3px 6px rgba(107,33,168,0.25));
}

/* numbers below */
.stat-number-wrap{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
}
.stat-number{
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
}
.stat-label{
  font-size: 13px;
  color: #4b5563;
  font-weight: 600;
}

/* partnership card visuals */
.partner-visual{
  display:flex;
  justify-content:center;
  align-items:center;
  padding-top:6px;
  padding-bottom:4px;
}
.partner-icon{ opacity: 0.95; }

.partner-number-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  padding-bottom:6px;
}
.partner-number{
  font-size: 40px;
  font-weight: 900;
  color: #0f172a;
}
.partner-number .plus{
  margin-left: 6px;
  font-size: 24px;
  vertical-align: middle;
  color: #111827;
}


/* --- APPENDED OVERRIDES ADDED BY CHATGPT --- */


/* =========================
   Compact stats overrides
   (Appended to preserve original CSS and override earlier stat styles)
   Matches user's hand-drawn layout: side-by-side compact tiles,
   smaller chart, bars behind curve, and scroll-triggered animations.
   ========================= */

.stats-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
  margin-top: 24px;
  flex-wrap: nowrap; /* stay side-by-side on wide screens */
}

/* Compact tile styling to match sketch (left: graph, right: partner) */
.stat-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 16px;
  width: 300px;       /* compact fixed width */
  min-width: 240px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* subtle hover lift */
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

/* Responsive: stack on smaller viewports */
@media (max-width: 850px) {
  .stats-wrapper { flex-wrap: wrap; gap: 18px; justify-content: center; }
  .stat-card { width: 100%; max-width: 520px; min-width: auto; padding: 16px; }
}

/* Graph area smaller and more compact */
.graph-area {
  width: 100%;
  height: 120px;            /* smaller height than dashboard style */
  padding: 6px;
  border-radius: 12px;
  background: #f7f6ff;      /* subtle pale background */
  box-sizing: border-box;
  overflow: hidden;
}

/* Ensure SVG fills the compact graph area */
#clients-svg { width: 100%; height: 100%; display: block; }

/* Bars behind the curve - more subtle */
.bars-group .bar-rect {
  fill: url(#barGradient);
  opacity: 0.36;
  rx: 4;
  ry: 4;
  transition: height 0.6s ease;
}

/* Thinner, subtler curve stroke and no heavy shadow */
.clients-line {
  stroke-width: 2.3;
  filter: none;
  stroke: #6b21a8;
  stroke-linecap: round;
}

/* Compact number styling */
.stat-number-wrap { display:flex; flex-direction:column; align-items:center; gap:6px; padding-top:6px; }
.stat-number {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
}
.stat-label {
  font-size: 12px;
  color: #4b5563;
  font-weight: 600;
  opacity: 0.8;
}

/* Partner visuals scaled down to match compact tile */
.partner-visual { padding-top: 4px; padding-bottom: 2px; }
.partner-icon { width: 44px; height: 44px; opacity: 0.92; }
.partner-number-wrap { padding-bottom: 6px; }
.partner-number { font-size: 28px; font-weight: 900; color:#0f172a; display:flex; align-items:baseline; gap:6px; }
.partner-number .plus { font-size: 18px; color:#111827; }

/* Tighten mission/vision spacing to keep stats visually close */
.mission-vision-wrapper { margin-bottom: 10px; }
.mission-vision-wrapper .vision-card,
.mission-vision-wrapper .mission-card {
  padding: 16px;
  border-radius: 14px;
}

/* Small adjustments: reduce large shadows inherited earlier for this section */
.third-party-content .stat-card,
.third-party-right .stat-card {
  box-shadow: 0 6px 18px rgba(17,24,39,0.06);
}

/* Accessibility: ensure counters are legible on small screens */
@media (max-width: 420px) {
  .stat-number { font-size: 22px; }
  .partner-number { font-size: 24px; }
  .graph-area { height: 110px; }
}

/* End of compact stats overrides */

/* --- Equal-height stat cards (ensure both tiles match height) --- */
.stats-wrapper {
  align-items: stretch; /* makes both tiles stretch to same height */
}

/* Make stat-cards equal height + balanced spacing */
.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* spaces elements evenly inside card */
  min-height: 220px; /* adjust if you want shorter/taller boxes */
}

/* Ensure graph and partner icon don't stretch card unexpectedly */
.graph-area, 
.partner-visual {
  flex: 0 0 auto;
}

/* Better spacing inside partner tile */
.partners-card .partner-number-wrap {
  margin-top: 6px;
  margin-bottom: 6px;
}

/* On mobile, stack naturally without forced height */
@media (max-width: 850px) {
  .stat-card {
    min-height: 0;
  }
}

.hidden {
  display: none;
}

/* --- HERO RESPONSIVE FIX --- */

/* Ensure hero content adjusts fluidly */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0px 20px 250px; /* adjust bottom if wave exists */
}

/* Scale heading responsively */
.hero h1 {
  font-size: clamp(28px, 6vw, 48px);
  line-height: 1.3;
}

/* Subtitle responsiveness */
.hero-sub {
  font-size: clamp(14px, 2.8vw, 18px);
  max-width: 900px;
  margin: 10px auto 25px;
}

/* Button container layout */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Buttons default (side-by-side) */
.hero-buttons a {
  padding: 12px 28px;
  white-space: nowrap;
}

/* --- Mobile stacked layout --- */
@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }
}

/* ===== Mobile menu button & dropdown ===== */
.menu-btn {
  display: none;              /* shown only on small screens */
  background: transparent;
  border: none;
  font-size: 20px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  color: #374151;
  align-items: center;
  justify-content: center;
}
.menu-btn i { display: inline-block; }

/* focus style */
.menu-btn:focus {
  outline: 3px solid rgba(168,117,247,0.18);
  outline-offset: 2px;
}

/* Mobile dropdown: keep nav hidden by default (your file already hides it in the mobile media query);
   show it when the .open class is set by JS. */
@media (max-width: 600px) {
  .menu-btn { display: inline-flex; }

  /* make the nav-links into a dropdown panel for mobile */
  .nav-links {
    display: none; /* keep this to match your file's existing rule */
    position: absolute;
    top: 84px; /* height of the navbar */
    right: 16px;
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(2,6,23,0.12);
    flex-direction: column;
    gap: 6px;
    min-width: 200px;
    z-index: 1002;
  }

  /* when the script toggles .open, show the menu */
  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 12px;
    border-radius: 8px;
    display: block;
    color: #111827;
    font-weight: 700;
  }
  .nav-links a:hover {
    background: rgba(139,92,246,0.06);
    color: var(--purple-2);
  }
}

/* Smooth rotation animation */
.menu-btn {
  transition: transform 0.3s ease;
}

/* When active, rotate 90° (you can change angle) */
.menu-btn.active {
  transform: rotate(90deg);
}

/* Base button */
.menu-btn {
  display: none; /* visible only on mobile */
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  position: relative;
  width: 32px;
  height: 32px;
  z-index: 1003;
}

/* Bars */
.menu-btn .bar {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 3px;
  background: #000;
  border-radius: 10px;
  transition: 0.3s ease;
}

/* Top bar */
.menu-btn .bar:nth-child(1) {
  top: 8px;
}

/* Middle bar */
.menu-btn .bar:nth-child(2) {
  top: 14px;
}

/* Bottom bar */
.menu-btn .bar:nth-child(3) {
  top: 20px;
}

/* ---- ACTIVE STATE (Transforms into X) ---- */
.menu-btn.active .bar:nth-child(1) {
  top: 14px;
  transform: rotate(45deg);
}

.menu-btn.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-btn.active .bar:nth-child(3) {
  top: 14px;
  transform: rotate(-45deg);
}

/* Show button on mobile */
@media (max-width: 600px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}


.quality-number {
  font-size: 48px;
  font-weight: 700;
  color: #8b5cf6;
  margin-top: 10px;
}
/* QUALITY STAT CARD 
.quality-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(2,6,23,0.1);
  margin-top: 20px;
}

.quality-number {
  font-size: 48px;
  font-weight: 700;
  color: #8b5cf6;
  margin-top: 10px;
}

.quality-icon {
  margin-bottom: 10px;
}
*/