/* ============================================================
   THE FAMILY DENTAL CARE — Main Stylesheet
   ============================================================ */

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --primary: #2A9D8F;
  --primary-dark: #1f7d71;
  --primary-light: #e0f4f1;
  --accent: #E9C46A;
  --blue-soft: #EAF6FF;
  --blue-mid: #B8E0F7;
  --text-dark: #1a2e3b;
  --text-mid: #4a6070;
  --text-light: #7a90a0;
  --white: #ffffff;
  --bg-light: #f8fbfd;
  --border: #e2ecf2;
  --shadow-sm: 0 2px 12px rgba(42,157,143,0.08);
  --shadow-md: 0 8px 32px rgba(42,157,143,0.14);
  --shadow-lg: 0 20px 60px rgba(26,46,59,0.12);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }

/* ─── Typography ────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-heading); line-height: 1.2; color: var(--text-dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-mid); line-height: 1.75; }

/* ─── Utility ───────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.text-center { text-align: center; }
.flex { display: flex; }
.grid { display: grid; }
.tag {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--primary); background: var(--primary-light);
  padding: 5px 14px; border-radius: 50px; margin-bottom: 14px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-size: 0.95rem; font-weight: 600;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(42,157,143,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(42,157,143,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

/* ─── Section Headers ───────────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; max-width: 560px; }
.section-header.text-center p { margin: 0 auto; }
.divider {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--blue-mid));
  border-radius: 2px; margin: 16px 0 18px;
}
.text-center .divider { margin: 16px auto 18px; }

/* ─── NAVBAR ────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 16px 0; transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(26,46,59,0.09);
  padding: 10px 0;
}
#navbar .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700;
  color: var(--white); transition: var(--transition);
}
#navbar.scrolled .nav-logo { color: var(--text-dark); }
.nav-logo .logo-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(42,157,143,0.4);
}
.nav-logo span { font-size: 0.75rem; display: block; font-weight: 400; opacity: 0.7; font-family: var(--font-body); }
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 0.92rem; font-weight: 500;
  color: rgba(255,255,255,0.9);
  position: relative; transition: var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: var(--transition); border-radius: 1px;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
#navbar.scrolled .nav-links a { color: var(--text-mid); }
#navbar.scrolled .nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--white) !important;
  color: var(--primary) !important;
  padding: 10px 22px; border-radius: 50px; font-size: 0.88rem !important;
  font-weight: 600 !important; transition: var(--transition) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.nav-cta:hover { background: var(--primary) !important; color: var(--white) !important; transform: translateY(-1px); }
#navbar.scrolled .nav-cta { background: var(--primary) !important; color: var(--white) !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--transition);
}
#navbar.scrolled .nav-toggle span { background: var(--text-dark); }

/* ─── HERO ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d2b3e 0%, #1a4a5e 45%, #1f6b5c 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; padding-top: 80px;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1609840114035-3c981b782dfe?w=1600&q=80') center/cover no-repeat;
  opacity: 0.18;
}
.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.hero-shapes span {
  position: absolute; border-radius: 50%;
  background: rgba(42,157,143,0.12);
}
.hero-shapes span:nth-child(1) { width: 400px; height: 400px; top: -100px; right: -80px; }
.hero-shapes span:nth-child(2) { width: 250px; height: 250px; bottom: 60px; left: -60px; background: rgba(184,224,247,0.12); }
.hero-shapes span:nth-child(3) { width: 180px; height: 180px; top: 40%; right: 30%; background: rgba(233,196,106,0.08); }

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; width: 100%;
}
.hero-content { position: relative; z-index: 2; }
.hero-content .tag { background: rgba(42,157,143,0.2); color: #7eebdc; }
.hero-content h1 { color: var(--white); margin-bottom: 14px; }
.hero-content h1 em { font-style: normal; color: #7eebdc; }
.hero-content .hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,0.75);
  margin-bottom: 10px; font-weight: 400;
}
.hero-content p { color: rgba(255,255,255,0.65); font-size: 1rem; margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 52px; flex-wrap: wrap;
}
.hero-stat { }
.hero-stat strong { display: block; font-size: 1.8rem; color: var(--white); font-family: var(--font-heading); font-weight: 700; }
.hero-stat span { font-size: 0.82rem; color: rgba(255,255,255,0.6); font-weight: 500; }

.hero-visual { position: relative; z-index: 2; }
.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-img-wrap img { width: 100%; height: 520px; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-radius: var(--radius); padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
}
.hero-badge-icon { font-size: 1.5rem; }
.hero-badge strong { display: block; font-size: 0.88rem; color: var(--text-dark); font-weight: 600; }
.hero-badge span { font-size: 0.75rem; color: var(--text-light); }

/* ─── HIGHLIGHTS ────────────────────────────────────────────── */
#highlights {
  background: var(--white);
  padding: 50px 0;
  box-shadow: var(--shadow-sm);
  position: relative; z-index: 5;
}
.highlights-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
}
.highlight-item {
  display: flex; align-items: center; gap: 16px;
  padding: 28px 24px; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.highlight-item:hover { background: var(--primary-light); }
.hi-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-light), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.hi-text strong { display: block; font-size: 0.95rem; color: var(--text-dark); font-weight: 600; margin-bottom: 2px; }
.hi-text span { font-size: 0.8rem; color: var(--text-light); }

/* ─── ABOUT PREVIEW ─────────────────────────────────────────── */
#about-preview { background: var(--bg-light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img-col { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 500px; object-fit: cover; }
.about-img-float {
  position: absolute; bottom: -28px; right: -28px; width: 200px;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.about-img-float img { width: 100%; height: 150px; object-fit: cover; }
.exp-badge {
  position: absolute; top: 28px; left: -20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); border-radius: var(--radius); padding: 16px 20px;
  text-align: center; box-shadow: var(--shadow-md);
}
.exp-badge strong { display: block; font-size: 1.8rem; font-weight: 700; font-family: var(--font-heading); }
.exp-badge span { font-size: 0.72rem; font-weight: 500; opacity: 0.85; }

.about-text h2 { margin-bottom: 14px; }
.about-text p { margin-bottom: 20px; font-size: 1.0rem; }
.about-checks { margin: 28px 0; display: flex; flex-direction: column; gap: 12px; }
.about-check {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.93rem; font-weight: 500; color: var(--text-dark);
}
.about-check i { color: var(--primary); font-size: 1rem; }

/* ─── SERVICES ──────────────────────────────────────────────── */
#services { background: var(--white); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 28px; border: 1.5px solid var(--border);
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary-light), transparent);
  opacity: 0; transition: var(--transition);
}
.service-card:hover { border-color: var(--primary); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card:hover::before { opacity: 1; }
.service-card:hover .sc-icon { background: var(--primary); color: var(--white); }
.sc-icon {
  width: 60px; height: 60px; border-radius: var(--radius-sm);
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px; transition: var(--transition); position: relative;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { font-size: 0.9rem; line-height: 1.6; }

/* ─── TESTIMONIALS ──────────────────────────────────────────── */
#testimonials { background: var(--bg-light); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: var(--transition); border: 1.5px solid var(--border);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 0.92rem; font-style: italic; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 0.95rem; flex-shrink: 0;
}
.author-info strong { display: block; font-size: 0.88rem; color: var(--text-dark); }
.author-info span { font-size: 0.78rem; color: var(--text-light); }

/* ─── CTA SECTION ───────────────────────────────────────────── */
#cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
#cta-section::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='10'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
#cta-section .container { position: relative; z-index: 2; }
#cta-section h2 { color: var(--white); margin-bottom: 14px; }
#cta-section p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
  background: #0d2b3e;
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
  padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.83rem; margin-bottom: 12px; color: rgba(255,255,255,0.65);
}
.footer-contact-item i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.timing-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(42,157,143,0.2); color: #7eebdc;
  font-size: 0.8rem; font-weight: 600; padding: 6px 14px;
  border-radius: 50px; margin-top: 8px;
}
.footer-bottom {
  text-align: center; padding: 20px 0;
  font-size: 0.8rem; color: rgba(255,255,255,0.35);
}

/* ─── FLOATING BUTTONS ──────────────────────────────────────── */
.float-actions {
  position: fixed; bottom: 28px; right: 28px;
  display: flex; flex-direction: column; gap: 12px; z-index: 900;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: var(--shadow-md); transition: var(--transition);
  cursor: pointer; text-decoration: none;
}
.float-whatsapp { background: #25D366; color: var(--white); }
.float-whatsapp:hover { transform: scale(1.12); box-shadow: 0 8px 28px rgba(37,211,102,0.45); }
.float-book {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); font-size: 0.78rem; font-weight: 700;
  width: auto; height: auto; border-radius: 50px; padding: 12px 20px;
  gap: 6px; display: flex; align-items: center;
}
.float-book:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(42,157,143,0.45); }

/* ─── PAGE HERO (inner pages) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0d2b3e 0%, #1a4a5e 50%, #1f6b5c 100%);
  padding: 140px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1629909615957-be38d48fbbe4?w=1600&q=80') center/cover;
  opacity: 0.12;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 580px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ─── FORM STYLES ───────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); font-size: 0.93rem;
  color: var(--text-dark); background: var(--white);
  transition: var(--transition); outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(42,157,143,0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-light); }

/* ─── CARDS / PANELS ────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1.5px solid var(--border); padding: 32px 28px;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }

/* ─── WHY CHOOSE US ─────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 28px; text-align: center;
  border: 1.5px solid var(--border); transition: var(--transition);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.why-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 20px;
}
.why-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.why-card p { font-size: 0.88rem; }

/* ─── DOCTOR CARDS ──────────────────────────────────────────── */
.doctors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.doctor-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1.5px solid var(--border);
  transition: var(--transition);
}
.doctor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.doctor-img {
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), var(--blue-mid));
  display: flex; align-items: center; justify-content: center; position: relative;
  height: 320px;
  max-height: 420px;
}
.doctor-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block;
}
.doctor-img .doc-placeholder {
  font-size: 5rem; color: var(--primary); opacity: 0.5;
}
.doctor-info { padding: 28px; }
.doctor-info h3 { font-size: 1.3rem; margin-bottom: 4px; }
.doctor-info .doc-title { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 14px; }
.doctor-info p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 16px; }
.doc-quals { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-qual-tag {
  font-size: 0.75rem; font-weight: 600; color: var(--primary);
  background: var(--primary-light); padding: 4px 12px; border-radius: 50px;
}

/* ─── STEPS (How It Works) ──────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 28px; border: 1.5px solid var(--border);
  position: relative; transition: var(--transition); text-align: center;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.step-number {
  position: absolute; top: -14px; left: 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; box-shadow: 0 4px 12px rgba(42,157,143,0.35);
}
.step-icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin: 0 auto 20px;
}
.step-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.step-card p { font-size: 0.88rem; }

/* ─── BOOKING PAGE ──────────────────────────────────────────── */
.booking-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.booking-info-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg); padding: 40px 32px; color: var(--white); position: sticky; top: 110px;
}
.booking-info-card h3 { color: var(--white); margin-bottom: 8px; font-size: 1.4rem; }
.booking-info-card > p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 30px; }
.binfo-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.binfo-item i { font-size: 1rem; margin-top: 3px; opacity: 0.85; }
.binfo-item strong { display: block; font-size: 0.85rem; margin-bottom: 2px; }
.binfo-item span { font-size: 0.8rem; opacity: 0.7; }
.booking-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 44px 40px; box-shadow: var(--shadow-md); border: 1.5px solid var(--border); }
.booking-form-card h3 { margin-bottom: 6px; }
.booking-form-card > p { font-size: 0.9rem; margin-bottom: 28px; }

.time-slots-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px;
}
.time-slot {
  padding: 9px 4px; text-align: center; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); font-size: 0.78rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); color: var(--text-dark);
  background: var(--white);
}
.time-slot:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.time-slot.selected { border-color: var(--primary); background: var(--primary); color: var(--white); }
.time-slot.unavailable { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

.confirmation-box {
  display: none; background: linear-gradient(135deg, var(--primary-light), #e0f8f4);
  border: 1.5px solid var(--primary); border-radius: var(--radius-lg);
  padding: 40px; text-align: center; margin-top: 20px;
}
.confirmation-box.show { display: block; animation: fadeInUp 0.5s ease; }
.conf-icon { font-size: 3rem; margin-bottom: 16px; }
.confirmation-box h3 { color: var(--primary); margin-bottom: 10px; }
.confirmation-box p { font-size: 0.92rem; }

/* ─── CONTACT PAGE ──────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 52px; align-items: start; }
.contact-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 44px 40px; box-shadow: var(--shadow-md); border: 1.5px solid var(--border); }
.contact-info-col { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); border: 1.5px solid var(--border);
}
.contact-info-card h4 { margin-bottom: 16px; font-family: var(--font-body); }
.cinfo-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 0.88rem; }
.cinfo-row:last-child { margin-bottom: 0; }
.cinfo-row i { color: var(--primary); width: 18px; flex-shrink: 0; margin-top: 2px; }
.cinfo-row a { color: var(--text-mid); transition: var(--transition); }
.cinfo-row a:hover { color: var(--primary); }
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1.5px solid var(--border); }
.map-container iframe { display: block; width: 100%; height: 300px; border: none; }
.timings-card { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: var(--radius); padding: 24px; color: var(--white); }
.timings-card h4 { color: var(--white); font-family: var(--font-body); margin-bottom: 12px; }
.timing-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.timing-row:last-child { border-bottom: none; }
.timing-row .day { color: rgba(255,255,255,0.75); }
.timing-row .time { color: var(--white); font-weight: 600; }

/* ─── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.animate-fadeup { animation: fadeInUp 0.7s ease both; }
.animate-fadeup-delay { animation: fadeInUp 0.7s ease 0.15s both; }
.animate-fadeup-delay2 { animation: fadeInUp 0.7s ease 0.3s both; }
.float-anim { animation: float 4s ease-in-out infinite; }

[data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ─── MOBILE MENU ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 280px;
    background: var(--white); flex-direction: column; justify-content: center;
    gap: 26px; padding: 60px 40px; z-index: 999;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15); transition: right 0.35s ease;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--text-dark) !important; font-size: 1rem; }
  .nav-cta { background: var(--primary) !important; color: var(--white) !important; text-align: center; }
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-col { max-width: 500px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-info-card { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .doctor-img { height: 300px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section-pad { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .time-slots-grid { grid-template-columns: repeat(3, 1fr); }
  .booking-form-card { padding: 28px 20px; }
  .contact-form-card { padding: 28px 20px; }
  .hero-stats { gap: 20px; }
  .about-img-float { display: none; }
  .exp-badge { left: 0; }
  .float-book { display: none; }
  .doctor-img { height: 220px; }
}
