@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;500&display=swap');

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

body {
  overflow-x: hidden;
  max-width: 100%;
}

:root {
  /* ==========================================================================
     GLOBAL COLORS & UTILITIES
     ========================================================================== */
  --ivory: #F9F6F1;
  --deep: #0e2f4e;
  --sage: #1a6fa0;
  --sage-light: #3d97b8;
  --sage-pale: #EEF5F9;
  --gold: #C9A96E;
  --gold-light: #F5EDD8;
  --white: #FFFFFF;
  --text-muted: #4A6275;
  --border: rgba(0, 55, 94, 0.12);

  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Libre Baskerville', serif;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  --line-height-base: 1.6;
  --line-height-heading: 1.25;
  --line-height-hero: 1.15;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* ==========================================================================
     H1 TAG (Main Hero Titles)
     ========================================================================== */
  --h1-font-family: var(--font-secondary);
  --h1-font-size: 52px;
  --h1-font-size-mobile: 32px;
  --h1-font-weight: var(--weight-medium);
  --h1-line-height: var(--line-height-hero);

  /* ==========================================================================
     H2 TAG (Section Titles & Accent Headers)
     ========================================================================== */
  --h2-font-family: var(--font-secondary);
  --h2-font-size: 42px;
  --h2-font-size-cta: 30px;
  --h2-font-weight: var(--weight-medium);
  --h2-line-height: var(--line-height-heading);

  /* ==========================================================================
     H4 TAG (Sub-headers, Patient Card Titles, Doctor Names)
     ========================================================================== */
  --h4-font-family: var(--font-primary);
  --h4-font-size: 20px;
  --h4-font-weight: var(--weight-medium);

  /* ==========================================================================
     H5 TAG (Caps Eyebrows, Footer Headings, Info Card Labels)
     ========================================================================== */
  --h5-font-family: var(--font-primary);
  --h5-font-size: 16px;
  --h5-font-weight: var(--weight-regular);
  --h5-letter-spacing: 0.15em;

  /* ==========================================================================
     P TAG (Body paragraphs, Taglines, Card Descriptions)
     ========================================================================== */
  --p-font-family: var(--font-primary);
  --p-line-height: var(--line-height-base);
  --p-font-size-hero: 16px;
  --p-font-size-section: 16px;
  --p-font-size-patient: 16px;
  --p-font-size-cta: 16px;
  --p-font-size-doc-note: 16px;
  --p-font-size-service-desc: 16px;
  --p-font-size-footer: 16px;

  /* ==========================================================================
     SPAN TAG (Accents, Footnotes, Logo Highlights)
     ========================================================================== */
  --span-font-family: var(--font-secondary);
  --span-font-weight-semibold: var(--weight-semibold);
  --span-font-size-logo-nav: 20px;
  --span-font-size-logo-footer: 18px;
  --span-font-size-footer-bottom: 16px;

  /* ==========================================================================
     A TAG (Links, CTAs, Nav links)
     ========================================================================== */
  --a-font-family: var(--font-primary);
  --a-font-weight-nav: var(--weight-regular);
  --a-font-size-nav: 13px;
  --a-letter-spacing-nav: 0.06em;
  --a-font-size-cta: 12px;
  --a-letter-spacing-cta: 0.08em;
  --a-font-size-footer: 16px;

  /* ==========================================================================
     OTHER LABELS (Eyebrows, Info Values)
     ========================================================================== */
  --label-font-size-eyebrow: 14px;
  --label-letter-spacing-eyebrow: 0.18em;
  --label-font-size-val: 16px;
}

.site {
  font-family: var(--font-primary);
  background: var(--ivory);
  color: var(--deep);
  width: 100%;
  margin: 0 auto;
  font-size: var(--p-font-size-section);
  line-height: var(--p-line-height);
}

/* CONTAINER SYSTEM */
.same_container_1440 {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

/* NAV */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
 
}

.nav-logo {
  font-family: var(--font-secondary);
  font-size: var(--span-font-size-logo-nav);
  font-weight: var(--span-font-weight-semibold);
  color: var(--deep);
  letter-spacing: 0.02em;
}

.nav-logo span {
  color: var(--sage);
}

.nav-links {
  display: flex;
  gap: 14px;
  list-style: none;
  flex-shrink: 0;
      align-items: center;
}

.nav-links a {
  font-size: var(--a-font-size-nav);
  font-weight: var(--a-font-weight-nav);
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: var(--a-letter-spacing-nav);
  text-transform: uppercase;
}

.nav-cta {
    background: #1478a0 !important;
    color: var(--white) !important;
    padding: 8px 16px !important;
    border-radius: 4px;
    font-size: var(--a-font-size-cta) !important;
    letter-spacing: var(--a-letter-spacing-cta) !important;
    display: inline-block;
    flex-shrink: 0;
    white-space: nowrap;
    border: 2px solid #1478a0 ;
    transition: 0.5s;
}

.nav-cta:hover {
    background:transparent !important;
    color: #1478a0 !important;
    border: 2px solid #1478a0 ;
}


/* NAV DROPDOWNS */
.nav-links li {
  position: relative;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-links > li > a .nav-arrow {
  font-size: 9px;
  opacity: 0.5;
  transition: transform var(--transition-fast);
  display: inline-block;
}

.nav-links > li:hover > a .nav-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 210px;
  box-shadow: 0 8px 24px rgba(0, 55, 94, 0.10);
  z-index: 100;
  list-style: none;
}

.nav-links > li:hover .nav-dropdown {
  display: block;
}

.nav-dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: none;
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
}

.nav-dropdown li a:hover {
  color: var(--sage);
  border-left-color: var(--deep);
  background: var(--sage-pale);
}

.nav-dropdown li a.active {
  color: var(--deep);
  border-left-color: var(--deep);
  background: var(--sage-pale);
  font-weight: 600;
}

/* Kill any stray list bullets inside nav dropdowns */
.nav-dropdown li,
.nav-submenu li {
  list-style: none;
  list-style-type: none;
}

/* ── Nested submenu (Dental Implants flyout) ── */
.nav-dropdown li.has-submenu {
  position: relative;
}

.nav-dropdown li.has-submenu > a {
  padding-right: 28px;
  position: relative;
}

.nav-dropdown li.has-submenu > a::after {
  content: '›';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  opacity: 0.45;
  line-height: 1;
  transition: opacity var(--transition-fast);
}

.nav-dropdown li.has-submenu:hover > a::after {
  opacity: 0.85;
}

.nav-submenu {
  display: none;
  position: absolute;
  top: -8px;
  left: calc(100% - 1px);
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 240px;
  box-shadow: 0 8px 24px rgba(0, 55, 94, 0.10);
  z-index: 200;
  list-style: none;
}

.nav-dropdown li.has-submenu:hover .nav-submenu {
  display: block;
}

.nav-submenu li a {
  display: block;
  padding: 9px 18px;
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: none;
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
}

.nav-submenu li a:hover {
  color: var(--sage);
  border-left-color: var(--deep);
  background: var(--sage-pale);
}

.nav-submenu li a.active {
  color: var(--deep);
  border-left-color: var(--deep);
  background: var(--sage-pale);
  font-weight: 600;
}

/* Mobile: show submenu items inline within the drawer */
@media (max-width: 1300px) {
  .nav-dropdown li.has-submenu > a::after {
    display: none;
  }

  .nav-submenu {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    border-top: 0.5px solid rgba(0, 55, 94, 0.06);
    border-radius: 0;
    padding: 0;
    min-width: unset;
    background: rgba(0, 55, 94, 0.03);
  }

  .nav-submenu li a {
    padding: 8px 22px 8px 46px;
    font-size: 11px;
    border-left: none;
    letter-spacing: 0.03em;
  }

  .nav-submenu li a:hover {
    border-left: none;
    background: rgba(0, 55, 94, 0.06);
  }
}

/* HERO */
.hero {
  background: var(--deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.hero::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.hero::after {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.12);
}

.hero-eyebrow {
  font-size: var(--label-font-size-eyebrow);
  letter-spacing: var(--label-letter-spacing-eyebrow);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: var(--weight-regular);
}

.hero h1 {
  font-family: var(--h1-font-family);
  font-size: var(--h1-font-size);
  font-weight: var(--h1-font-weight);
  line-height: var(--h1-line-height);
  margin-bottom: 20px;
  color: var(--white);
  width: 100%;
  max-width: fit-content;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: var(--p-font-size-hero);
  color: rgba(255, 255, 255, 0.65);
  line-height: var(--p-line-height);
  margin-bottom: 28px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--deep);
  padding: 12px 24px;
  border-radius: 4px;
  font-size: var(--a-font-size-nav);
  font-weight: var(--weight-medium);
  letter-spacing: var(--a-letter-spacing-nav);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
    transition: 0.5s;
    border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 12px 24px;
  border-radius: 4px;
  font-size: var(--a-font-size-nav);
  font-weight: var(--weight-regular);
  letter-spacing: var(--a-letter-spacing-nav);
  text-transform: uppercase;
  text-decoration: none;
  border: 0.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
    transition: 0.5s;
    border: 1px solid rgb(255, 255, 255);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--deep);
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.hero-info img {
    width: 100%;
    height: 100%;
}

.info-card {
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 16px 20px;
}

.info-card-label {
  font-size: var(--h5-font-size);
  letter-spacing: var(--h5-letter-spacing);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.info-card-val {
  font-size: var(--label-font-size-val);
  font-weight: var(--weight-regular);
  color: var(--white);
}

.info-card-sub {
  font-size: var(--p-font-size-patient);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* TRUST BAR */
.trust-bar {
  background: var(--sage-pale);
  border-bottom: 0.5px solid var(--border);
  width: 100%;
      padding: 10px 0;
}

.trust-bar-inner {
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--p-font-size-patient);
  color: var(--sage);
  font-weight: var(--weight-regular);
}

.trust-icon {
  width: 48px;
  height: 48px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon i {
  color: var(--white);
  font-size: 24px;
}

/* SERVICES */
.section {
  width: 100%;
}

.section-inner {
  padding: 100px 24px;
}

.section-label {
  font-size: var(--label-font-size-eyebrow);
  letter-spacing: var(--label-letter-spacing-eyebrow);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: var(--weight-regular);
}

.section-title {
  font-family: var(--h2-font-family);
  font-size: var(--h2-font-size);
  font-weight: var(--h2-font-weight);
  color: var(--deep);
  line-height: var(--line-height-heading);
  margin-bottom: 8px;
}

.section-sub {
  font-size: var(--p-font-size-section);
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 420px;
  line-height: var(--p-line-height);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 22px 18px;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.service-card:hover {
  border-color: var(--sage-light);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--sage-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.service-icon i {
  color: var(--sage);
  font-size: 28px;
}

.service-name {
  font-size: var(--h4-font-size);
  font-weight: var(--h4-font-weight);
  color: var(--deep);
  margin-bottom: 6px;
  line-height: 1.3;
}

.service-desc {
  font-size: var(--p-font-size-service-desc);
  color: var(--text-muted);
  line-height: var(--p-line-height);
}

/* DOCTORS */
.doctors-section {
  background: var(--deep);
  width: 100%;
}

.doctors-inner {
  padding: 100px 24px;
}

.doctors-section .section-title {
  color: var(--white);
}

.doctors-section .section-sub {
  color: rgba(255, 255, 255, 0.55);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.doc-card {
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 22px 16px;
  text-align: center;
}

.doc-avatar {
     width: 176px;
    height: 176px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--span-font-family);
  font-size: var(--span-font-size-logo-footer);
  font-weight: var(--span-font-weight-semibold);
  color: var(--white);
  letter-spacing: 0.03em;
  overflow: hidden;
  border: 3px solid rgba(201, 169, 110, 0.35);
  flex-shrink: 0;
}

.doc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.doc-name {
  font-size: var(--h4-font-size);
  font-weight: var(--h4-font-weight);
  color: var(--white);
  margin-bottom: 3px;
}

.doc-cred {
  font-size: var(--p-font-size-doc-note);
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.doc-note {
  font-size: var(--p-font-size-doc-note);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

/* PATIENT INFO */
.patient-section {
  background: var(--white);
  width: 100%;
}

.patient-inner {
  padding: 100px 24px;
}

.patient-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.patient-card {
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 22px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.patient-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.patient-card-icon i {
  color: var(--gold);
  font-size: 28px;
}

.patient-card h4 {
  font-size: var(--h4-font-size);
  font-weight: var(--h4-font-weight);
  color: var(--deep);
  margin-bottom: 5px;
}

.patient-card p {
  font-size: var(--p-font-size-patient);
  color: var(--text-muted);
  line-height: 1.55;
}

/* CTA STRIP */
.cta-strip {
  background: var(--sage);
  width: 100%;
}

.cta-strip-inner {
  padding: 40px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-strip h2 {
  font-family: var(--h2-font-family);
  font-size: var(--h2-font-size-cta);
  font-weight: var(--h2-font-weight);
  color: var(--white);
  line-height: var(--h2-line-height);
}

.cta-strip p {
  font-size: var(--p-font-size-cta);
  color: rgba(255, 255, 255, 0.65);
  margin-top: 10px;
}

.cta-strip-btn {
    border: 2px solid #FFF ;
    background: var(--white);
    color: var(--sage);
    padding: 14px 28px;
    border-radius: 4px;
    font-size: var(--a-font-size-nav);
    font-weight: var(--weight-medium);
    letter-spacing: var(--a-letter-spacing-nav);
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    transition: 0.5s;
}

a.cta-strip-btn:hover {
    color: #fff;
    border: 2px solid #FFF;
    background: transparent;
}

/* FOOTER */
footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.5);
  width: 100%;
}

.footer-inner {
  padding-top: 100px;
  padding-bottom: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 58px;
}

.footer-logo {
  font-family: var(--span-font-family);
  font-size: var(--span-font-size-logo-footer);
  font-weight: var(--span-font-weight-semibold);
  color: var(--white);
  margin-bottom: 30px;
}

.footer-logo span {
  color: var(--gold);
}

.footer-tagline {
  font-size: var(--p-font-size-footer);
  line-height: 1.6;
  max-width: 410px;
}

.footer-col h5 {
  font-size: var(--h5-font-size);
  letter-spacing: var(--h5-letter-spacing);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: var(--h5-font-weight);
}

.footer-col p,
.footer-col a {
  font-size: var(--a-font-size-footer);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  text-decoration: none;
  display: block;
}

.footer-bottom {
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  font-size: var(--span-font-size-footer-bottom);
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: space-between;
}

/* MOBILE NAVIGATION STYLES */
.nav-toggle {
  display: none;
}

/* Drawer header/footer always hidden on desktop */
.nav-drawer-header,
.nav-drawer-footer {
  display: none;
}

/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 55, 94, 0.5);
  z-index: 98;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.nav-overlay.active {
  display: block;
}

@media (max-width: 1300px) {
  nav {
    position: relative;
    padding: 0;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 0;
  }

  .nav-toggle .hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--deep);
    border-radius: 2px;
    transition: all var(--transition-normal);
  }

  .nav-toggle.active {
    opacity: 0;
    pointer-events: none;
  }

  /* === RIGHT-SIDE DRAWER === */
  .nav-links {
    position: fixed;
    top: 0;
    right: -320px;
    left: auto;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    z-index: 99;
    overflow-y: auto;
    overflow-x: hidden;
    transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    max-height: none;
    box-shadow: -4px 0 24px rgba(0, 55, 94, 0.12);
  }

  .nav-links.active {
    right: 0;
  }

  /* Drawer header — logo + close */
  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 0.5px solid var(--border);
    flex-shrink: 0;
  }

  .nav-drawer-logo {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: var(--weight-semibold);
    color: var(--deep);
    text-decoration: none;
    letter-spacing: 0.02em;
  }

  .nav-drawer-logo span {
    color: var(--sage);
  }

  .nav-drawer-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0.5px solid var(--border);
    background: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--deep);
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    transition: background var(--transition-fast);
  }

  .nav-drawer-close:hover {
    background: var(--sage-pale);
  }

  /* Nav list items inside drawer */
  .nav-links > li {
    width: 100%;
    border-bottom: 0.5px solid rgba(0, 55, 94, 0.07);
  }

  .nav-links > li:last-child {
    border-bottom: none;
    margin-top: 0;
  }

  /* Hide the original nav-cta inside drawer (footer has its own CTA) */
  .nav-links > li:has(.nav-cta) {
    display: none;
  }

  .nav-links > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 22px;
    font-size: 16px;
    color: var(--deep);
    letter-spacing: 0.03em;
    text-transform: none;
  }

  .nav-links > li > a .nav-arrow {
    display: inline-block;
    font-size: 10px;
    opacity: 0.4;
    transition: transform var(--transition-fast);
  }

  .nav-links > li.dropdown-open > a .nav-arrow {
    transform: rotate(180deg);
    opacity: 0.7;
  }

  /* Disable hover-based dropdowns */
  .nav-links > li:hover .nav-dropdown {
    display: none;
  }

  /* Dropdown inside drawer */
  .nav-dropdown {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 4px 0 8px 0;
    background: var(--sage-pale);
    min-width: unset;
  }

  .nav-links > li.dropdown-open > .nav-dropdown {
    display: block;
  }

  .nav-dropdown li a {
    padding: 10px 22px 10px 32px;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: none;
    border-left: none;
  }

  .nav-dropdown li a:hover {
    color: var(--sage);
    background: rgba(0, 55, 94, 0.06);
    border-left: none;
  }

  /* Drawer footer — CTA + phone */
  .nav-drawer-footer {
    display: block;
    padding: 20px 22px 28px;
    border-top: 0.5px solid var(--border);
    margin-top: auto;
  }

  .nav-drawer-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--sage);
    color: var(--white) !important;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none !important;
    font-weight: var(--weight-medium);
    margin-bottom: 14px;
    border: none;
    transition: background var(--transition-fast);
  }

  .nav-drawer-cta-btn:hover {
    background: var(--deep);
  }

  .nav-drawer-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--text-muted) !important;
    font-size: 12px;
    text-decoration: none !important;
    letter-spacing: 0.03em;
    border-bottom: none !important;
  }

  .nav-drawer-phone i {
    font-size: 16px;
    color: var(--sage);
  }
}

/* GENERAL RESPONSIVE LAYOUT STYLES */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar-inner {
    grid-template-columns: 1fr 1fr;
  }

  .section-inner,
  .doctors-inner,
  .patient-inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: var(--h1-font-size-mobile);
  }

  .cta-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-inner,
  .doctors-inner,
  .patient-inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .section-title {
    font-size: 28px;
  }

  .cta-strip h2 {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .docs-grid {
    grid-template-columns: 1fr;
  }

  .patient-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
  }

  .section-inner,
  .doctors-inner,
  .patient-inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .section-title {
    font-size: 26px;
  }
  .cv-controls {
    display: none;
  }
}

@media (max-width: 480px) {
  .trust-bar-inner {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   INNER PAGE STYLES
   ========================================================================== */

/* Page Banner */
.inner-banner {
  background: var(--deep);
  color: var(--white);
  width: 100%;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.inner-banner::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.15);
  pointer-events: none;
}

.inner-banner::after {
  content: '';
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.1);
  pointer-events: none;
}

.inner-banner-inner {
  padding: 80px 24px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.inner-breadcrumb {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: var(--weight-regular);
}

.inner-breadcrumb a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.inner-breadcrumb a:hover {
  color: var(--gold);
}

.inner-breadcrumb span {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 8px;
}

.inner-banner h1 {
  font-family: var(--font-secondary);
  font-size: 52px;
  font-weight: var(--weight-medium);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}

.inner-banner-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.58);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.inner-banner-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.inner-banner-btns .btn-primary {
  background: var(--gold);
  color: var(--deep);
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;

  cursor: pointer;
  display: inline-block;
  transition: 0.5s;
   border: 1px solid var(--gold);
}
.inner-banner-btns .btn-primary:hover {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.inner-banner-btns .btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: var(--weight-regular);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  display: inline-block;
  transition: 0.5s;
   border: 1px solid rgb(255, 255, 255);
}

.inner-banner-btns .btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold);
     color: var(--deep);
}

/* Content blocks with images */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 0.5px solid rgba(0, 55, 94, 0.08);
}

.content-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.content-block:first-child {
  padding-top: 0;
}

.content-block.reverse .content-block-img {
  order: 2;
}

.content-block.reverse .content-block-text {
  order: 1;
}

.content-block-img {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sage-pale);
  position: sticky;
  top: 100px;
}

.custom-img{
    aspect-ratio: 3 / 2;
}

.content-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.content-block-img:hover img {
  transform: scale(1.03);
}

/* Doctor profile pages — larger portrait photo */
.content-block.doctor-hero {
  grid-template-columns: 3fr 2fr;
  align-items: center;
}

.content-block.doctor-hero .content-block-img {
  aspect-ratio: 2 / 2;
}
.position_class img{
    object-position: top center;
}
.content-block-text .cb-eyebrow {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: var(--weight-regular);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-block-text .cb-eyebrow i {
  font-size: 14px;
}

.content-block-text h3 {
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: var(--weight-medium);
  color: var(--deep);
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 14px;
}

.content-block-text p {
  font-size: 16px;
  color: #3A5570;
  line-height: 1.75;
  margin-bottom: 14px;
}

.content-block-text p:last-child {
  margin-bottom: 0;
}
@media only screen and (max-width: 991.5px){
    .content-block.doctor-hero{
        grid-template-columns: 2fr 2fr;
    }
}
@media only screen and (max-width: 768.5px){
    .content-block.doctor-hero{
        grid-template-columns: 1fr;
    }
}

/* Icon list inside content blocks */
.icon-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 0.5px solid rgba(0, 55, 94, 0.08);
  font-size: 16px;
  color: #3A5570;
  line-height: 1.6;
}

.icon-list li:last-child {
  border-bottom: none;
}

.icon-list li .il-icon {
  width: 44px;
  height: 44px;
  background: var(--sage-pale);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.icon-list li .il-icon i {
  color: var(--sage);
  font-size: 22px;
}

/* Notice box standalone */
.notice-box {
  background: var(--gold-light);
  border: 0.5px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.notice-box-icon {
  color: var(--gold);
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 1px;
}

.notice-box p {
  font-size: 16px;
  color: #7A6535;
  margin-bottom: 0 !important;
  line-height: 1.65;
}

.notice-box strong {
  color: #5A4A20;
}

/* Icon feature section (no image) */
.icon-section {
  padding: 32px 0;
  border-bottom: 0.5px solid rgba(0, 55, 94, 0.08);
}

.icon-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.icon-section-label {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: var(--weight-regular);
  margin-bottom: 8px;
}

.icon-section h3 {
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: var(--weight-medium);
  color: var(--deep);
  margin-bottom: 20px;
  line-height: 1.25;
}

.icon-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.icon-cards.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.icon-card {
  background: var(--ivory);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.icon-card-icon {
  width: 56px;
  height: 56px;
  background: var(--sage-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-card-icon i {
  color: var(--sage);
  font-size: 28px;
}

.icon-card-title {
  font-size: 16px;
  font-weight: var(--weight-medium);
  color: var(--deep);
  line-height: 1.3;
}

.icon-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Responsive content blocks */
@media (max-width: 768px) {
  .sticky-video{
position:static !important;
}

  .patient-card {
 flex-direction: column;
}
  .content-block-img {
    position: static;
  }

  .content-block-img.cv-wrap {
    position: relative;
    top: auto;
  }
  .inner-banner h1 {
    font-size: 34px;
  }

  .inner-banner-inner {
    padding: 44px 24px 40px;
  }

  .content-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .content-block:has(.cv-wrap) {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .content-block.reverse .content-block-img {
    order: 0;
  }

  .content-block.reverse .content-block-text {
    order: 0;
  }
}

/* Inner Page Layout */
.inner-body {
  width: 100%;
  background: var(--ivory);
}

.inner-body-inner {
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

/* Main Content */
.inner-content {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
}

.inner-content h2 {
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: var(--weight-medium);
  color: var(--deep);
  margin-bottom: 14px;
  line-height: 1.25;
}

.inner-content h3 {
  font-family: var(--font-secondary);
  font-size: 28px;
  font-weight: var(--weight-medium);
  color: var(--deep);
  margin-top: 15px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.inner-content p {
  font-size: 16px;
  color: #3A5570;
  line-height: 1.7;
  margin-bottom: 16px;
}

.inner-content ul {
  list-style: none;
  padding: 0 !important;
  margin: 16px 0 20px;
}

.inner-content ul li {
  font-size: 16px;
  color: #3A5570;
  line-height: 1.7;
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 0.5px solid rgba(0, 55, 94, 0.08);
}

.inner-content ul li:last-child {
  border-bottom: none;
}

.inner-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.inner-content .notice-box {
  background: var(--gold-light);
  border: 0.5px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}

.inner-content .notice-box p {
  font-size: 16px;
  color: #7A6535;
  margin-bottom: 0;
  line-height: 1.6;
}

.inner-content .notice-box strong {
  color: #5A4A20;
}

.inner-content a {
  color: var(--deep);
  text-decoration: none;
  font-weight: var(--weight-medium);
  border-bottom: 0.5px solid rgba(0, 55, 94, 0.3);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.inner-content a:hover {
  color: var(--deep);
  border-color: var(--deep);
}

.referral-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage);
  color: var(--white) !important;
  text-decoration: none !important;
  border: none !important;
  padding: 14px 22px;
  border-radius: 6px;
  font-size: 14px !important;
  font-weight: var(--weight-medium) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 12px;
  transition: background var(--transition-fast) !important;
}

.referral-cta:hover {
  background: var(--deep) !important;
}

.section-divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 28px 0;
}

/* Sidebar */
.inner-sidebar {
  position: sticky;
  top: 100px;
}

.inner-sidebar-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.inner-sidebar-label {
  background: var(--sage);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: var(--weight-regular);
  padding: 12px 18px;
}

.inner-sidebar-nav {
  list-style: none;
  padding: 8px 0;
}
.inner-sidebar-nav li {
  list-style: none;
  list-style-type: none;
}

/* ── Doctors intro row: text left, video right ── */
.doctors-intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 52px;
}
.doctors-intro-text .section-title,
.doctors-intro-text .section-label,
.doctors-intro-text .section-sub { margin-bottom: 16px; }
@media (max-width: 768px) {
  .doctors-intro-row { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Responsive Vimeo embed wrapper ── */
.vimeo-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}
.vimeo-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Testimonials video section (home page) ── */
.testimonials-section {
  padding: 80px 32px;
  background: var(--ivory);
}
.testimonials-section .same_container_1440 { text-align: center; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
  text-align: left;
}
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media only screen and (max-width: 575.5px) {
    .inner-content ul {
        grid-template-columns: 1fr !important;
    }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

.inner-sidebar-nav li a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
}

.inner-sidebar-nav li a:hover {
  color: var(--sage);
  border-left-color: var(--sage);
  background: var(--sage-pale);
}
.inner-sidebar-nav li a.active {
  color: var(--sage);
  border-left-color: var(--deep);
  background: var(--sage-pale);
  font-weight: var(--weight-medium);
}

.inner-sidebar-contact {
  padding: 18px;
}

.inner-sidebar-contact h5 {
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: var(--weight-regular);
}

.inner-sidebar-contact p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 6px;
}

.sidebar-cta-btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  background: var(--sage);
  color: var(--white);
  text-align: center;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: var(--weight-medium);
  transition: background var(--transition-fast);
}

.sidebar-cta-btn:hover {
  background: var(--deep);
}

/* Video presentation box */
.video-presentation-box {
  background: var(--white);
  border: 1px dashed var(--gold);
  border-radius: 10px;
  padding: 24px;
  margin: 28px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.04);
}

.vpb-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.vpb-icon i {
  color: var(--gold);
  font-size: 22px;
}

.vpb-content {
  flex: 1;
}

.vpb-content h4 {
  font-family: var(--font-secondary);
  font-size: 18px;
  color: var(--deep);
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 500;
}

.vpb-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px !important;
}

.vpb-content .btn-primary.btn-sm {
  background: var(--gold);
  color: var(--deep);
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.vpb-content .btn-primary.btn-sm:hover {
  background: var(--deep);
  color: var(--white);
}

/* Video embed section */
.video-embed-section {
  background: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 24px;
  margin: 28px 0;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.06);
}

.video-embed-section h4 {
  font-family: var(--font-secondary);
  font-size: 18px;
  color: var(--deep);
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 500;
}

.video-embed-section > p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.video-player-wrapper {
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.video-player-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
}

/* Standalone video section */
.video-standalone-section {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(255,255,255,0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 14px;
  padding: 36px 32px 32px;
  margin: 8px 0 24px;
  text-align: center;
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.07);
}

.video-standalone-section h3 {
  font-family: var(--font-secondary);
  font-size: 22px;
  color: var(--deep);
  font-weight: 600;
  margin-bottom: 8px;
}

.video-standalone-player {
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  margin: 0 auto;
  max-width: 780px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.video-standalone-player video {
  width: 100%;
  height: auto;
  display: block;
}

/* Video in content-block image slot */
.content-block-video {
  padding: 0 !important;
  overflow: hidden;
  background: #000;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-block-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}


/* ============================================================
   CUSTOM VIDEO PLAYER (.cv-wrap)
   ============================================================ */

.cv-wrap {
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.cv-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* Controls bar — hidden by default, shown on hover or when paused */
.cv-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, transparent 100%);
  z-index: 20;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cv-wrap:hover .cv-controls,
.cv-wrap.paused .cv-controls {
  opacity: 1;
}

@media (max-width: 768px) {
  .cv-controls {
    opacity: 1;
  }
}

/* Icon buttons */
.cv-btn {
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.92;
  transition: background 0.18s, opacity 0.15s, transform 0.15s;
  line-height: 1;
}

.cv-btn:hover {
  background: rgba(255,255,255,0.25);
  opacity: 1;
  transform: scale(1.1);
}

.cv-btn.cv-cc {
  font-size: 11px;
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1.5px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.10);
}

.cv-btn.cv-cc:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.22);
}

/* Progress bar */
.cv-progress-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
  user-select: none;
}

.cv-track {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.28);
  border-radius: 2px;
  position: relative;
  transition: height 0.15s;
}

.cv-progress-wrap:hover .cv-track {
  height: 5px;
}

.cv-buf {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  width: 0%;
  pointer-events: none;
}

.cv-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--gold);
  border-radius: 2px;
  width: 0%;
  pointer-events: none;
}

.cv-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%) scale(0);
  width: 13px;
  height: 13px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0,0,0,0.45);
  transition: transform 0.15s;
  pointer-events: none;
}

.cv-progress-wrap:hover .cv-handle,
.cv-wrap.dragging .cv-handle {
  transform: translate(-50%, -50%) scale(1);
}

/* Time display */
.cv-time {
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  font-family: var(--font-primary);
  opacity: 0.88;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

/* Fullscreen */
.cv-wrap:fullscreen .cv-controls,
.cv-wrap:-webkit-full-screen .cv-controls {
  padding: 16px 20px;
}

/* CC cycle button */
.cv-cc {
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: var(--font-primary);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 4px;
  padding: 2px 6px !important;
  line-height: 1.4;
  min-width: 28px;
  text-align: center;
}

.cv-cc[data-cc="en"],
.cv-cc[data-cc="es"] {
  color: var(--gold);
  border-color: var(--gold);
  opacity: 1;
}

/* Native caption styling */
video::cue {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 14px;
  font-family: var(--font-primary);
  padding: 2px 6px;
}

/* ============================================================
   ZIGZAG SECTION DESIGN
   ============================================================ */

/* Left-image blocks */
.content-block.zz-left {
  border-bottom: none;
  position: relative;
}

/* Right-image blocks: tinted bg */
.content-block.zz-right {
  border-bottom: none;
  position: relative;
  background: linear-gradient(to right, transparent 40%, var(--sage-pale) 100%);
  border-radius: 16px;
  padding-left: 24px;
  padding-right: 24px;
  margin-left: -24px;
  margin-right: -24px;
}

/* Separator line between all zigzag blocks */
.content-block.zz-left + .content-block,
.content-block.zz-right + .content-block {
  margin-top: 0;
}

.content-block.zz-left,
.content-block.zz-right {
  border-bottom: 1px solid var(--border);
}

.content-block.zz-left:last-child,
.content-block.zz-right:last-child {
  border-bottom: none;
}

/* Image corner accent — left blocks get bottom-right shadow, right blocks get bottom-left */
.content-block.zz-left .content-block-img.zz-img {
  box-shadow: 6px 6px 0 var(--sage-pale), 0 8px 24px rgba(0,0,0,0.10);
}

.content-block.zz-right .content-block-img.zz-img {
  box-shadow: -6px 6px 0 var(--gold-light), 0 8px 24px rgba(0,0,0,0.10);
}

/* Responsive inner pages */
@media (max-width: 991px) {
  .inner-body-inner {
    grid-template-columns: 1fr;
  }

  .inner-sidebar {
    position: static;
    order: -1;
  }

  .inner-sidebar-card:first-child {
    display: none;
  }
}

@media (max-width: 576px) {
  .inner-content {
    padding: 24px 18px;
  }

  .inner-banner h1 {
    font-size: 28px;
  }
}

/* ── Surgical Instructions ────────────────────────────── */

/* h4 sub-heading inside content-block-text */
.content-block-text h4.si-heading {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 18px;
  margin-bottom: 6px;
}

/* si-list inside content-block: flush left */
.content-block-text .si-list {
  padding-left: 0;
  margin-top: 10px;
}

/* Body text area */
.si-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
  padding-top: 32px;
  border-top: 0.5px solid rgba(0, 55, 94, 0.12);
}

/* Section headings in si-body — serif, matches site h2 style */
h2.si-heading {
  font-family: var(--font-secondary);
  font-size: 32px;
  font-weight: var(--weight-medium);
  color: var(--deep);
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Section wrappers — clean dividers only, no colored boxes */
.si-section,
.si-note-box,
.si-complications {
  padding-top: 28px;
  padding-bottom: 4px;
  border-top: 0.5px solid rgba(0, 55, 94, 0.12);
}

.si-section > h2.si-heading,
.si-note-box > h2.si-heading,
.si-complications > h2.si-heading {
  margin-top: 0;
}

/* Two-column grid for shorter sections */
.si-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-top: 0.5px solid rgba(0, 55, 94, 0.12);
  padding-top: 28px;
}
.si-grid .si-section {
  border-top: none;
  padding-top: 0;
}
@media (max-width: 700px) {
  .si-grid { grid-template-columns: 1fr; }
}

/* Clean list items — gold dot, site typography */
.si-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.si-list > li {
  position: relative;
  padding: 0 0 0 16px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.si-list > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.si-list > li div,
.si-list > li p {
  font-size: 16px;
  margin-top: 4px;
  margin-bottom: 0;
  line-height: 1.8;
}

/* Plain ul inside si-body (not .si-list) */
.si-body ul:not(.si-list) {
  padding-left: 20px;
  margin-bottom: 16px;
}
.si-body ul:not(.si-list) li {
  margin-bottom: 10px;
  line-height: 1.8;
  color: var(--text-muted);
}
.si-body ul:not(.si-list) li div { margin-bottom: 6px; }
.si-body ul:not(.si-list) li p   { margin-top: 8px; margin-bottom: 0; }
.si-body .si-list { padding-left: 0; }

.si-body > p,
.si-body > ul,
.si-body > ol {
  margin-bottom: 16px;
}

/* ── Office Tour gallery ──────────────────────────────── */
.office-tour-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 8px 0 24px;
}

.office-tour-item {
  overflow: hidden;
  border-radius: 8px;
  background: var(--sage-pale);
}

.office-tour-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.office-tour-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .office-tour-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .office-tour-gallery {
    grid-template-columns: 1fr;
  }

  .office-tour-item img {
    height: 240px;
  }
}

/* ── Office Tour lightbox ─────────────────────────────── */
.office-tour-item {
  cursor: pointer;
}

.ot-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.ot-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.ot-lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 88vh;
}

.ot-lightbox-inner img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  user-select: none;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
  transition: opacity 0.18s ease;
}

.ot-lightbox-inner img.fading {
  opacity: 0;
}

.ot-lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 9010;
}

/* ── Contact Page ─────────────────────────────── */
.contact-body-inner {
  padding: 80px 24px 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.contact-info-card:last-child {
  margin-bottom: 0;
}

.contact-info-card-header {
  background: var(--sage);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: var(--weight-regular);
  padding: 12px 20px;
}

.contact-info-card-body {
  padding: 24px 20px;
}

.contact-location {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 0.5px solid rgba(0, 55, 94, 0.10);
}

.contact-location:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-location-name {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: var(--weight-medium);
  color: var(--deep);
  margin-bottom: 8px;
  line-height: 1.3;
}

.contact-location-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-location-row i {
  color: var(--gold);
  font-size: 15px;
  margin-top: 1px;
  flex-shrink: 0;
}

.contact-location-row a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.contact-location-row a:hover {
  color: var(--sage);
  border-color: var(--sage);
}

.contact-hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-hours-grid .day {
  font-weight: var(--weight-medium);
  color: var(--deep);
  white-space: nowrap;
}

.contact-email-note {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--sage);
  font-weight: var(--weight-medium);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(0, 55, 94, 0.3);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.contact-email-link:hover {
  color: var(--deep);
  border-color: var(--deep);
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
}

.contact-form-eyebrow {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: var(--weight-regular);
  margin-bottom: 6px;
}

.contact-form-title {
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: var(--weight-medium);
  color: var(--deep);
  margin-bottom: 6px;
  line-height: 1.25;
}

.contact-form-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--deep);
  font-weight: var(--weight-medium);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--ivory);
  border: 0.5px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--deep);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(0, 55, 94, 0.08);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form-disclaimer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 16px;
}

.contact-submit-btn {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 14px 28px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.contact-submit-btn:hover {
  background: var(--deep);
}

/* Contact Map */
.contact-map-section {
  margin-top: 48px;
}

.contact-map-section h2 {
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: var(--weight-medium);
  color: var(--deep);
  margin-bottom: 4px;
}

.contact-map-section p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-map-frame {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 12px;
  display: block;
  border: 0.5px solid var(--border);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
  .contact-map-frame {
    height: 300px;
  }
}

.ot-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.ot-lightbox-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 9010;
}

.ot-lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.ot-lightbox-prev { left: 18px; }
.ot-lightbox-next { right: 18px; }

.ot-lightbox-counter {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  letter-spacing: 0.08em;
  z-index: 9010;
  pointer-events: none;
}

.ot-lightbox-dots {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 9010;
}

.ot-lightbox-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.ot-lightbox-dot.active {
  background: #fff;
  transform: scale(1.35);
}

@media (max-width: 640px) {
  .ot-lightbox-btn {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
  .ot-lightbox-prev { left: 8px; }
  .ot-lightbox-next { right: 8px; }
  .ot-lightbox-inner img {
    max-width: 94vw;
    max-height: 80vh;
  }
}

.footer-logo img ,.nav-logo img ,a.nav-drawer-logo img{
    max-width: 370px;
    width: 100%;
}

.info-card-val,
.info-card-sub {
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 400px) {
  .nav-logo img {
    max-width: 220px;
  }
}

.nav-wrapper {
    padding: 20px 0;
}

nav {
    gap: 30px;
}


@media (max-width: 400px) {
.nav-wrapper {
    padding: 10px 0;
}
a.cta-strip-btn, .btn-primary,.btn-outline {
    max-width: 100%;
    width: 100%;
            text-align: center;
}

}

.positionclass img{
    object-position: center;
}

a.hover_txt_flip {
    color: #ffffff80;
    text-decoration: none;
    transition: 0.5s;
}

a.hover_txt_flip:hover {
    color: #1478a0;
}

.footer-col p {
    margin-top: 8px;
}

.footer-col a:not(:last-child) {
    margin-bottom: 8px;
}
span.video-label {
    display: none;
}

.sticky-video{
position:sticky;
top:76px;
display:flex;
flex-direction:column;
border-radius:12px;
overflow:hidden;
box-shadow:0 8px 32px rgba(28,43,43,0.13),0 0 0 0.5px var(--border);

}

span.di-video-label {
    display: none;
}

span.wt-video-label {
    display: none;
}

span.js-video-label {
    display: none;
}

/*-----------Table Section Homepage-----------------*/

@media (max-width: 767px) {

  .comparison_table {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    min-width: 1140px;
  }
 
  /* Keep desktop width */
  .comparison_table > div {
    min-width: 1140px;
  }

  /* Optional scrollbar styling */
  .comparison_table_scroll::-webkit-scrollbar {
    height: 3px;
  }

  .comparison_table_scroll::-webkit-scrollbar-thumb {
    background: #c2a05a;
    border-radius: 20px;
  }

  .comparison_table_scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
}


/*-----------Table Section Homepage-----------------*/
/*-----------Contact Section Homepage-----------------*/

.home-page-main {
    padding: 50px 15px;
}

.home_page_main_row {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1280px;
    margin: auto;
    box-shadow: rgba(0, 0, 0, 0.10) 0px 1px 10px;
    padding: 40px;
    background-color: #fff;
    border-radius: 20px;
}

.home_page_main_col {
    width: 100%; 
}

.home_page_main_innercol3 {
    width: 100%; 
}

.home_page_main_row ul {
    list-style: none;
    margin-top: 15px;
    margin-bottom: 20px;
}

.home_page_main_innercol1 ul#myTab {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    border-bottom: 2px solid #d7d7d7;
    width: 100%;
    max-width: 400px;
    justify-content: space-evenly;
}

.home_page_main_innerrow1 .tab-content .tab-pane {
    display: none;
}
  
.home_page_main_innerrow1 .tab-content .tab-pane.active {
    display: block;
}
 
.home_page_main_innercol1 {
    margin-bottom: 25px;
}

.home_page_main_innercol1 ul li a {
    font-family: var(--h2-font-family);
    font-size: 30px;
    font-weight: var(--h2-font-weight);
    color: var(--deep);
    line-height: var(--line-height-heading);
    text-decoration: none;
}
 
.home_page_main_innerrow1 .tab-inner-content a {
    font-size: 18px;
    color: var(--deep);
    text-decoration: none;
    transition: 1s;
}

.home_page_main_innerrow1 .tab-inner-content a:hover {
    color: #118efb;
}

.home_page_main_innerrow1 .tab-inner-content li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.home_page_main_innercol1 ul#myTab li {
    padding-bottom: 10px;
    position: relative;
}

.home_page_main_innercol1 ul li a:after {
    content: "";
    position: absolute;
    content: '';
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background-color: #118efb;
    opacity: 0;
    transition: 1s;
}

.home_page_main_innercol1 ul li a.active:after {
    opacity: 1;
}

.home_page_main_innerrow1 .tab-inner-content li i:before {
    font-size: 20px;
    top: 2px;
    position: relative;
}

.home_page_main_innerrow1 .tab-content .tab-inner-detail-top-border ul {
    margin-bottom: 0;
}

@media only screen and (max-width: 575px) {
    .home_page_main_row {
        padding: 20px;
    }
    .home_page_main_innercol1 ul li a {
        font-size: 23px;
    }
    .home_page_main_innercol3 iframe {
        height: 350px;
    }
    .home_page_main_innerrow1 .tab-inner-content a {
        font-size: 16px;
    }
}


@media only screen and (min-width: 576px) and (max-width: 767px) {
    .home_page_main_innercol1 ul li a {
        font-size: 25px;
    }
}

@media only screen and (max-width: 991px) {
    .home_page_main_row {
        flex-wrap: wrap;
        gap: 30px;
    }
}


/*-----------Contact Section Homepage-----------------*/

 
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .hero .same_container_1440.hero-inner {
        grid-template-columns: 1fr;
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media only screen and (max-width: 991px) {
    .hero_details_blk {
        order: 2;
    }
}

