/* ============================================================
   SMILE CITY DENTAL CLINIC — Premium Stylesheet (Blue Theme)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ── VARIABLES (Blue Theme) ───────────────────────────────── */
:root {
  --accent:       #3B9AE1;      /* Primary blue */
  --accent-deep:  #1A7BC9;      /* Darker blue */
  --pink-light:   #5DABE8;      /* Light blue */
  --pink-pale:    #E1F0FA;      /* Very light blue */
  --pink-bg:      #F0F7FF;      /* Background blue tint */
  --blush:        #F5F9FF;      /* Almost white with blue tint */
  --white:        #FFFFFF;
  --text:         #0A1A2A;      /* Dark blue-black */
  --text-mid:     #2C3E50;      /* Darker blue-gray */
  --text-dim:     #5D6D7E;      /* Medium blue-gray */
  --border:       rgba(59,154,225,0.18);
  --border-soft:  rgba(59,154,225,0.10);
  --shadow:       rgba(59,154,225,0.15);
  --shadow-deep:  rgba(10,25,45,0.12);
  --radius:       18px;
  --radius-lg:    28px;
  --font-display: 'Cormorant Garamond', serif;
  --font-head:    'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;
  --transition:   0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.22s ease;
  --nav-h:        80px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); }

/* ── CUSTOM CURSOR ──────────────────────────────────────────── */
.cursor {
  position: fixed; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%); transition: transform 0.1s, background 0.3s;
  mix-blend-mode: multiply;
}
.cursor-ring {
  position: fixed; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid rgba(59,154,225,0.5); pointer-events: none;
  z-index: 99998; transform: translate(-50%,-50%);
  transition: all 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cursor.hover { transform: translate(-50%,-50%) scale(2.5); background: rgba(59,154,225,0.4); }
.cursor-ring.hover { width: 48px; height: 48px; border-color: var(--accent); }

/* ── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--pink-bg); }
::-webkit-scrollbar-thumb { background: var(--pink-light); border-radius: 3px; }

/* ── WHATSAPP FLOAT ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; width: 58px; height: 58px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.35); z-index: 9999;
  transition: var(--transition); cursor: pointer;
}
.whatsapp-float:hover { transform: scale(1.12) translateY(-3px); box-shadow: 0 14px 40px rgba(37,211,102,0.45); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }
.wa-tooltip {
  position: absolute; right: 70px; white-space: nowrap;
  background: var(--text); color: white; padding: 6px 14px;
  border-radius: 8px; font-size: 0.8rem; font-weight: 500;
  opacity: 0; transform: translateX(8px); transition: var(--transition-fast);
  pointer-events: none;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  padding: 0 48px; transition: all 0.4s ease;
  background: rgba(240,247,255,0); backdrop-filter: blur(0px);
}
#navbar.scrolled {
  background: rgba(240,247,255,0.92); backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(59,154,225,0.12);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--pink-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: 0 4px 16px var(--shadow);
}
.nav-logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.1; color: var(--text); }
.nav-logo-text span { display: block; font-size: 0.68rem; color: var(--text-dim); font-family: var(--font-body); font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 36px; margin: 0 auto; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-mid);
  letter-spacing: 0.02em; transition: var(--transition-fast); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1.5px;
  background: var(--accent); transition: width var(--transition-fast);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: white !important; padding: 10px 22px; border-radius: 50px;
  font-size: 0.85rem !important; box-shadow: 0 4px 16px var(--shadow);
  transition: var(--transition) !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--shadow) !important; }
.nav-cta::after { display: none !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; transition: var(--transition); }
.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(240,247,255,0.97); backdrop-filter: blur(20px);
  padding: 24px 32px; flex-direction: column; gap: 16px; z-index: 999;
  border-bottom: 1px solid var(--border);
  transform: translateY(-20px); opacity: 0; transition: var(--transition);
}
.mobile-nav.open { transform: translateY(0); opacity: 1; }
.mobile-nav a { font-size: 1rem; font-weight: 500; color: var(--text-mid); padding: 8px 0; border-bottom: 1px solid var(--border-soft); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--white) 0%, var(--pink-bg) 40%, var(--blush) 100%);
  padding-top: var(--nav-h); position: relative; overflow: hidden;
}
.hero-bg-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
  animation: blobDrift 12s ease-in-out infinite alternate;
}
.hero-bg-blob-1 { width: 600px; height: 600px; background: rgba(59,154,225,0.07); top: -200px; right: -100px; }
.hero-bg-blob-2 { width: 400px; height: 400px; background: rgba(93,171,232,0.09); bottom: -100px; left: -50px; animation-delay: -6s; }
@keyframes blobDrift { from { transform: translate(0,0) scale(1); } to { transform: translate(30px,20px) scale(1.05); } }
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%; background: var(--accent);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 60px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  width: 100%; position: relative; z-index: 2;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,154,225,0.1); border: 1px solid var(--border);
  border-radius: 50px; padding: 6px 16px; font-size: 0.78rem;
  font-weight: 600; color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 24px;
}
.hero-label span { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-title {
  font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 20px;
  color: var(--text);
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-title strong { font-weight: 600; }
.hero-subtitle {
  font-size: 1rem; color: var(--text-dim); line-height: 1.75; max-width: 440px;
  margin-bottom: 40px; font-weight: 400;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: white; padding: 14px 28px; border-radius: 50px; font-size: 0.92rem;
  font-weight: 600; box-shadow: 0 6px 24px rgba(59,154,225,0.35);
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(59,154,225,0.5); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-mid); padding: 14px 28px;
  border-radius: 50px; font-size: 0.92rem; font-weight: 600;
  border: 1.5px solid var(--border); transition: var(--transition);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: rgba(59,154,225,0.05); }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat { }
.hero-stat-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 600;
  color: var(--accent); line-height: 1;
}
.hero-stat-label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.hero-3d {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-gif-wrap {
  position: relative; z-index: 2;
  width: 100%; max-width: 320px;
  filter: drop-shadow(0 20px 40px rgba(59,154,225,0.3));
  animation: toothFloat 4s ease-in-out infinite;
}
.hero-tooth-gif {
  width: 100%; height: auto; display: block;
  border-radius: 0;
  background: transparent;
  mix-blend-mode: multiply;
}
@keyframes toothFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
.orbit-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(59,154,225,0.25);
  pointer-events: none; animation: orbitSpin linear infinite;
}
.orbit-ring-1 { width: 380px; height: 380px; animation-duration: 20s; }
.orbit-ring-2 { width: 480px; height: 480px; animation-duration: 30s; animation-direction: reverse; border-style: dashed; border-color: rgba(59,154,225,0.12); }
.orbit-ring-3 { width: 560px; height: 560px; animation-duration: 45s; border-color: rgba(59,154,225,0.06); }
@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.orbit-dot {
  position: absolute; width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%; box-shadow: 0 0 10px var(--accent);
  animation: orbitDot 20s linear infinite;
}
@keyframes orbitDot {
  0% { transform: rotate(0deg) translateX(190px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(190px) rotate(-360deg); }
}

/* ── SECTION BASICS ──────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--accent); margin-bottom: 14px;
}
.section-label::before {
  content: ''; width: 28px; height: 1.5px; background: var(--accent);
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.01em;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--accent); }
.section-sub { font-size: 1rem; color: var(--text-dim); line-height: 1.75; max-width: 560px; }
.bg-pink { background: var(--pink-bg); }
.bg-white { background: var(--white); }
.bg-blush { background: var(--blush); }

/* ── SCROLL STORYTELLING ─────────────────────────────────────── */
.story-container {
  position: relative; height: 400vh;
}
.story-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
}
.story-panel {
  position: absolute; inset: 0; display: flex; align-items: center;
  padding: 80px 80px; opacity: 0; transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none; max-width: 1280px; margin: 0 auto;
  width: 100%;
}
.story-panel.active { opacity: 1; transform: translateY(0); pointer-events: all; }
.story-content { flex: 1; max-width: 520px; }
.story-visual { flex: 1; display: flex; align-items: center; justify-content: center; }
.story-number {
  font-family: var(--font-display); font-size: 8rem; font-weight: 300;
  color: rgba(59,154,225,0.08); line-height: 1; position: absolute;
  right: 80px; top: 50%; transform: translateY(-50%);
  pointer-events: none; user-select: none;
}
.story-icon {
  width: 260px; height: 260px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blush), var(--pink-pale));
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem; border: 1.5px solid var(--border);
  box-shadow: 0 24px 80px var(--shadow);
  animation: iconFloat 6s ease-in-out infinite;
}
@keyframes iconFloat {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}
.story-progress {
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px;
}
.story-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--border);
  transition: all 0.4s ease; cursor: pointer;
}
.story-dot.active { background: var(--accent); transform: scale(1.5); }
.story-progress-line {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.75rem; color: var(--text-dim); font-weight: 500;
}
.scroll-hint { animation: bounce 2s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ── BA SLIDER ───────────────────────────────────────────────── */
.ba-slider {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  cursor: col-resize; user-select: none; box-shadow: 0 24px 80px var(--shadow-deep);
  border: 1.5px solid var(--border);
}
.ba-before {
  width: 100%; display: flex; align-items: center; justify-content: center; min-height: 300px;
  background: linear-gradient(135deg, #f5f0f0, #e8e0e0);
}
.ba-after-wrap {
  position: absolute; inset: 0; clip-path: inset(0 50% 0 0);
  transition: clip-path 0s;
}
.ba-after {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; background: linear-gradient(135deg, var(--blush), var(--pink-pale));
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 44px; display: flex; align-items: center; justify-content: center;
  cursor: col-resize;
}
.ba-handle-line {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: white; box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.ba-handle-circle {
  width: 44px; height: 44px; border-radius: 50%; background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2); display: flex;
  align-items: center; justify-content: center; font-size: 1.1rem;
  position: relative; z-index: 2; color: var(--accent); font-weight: 700;
}
.ba-side-label {
  position: absolute; top: 16px; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 12px;
  border-radius: 20px; background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px); color: var(--text-mid);
}
.ba-side-label.left { left: 16px; }
.ba-side-label.right { right: 16px; }

/* ── SERVICES ─────────────────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px; position: relative;
  transition: var(--transition); overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--blush), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px var(--shadow); border-color: rgba(59,154,225,0.35); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px; background: linear-gradient(135deg, var(--blush), var(--pink-pale));
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px; position: relative; z-index: 1;
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-3deg); }
.service-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin-bottom: 10px; position: relative; z-index: 1; color: var(--text); }
.service-card p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.7; position: relative; z-index: 1; }
.service-tag {
  position: absolute; top: 20px; right: 20px; background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: white; font-size: 0.68rem; font-weight: 700; padding: 4px 10px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em;
}
.service-price {
  margin-top: 16px; font-size: 0.82rem; font-weight: 600; color: var(--accent);
  position: relative; z-index: 1;
}

/* ── TESTIMONIALS ─────────────────────────────────────────────── */
.testimonial-track-wrap { overflow: hidden; position: relative; }
.testimonial-track { display: flex; gap: 24px; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.testimonial-card {
  min-width: 360px; background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; position: relative; flex-shrink: 0;
}
.testimonial-stars { color: #FFB800; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; line-height: 1.7; color: var(--text-mid); margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--pink-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; color: white;
  font-family: var(--font-display);
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.testimonial-treatment { font-size: 0.78rem; color: var(--text-dim); margin-top: 2px; }
.testimonial-controls { display: flex; gap: 10px; justify-content: center; margin-top: 32px; }
.t-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--white); cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 1rem; transition: var(--transition);
}
.t-btn:hover { background: var(--accent); border-color: var(--accent); color: white; }
.t-dots { display: flex; gap: 6px; align-items: center; }
.t-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); transition: all 0.3s; cursor: pointer; }
.t-dot.active { background: var(--accent); width: 20px; border-radius: 3px; }

/* ── GALLERY ──────────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--blush), var(--pink-pale));
  border: 1.5px solid var(--border); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); cursor: pointer;
}
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 20px 60px var(--shadow); z-index: 2; }
.gallery-item-inner { text-align: center; padding: 24px; }
.gallery-item-inner .emoji { font-size: 3.5rem; display: block; margin-bottom: 12px; }
.gallery-item-label {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
  background: linear-gradient(to top, rgba(10,26,42,0.65), transparent);
  color: white; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
}
.gallery-tag {
  position: absolute; top: 14px; left: 14px; background: var(--accent);
  color: white; font-size: 0.7rem; font-weight: 700; padding: 4px 10px;
  border-radius: 20px; text-transform: uppercase;
}
.gallery-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 22px; border-radius: 50px; font-size: 0.82rem; font-weight: 600;
  border: 1.5px solid var(--border); background: var(--white); color: var(--text-mid);
  cursor: pointer; transition: var(--transition); font-family: var(--font-body);
}
.filter-btn.active, .filter-btn:hover { background: var(--accent); border-color: var(--accent); color: white; }

/* ── ABOUT ─────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-image {
  border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--blush), var(--pink-pale));
  border: 1.5px solid var(--border); aspect-ratio: 1; display: flex;
  align-items: center; justify-content: center; font-size: 5rem;
  position: relative; overflow: hidden;
}
.about-badge {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 14px; padding: 16px;
}
.about-badge-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--accent); }
.about-badge-text { font-size: 0.78rem; color: var(--text-dim); margin-top: 2px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px var(--shadow); }
.team-photo {
  height: 140px; background: linear-gradient(135deg, var(--blush), var(--pink-pale));
  display: flex; align-items: center; justify-content: center; font-size: 4rem;
}
.team-info { padding: 18px; }
.team-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--text); }
.team-role { font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-top: 4px; }
.team-exp { font-size: 0.75rem; color: var(--text-dim); margin-top: 4px; }

/* ── CONTACT ──────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-mid); margin-bottom: 8px; letter-spacing: 0.02em; }
.form-control {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 12px; font-size: 0.92rem; font-family: var(--font-body);
  color: var(--text); background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none; -webkit-appearance: none;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59,154,225,0.1); }
.form-control::placeholder { color: #a0b8c8; }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { cursor: pointer; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.info-icon { font-size: 1.3rem; margin-top: 2px; }
.info-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); font-weight: 600; }
.info-value { font-size: 0.9rem; color: var(--text-mid); font-weight: 500; margin-top: 2px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--border); margin-top: 32px; }
.map-wrap iframe { width: 100%; height: 360px; border: none; display: block; }

/* ── CTA BANNER ──────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  padding: 80px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; color: white; margin-bottom: 14px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 36px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn-white { background: white; color: var(--accent); padding: 14px 28px; border-radius: 50px; font-size: 0.92rem; font-weight: 700; box-shadow: 0 6px 24px rgba(0,0,0,0.15); transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.btn-outline-white { background: transparent; color: white; padding: 14px 28px; border-radius: 50px; font-size: 0.92rem; font-weight: 600; border: 2px solid rgba(255,255,255,0.5); transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ── PAGE HEADER ─────────────────────────────────────────────── */
.page-header-new {
  padding: calc(var(--nav-h) + 60px) 48px 60px;
  background: linear-gradient(135deg, var(--white), var(--pink-bg));
  text-align: center; position: relative; overflow: hidden;
}
.page-header-new h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; line-height: 1.1; margin-bottom: 16px; color: var(--text); }
.page-header-new p { font-size: 1rem; color: var(--text-dim); }
.grad-text { font-style: italic; color: var(--accent); }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--text); color: rgba(255,255,255,0.7);
  padding: 60px 48px 0;
}
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 16px; color: rgba(255,255,255,0.5); }
.nav-logo-text-footer { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: white; line-height: 1.1; }
.nav-logo-text-footer span { display: block; font-size: 0.65rem; color: rgba(255,255,255,0.5); font-family: var(--font-body); font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: white; font-weight: 700; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--pink-light); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding: 24px 0; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ── REVEAL ANIMATIONS ───────────────────────────────────────── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* ── STATS GRID ───────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 28px; text-align: center; transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px var(--shadow); }
.stat-num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 600; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; }

/* ── VALUES / FEATURE GRID ───────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px var(--shadow); border-color: rgba(59,154,225,0.3); }
.feature-num {
  font-family: var(--font-display); font-size: 4rem; font-weight: 300;
  color: rgba(59,154,225,0.1); line-height: 1; position: absolute;
  right: 20px; top: 16px; user-select: none;
}
.feature-icon { font-size: 2rem; margin-bottom: 18px; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; margin-bottom: 10px; color: var(--text); }
.feature-card p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.7; }

/* ── LOADING ──────────────────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0; background: var(--white); z-index: 99999;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 24px;
}
.loader-logo { font-family: var(--font-display); font-size: 2rem; color: var(--accent); }
.loader-bar { width: 180px; height: 2px; background: var(--border); border-radius: 1px; overflow: hidden; }
.loader-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-deep)); width: 0; animation: loaderAnim 1.8s ease forwards; }
@keyframes loaderAnim { to { width: 100%; } }

/* ── FORM SUCCESS MESSAGE ────────────────────────────────────── */
.form-success {
  background: linear-gradient(135deg, #e8f8e8, #f0fff0);
  border: 1.5px solid #4caf50; border-radius: var(--radius);
  padding: 20px 24px; color: #2e7d32; font-weight: 500;
  display: none; margin-top: 16px; text-align: center;
}
.form-error { background: linear-gradient(135deg, #fce8e8, #fff0f0); border-color: #f44336; color: #c62828; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-3d { order: -1; }
  .hero-gif-wrap { max-width: 260px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 70px; }
  #navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .section-inner { padding: 0 24px; }
  .hero-inner { padding: 40px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero-gif-wrap { max-width: 220px; }
  .orbit-ring-1 { width: 280px; height: 280px; }
  .orbit-ring-2 { width: 360px; height: 360px; }
  .orbit-ring-3 { display: none; }
  .story-panel { padding: 80px 24px 80px; flex-direction: column; gap: 32px; }
  .story-number { display: none; }
  footer { padding: 40px 24px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner { padding: 60px 24px; }
  .page-header-new { padding: calc(var(--nav-h) + 40px) 24px 40px; }
  .testimonial-card { min-width: 300px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

/* Doctor profile image styling */
.doctor-photo-large {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, var(--blush), var(--pink-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.doctor-photo-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.doctor-photo-large:hover img {
  transform: scale(1.05);
}

/* Ensure the doctor profile layout works with images */
.doctor-profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  margin-bottom: 60px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.doctor-profile.reverse {
  direction: rtl;
}

.doctor-profile.reverse .doctor-info {
  direction: ltr;
}

.doctor-profile.reverse .doctor-photo-large img {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

@media (max-width: 768px) {
  .doctor-profile {
    grid-template-columns: 1fr;
  }
  
  .doctor-profile.reverse {
    direction: ltr;
  }
  
  .doctor-photo-large {
    min-height: 300px;
  }
  
  .doctor-photo-large img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  }
}