*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html body {
    overflow-x: hidden;
    overflow-x: clip; /* clip (not hidden) keeps position: sticky working */
}
:root {
  --purple: #7c3aed;
  /* vivid primary */
  --purple-light: #a855f7;
  /* bright accent */
  --purple-pale: #ede9fe;
  /* soft lavender tint for light sections */
  --purple-glow: rgba(124, 58, 237, 0.18);

  --dark: #0f0b1a;
  /* near-black with purple undertone */
  --dark2: #160f26;
  /* cards / surfaces */
  --dark3: #1e1538;
  /* slightly lighter surface */

  --white: #ffffff;
  --off-white: #f5f0ff;
  /* warm-purple white for light sections */
  --body-dark: #3b2f5e;
  /* body text on light sections */
  --muted: #b5aec4;
  /* muted text on dark sections */

  --border-dark: rgba(124, 58, 237, 0.22);
  --border-light: rgba(124, 58, 237, 0.18);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--dark);
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.intro-left em {
    color: var(--purple);
    text-decoration: none;
    transition: gap 0.3s;
    padding-bottom: 20px;
    display: block;
    font-size: 30px;
}
/* Default Header Layout (Desktop) */
.nav-main .container {
  display: flex;
  align-items: center;
}

.nav-main .nav-links {
  margin-left: auto; /* Push links to the right of the logo */
}

/* ── NAV ── */
nav {
  transition: all 0.4s ease;
}

.nav-top-bar {
   background: rgb(0 0 0);
  border-bottom: 1px solid var(--border-dark);
  padding: 8px 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  transition: all 0.4s ease;
  overflow: hidden;
  max-height: 50px; /* Set a max-height for transition */
}

.nav-top-bar a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-top-bar a:hover {
  color: var(--purple-light);
}

.nav-socials {
  gap: 20px;
}

.nav-contacts {
  gap: 32px;
}

.nav-main {
  background: rgb(15 11 26 / 34%);
  backdrop-filter: blur(14px);
  transition: background 0.4s;
}
nav.scrolled .nav-top-bar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-width: 0;
  opacity: 0;
}

nav.scrolled .nav-main {
  background: rgba(15, 11, 26, 0.98);
  box-shadow: 0 4px 40px rgba(124, 58, 237, 0.15);
}

.logo {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
}

.logo span {
  color: var(--purple-light);
}

.logo img {
  height: 100px;
  width: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
}

.nav-links>li>a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 0.3s;
  position: relative;
}

.nav-links>li>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--purple-light);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links>li>a:hover {
  color: var(--white);
}

.nav-links>li>a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--purple) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  font-size: 11px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.3s !important;
  height: auto !important;
  display: inline-block;
}

.nav-cta:hover {
  background: var(--purple-light) !important;
}

.navbar-nav .nav-link {
  padding: 10px 16px !important;
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.3s, color 0.3s;
}

.navbar-nav .nav-link:hover {
  background: rgba(124, 58, 237, 0.25);
  color: var(--white);
}

.nav-item-hover:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.nav-item-hover:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.nav-cta::after {
  display: none !important;
}

/* ── OVERLAY MENU ── */

/* Hide original nav elements and prepare for the toggle */
#navbar .nav-main .logo,
#navbar .nav-main .nav-links,
#navbar .nav-main .nav-cta {
  display: none !important;
}

.nav-main .container {
  justify-content: flex-end !important;
}

/* Hamburger Toggle Button */
.menu-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  display: none; /* Hidden by default, shown on mobile */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  padding: 0;
  z-index: 1100;
  /* Above nav, below overlay */
}

.menu-toggle .line {
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* Animate toggle to 'X' when menu is open */
.menu-is-open .menu-toggle .line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-is-open .menu-toggle .line:nth-child(2) {
  opacity: 0;
}

.menu-is-open .menu-toggle .line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Lock body scroll when menu is open */
body.menu-is-open {
  overflow: hidden;
}

/* Overlay Container */
.overlay-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px; /* A nice width for a side menu */
  height: 100vh;
  background: var(--white);
  z-index: 1050;
  /* Above everything else */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  opacity: 0; /* Will be transitioned by the 'open' class */
  visibility: hidden;
  transform: translateX(100%); /* Slide in from the right */
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease, visibility 0.5s step-end;
  padding: 120px 50px 40px; /* More padding for a spacious feel */
  box-shadow: -10px 0 60px rgba(0,0,0,0.15);
}

.overlay-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease, visibility 0s;
}

/* Header inside the overlay */
.overlay-menu-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.overlay-menu .logo img {
  height: 80px;
  filter: none;
}

.close-menu {
  background: none;
  border: none;
  color: var(--dark);
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  font-weight: 300;
}

/* Dropdown */
.dropdown-menu {
  min-width: 230px;
  background: var(--dark2);
  border: 1px solid var(--border-dark);
  border-top: 2px solid var(--purple);
  transform: translateY(12px);
  opacity: 0;
  display: block;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 200;
}

.dropdown-item {
  padding: 11px 22px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  transition: color 0.3s, background 0.3s, padding-left 0.3s;
}

.dropdown-item:hover {
  color: var(--white);
  background: var(--purple-glow);
  padding-left: 30px;
}

/* Content inside the overlay */
.overlay-menu-content {
  text-align: left; /* Align links to the left */
  opacity: 0;
  width: 100%;
  transition: opacity 0.4s ease;
  transition-delay: 0s;
}

.overlay-menu.open .overlay-menu-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
  /* Animate in after overlay is down */
}

.overlay-nav-links {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.overlay-nav-links li {
  margin-bottom: 10px;
}

.overlay-nav-links li a {
  font-family: var(--serif);
  font-size: clamp(24px, 5vw, 32px); /* Slightly smaller for the sidebar */
  font-weight: 400;
  color: var(--dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  display: block; /* Make the entire area clickable */
  transition: color 0.3s;
}
/* ── HERO ── */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 11, 26, 0.6); /* Black overlay */
  z-index: 1;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

/* purple bokeh blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(124, 58, 237, 0.2);
  top: -100px;
  right: 10%;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: rgba(168, 85, 247, 0.15);
  bottom: 10%;
  right: 25%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 130px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
  color: var(--white);
  text-transform: uppercase;
}

.hero h1 em {
  font-style: italic;
  color: var(--purple-light);
}


.hero-desc {
      font-size: 16px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.8);
    /* max-width: 500px; */
    margin: 0 auto 48px;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.5em;
}

.hero-actions {
  gap: 16px;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  padding: 16px 40px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.3s, box-shadow 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}

.btn-primary:hover {
  background: var(--purple-light);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.4);
}

.btn-outline {
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: var(--purple-light);
  padding: 15px 36px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 400;
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--purple-light);
  background: var(--purple-glow);
  color: var(--white);
}

.btn-primary,
.btn-outline,
.btn-white,
.nav-cta {
  position: relative;
  overflow: hidden;
}

.btn-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.25) 50%, transparent 80%);
  transform: translateX(-120%);
  pointer-events: none; /* So it doesn't block clicks */
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
  z-index: 2;
}

.stat-box {
  padding: 28px 40px;
  border-right: 1px solid var(--border-dark);
  background: rgb(15 11 26 / 35%);
  backdrop-filter: blur(10px);
  text-align: center;
}

.stat-number {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── PAGE HEADER ── */
.page-header {
  padding: 80px 0;
  background: var(--dark2);
  border-bottom: 1px solid var(--border-dark);
}

/* ── INTRO (LIGHT SECTION) ── */
.intro-band {
  background: var(--off-white);
  padding: 96px 0;
}

.eyebrow-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
  display: flex;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.eyebrow-tag::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--purple);
}

.intro-left h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 3.5vw, 54px);
  font-weight: 400;
  line-height: 1.15;
  color: #1a0a36;
  margin-bottom: 24px;
}

.intro-left h2 em {
  font-style: italic;
  color: var(--purple);
}

.intro-left p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--body-dark);
  margin-bottom: 14px;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.3s;
}

.btn-text::after {
  content: '→';
}

.btn-text:hover {
  gap: 16px;
}

.btn-text.btn-text-light {
  color: var(--purple-light);
}

.back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple); /* For light backgrounds */
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.3s, color 0.3s;
  margin-bottom: 40px; /* Space below the button */
}

.back-to-home::before {
  content: '←';
  font-size: 16px;
}

.back-to-home:hover {
  gap: 16px;
}

.back-to-home.on-dark {
    color: var(--purple-light);
}

.back-to-home.on-dark:hover {
    color: var(--white);
}

.intro-img-main {
  position: relative;
  overflow: hidden;
}

.intro-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── SERVICES (DARK) ── */
.services {
  background: var(--dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.services .container {
  position: relative;
  z-index: 1;
}

.service-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: #35245c;
}

.service-blob-1 {
  top: -120px;
  right: -100px;
  width: 350px;
  height: 350px;
}

.service-blob-2 {
  bottom: 50px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: #35245c;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
}

.section-title em {
  font-style: italic;
  color: var(--purple-light);
}

.section-title-dark {
  color: #1a0a36;
}

.section-title-dark em {
  color: var(--purple);
}

.section-divider {
  width: 48px;
  height: 2px;
  background: var(--purple);
  margin: 22px auto 0;
  border-radius: 2px;
}

.services-grid {
  /* This background was creating a visual glitch where a line would appear
     above one of the cards due to sub-pixel rendering differences.
     Removing it provides a cleaner look and resolves the issue. */
}

.service-card {
  display: flex;
  flex-direction: column;
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
  overflow: hidden;
  height: 100%;
  text-decoration: none;
  background: var(--dark2);
  transition: transform 0.3s ease;
}

.service-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px; /* Give a consistent height to the image area */
}

.service-card-image img {
  height: 100px;
  object-fit: contain;
  max-width: 100%;
  filter: invert(1);
}

.service-card-body {
  position: relative;
  padding: 36px 48px;
  flex-grow: 1; /* Ensures this section grows to fill available space, aligning content across cards */
}

.service-card:focus-visible {
  outline: none;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 3;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  color: rgba(168, 85, 247, 0.3);
  line-height: 1;
  margin-bottom: 18px;
  transition: color 0.4s;
}

.service-card:hover .service-num {
  color: rgba(168, 85, 247, 0.5);
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card-body p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 28px;
}

.service-list {
  list-style: none;
  display: flex !important;
  flex-direction: column;
  gap: 9px;
  padding-left: 0;
}

.service-list li {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}

.service-list li::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--purple-light);
  flex-shrink: 0;
}

.service-card:hover .service-list li {
  color: rgba(255, 255, 255, 0.75);
}

.service-arrow {
  position: absolute;
  bottom: 36px;
  right: 48px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  font-size: 16px;
  transition: all 0.3s;
}

.service-card:hover .service-arrow {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

/* ── GALLERY ── */
.gallery {
  padding: 100px 0;
}

.gallery-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 30vh;
  gap: 0.5rem;
  margin-top: 64px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-page-section .gallery-item img {
  height: 300px;
  width: 100%;
  object-fit: cover;
}

/* ── DOCTORS (LIGHT) ── */
.doctors {
  background: var(--off-white);
  padding: 100px 0;
  overflow: hidden;
}

.doctor-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(124, 58, 237, 0.08);
  transition: transform 0.4s, box-shadow 0.4s;
  height: 100%;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.18);
}

.doctor-photo {
  height: 360px;
  background: #d4c4e8 center/cover;
  position: relative;
}

.doctor-photo-1 {
  background-image: url('https://images.unsplash.com/photo-1622253692010-333f2da6031d?w=400&q=85&fit=crop&crop=face');
}

.doctor-photo-2 {
  background-image: url('https://images.unsplash.com/photo-1559839734-2b71ea197ec2?w=400&q=85&fit=crop&crop=face');
}

.doctor-headshot {
  width: 90px !important;
    height: 90px !important;
    border-radius: 50%;
    /* background-size: cover; */
    /* background-position: center; */
    /* margin: 0 auto 24px; */
    border: 4px solid #fff;
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.2);
    display: none;
    object-fit: cover;
    margin-bottom: 20px;
}

.doctor-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(80, 20, 160, 0.35) 0%, transparent 50%);
}

.doctor-info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.doctor-info .eyebrow-tag {
  margin-bottom: 8px;
}

.doctor-info .eyebrow-tag::before {
  /* Remove the decorative line from eyebrow tags within doctor cards for a cleaner look */
  display: none;
}

.doctor-info h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: #1a0a36;
  margin-bottom: 6px;
}

.doctor-info .credentials {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 18px;
}

.doctor-info p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--body-dark);
  margin-bottom: 24px;
}

.doctors .section-eyebrow {
  color: var(--purple);
}
 
.doctors-carousel .owl-nav button.owl-prev,
.doctors-carousel .owl-nav button.owl-next {
  width: 40px;
  height: 40px;
  background: var(--purple-pale) !important;
  border: 1px solid var(--border-light) !important;
  transition: background 0.3s, border-color 0.3s;
  border-radius: 2px;
  color: var(--purple) !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.doctors-carousel .owl-nav button.owl-prev:hover,
.doctors-carousel .owl-nav button.owl-next:hover {
  background: var(--purple) !important;
  border-color: var(--purple) !important;
  color: var(--white) !important;
}

.doctors-carousel .owl-nav button.owl-prev {
  left: -60px;
}

.doctors-carousel .owl-nav button.owl-next {
  right: -60px;
}

/* ── TESTIMONIALS (DARK WITH PURPLE TINT) ── */
.testimonials {
  background: var(--dark2);
  padding: 100px 0;
  position: relative;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonial-card {
  border: 1px solid var(--border-dark);
  padding: 36px 32px;
  position: relative;
  background: var(--dark);
  transition: border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  width: 100%; /* Make card fill the width of the carousel item */
  height: 100%; /* Make card fill the height of the carousel item */
}

.testimonial-card:hover {
  border-color: var(--purple);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.15);
}

.testimonials-carousel .owl-nav button.owl-prev,
.testimonials-carousel .owl-nav button.owl-next {
  width: 40px;
  height: 40px;
  background: var(--dark3) !important;
  border: 1px solid var(--border-dark) !important;
  transition: background 0.3s, border-color 0.3s;
  border-radius: 2px;
  color: var(--purple-light) !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.testimonials-carousel .owl-nav button.owl-prev:hover,
.testimonials-carousel .owl-nav button.owl-next:hover {
  background: var(--purple) !important;
  border-color: var(--purple) !important;
  color: var(--white) !important;
}

.testimonials-carousel .owl-nav button.owl-prev {
  left: -60px;
}

.testimonials-carousel .owl-nav button.owl-next {
  right: -60px;
}

.testimonials .owl-item {
  display: flex; /* Ensures the card inside can stretch to the full container height */
}

.testimonial-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: #35245c;
}

.testimonial-blob-1 {
  top: -50px;
  left: -100px;
  width: 300px;
  height: 300px;
}

.testimonial-blob-2 {
  bottom: 70px;
  left: -50px;
  width: 200px;
  height: 200px;
}

.quote-mark {
  font-family: var(--serif);
  font-size: 80px;
  line-height: 0.6;
  color: var(--purple);
  opacity: 0.35;
  margin-bottom: 20px;
  display: block;
}

.testimonial-card p {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-dark);
  padding-top: 18px;
  margin-top: auto;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.06em;
}

.author-proc {
  font-size: 11px;
  color: var(--purple-light);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.stars {
  color: var(--purple-light);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--purple);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.07);
}

.cta-blob-1 {
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
}

.cta-blob-2 {
  bottom: -60px;
  right: 200px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.cta-band h2 em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
}

.cta-band p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 12px;
  max-width: 520px;
  line-height: 1.75;
}

.btn-white {
  background: #fff;
  color: var(--purple);
  padding: 18px 48px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  border-radius: 2px;
  transition: background 0.3s;
  white-space: nowrap;
  display: inline-block;
}

.btn-white:hover {
  background: var(--purple-pale);
}

/* ── LOCATIONS ── */
.location-card {
  background: #fff;
  box-shadow: 0 4px 32px rgba(124, 58, 237, 0.08);
  overflow: hidden;
  height: 100%;
}

.location-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.location-details {
  padding: 28px 32px;
}

.location-details h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  font-weight: 600;
  color: #1a0a36;
  margin-bottom: 12px;
}

.location-details p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--body-dark);
  margin-bottom: 1rem;
}

.location-details a {
  color: var(--purple);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.location-details a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--purple-light);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.location-details a:hover {
  color: var(--purple-light);
}

.location-details a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.location-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--body-dark);
}

.location-contact-item svg {
  color: var(--purple);
  flex-shrink: 0;
}

/* ── CREDENTIALS ── */
.credentials-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.credentials-list li {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.8;
}

.credentials-list li::before {
  content: '✓';
  font-family: var(--sans);
  color: var(--purple-light);
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 4px; /* Align with text */
}

/* ── SERVICE DETAIL PAGE ── */
.service-content-section {
    background: var(--dark);
}

.service-content-title {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-dark);
    position: relative;
}

.service-content-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--purple-light);
}
.service-content-section img {
    height: 300px;
    padding-bottom: 20px;
    border-radius: 10px;
}
.service-content-section p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}
.service-content-light p {
    color: #3b2f5e;
}
img.split-section-img {
    width: 100%;
    /*height: 420px;*/
    padding: 0;
    object-fit: cover;
    border-radius: 12px;
}
.split-section-img.is-sticky {
    position: sticky;
    top: 110px;
}
@media (max-width: 991px) {
    .split-section-img.is-sticky {
        position: static;
    }
}
.split-separator {
    width: 100%;
    height: 1px;
    margin: 70px 0;
    background: #e5e5e5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}
img.split-section-img.img-full {
    height: auto;
    object-fit: contain;
}
.img-grayscale {
    filter: grayscale(100%);
}
.rhino-type-title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: #1a0a36;
    margin-bottom: 16px;
}
.service-content-section .rhino-type-text {
    color: #3b2f5e;
    font-size: 15px;
    line-height: 1.85;
    max-width: 450px;
    margin: 0 auto;
}

.technique-card {
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 4px 32px rgba(124, 58, 237, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.technique-card-img {
    width: 100%;
}

.technique-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.technique-card-content {
    padding: 32px 36px;
    flex-grow: 1;
}

.technique-card h4 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: #1a0a36;
    margin-bottom: 16px;
}

.technique-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--body-dark);
}

.advantages-card {
    background: var(--dark);
    padding: 32px 40px;
    border-radius: 2px;
    border: 1px solid var(--border-dark);
}

.advantages-card h5 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
}

/* ── CONTACT ── */
.contact-section {
  background: var(--dark);
  padding: 100px 0;
}

.contact-left h2 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.2;
}

.contact-detail {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-dark);
  background: var(--dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple-light);
  font-size: 18px;
}

.contact-detail-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-detail-val {
  font-size: 14px;
  color: #fff;
  line-height: 1.65;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
  display: inline-block;
}

.form-control.is-invalid {
  border-color: #e11d48; /* A vibrant red for errors */
}

.form-control.is-invalid:focus {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}

.error-message {
  width: 100%;
  margin-top: .35rem;
  font-size: 12px;
  color: #f43f5e; /* A slightly lighter red for text */
}

.form-control {
  background: var(--dark2);
  border: 1px solid var(--border-dark);
  color: #fff;
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
  border-radius: 2px;
}

.form-control:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
  background: var(--dark2);
  color: #fff;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-select {
  background-color: var(--dark2);
  border: 1px solid var(--border-dark);
  color: #fff;
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a855f7' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-select:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.form-select option {
  background: var(--dark2);
}

textarea.form-control {
  resize: vertical;
  min-height: 96px;
}

/* ── FOOTER ── */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border-dark);
  padding: 64px 0 32px;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 18px;
  font-size: 22px;
}

.footer-brand .logo img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  border-radius: 2px;
  transition: all 0.3s;
}

.footer-social:hover {
  border-color: var(--purple);
  color: var(--purple-light);
  background: var(--purple-glow);
}

.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
  display: block;
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-col address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.footer-col address a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col address a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 26px;
  margin-top: 48px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0;
}

/* ── FLOATING WHATSAPP BUTTON ── */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background-color: #25D366; /* WhatsApp Green */
  background-color: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
  z-index: 1000;
  text-decoration: none;
  transition: all 0.3s;
}

.floating-whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid #25D366;
  border: 1px solid var(--purple);
  animation: whatsapp-ring 2s infinite ease-out;
}

.floating-whatsapp-btn:hover {
  background-color: var(--purple-light);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
}

.floating-whatsapp-btn svg {
  width: 28px;
  height: 28px;
  color: #fff;
  position: relative; /* Ensure icon is on top of the animation */
}

@keyframes whatsapp-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.8); opacity: 0; }
}
@media (max-width: 1366px) {
  .hero h1 {
    font-size: 60px;
}
}
@media (max-width: 992px) {
  /* --- Responsive Navigation --- */
  .menu-toggle {
    display: flex; /* Show hamburger on mobile */
    margin-left: auto; /* Push it to the right */
  }

  .nav-main .nav-links,
  .nav-main .nav-cta {
    display: none !important; /* Hide desktop links */
  }

  .doctor-card {
    flex-direction: column;
  }

  .doctor-photo { /* Hide the large side photo on smaller screens */
    display: none;
  }

  .doctor-headshot { /* Show the circular headshot instead */
    display: block;
  }

  .doctor-info { /* Center the text content */
    text-align: center;
  }

  .doctor-info .eyebrow-tag { /* Center the eyebrow tag's flex items */
    justify-content: center;
  }

  .gallery-collage {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 35vh;
  }

  /* Reset complex grid placement for tablet */
  .gallery-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

}
body.page-loaded {
    overflow-x: hidden;
    overflow-x: clip;
}
html {
    overflow-x: hidden;
    overflow-x: clip;
}
@media (max-width: 768px) {
  .nav-top-bar {
    display: none;
  }

  .hero-stats {
    display: none;
  }
      .hero h1 {
        font-size: 30px;
    }
.menu-right-pane {
    max-width: 100% !important;
    flex: 100% !important;;
}
  .gallery-collage {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }
}

/* HEADER STYLES */
.custom-header {
  height: 90px;
  background: transparent;
  z-index: 1050;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-phones {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}
.header-phone-list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-phone-list a {
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone-list a:hover {
  color: var(--purple-light);
}
/* Small screens: stack the two numbers so they fit beside MENU */
@media (max-width: 576px) {
  .header-phones {
    font-size: 12px;
    gap: 6px;
  }
  .header-phone-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.3;
  }
  .header-phone-sep {
    display: none;
  }
}
/* Very small screens: drop the social icons to make room */
@media (max-width: 380px) {
  .header-socials {
    display: none !important;
  }
}

.custom-header.scrolled {
  background-color: #050505; /* Deep black */
}

.custom-header.menu-open {
  background: transparent;
  border-bottom: none;
}

.tracking-wide {
  letter-spacing: 0.1em;
}

.request-link:hover {
  color: #d4af37 !important; /* Gold accent color on hover */
}

.btn-outline-custom {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

/* HAMBURGER BUTTON */
.menu-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1060;
}

.hamburger-icon {
  width: 24px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  height: 1px;
  width: 100%;
  background: white;
  transition: all 0.3s ease-in-out;
}

/* Hamburger to X animation */
.menu-toggle-btn.active .hamburger-icon span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle-btn.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}
.menu-toggle-btn.active .hamburger-icon span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* FULLSCREEN MENU OVERLAY */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1040; /* Just below header */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.fullscreen-menu.open {
  opacity: 1;
  visibility: visible;
}

.menu-left-pane {
  display: none;
}

.menu-overlay-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.menu-logo-container {
  margin-bottom: 2.5rem; /* 40px */
}

.menu-logo {
  width: 220px;
  height: auto;
}

.menu-right-pane {
  flex: 0 0 50%;
  max-width: 50%;
  margin-left: auto;
  background-color: #050505; /* Deep black */
  padding: 100px 50px 50px; /* Space for top header */
}

.menu-links-container {
  width: 100%;
}

.menu-links-container ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-links-container ul li:last-child {
  border-bottom: none;
}

.menu-links-container ul li a {
  display: flex;
  align-items: center;
  padding: 18px 0;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-family: 'Jost', sans-serif;
  transition: color 0.3s ease;
  gap: 1.5rem; /* Add space between text and arrow */
}

.menu-links-container ul li a:hover {
  color: var(--purple);
}

.menu-links-container ul li a span {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.menu-links-container ul li a:hover span {
  transform: translateX(5px);
}

.menu-links-container li.has-submenu.open > a span {
  transform: rotate(90deg);
}

.link-secondary {
  font-size: 1rem !important;
  color: #aaaaaa !important;
}

.link-secondary:hover {
  color: white !important;
}

.menu-links-container .has-submenu .submenu {
  list-style: none;
  padding-left: 2rem;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.menu-links-container .has-submenu .submenu li a {
  font-size: 1rem;
  padding: 10px 0;
  justify-content: flex-start;
  color: #aaaaaa;
}

.menu-links-container .has-submenu .submenu li a span {
  display: none;
}

/* Prevent body scroll when menu is open */
body.menu-open-active {
  overflow: hidden;
}