@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #2E7D32;
  --primary-dark: #1B5E20;
  --primary-light: #4CAF50;
  --secondary: #E8F5E9;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --bg: #f9fafb;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Outfit', sans-serif;
}

/* ── TOP BAR ── */
.top-bar {
  background: var(--primary-dark);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.top-bar a { transition: opacity .2s; }
.top-bar a:hover { opacity: .8; }

/* ── NAVBAR ── */
#mainNav {
  background: #fff !important;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s, top .3s;
  top: 0;
  z-index: 1040;
}
#mainNav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.navbar-brand .brand-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--text); line-height: 1.1; }
.navbar-brand .brand-tag { font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; color: var(--primary); }
.nav-link { font-weight: 500; color: var(--text) !important; padding: .5rem .75rem !important; transition: color .2s; font-size: 14px; }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.btn-book { background: var(--primary); color: #fff; border-radius: 50px; padding: .5rem 1.25rem; font-weight: 700; font-size: 14px; border: none; transition: all .25s; }
.btn-book:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.navbar-toggler { border: 1.5px solid var(--border); }

/* ── BUTTONS ── */
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: .9rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .3s;
  text-decoration: none;
}
.btn-primary-custom:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,125,50,.3); }

.btn-outline-custom {
  background: #fff;
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: .9rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .3s;
  text-decoration: none;
}
.btn-outline-custom:hover { border-color: var(--primary); color: var(--primary); background: var(--secondary); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: .9rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .3s;
  text-decoration: none;
}
.btn-whatsapp:hover { background: #1ebe5c; color: #fff; transform: translateY(-2px); }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .5;
}

/* ── HERO (HOME) ── */
.home-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  
}
.hero-img-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay-desktop {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(46,125,50,.75), rgba(46,125,50,.35), var(--bg));
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,125,50,.1);
  border: 1px solid rgba(46,125,50,.2);
  color: var(--primary);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: 13px;
  font-weight: 700;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .35rem .75rem;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* ── STATS BAR ── */
.stats-bar { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-item { text-align: center; padding: 2rem 1rem; }
.stat-number { font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-top: .5rem; }
@media(min-width:768px){
  .stat-item:not(:last-child){ border-right: 1px solid var(--border); }
}

/* ── SECTION HEADING ── */
.section-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); }
.section-rule { display: inline-flex; align-items: center; gap: 1rem; }
.section-rule::before, .section-rule::after { content:''; display:block; width:48px; height:2px; background:var(--primary); border-radius:2px; }

/* ── CARDS ── */
.card-hover {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  height: 100%;
}
.card-hover:hover { box-shadow: 0 20px 48px rgba(0,0,0,.10); transform: translateY(-4px); border-color: var(--primary); }

.icon-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform .3s;
}
.card-hover:hover .icon-circle { transform: scale(1.1); }

.icon-square {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(46,125,50,.25);
}

/* ── TREATMENT CARDS ── */
.treatment-card { padding: 2rem; border-radius: 20px; }
.treatment-card .tc-icon { width: 56px; height: 56px; background: rgba(46,125,50,.1); color: var(--primary); border-radius: 14px; display:flex;align-items:center;justify-content:center;font-size:1.4rem;margin-bottom:1.2rem; }

/* ── WHY CHOOSE ── */
.why-card { background:#fff; border-radius:20px; padding:2rem; height:100%; box-shadow:0 2px 12px rgba(0,0,0,.05); transition:box-shadow .3s,transform .3s; }
.why-card:hover { box-shadow:0 16px 40px rgba(0,0,0,.10); transform:translateY(-4px); }

/* ── DOCTOR CARDS ── */
.doctor-photo {
  border-radius: 20px;
  object-fit: cover;
  object-position: top;
  border: 6px solid var(--secondary);
  box-shadow: 0 20px 48px rgba(0,0,0,.15);
}
.doctor-tag { background: #fff; color: var(--primary); border-radius: 50px; padding: .3rem .85rem; font-size: 12px; font-weight: 700; display:inline-flex;align-items:center;gap:5px; }

/* ── TESTIMONIAL CARDS ── */
.testi-card { background:#fff; border:1px solid var(--border); border-radius:20px; padding:2rem; height:100%; position:relative; overflow:hidden; transition:box-shadow .3s; }
.testi-card:hover { box-shadow:0 16px 40px rgba(0,0,0,.10); }
.testi-card .quote-bg { position:absolute;top:12px;right:16px;font-size:5rem;color:rgba(46,125,50,.05);line-height:1; font-family:'Outfit',sans-serif;font-weight:900; }
.testi-avatar { width:52px;height:52px;border-radius:50%;background:var(--secondary);color:var(--primary);font-weight:800;font-size:1.25rem;display:flex;align-items:center;justify-content:center;font-family:'Outfit',sans-serif;border:2px solid var(--primary);flex-shrink:0; }
.stars .bi-star-fill { color:#FBBF24; }

/* ── AWARENESS ── */
.awareness-card { border-radius:16px; overflow:hidden; border:1px solid var(--border); background:#fff; transition:box-shadow .3s,transform .3s; }
.awareness-card:hover { box-shadow:0 16px 40px rgba(0,0,0,.12); transform:translateY(-4px); }
.awareness-card img { width:100%;height:auto;object-fit:contain;transition:transform .4s; }
.awareness-card:hover img { transform:scale(1.04); }
.awareness-card .card-body { padding:.9rem 1rem; border-top:1px solid var(--border); }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content:'';
  position:absolute;
  inset:0;
  background-image: radial-gradient(circle, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size:28px 28px;
}
.cta-card { background:#fff; border-radius:20px; padding:1.5rem; display:flex;align-items:center;gap:1rem; transition:transform .25s; }
.cta-card:hover { transform:scale(1.03); }
.cta-icon-wrap { width:48px;height:48px;border-radius:50%;background:var(--secondary);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0; }

/* ── CONTACT ── */
.contact-info-card { background: rgba(46,125,50,.06); border: 1px solid rgba(46,125,50,.12); border-radius:16px; padding:1.25rem 1.25rem; }
.emergency-card { background:#FEF2F2; border:1px solid #FECACA; border-radius:16px; padding:1.25rem; }

/* ── ABOUT STATS ── */
.about-stat-card { background:#fff; border-radius:16px; padding:1.5rem;text-align:center; box-shadow:0 4px 16px rgba(0,0,0,.08); }
.about-stat-card .val { font-family:'Outfit',sans-serif;font-size:2.2rem;font-weight:800;color:var(--primary);line-height:1; }

/* ── MISSION / VISION ── */
.mv-card { border:1px solid rgba(255,255,255,.12); border-radius:20px; padding:2.5rem; background:rgba(255,255,255,.06); transition:background .3s; }
.mv-card:hover { background:rgba(255,255,255,.12); }

/* ── ADVANTAGE CARD ── */
.adv-card { background:#fff;border:1px solid var(--border);border-radius:16px;padding:2rem;height:100%;transition:box-shadow .3s,transform .3s; }
.adv-card:hover { box-shadow:0 16px 40px rgba(0,0,0,.09);transform:translateY(-3px); }
.adv-icon { width:52px;height:52px;border-radius:50%;background:rgba(46,125,50,.1);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:1.3rem;margin-bottom:1rem; }

/* ── FORM ── */
.form-card { background:#fff;border:1px solid var(--border);border-radius:24px;padding:2.5rem;box-shadow:0 20px 60px rgba(0,0,0,.08);border-left:4px solid var(--primary); }
.form-label { font-weight: 600; font-size: 14px; margin-bottom:.4rem; }
.form-control, .form-select { border:1px solid var(--border);border-radius:10px;padding:.75rem 1rem;font-size:15px;background:#f9fafb;transition:border-color .2s,box-shadow .2s; }
.form-control:focus, .form-select:focus { border-color:var(--primary);box-shadow:0 0 0 3px rgba(46,125,50,.12);background:#fff;outline:none; }
.form-control.is-invalid, .form-control:invalid:not(:placeholder-shown) { border-color: #dc3545; }
.form-error { color:#dc3545;font-size:12px;margin-top:.25rem; }

/* ── FOOTER ── */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
}
footer h5, footer h6 { font-family:'Outfit',sans-serif; font-weight:700; color:#fff; }
footer a { color:rgba(255,255,255,.75);text-decoration:none;transition:color .2s; }
footer a:hover { color:#fff; }
footer .footer-bottom { border-top:1px solid rgba(255,255,255,.12); }
.footer-logo-name { font-family:'Outfit',sans-serif;font-weight:800;font-size:1.15rem; }
.social-icon { width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.1);display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:.95rem;transition:background .2s; }
.social-icon:hover { background:var(--primary-light);color:#fff; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  z-index: 9999;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.whatsapp-float:hover { transform:scale(1.1);box-shadow:0 10px 32px rgba(37,211,102,.5);color:#fff; }

/* ── RECOGNITION BANNER ── */
.recognition-banner { background: var(--primary); }
.rec-stat { padding: .5rem 1.5rem; text-align:center; }
.rec-stat-val { font-family:'Outfit',sans-serif;font-size:2rem;font-weight:800;color:#fff;line-height:1; }
.rec-stat-lbl { font-size:12px;color:rgba(255,255,255,.7);text-transform:uppercase;letter-spacing:1px;margin-top:.3rem; }

/* ── MAP ── */
.map-wrap { border-radius:16px; overflow:hidden; border:1px solid var(--border); height:260px; }
.map-wrap iframe { width:100%;height:100%;border:0; }

/* ── FAQ ── */
.expertise-card { background:#fff;border:1px solid var(--border);border-radius:16px;padding:2rem;height:100%;transition:box-shadow .3s,transform .3s; }
.expertise-card:hover { box-shadow:0 14px 36px rgba(0,0,0,.09);transform:translateY(-3px); }

/* ── UTILITY ── */
.text-primary-custom { color: var(--primary) !important; }
.bg-secondary-custom { background: var(--secondary) !important; }
.rounded-xl { border-radius: 16px !important; }
.rounded-2xl { border-radius: 20px !important; }
.rounded-3xl { border-radius: 24px !important; }
.shadow-sm-custom { box-shadow: 0 2px 8px rgba(0,0,0,.06) !important; }

/* ── RESPONSIVE ── */
@media (max-width:991px) {
  .hero-img-wrap { display:none; }
  .home-hero { background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
  .hero-overlay-desktop { display:none; }
}
@media (max-width:767px) {
  .stat-number { font-size: 2.5rem; }
  .stat-item { padding: 1.25rem .5rem; border-right: none !important; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom:none; }
  h1.display-3 { font-size: 2.4rem; }
  .home-hero { padding-top: 90px; padding-bottom: 3rem; min-height: auto; }
}
