/* ==========================================================================
   SHOBHANA SKIN, COSMETIC & LASER CLINIC — CORE STYLESHEET
   Fresh Premium Green Gradient Theme & Clean Architecture
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Fresh Premium Medical Green Palette */
  --color-primary: #047857;
  --color-primary-dark: #064e3b;
  --color-primary-light: #10b981;
  --color-secondary: #34d399;
  --color-secondary-light: #a7f3d0;
  --color-accent: #f59e0b;
  --color-bg: #f8fafc;
  --color-bg-alt: #f0fdf4;
  --color-text: #0f172a;
  --color-text-soft: #475569;
  --color-white: #ffffff;

  /* Rich Deep Emerald Green Gradients */
  --gradient-brand: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
  --gradient-hero-bg: linear-gradient(135deg, #024731 0%, #046c4e 45%, #05885e 80%, #0d9488 100%);
  --gradient-gold: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 244, 0.9));
  --gradient-card-dark: linear-gradient(145deg, rgba(6, 78, 59, 0.95), rgba(4, 120, 87, 0.9));

  /* Glass surfaces */
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(16, 185, 129, 0.2);
  --glass-blur: blur(16px);

  /* Shadows & Depth */
  --shadow-sm: 0 4px 14px rgba(4, 120, 87, 0.06);
  --shadow-md: 0 12px 32px rgba(4, 120, 87, 0.12);
  --shadow-lg: 0 24px 60px rgba(6, 78, 59, 0.18);
  --shadow-3d: 0 35px 70px -15px rgba(2, 44, 34, 0.4), 0 0 30px rgba(52, 211, 153, 0.2);
  --shadow-glow: 0 0 25px rgba(52, 211, 153, 0.35);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Type scale */
  --font-display: "Outfit", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --fs-h1: clamp(2.4rem, 4.4vw, 4.2rem);
  --fs-h2: clamp(1.9rem, 3vw, 2.8rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.6rem);
  --fs-body: clamp(1rem, 0.5vw + 0.9rem, 1.08rem);
  --fs-small: 0.9rem;

  /* Layout */
  --container-w: 1240px;
  --header-h: 88px;
  --section-pad: clamp(40px, 4.5vw, 60px);
}

/* ---------- Smooth native page transitions (removes the reload "flash") ---------- */
@view-transition {
  navigation: auto;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* Kills default browser blue tap/flash overlay on links, buttons & icons */
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  outline: none !important;
}

a,
button,
input,
textarea,
svg,
svg * {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
}

a:focus,
a:focus-visible,
a:active,
button:focus,
button:focus-visible,
button:active,
input:focus,
input:focus-visible,
textarea:focus,
textarea:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent !important;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--color-primary-dark);
}

::selection {
  background: var(--color-primary-light);
  color: var(--color-white);
}

/* Clean Focus (No blue/cyan flash) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: min(100% - 40px, var(--container-w));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: var(--gradient-hero-bg);
  color: #f0fdf4;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: rgba(4, 120, 87, 0.1);
  border: 1px solid rgba(4, 120, 87, 0.25);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.08);
  transition: all 0.25s ease;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary-light);
  box-shadow: 0 0 8px var(--color-primary-light);
}

/* Eyebrow inside dark hero sections (Gallery, About, Treatments, Hero, etc.) */
.hero-banner-section .eyebrow,
.gallery-hero .eyebrow,
.treatment-hero .eyebrow,
.page-hero .eyebrow,
.about-hero .eyebrow,
.contact-hero .eyebrow,
.doctors-hero .eyebrow,
.testimonials-hero .eyebrow,
.section-dark .eyebrow {
  color: #ecfdf5 !important;
  background: rgba(6, 78, 59, 0.85) !important;
  border: 1px solid rgba(52, 211, 153, 0.5) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22) !important;
  margin-top: 4px;
  margin-bottom: 16px;
}

.hero-banner-section .eyebrow::before,
.gallery-hero .eyebrow::before,
.treatment-hero .eyebrow::before,
.page-hero .eyebrow::before,
.about-hero .eyebrow::before,
.contact-hero .eyebrow::before,
.doctors-hero .eyebrow::before,
.testimonials-hero .eyebrow::before,
.section-dark .eyebrow::before {
  background: #34d399 !important;
  box-shadow: 0 0 10px #34d399 !important;
}

/* ---------- UNIFIED HERO BANNER SECTIONS ---------- */
.page-hero,
.gallery-hero,
.treatment-hero,
.about-hero,
.contact-hero,
.doctors-hero,
.testimonials-hero {
  position: relative;
  background: var(--gradient-hero-bg) !important;
  padding-block: 56px 44px !important;
  color: #ffffff !important;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.page-hero h1,
.gallery-hero h1,
.treatment-hero h1,
.about-hero h1,
.contact-hero h1,
.doctors-hero h1,
.testimonials-hero h1 {
  color: #ffffff !important;
  font-size: clamp(2.1rem, 3.4vw, 3.2rem);
  margin-block: 10px 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hero p,
.gallery-hero p,
.treatment-hero p,
.about-hero p,
.contact-hero p,
.doctors-hero p,
.testimonials-hero p {
  color: #dcfce7 !important;
  max-width: 660px;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-head {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-head.center {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--color-text-soft);
  margin-top: 14px;
  font-size: 1.08rem;
}

.divider-wave {
  display: block;
  width: 100%;
  line-height: 0;
}

.divider-wave svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  transition: transform .35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow .35s ease, background .35s ease, color .35s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-3d);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid rgba(4, 120, 87, 0.35);
}

.btn-outline:hover {
  background: rgba(4, 120, 87, 0.08);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
  color: #fff;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.45);
  animation: ripple .6s ease-out;
  pointer-events: none;
}

/* ---------- SITE HEADER (Identical & Static Across All Pages) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  padding-block: 20px;
  background: #ffffff;
  border-bottom: 1px solid rgba(4, 120, 87, 0.14);
  box-shadow: 0 6px 24px rgba(6, 78, 59, 0.08);
  transition: none;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: transform .3s ease;
}

.brand:hover .brand-mark-img {
  transform: scale(1.05);
}

.brand-text {
  font-family: var(--font-display);
  line-height: 1.15;
}

.brand-text strong {
  display: block;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav>ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav>ul>li {
  position: relative;
}

.main-nav a.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  color: #0f172a;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
  user-select: none;
}

.main-nav a.nav-link:hover,
.main-nav a.nav-link:focus {
  background: rgba(4, 120, 87, 0.08);
  color: #047857;
  outline: none !important;
  box-shadow: none !important;
}

.main-nav a.nav-link:active {
  background: rgba(4, 120, 87, 0.14);
  color: #047857;
  transition: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.main-nav li.active>a.nav-link {
  background: rgba(4, 120, 87, 0.12);
  color: #047857;
  font-weight: 800;
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 85vw);
  background: #ffffff;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  z-index: 1000;
  margin-top: 10px;
}

.main-nav li.has-mega.is-open .mega-panel {
  display: grid;
}

.mega-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.mega-panel a:hover {
  background: rgba(13, 148, 136, 0.08);
  color: var(--color-primary-light);
  transform: translateX(4px);
}

.mega-panel a .mega-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-panel a .mega-icon svg {
  width: 16px;
  height: 16px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  transition: color .3s ease;
}

.header-phone:hover {
  color: var(--color-primary-light);
}

.header-phone .icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  transition: transform .3s ease, background .3s ease;
}

.header-phone:hover .icon-badge {
  transform: rotate(12deg) scale(1.08);
  background: var(--color-primary-light);
  color: #fff;
}

.nav-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 16px rgba(4, 120, 87, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.nav-book-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(4, 120, 87, 0.35);
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .nav-book-btn span {
    display: none;
  }
  .nav-book-btn {
    padding: 10px;
    border-radius: 50%;
  }
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(13, 148, 136, 0.15);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

/* ==========================================================================
   HERO BANNER SECTION — FULL-WIDTH SLIDER WITH RIGHT-TO-LEFT ANIMATION
   ========================================================================== */

.hero-banner-section {
  position: relative;
  min-height: 520px;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 38%, #e6f4ea 75%, #f0fdf4 100%);
  color: #0f172a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Ambient Glow Orbs */
.hero-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.45;
  z-index: 1;
}

.orb-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  left: -120px;
  background: rgba(167, 243, 208, 0.45);
  animation: floatOrb 12s infinite ease-in-out;
}

.orb-2 {
  width: 550px;
  height: 550px;
  bottom: -120px;
  right: -100px;
  background: rgba(187, 247, 208, 0.4);
  animation: floatOrb 16s infinite ease-in-out reverse;
}

.orb-3 {
  width: 400px;
  height: 400px;
  top: 30%;
  left: 45%;
  background: rgba(220, 252, 231, 0.35);
  filter: blur(80px);
  animation: floatOrb 20s infinite ease-in-out;
}

.hero-mesh-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 185, 129, 0.08) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* ---------- Bottom Left Botanical Green Leaves & Bubble Dots ---------- */
.hero-leaf-accent-left {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
  pointer-events: none;
  animation: floatLeaf 8s ease-in-out infinite alternate;
}

.hero-leaf-accent-left svg {
  display: block;
  width: min(230px, 28vw);
  height: auto;
}

/* ---------- Bottom Right 3D Glass Molecules / Bubbles ---------- */
.hero-bubbles-right {
  position: absolute;
  bottom: 10px;
  right: 15px;
  z-index: 5;
  pointer-events: none;
  animation: floatBubble 6s ease-in-out infinite alternate;
}

.hero-bubbles-right svg {
  display: block;
  width: min(190px, 24vw);
  height: auto;
}

@keyframes floatLeaf {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes floatBubble {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-10px) scale(1.05); }
}

.hero-banner-carousel {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  z-index: 2;
  overflow: hidden;
  perspective: 1200px;
}

/* Carousel Track & Slides */
.hero-banner-track {
  display: flex;
  width: 100%;
  transition: transform 0.75s cubic-bezier(0.25, 1, 0.35, 1);
  will-change: transform;
}

.hero-banner-slide {
  min-width: 100%;
  flex: 0 0 100%;
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding-block: 40px 44px;
  opacity: 0.3;
  transition: opacity 0.75s ease;
}

.hero-banner-slide.is-active {
  opacity: 1;
}

/* Merged Full Hero Background Image & Light Theme Overlay */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: scale(1.02);
  transition: transform 0.8s ease;
}

.hero-banner-slide.is-active .hero-slide-bg img {
  animation: heroKenBurns 6s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(240, 253, 244, 0.97) 0%,
      rgba(255, 255, 255, 0.90) 42%,
      rgba(255, 255, 255, 0.60) 75%,
      rgba(240, 253, 244, 0.15) 100%);
  pointer-events: none;
}

/* Banner Slide Inner Layout (2-Column Grid: Text Left, Photo Right) */
.banner-slide-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  width: min(100% - 40px, var(--container-w));
  margin-inline: auto;
}

/* Slide Content (Left Side) */
.slide-content-box {
  z-index: 3;
}

.slide-content-box .eyebrow {
  margin-top: 0;
  margin-bottom: 14px;
  background: rgba(21, 128, 61, 0.08) !important;
  color: #15803d !important;
  border: 1px solid rgba(21, 128, 61, 0.25) !important;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.slide-content-box .eyebrow::before {
  background: #15803d !important;
  box-shadow: 0 0 8px #15803d !important;
}

.slide-title {
  font-size: clamp(2.3rem, 3.8vw, 3.5rem);
  color: #064e3b;
  line-height: 1.12;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.slide-title .highlight-gradient {
  background: linear-gradient(135deg, #15803d 0%, #047857 50%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.slide-desc {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 560px;
}

.slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.slide-actions .btn-primary {
  background: linear-gradient(135deg, #15803d 0%, #047857 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(21, 128, 61, 0.3);
  border-radius: var(--radius-pill);
  border: none;
}

.slide-actions .btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(21, 128, 61, 0.4);
}

.slide-actions .btn-ghost-light {
  background: #ffffff;
  color: #15803d !important;
  border: 1.8px solid #15803d !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.slide-actions .btn-ghost-light:hover {
  background: #f0fdf4;
  color: #047857 !important;
  border-color: #047857 !important;
  transform: translateY(-2px);
}

/* Slide Media Wrap (Right Side - Light Luxury 3D Floating Glass Card) */
.slide-media-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    -12px 22px 50px -10px rgba(6, 78, 59, 0.22),
    0 0 40px rgba(16, 185, 129, 0.25),
    inset 0 0 25px rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(16, 185, 129, 0.35);
  height: 420px;
  width: 100%;
  background: #ffffff;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
  transform-style: preserve-3d;
}

.slide-media-wrap:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.03);
  box-shadow: 
    -10px 35px 75px -10px rgba(6, 78, 59, 0.3),
    0 0 65px rgba(16, 185, 129, 0.4),
    inset 0 0 30px rgba(255, 255, 255, 0.9);
}

.slide-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.hero-banner-slide.is-active .slide-media-wrap img {
  animation: heroKenBurns 5.8s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}

/* Floating Glass Badge */
.slide-media-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  color: #15803d;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.15);
}

/* Doctor trust badge bar anchored in hero */
.hero-doctor-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(6, 78, 59, 0.12);
}

.doctor-avatar-stack {
  display: flex;
}

.doctor-avatar-stack img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #16a34a;
  margin-left: -10px;
}

.doctor-avatar-stack img:first-child {
  margin-left: 0;
}

.doctor-bar-info strong {
  display: block;
  color: #064e3b;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
}

.doctor-bar-info span {
  font-size: 0.78rem;
  color: #15803d;
  font-weight: 600;
}

/* ==========================================================================
   COMPONENT ANIMATIONS & COMMON UTILITIES
   ========================================================================== */

/* ---------- Component & Card Image Animations ---------- */
.treatment-card,
.doctor-mini,
.gallery-card,
.info-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.treatment-card:hover,
.doctor-mini:hover,
.gallery-card:hover,
.info-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 45px -10px rgba(4, 120, 87, 0.2);
}

.treatment-card img,
.doctor-mini img,
.gallery-card img,
.treatment-detail-body img,
.about-media img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.treatment-card:hover img,
.doctor-mini:hover img,
.gallery-card:hover img,
.about-media:hover img {
  transform: scale(1.06);
}

/* ---------- Cards & Grid Components ---------- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13, 148, 136, 0.08);
  transition: transform .4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow .4s ease, border-color .4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.3);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.icon-tile {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 148, 136, 0.1);
  color: var(--color-primary-light);
  margin-bottom: 18px;
  transition: transform .4s ease, background .4s ease, color .4s ease;
}

.icon-tile svg {
  width: 28px;
  height: 28px;
}

.card:hover .icon-tile {
  background: var(--gradient-brand);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}

/* ---------- About preview ---------- */
.about-preview {
  padding-block: 40px 56px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -10px rgba(4, 120, 87, 0.25);
  border: 2px solid rgba(4, 120, 87, 0.15);
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
}

.media-badge {
  position: absolute;
  left: -24px;
  bottom: -24px;
  max-width: 280px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--color-primary-dark);
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.media-badge svg {
  color: var(--color-primary-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-copy p {
  color: var(--color-text-soft);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

/* ---------- Doctors Section ---------- */
.doctor-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.doctor-mini {
  display: flex;
  gap: 24px;
  padding: 28px;
  align-items: flex-start;
}

.doctor-mini img {
  width: 130px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.doctor-mini-body h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.doctor-mini-body .pill-tag {
  margin: 6px 0 12px;
}

.doctor-mini-body p {
  font-size: 0.93rem;
  color: var(--color-text-soft);
  line-height: 1.6;
}

/* ---------- Treatments Grid ---------- */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.treatment-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
  background: var(--color-surface);
  border: 1px solid rgba(4, 120, 87, 0.12);
}

.treatment-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-3d);
  border-color: var(--color-primary-light);
}

.treatment-card-thumb {
  width: 100%;
  height: 165px;
  overflow: hidden;
  position: relative;
  background: var(--color-bg-alt);
  border-bottom: 1px solid rgba(4, 120, 87, 0.1);
}

.treatment-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.treatment-card:hover .treatment-card-thumb img {
  transform: scale(1.08);
}

.treatment-card-content {
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
}

.treatment-card-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0;
  line-height: 1.35;
}

.treatment-card .card-arrow {
  color: var(--color-primary-light);
  transform: translateX(-4px);
  transition: color 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.treatment-card:hover .card-arrow {
  color: var(--color-primary);
  transform: translateX(2px);
}

/* ---------- Why Choose Us Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  padding: 36px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
}

.stat-card .count-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: #5eead4;
}

.stat-card p {
  margin-top: 10px;
  color: #ccfbf1;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial-card {
  padding: 36px 32px;
  position: relative;
  border-radius: var(--radius-md);
}

.quote-mark {
  color: rgba(13, 148, 136, 0.2);
  margin-bottom: 12px;
}

.testimonial-card p {
  color: var(--color-text-soft);
  font-size: 1.02rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-card cite {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  color: var(--color-primary);
  font-size: 1rem;
}

/* ---------- CTA Section ---------- */
.cta-panel {
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  background: var(--gradient-brand);
}

.cta-panel h2 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 2.2rem;
}

.cta-panel p {
  color: #ccfbf1;
  font-size: 1.08rem;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Contact/Map ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.map-embed {
  overflow: hidden;
  min-height: 380px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-block: 36px 20px;
}

.footer-brand p {
  margin-top: 12px;
  color: #94a3b8;
  max-width: 320px;
  font-size: 0.92rem;
}

.footer-logo-box {
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.footer-logo-box .brand-mark-img {
  filter: none !important;
  height: 44px;
  width: auto;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color .25s ease, padding-left .25s ease;
}

.footer-col a:hover {
  color: #5eead4;
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: #2dd4bf;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease, transform .3s ease;
}

.social-row a:hover {
  background: var(--gradient-brand);
  transform: translateY(-3px);
}

.social-row svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 500;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ---------- Appointment Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(2, 18, 20, 0.75);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #fff;
  border-radius: var(--radius-lg);
  width: min(100%, 540px);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-3d);
  transform: scale(0.9) translateY(20px);
  transition: transform .35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.is-open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: background .2s ease;
}

.modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color .3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary-light);
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-copy {
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-micro-features {
    justify-content: center;
  }

  .hero-3d-stage {
    height: 440px;
  }

  .card-stack-wrap {
    width: 320px;
    height: 400px;
  }

  .treatment-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-phone .phone-text {
    display: none;
  }

  /* Mobile drawer */
  .main-nav.is-open {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 30px 24px;
    overflow-y: auto;
    z-index: 890;
  }

  .main-nav.is-open>ul {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .main-nav.is-open a.nav-link {
    font-size: 1.1rem;
    padding: 14px 20px;
    justify-content: space-between;
  }

  .mega-panel {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 10px 0;
  }

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

  .about-grid,
  .doctor-preview-grid,
  .testimonial-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .floating-doctor-badge {
    left: 10px;
    bottom: -30px;
  }

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

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

  .card-stack-wrap {
    width: 280px;
    height: 380px;
  }

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