/**
 * Vasudha Pharma — Signature Heading Gradient System
 * Emerald → Cyan gradient (#4FE3B0 → #6EC1FF) as seen in hero "90+ Nations"
 *
 * Two variants:
 *   DARK  backgrounds (hero / video / dark overlays): bright emerald → sky blue
 *   LIGHT backgrounds (sections / cards / white):      deep green → blue (readable)
 */

/* ─── DARK BACKGROUND HEADINGS ──────────────────────────────────────────── */
/* Hero titles, page banners, dark sections */
.hero-title,
.cp-hero-title,
.rp-hero-title,
.careers-hero-title,
.vp-cdmo-title {
  background: linear-gradient(135deg, #4FE3B0 0%, #6EC1FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  clear: both;
}

/* ─── LIGHT BACKGROUND HEADINGS ─────────────────────────────────────────── */
/* Section titles, card headings, content areas */
.section-title,
.vp-mol-title,
.rp-section-title,
.id-section-title,
.history-title,
.founder-gallery-title,
.stat-unit-title,
.careers-h {
  background: linear-gradient(135deg, #0E8F6C 0%, #1DB88A 40%, #2F7DE1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  clear: both;
}

/* ─── CAREER PORTAL HEADINGS (careers-modern.css pages) ─────────────────── */
.career-track h2,
.careers-content h2,
.cp-section-title {
  background: linear-gradient(135deg, #0E8F6C 0%, #1DB88A 40%, #2F7DE1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  clear: both;
}

/* ─── STAFF PORTAL HEADINGS ─────────────────────────────────────────────── */
/* welcomeName and accountName (dark bg) */
#welcomeName,
#accountName {
  background: linear-gradient(135deg, #4FE3B0 0%, #6EC1FF 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block !important;
  color: transparent !important;
}

/* Staff panel / card h2 headings */
.card > h2,
.card h2,
.sp-card h2,
.sp-panel h2,
.sp-section-heading {
  background: linear-gradient(135deg, #0E8F6C 0%, #1DB88A 40%, #2F7DE1 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: block !important;
  clear: both !important;
}

/* ─── CTA BANNER HEADINGS ────────────────────────────────────────────────── */
.cta-banner h2,
.cta-banner h1 {
  background: linear-gradient(135deg, #4FE3B0 0%, #6EC1FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  clear: both;
}

/* ─── BARE h2 IN CONTENT SECTIONS (no class, inside .page-section) ──────── */
.page-section > .container > div > h2:not([class]),
.page-section > .container > h2:not([class]),
.mfg-section-head > h2:not([class]),
section > .container > h2:not([class]) {
  background: linear-gradient(135deg, #0E8F6C 0%, #1DB88A 40%, #2F7DE1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  clear: both;
}

/* ─── PREVENT EYEBROW & HEADING MERGING SITAWIDE ─────────────────────────── */
/* Ensure all badges, tags, and eyebrows above headings remain strictly on their own line */
.hero-eyebrow,
.section-eyebrow,
.section-badge,
.badge-eyebrow,
.vp-mol-badge,
.mfg-badge,
.cp-badge,
.rp-badge,
.careers-badge,
.founder-eyebrow,
.stat-unit-badge,
[class*="eyebrow"],
.section-tag {
  display: block !important;
  width: fit-content !important;
  margin-bottom: 12px !important;
  clear: both !important;
}

/* Ensure all headings break onto their own line below eyebrows */
.section-title,
.vp-mol-title,
.rp-section-title,
.id-section-title,
.history-title,
.founder-gallery-title,
.stat-unit-title,
.careers-h,
.hero-title,
.cp-hero-title,
.rp-hero-title,
.careers-hero-title,
.vp-cdmo-title,
.career-track h2,
.careers-content h2,
.cp-section-title,
.cta-banner h2,
.cta-banner h1,
.page-section > .container > div > h2,
.page-section > .container > h2,
.mfg-section-head > h2,
section > .container > h2,
.container > h2 {
  display: block !important;
  clear: both !important;
}

/* Centered eyebrows inside centered containers */
.text-center > .hero-eyebrow,
.text-center > .section-eyebrow,
.text-center > [class*="eyebrow"],
.text-center > .section-badge,
.text-center > .section-tag,
.vp-mol-header > .vp-mol-badge,
[style*="text-align: center"] > .hero-eyebrow,
[style*="text-align: center"] > [class*="eyebrow"],
[style*="text-align:center"] > .hero-eyebrow,
[style*="text-align:center"] > [class*="eyebrow"] {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ─── SUPPRESS CONFLICTING powder-title decoration ──────────────────────── */
.section-title-powder .title-powder {
  display: none !important;
}

/* ─── ENSURE layouts remain full-width ───────────────────────────────────── */
.section-title,
.vp-mol-title,
.hero-title,
.cp-hero-title {
  max-width: 100%;
}

/* ─── "Since 1994" Badge Tagline (Enlarged & High Visibility) ──────── */
.anniv-since,
header .anniv-since,
.anniv-badge-wrap .anniv-since {
  display: block !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  font-size: 15.5px !important;
  color: #0E8F6C !important;
  letter-spacing: 0.03em !important;
  margin-top: 3px !important;
  white-space: nowrap !important;
  text-align: center !important;
  line-height: 1.1 !important;
  text-shadow: 0 1px 2px rgba(14, 143, 108, 0.15) !important;
}

/* ─── DESKTOP HEADER: Left edge rounded & opened, right edge goes all the way ─── */
@media (min-width: 961px) {
  header {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 10px 0 6px 0 !important;
  }
  header .container.header-inner {
    background: #ffffff !important;
    border-top-left-radius: 54px !important;
    border-bottom-left-radius: 54px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-right: none !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    min-height: 108px !important;
    height: 108px !important;
    padding-left: 0 !important;
    padding-right: 20px !important;
    margin-left: max(16px, (100% - 1400px) / 2) !important;
    margin-right: 0 !important;
    width: calc(100% - max(16px, (100% - 1400px) / 2)) !important;
    max-width: none !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }
  header .header-inner > a.logo,
  header a.logo {
    background: #ffffff !important;
    border: 1.5px solid rgba(203, 213, 225, 0.95) !important;
    box-shadow: 2px 0 14px rgba(0, 0, 0, 0.04) !important;
    min-height: 108px !important;
    height: 108px !important;
    padding: 10px 28px 10px 20px !important;
    margin: 0 10px 0 0 !important;
    border-top-left-radius: 54px !important;
    border-bottom-left-radius: 54px !important;
    border-top-right-radius: 54px !important;
    border-bottom-right-radius: 54px !important;
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    z-index: 2 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
  }
  header .header-inner > a.logo .logo-hex-wrap,
  header a.logo .logo-hex-wrap {
    width: 58px !important;
    height: 58px !important;
  }
  header .header-inner > a.logo .logo-img,
  header a.logo .logo-img {
    width: 46px !important;
    height: 46px !important;
  }
  header .header-inner > a.logo .logo-text,
  header a.logo .logo-text {
    gap: 3px !important;
  }
  header .header-inner > a.logo .logo-text strong,
  header a.logo .logo-text strong {
    font-size: 16px !important;
    letter-spacing: 0.02em !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }
  header .header-inner > a.logo .logo-text span,
  header a.logo .logo-text span {
    font-size: 11.5px !important;
    font-style: italic !important;
  }
  header .header-inner > .header-right {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  header .header-right > nav#mainNav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 2px !important;
  }
  header .header-right nav a.nav-link {
    padding: 6px 7px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    font-weight: 600 !important;
  }
  .anniv-badge-wrap,
  header .header-right > .anniv-badge-wrap,
  header .header-right .anniv-badge-wrap {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 6px !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
  }
  header .header-right .anniv-badge-wrap .anniv-badge,
  .anniv-badge-wrap .anniv-badge,
  header .header-right > .anniv-badge,
  header .anniv-badge {
    width: 68px !important;
    height: 68px !important;
    flex: 0 0 68px !important;
  }
  header .header-right .anniv-ring,
  header .anniv-ring {
    inset: 1px !important;
    border-width: 2.5px !important;
  }
  header .header-right .anniv-ring--2,
  header .anniv-ring--2 {
    inset: 5.5px !important;
    border-width: 2.5px !important;
  }
  header .header-right .anniv-core,
  header .anniv-core,
  .anniv-core {
    width: 50px !important;
    height: 50px !important;
  }
  header .header-right .anniv-num,
  header .anniv-num,
  .anniv-core .anniv-num {
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }
  header .header-right .anniv-lbl,
  header .anniv-lbl,
  .anniv-core .anniv-lbl {
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    margin-top: 1px !important;
  }
  header .anniv-since,
  .anniv-badge-wrap .anniv-since,
  header .header-right .anniv-badge-wrap .anniv-since {
    font-size: 15.5px !important;
    margin-top: 3px !important;
  }
}

@media (min-width: 1401px) {
  header .header-right .anniv-badge-wrap .anniv-badge,
  .anniv-badge-wrap .anniv-badge,
  header .header-right > .anniv-badge,
  header .anniv-badge {
    width: 72px !important;
    height: 72px !important;
    flex: 0 0 72px !important;
  }
  header .header-right .anniv-ring--2,
  header .anniv-ring--2 {
    inset: 6px !important;
  }
  header .header-right .anniv-core,
  header .anniv-core,
  .anniv-core {
    width: 53px !important;
    height: 53px !important;
  }
  header .header-right .anniv-num,
  header .anniv-num,
  .anniv-core .anniv-num {
    font-size: 23px !important;
  }
  header .header-right .anniv-lbl,
  header .anniv-lbl,
  .anniv-core .anniv-lbl {
    font-size: 9.5px !important;
  }
  header .anniv-since,
  .anniv-badge-wrap .anniv-since,
  header .header-right .anniv-badge-wrap .anniv-since {
    font-size: 16px !important;
    margin-top: 3.5px !important;
  }
}

@media (min-width: 961px) and (max-width: 1120px) {
  header .container.header-inner {
    min-height: 102px !important;
    height: 102px !important;
    padding-right: 14px !important;
    margin-left: 10px !important;
    width: calc(100% - 10px) !important;
  }
  header .header-inner > a.logo,
  header a.logo {
    min-height: 102px !important;
    height: 102px !important;
    padding: 9px 24px 9px 18px !important;
    margin: 0 8px 0 0 !important;
    border-radius: 51px !important;
  }
  header .header-inner > a.logo .logo-hex-wrap,
  header a.logo .logo-hex-wrap {
    width: 52px !important;
    height: 52px !important;
  }
  header .header-inner > a.logo .logo-img,
  header a.logo .logo-img {
    width: 42px !important;
    height: 42px !important;
  }
  header .header-inner > a.logo .logo-text strong,
  header a.logo .logo-text strong {
    font-size: 15px !important;
    letter-spacing: 0.01em !important;
    font-weight: 700 !important;
  }
  header .header-inner > a.logo .logo-text span,
  header a.logo .logo-text span {
    font-size: 11px !important;
    font-style: italic !important;
  }
  header .header-right nav a.nav-link {
    padding: 5px 6px !important;
    font-size: 11.5px !important;
  }
  header .header-right > nav#mainNav {
    gap: 1.5px !important;
  }
  header .header-inner > .header-right {
    gap: 5px !important;
  }
  .anniv-badge-wrap,
  header .header-right > .anniv-badge-wrap,
  header .header-right .anniv-badge-wrap {
    margin-left: 4px !important;
  }
  header .header-right .anniv-badge-wrap .anniv-badge,
  .anniv-badge-wrap .anniv-badge,
  header .header-right > .anniv-badge,
  header .anniv-badge {
    width: 56px !important;
    height: 56px !important;
    flex: 0 0 56px !important;
  }
  header .header-right .anniv-ring--2,
  header .anniv-ring--2 {
    inset: 4.5px !important;
  }
  header .header-right .anniv-core,
  header .anniv-core,
  .anniv-core {
    width: 41px !important;
    height: 41px !important;
  }
  header .header-right .anniv-num,
  header .anniv-num,
  .anniv-core .anniv-num {
    font-size: 18px !important;
  }
  header .header-right .anniv-lbl,
  header .anniv-lbl,
  .anniv-core .anniv-lbl {
    font-size: 7.5px !important;
  }
  header .anniv-since,
  .anniv-badge-wrap .anniv-since,
  header .header-right .anniv-badge-wrap .anniv-since {
    font-size: 13.5px !important;
    margin-top: 2px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT LIST: CARD-ROW TREATMENT (FLOATING ROWS)
   Independent card feel with border-radius: 12px, white background,
   subtle gap between rows, and subtle lift + emerald left border on hover.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Table Scroll Outer Shell — Soft modern background with breathing room */
.api-table,
.pellet-table,
.int-table,
.pip-table,
.udev-table,
.cmo-table {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 12px 12px 6px 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

/* Sticky Header: Clean rounded pill look at top of table */
.api-head {
  border-radius: 12px !important;
  margin-bottom: 10px !important;
  box-shadow: 0 4px 14px rgba(14, 143, 108, 0.2) !important;
}

/* Each row as an independent floating card */
.api-row,
.pellet-row,
.int-row,
.pip-row,
.udev-row {
  background: #ffffff !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 4px solid transparent !important;
  margin-bottom: 8px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  padding: 14px 18px !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s ease,
              border-left-color 0.22s ease,
              background 0.22s ease !important;
  position: relative !important;
  align-items: center !important;
}
.api-row:last-child {
  margin-bottom: 6px !important;
}

/* Hover: Subtle lift (translateY(-2px)) + emerald left border highlight */
.api-row:hover,
.pellet-row:hover,
.int-row:hover,
.pip-row:hover,
.udev-row:hover {
  background: #ffffff !important;
  transform: translateY(-2px) !important;
  border-color: #cbd5e1 !important;
  border-left: 4px solid #0E8F6C !important;
  border-left-color: #0E8F6C !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(14, 143, 108, 0.08) !important;
  z-index: 5 !important;
}

/* Product Name Styling — Crisp, elevated, modern */
.api-row .api-cell.api-name,
.api-row .api-name {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
  transition: color 0.2s ease !important;
}
.api-row:hover .api-cell.api-name,
.api-row:hover .api-name {
  color: #0E8F6C !important;
}

/* Clear any pills on Intermediate chemical names & Pellet compositions */
.int-table .api-row .api-cell:nth-child(2),
.pellet-table .api-row .api-cell:nth-child(3) {
  display: block !important;
  background: transparent !important;
  color: #334155 !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  width: auto !important;
  max-width: none !important;
  box-shadow: none !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

/* 1. Therapeutic Category — Soft Lavender/Indigo Capsule Pill */
/* APIs (Col 5), Intermediates (Col 4), Piperidones (Col 4), Pellets (Col 5), Under Development (Col 5) */
.api-table:not(.int-table):not(.pellet-table):not(.pip-table):not(.udev-table) .api-row .api-cell:nth-child(5),
.int-table .api-row .api-cell:nth-child(4),
.pip-table .api-row .api-cell:nth-child(4),
.pellet-table .api-row .api-cell:nth-child(5),
.udev-table .api-row .api-cell:nth-child(5) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #EEEDFE !important;
  color: #5B4BF5 !important;
  border: 1px solid #D5D1FC !important;
  border-radius: 999px !important;
  padding: 4px 13px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  width: fit-content !important;
  max-width: calc(100% - 8px) !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  text-align: center !important;
  box-shadow: 0 1px 3px rgba(91, 75, 245, 0.06) !important;
}

/* 2. Regulatory Filings / DMF Status — Soft Mint/Emerald Capsule Pill (APIs only) */
.api-table:not(.int-table):not(.pellet-table):not(.pip-table):not(.udev-table) .api-row .api-cell:nth-child(4) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #EAF7EA !important;
  color: #15803D !important;
  border: 1px solid #B8E4BA !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  width: fit-content !important;
  max-width: calc(100% - 8px) !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  text-align: center !important;
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.06) !important;
}

/* Under Development Status (Col 4) — Soft Amber Pipeline Pill */
.udev-table .api-row .api-cell:nth-child(4) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #FEF3C7 !important;
  color: #B45309 !important;
  border: 1px solid #FDE68A !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  width: fit-content !important;
  max-width: calc(100% - 8px) !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  text-align: center !important;
}

/* 3. Pellet Formulation Type (EC, SR, ER, IR) — Soft Cyan/Sky Capsule Pill */
.pellet-table .api-row .api-cell:nth-child(2) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #E0F2FE !important;
  color: #0369A1 !important;
  border: 1px solid #BAE6FD !important;
  border-radius: 999px !important;
  padding: 3px 11px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  width: fit-content !important;
  text-align: center !important;
}

/* 4. Specifications / Pharmacopoeia Standards — Clean Slate Tag (APIs & Under Development) */
.api-table:not(.int-table):not(.pellet-table):not(.pip-table) .api-row .api-cell:nth-child(2),
.udev-table .api-row .api-cell:nth-child(2) {
  display: inline-flex !important;
  align-items: center !important;
  background: #F1F5F9 !important;
  color: #475569 !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 999px !important;
  padding: 3px 10px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  width: fit-content !important;
  max-width: calc(100% - 8px) !important;
  white-space: normal !important;
}

/* Piperidones Code (Col 2) — Clean Slate Code Tag */
.pip-table .api-row .api-cell:nth-child(2) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #F1F5F9 !important;
  color: #475569 !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 6px !important;
  padding: 2px 8px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  width: fit-content !important;
  letter-spacing: 0.03em !important;
}

/* 5. CAS Number — Clean Monospace Tag */
.api-row .api-cell:nth-child(3),
.pellet-table .api-row .api-cell:nth-child(4) {
  font-family: 'Roboto Mono', 'SF Mono', Consolas, monospace !important;
  font-size: 12px !important;
  color: #64748B !important;
  background: rgba(241, 245, 249, 0.7) !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  display: inline-block !important;
  width: fit-content !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

/* 6. RFQ Button — Smooth Capsule Styling */
.api-view-btn {
  border-radius: 50px !important;
  padding: 6px 16px !important;
  transition: all 0.2s ease !important;
}
.api-view-btn:hover {
  transform: scale(1.04) !important;
  box-shadow: 0 4px 10px rgba(29, 184, 138, 0.28) !important;
}

/* ─── EHS PLANTATION & GREEN BELT SHOWCASE ─────────────────────────────── */
.ehs-plantation-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.ehs-plantation-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 42px rgba(14, 143, 108, 0.15) !important;
}
.ehs-plantation-card:hover img {
  transform: scale(1.05) !important;
}

/* ─── QUALITY & MEGA-MENU ENHANCED HOVER & SCROLL VISIBILITY ───────────── */
.nav-item:hover > .mega-menu,
.nav-item:focus-within > .mega-menu,
.nav-item.is-mega-open > .mega-menu,
.nav-item > .mega-menu:hover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* ─── FOOTER CAPSULE LOGO: EXACT REFLECTION OF HEADER CAPSULE IN SIZE & ALIGNMENT ─── */
@media (min-width: 961px) {
  footer.vp-foot,
  footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  .vp-foot-inner {
    margin-left: max(16px, (100% - 1400px) / 2) !important;
    margin-right: max(16px, (100% - 1400px) / 2) !important;
    width: calc(100% - max(16px, (100% - 1400px) / 2) * 2) !important;
    max-width: 1400px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  .vp-foot-bottom {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .vp-foot-bottom a.logo,
  footer a.logo {
    background: #ffffff !important;
    border: 1.5px solid rgba(203, 213, 225, 0.95) !important;
    box-shadow: 2px 0 14px rgba(0, 0, 0, 0.04) !important;
    min-height: 108px !important;
    height: 108px !important;
    padding: 10px 28px 10px 20px !important;
    margin: 0 !important;
    margin-left: 0 !important;
    border-radius: 54px !important;
    border-top-left-radius: 54px !important;
    border-bottom-left-radius: 54px !important;
    border-top-right-radius: 54px !important;
    border-bottom-right-radius: 54px !important;
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
  }
  .vp-foot-bottom a.logo .logo-hex-wrap,
  footer a.logo .logo-hex-wrap {
    width: 58px !important;
    height: 58px !important;
  }
  .vp-foot-bottom a.logo .logo-img,
  footer a.logo .logo-img {
    width: 46px !important;
    height: 46px !important;
  }
  .vp-foot-bottom a.logo .logo-text,
  footer a.logo .logo-text {
    gap: 3px !important;
  }
  .vp-foot-bottom a.logo .logo-text strong,
  footer a.logo .logo-text strong {
    font-size: 16px !important;
    letter-spacing: 0.02em !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }
  .vp-foot-bottom a.logo .logo-text span,
  footer a.logo .logo-text span {
    font-size: 11.5px !important;
    font-style: italic !important;
  }
}

@media (min-width: 961px) and (max-width: 1120px) {
  .vp-foot-inner {
    margin-left: 10px !important;
    margin-right: 10px !important;
    width: calc(100% - 20px) !important;
  }
  .vp-foot-bottom a.logo,
  footer a.logo {
    min-height: 102px !important;
    height: 102px !important;
    padding: 9px 24px 9px 18px !important;
    border-radius: 51px !important;
  }
  .vp-foot-bottom a.logo .logo-hex-wrap,
  footer a.logo .logo-hex-wrap {
    width: 52px !important;
    height: 52px !important;
  }
  .vp-foot-bottom a.logo .logo-img,
  footer a.logo .logo-img {
    width: 42px !important;
    height: 42px !important;
  }
  .vp-foot-bottom a.logo .logo-text strong,
  footer a.logo .logo-text strong {
    font-size: 15px !important;
    letter-spacing: 0.01em !important;
    font-weight: 700 !important;
  }
  .vp-foot-bottom a.logo .logo-text span,
  footer a.logo .logo-text span {
    font-size: 11px !important;
    font-style: italic !important;
  }
}

@media (max-width: 960px) {
  footer.vp-foot,
  footer {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .vp-foot-inner {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .vp-foot-bottom a.logo,
  footer a.logo {
    margin-left: 0 !important;
  }
}

/* ─── EVENTS SCROLLER PROPER ARROW BUTTONS ────────────────────────────── */
.vp-events-nav-btn {
  width: 44px !important;
  height: 44px !important;
}
.vp-events-nav-btn svg {
  display: block;
  stroke: #ffffff;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease;
}
#vpEventsScrollPrev:hover svg {
  transform: translateX(-3px);
}
#vpEventsScrollNext:hover svg {
  transform: translateX(3px);
}

/* ─── BOARD OF DIRECTORS: SUSTAINABILITY REPORT EXECUTIVE STYLING ────────── */
.board-card.has-photo {
  padding: 24px 20px 24px !important;
}
.board-portrait {
  position: relative !important;
  width: 100% !important;
  max-width: 290px !important;
  margin: 0 auto 12px !important;
}
.board-card.has-photo .board-photo {
  width: 100% !important;
  max-width: 290px !important;
  height: auto !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.board-card.has-photo:hover .board-photo {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: none !important;
}
.board-card.has-photo .board-photo img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 14px 28px rgba(14, 143, 108, 0.12)) !important;
  transition: filter 0.35s ease !important;
}
.board-card.has-photo:hover .board-photo img {
  filter: drop-shadow(0 20px 38px rgba(14, 143, 108, 0.22)) !important;
}
.board-badge {
  display: none !important;
}



/* === CANONICAL mega-menu layout & cards (spans full menu width, larger images, enhanced typography) === */
    .nav-item > .mega-menu,
    .mega-menu {
      padding: 34px 0 38px !important;
    }
    .mega-menu-about .mega-menu-about-row {
      display: flex !important;
      flex-direction: row !important;
      flex-wrap: nowrap !important;
      align-items: stretch !important;
      justify-content: space-between !important;
      gap: 28px 40px !important;
      width: 100% !important;
      max-width: 1560px !important;
      margin: 0 auto !important;
      padding: 0 44px !important;
      box-sizing: border-box !important;
    }
    /* 3-item menus (e.g. R&D) remain elegantly centered and balanced */
    .nav-item:has(a[data-section="rnd"]) .mega-menu-about-row,
    .mega-menu-about:has(.mega-menu-col:only-of-type) .mega-menu-about-row {
      max-width: 1200px !important;
      justify-content: center !important;
      gap: 48px !important;
    }
    /* Large prominent feature cards */
    .mega-menu a.mm-feature-card,
    .mega-menu .mm-feature-card {
      flex: 0 1 360px !important;
      min-width: 220px !important;
      max-width: 390px !important;
      width: 100% !important;
      height: 195px !important;
      min-height: 195px !important;
      max-height: 195px !important;
      padding: 0 !important;
      margin: 0 !important;
      display: block !important;
      overflow: hidden !important;
      border-radius: 12px !important;
      background: #ffffff !important;
      border: 1px solid rgba(0,0,0,0.08) !important;
      box-shadow: 0 6px 22px rgba(0,0,0,0.08) !important;
      box-sizing: border-box !important;
      position: relative !important;
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
    }
    .mega-menu a.mm-feature-card:hover,
    .mega-menu .mm-feature-card:hover {
      transform: translateY(-3px) scale(1.01) !important;
      box-shadow: 0 12px 30px rgba(0,0,0,0.14) !important;
    }
    .mega-menu a.mm-feature-card .mm-feature-text,
    .mega-menu .mm-feature-card .mm-feature-text {
      display: none !important;
      height: 0 !important;
      padding: 0 !important;
      margin: 0 !important;
      overflow: hidden !important;
    }
    .mega-menu a.mm-feature-card > img,
    .mega-menu .mm-feature-card > img {
      position: absolute !important;
      inset: 0 !important;
      width: 100% !important;
      min-width: 100% !important;
      max-width: 100% !important;
      height: 100% !important;
      min-height: 100% !important;
      max-height: 100% !important;
      object-fit: cover !important;
      object-position: center center !important;
      padding: 0 !important;
      margin: 0 !important;
      border: none !important;
      border-radius: 12px !important;
      background: transparent !important;
      transform: none !important;
    }
    /* Foundation mega-menu: enlarged full cards & balanced columns */
    .nav-item:has(a[data-section="founder"]) .mega-menu-about-row > .mm-feature-card,
    .mega-menu-about:has(a[href*="vasudha-foundation"]) .mm-feature-card {
      flex: 0 1 370px !important;
      min-width: 280px !important;
      max-width: 410px !important;
      height: 195px !important;
      min-height: 195px !important;
      max-height: 195px !important;
      overflow: hidden !important;
      border-radius: 12px !important;
      box-shadow: 0 6px 22px rgba(0,0,0,0.08) !important;
      border: 1px solid rgba(0,0,0,0.06) !important;
      background: #ffffff !important;
      padding: 0 !important;
      margin: 0 !important;
    }
    .nav-item:has(a[data-section="founder"]) .mega-menu-about-row > .mega-menu-col:first-child,
    .nav-item:has(a[data-section="founder"]) .mega-menu-about-row > .mega-menu-col:last-child {
      flex: 0 1 170px !important;
      min-width: 140px !important;
      max-width: 190px !important;
    }
    .nav-item:has(a[data-section="founder"]) .mega-menu-about-row > .mega-menu-col:nth-child(3) {
      flex: 0 1 230px !important;
      min-width: 180px !important;
      max-width: 250px !important;
    }
    .nav-item:has(a[data-section="founder"]) .mega-menu a.mm-feature-card > img,
    .nav-item:has(a[data-section="founder"]) .mega-menu .mm-feature-card > img,
    .mega-menu a.mm-feature-card > img,
    .mega-menu .mm-feature-card > img {
      position: absolute !important;
      inset: 0 !important;
      width: 100% !important;
      min-width: 100% !important;
      max-width: 100% !important;
      height: 100% !important;
      min-height: 100% !important;
      max-height: 100% !important;
      object-fit: cover !important;
      object-position: center center !important;
      padding: 0 !important;
      margin: 0 !important;
      border: none !important;
      border-radius: 12px !important;
      background: transparent !important;
    }
    .mega-menu a.mm-feature-card img[src*="board-directors"],
    .mega-menu .mm-feature-card img[src*="board-directors"] {
      object-fit: cover !important;
      object-position: center 18% !important;
      max-height: 100% !important;
      min-height: 100% !important;
      height: 100% !important;
      padding: 0 !important;
    }
    .mega-menu a.mm-feature-card img[src*="founder"],
    .mega-menu .mm-feature-card img[src*="founder"] {
      object-fit: cover !important;
      object-position: center center !important;
      max-height: 100% !important;
      min-height: 100% !important;
      height: 100% !important;
      padding: 0 !important;
      background: transparent !important;
    }
    .mega-menu a.mm-feature-card--logo > img,
    .mega-menu .mm-feature-card--logo > img,
    .mega-menu a.mm-feature-card img[src*="foundation"],
    .mega-menu .mm-feature-card img[src*="foundation"] {
      object-fit: cover !important;
      object-position: center center !important;
      max-height: 100% !important;
      min-height: 100% !important;
      height: 100% !important;
      padding: 0 !important;
      background: transparent !important;
    }

    /* Text columns adjusted to breathe and fill menu */
    .mega-menu-about .mega-menu-col,
    .mega-menu .mega-menu-col {
      flex: 1 1 240px !important;
      min-width: 170px !important;
      max-width: 320px !important;
      padding-top: 2px !important;
    }
    .mega-menu-col h5 {
      font-size: 13px !important;
      font-weight: 700 !important;
      letter-spacing: 1px !important;
      text-transform: uppercase !important;
      color: #0E8F6C !important;
      margin-bottom: 14px !important;
      padding-bottom: 8px !important;
      border-bottom: 2px solid rgba(14, 143, 108, 0.2) !important;
    }
    .mega-menu-col a {
      display: block !important;
      text-decoration: none !important;
      padding: 7px 12px !important;
      margin: 0 -12px 4px !important;
      border-radius: 8px !important;
      transition: background 0.2s ease, transform 0.2s ease !important;
    }
    .mega-menu-col a:last-child {
      margin-bottom: 0 !important;
    }
    .mega-menu-col a:hover {
      background: rgba(29, 184, 138, 0.08) !important;
      transform: translateX(4px) !important;
    }
    .mega-menu-col a .mm-label {
      display: block !important;
      font-size: 15px !important;
      font-weight: 600 !important;
      color: #1a1a1a !important;
      line-height: 1.35 !important;
      transition: color 0.2s ease !important;
    }
    .mega-menu-col a:hover .mm-label {
      color: #0E8F6C !important;
    }
    .mega-menu-col a .mm-sub {
      display: block !important;
      font-size: 12.5px !important;
      color: #666666 !important;
      margin-top: 3px !important;
      line-height: 1.35 !important;
    }

    @media (max-width: 1360px) {
      .mega-menu-about .mega-menu-about-row {
        gap: 20px 24px !important;
        padding: 0 24px !important;
      }
      .mega-menu a.mm-feature-card,
      .mega-menu .mm-feature-card {
        flex: 0 1 280px !important;
        min-width: 190px !important;
        height: 175px !important;
        min-height: 175px !important;
        max-height: 175px !important;
      }
      .mega-menu-about .mega-menu-col,
      .mega-menu .mega-menu-col {
        min-width: 150px !important;
      }
    }

    @media (max-width: 900px) {
      .mega-menu {
        display: none !important;
      }
    }

/* High contrast radiant white heading for Upcoming Global Exhibitions against dark video/scrim background */
.vp-events-heading {
  font-family: 'Montserrat', 'Poppins', sans-serif !important;
  font-size: clamp(26px, 3.4vw, 38px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 32px rgba(56, 239, 125, 0.25) !important;
  display: block !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.5px !important;
}

/* ==========================================================================
   UNIVERSAL FOOTER & POWERED-BY SYSTEM (Green Theme)
   ========================================================================== */
footer.vp-foot {
  background: #ffffff !important;
  color: #222222 !important;
  border-top: 1px solid #e8e8e8 !important;
  padding: 48px 0 28px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  display: block !important;
  position: relative !important;
  z-index: 10 !important;
}

@media (min-width: 1121px) {
  .vp-foot-inner {
    max-width: none !important;
    width: calc(100% - max(16px, (100% - 1400px) / 2)) !important;
    margin-left: max(16px, (100% - 1400px) / 2) !important;
    margin-right: 0 !important;
    padding-left: 1px !important;
    padding-right: calc(max(32px, (100% - 1400px) / 2) + 28px) !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 961px) and (max-width: 1120px) {
  .vp-foot-inner {
    max-width: none !important;
    width: calc(100% - 10px) !important;
    margin-left: 10px !important;
    margin-right: 0 !important;
    padding-left: 1px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 960px) {
  footer.vp-foot {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .vp-foot-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  footer.vp-foot {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

.vp-foot-cols {
  display: grid !important;
  grid-template-columns: 1.4fr 0.9fr 0.8fr !important;
  gap: 36px !important;
}

.vp-foot h4 {
  margin: 0 0 16px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
}

.vp-foot ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vp-foot li {
  margin: 0 0 10px !important;
}

.vp-foot a {
  color: #333333 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  transition: color 0.15s ease !important;
}

.vp-foot a:hover {
  color: #0E8F6C !important;
}

.vp-foot-split {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px 28px !important;
}

.vp-foot-social {
  display: flex !important;
  gap: 10px !important;
  margin: 0 0 14px !important;
}

.vp-foot-social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border: 1px solid #dddddd !important;
  border-radius: 50% !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #555555 !important;
  transition: all 0.2s ease !important;
}

.vp-foot-social a:hover {
  background: rgba(29, 184, 138, 0.1) !important;
  border-color: #1DB88A !important;
  color: #0E8F6C !important;
}

/* Footer Bottom Bar */
.vp-foot-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin-top: 36px !important;
  padding-top: 20px !important;
  border-top: 1px solid #eeeeee !important;
  font-size: 13px !important;
  color: #666666 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.vp-foot-bottom a.logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  background: #ffffff !important;
  border: 1px solid rgba(29, 184, 138, 0.25) !important;
  border-radius: 9999px !important;
  padding: 6px 18px 6px 8px !important;
  box-sizing: border-box !important;
}

.vp-foot-bottom .logo-hex-wrap {
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.vp-foot-bottom .logo-hex-body {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.vp-foot-bottom .logo-img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.vp-foot-bottom .logo-text {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
}

.vp-foot-bottom strong {
  color: #0E8F6C !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.vp-foot-bottom .logo-text span {
  font-size: 11px !important;
  color: #666666 !important;
  line-height: 1.2 !important;
}

/* Powered by Zailabs badge - strict sizing safeguard across entire website */
.vp-powered,
.rp-footer .vp-powered {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #666666 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vp-powered a,
.rp-footer .vp-powered a {
  color: inherit !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-weight: 600 !important;
  transition: color 0.15s ease !important;
}

.vp-powered a:hover,
.rp-footer .vp-powered a:hover {
  color: #0f172a !important;
  text-decoration: underline !important;
}

.vp-powered img,
.rp-footer .vp-powered img {
  height: 16px !important;
  min-height: 16px !important;
  max-height: 18px !important;
  width: 16px !important;
  min-width: 16px !important;
  max-width: 18px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 800px) {
  .vp-foot-cols, .vp-foot-split {
    grid-template-columns: 1fr !important;
  }
  .vp-foot-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 16px !important;
  }
}
