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

:root {
  --primary: #0a3d6b;
  --primary-light: #1565a8;
  --accent: #e8272b;
  --accent-light: #ff5f62;
  --gold: #c8962c;
  --text: #1a1a2e;
  --text-light: #5a6070;
  --bg: #f7f9fc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(10,61,107,0.10);
  --shadow-lg: 0 12px 48px rgba(10,61,107,0.18);
  --radius: 10px;
  --radius-lg: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 6px; font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: all .25s;
  border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #c2191d; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,39,43,0.3); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: #eaf1fb; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.badge-blue { background: #dbeafe; color: var(--primary); }
.badge-red { background: #fee2e2; color: var(--accent); }
.section-label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: var(--primary); line-height: 1.2; margin-bottom: 16px; }
.section-subtitle { font-size: 17px; color: var(--text-light); max-width: 600px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--primary); color: rgba(255,255,255,.85); font-size: 13px;
  padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 20px; align-items: center; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white); box-shadow: 0 2px 16px rgba(0,0,0,.07);
  position: sticky; top: 0; z-index: 1000;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; background: var(--primary);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.logo-mark span { color: var(--white); font-size: 22px; font-weight: 800; font-family: 'Playfair Display', serif; }
.logo-text .name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1; }
.logo-text .tagline { font-size: 11px; color: var(--text-light); letter-spacing: .06em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 500;
  color: var(--text); transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: #eaf1fb; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: all .3s; }

/* ===== HERO ===== */
.hero {
  min-height: 88vh; position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, #0d4f8a 60%, #1565a8 100%);
  display: flex; align-items: center; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1631217868264-e5b90bb7e133?w=1400&q=80') center/cover no-repeat;
  opacity: .12;
}
.hero-pattern {
  position: absolute; right: -100px; top: -80px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; color: var(--white); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 30px; padding: 6px 16px; font-size: 13px; margin-bottom: 24px; backdrop-filter: blur(10px); }
.hero-badge::before { content: '●'; color: #4ade80; font-size: 8px; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 64px); font-weight: 700; line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: #fbbf24; }
.hero p { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 36px; max-width: 520px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; }
.hero-stat .number { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: #fbbf24; }
.hero-stat .label { font-size: 13px; color: rgba(255,255,255,.7); }

/* ===== QUICK ACTIONS ===== */
.quick-actions {
  background: var(--white); padding: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  position: relative; z-index: 10; margin-top: -1px;
}
.qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.qa-item {
  padding: 28px 24px; display: flex; align-items: flex-start; gap: 16px;
  border-right: 1px solid var(--border); cursor: pointer; transition: all .25s;
}
.qa-item:last-child { border-right: none; }
.qa-item:hover { background: #f0f7ff; }
.qa-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 22px;
}
.qa-icon.blue { background: #dbeafe; }
.qa-icon.red { background: #fee2e2; }
.qa-icon.green { background: #dcfce7; }
.qa-icon.orange { background: #fef3c7; }
.qa-text .title { font-weight: 600; font-size: 15px; color: var(--primary); }
.qa-text .desc { font-size: 13px; color: var(--text-light); margin-top: 2px; }

/* ===== ABOUT STRIP ===== */
.about-strip { background: var(--bg); }
.about-strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap img { border-radius: var(--radius-lg); width: 100%; height: 480px; object-fit: cover; }
.about-badge-float {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--primary); color: var(--white); border-radius: var(--radius-lg);
  padding: 20px 24px; text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge-float .num { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; color: #fbbf24; }
.about-badge-float .txt { font-size: 13px; opacity: .8; }
.about-text .features { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; }
.feature-icon { width: 32px; height: 32px; background: #dbeafe; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }

/* ===== SPECIALTIES ===== */
.specialties { background: var(--white); }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.spec-card {
  background: var(--bg); border-radius: var(--radius-lg); padding: 28px 20px;
  text-align: center; cursor: pointer; transition: all .3s; border: 2px solid transparent;
  position: relative; overflow: hidden;
}
.spec-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary), var(--primary-light)); opacity: 0; transition: opacity .3s; }
.spec-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.spec-card:hover::before { opacity: 1; }
.spec-card:hover .spec-icon, .spec-card:hover .spec-title, .spec-card:hover .spec-desc { color: var(--white); }
.spec-card:hover .spec-icon-wrap { background: rgba(255,255,255,.15); }
.spec-icon-wrap { width: 64px; height: 64px; border-radius: 16px; background: #dbeafe; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; transition: all .3s; position: relative; z-index: 1; }
.spec-icon { font-size: 28px; transition: all .3s; }
.spec-title { font-weight: 700; font-size: 15px; color: var(--primary); margin-bottom: 6px; position: relative; z-index: 1; transition: all .3s; }
.spec-desc { font-size: 13px; color: var(--text-light); line-height: 1.5; position: relative; z-index: 1; transition: all .3s; }

/* ===== DOCTORS ===== */
.doctors { background: var(--bg); }
.doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.doctor-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: all .3s; }
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doctor-img { height: 240px; overflow: hidden; }
.doctor-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.doctor-card:hover .doctor-img img { transform: scale(1.06); }
.doctor-info { padding: 20px; }
.doctor-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.doctor-spec { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.doctor-exp { font-size: 13px; color: var(--text-light); }
.doctor-actions { padding: 0 20px 20px; display: flex; gap: 10px; }
.doctor-actions .btn { flex: 1; justify-content: center; padding: 10px 16px; font-size: 13px; }

/* ===== STATS BANNER ===== */
.stats-banner {
  background: linear-gradient(135deg, var(--primary), #0d5fa0);
  padding: 60px 0; color: var(--white);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-item .number { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; color: #fbbf24; line-height: 1; }
.stat-item .label { font-size: 15px; opacity: .8; margin-top: 8px; }

/* ===== FACILITIES ===== */
.facilities { background: var(--white); }
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.fac-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; cursor: pointer; }
.fac-card img { width: 100%; height: 260px; object-fit: cover; transition: transform .4s; }
.fac-card:hover img { transform: scale(1.06); }
.fac-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,61,107,.9));
  padding: 40px 24px 24px;
  color: var(--white);
}
.fac-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; }
.fac-desc { font-size: 13px; opacity: .8; margin-top: 4px; }

/* ===== APPOINTMENT ===== */
.appointment { background: var(--bg); }
.appt-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.appt-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 14px;
  color: var(--text); background: var(--bg); transition: border .2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); background: var(--white); }
.appt-info .point { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
.point-icon { width: 48px; height: 48px; background: var(--primary); color: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.point-text .t { font-weight: 700; font-size: 16px; color: var(--primary); }
.point-text .d { font-size: 14px; color: var(--text-light); margin-top: 3px; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--primary); color: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testi-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(10px); }
.testi-stars { color: #fbbf24; font-size: 16px; margin-bottom: 12px; }
.testi-text { font-size: 15px; line-height: 1.7; opacity: .9; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.3); }
.testi-name { font-weight: 700; font-size: 14px; }
.testi-detail { font-size: 12px; opacity: .6; }

/* ===== NEWS ===== */
.news { background: var(--bg); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.news-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: all .3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-img { height: 200px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 24px; }
.news-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.news-date { font-size: 12px; color: var(--text-light); }
.news-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.3; }
.news-excerpt { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.news-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 13px; margin-top: 14px; }

/* ===== ACCREDITATIONS ===== */
.accred { background: var(--white); padding: 40px 0; border-top: 1px solid var(--border); }
.accred-inner { display: flex; align-items: center; gap: 48px; justify-content: center; flex-wrap: wrap; }
.accred-item { display: flex; align-items: center; gap: 10px; }
.accred-icon { width: 50px; height: 50px; }
.accred-text .t { font-weight: 700; font-size: 14px; color: var(--primary); }
.accred-text .d { font-size: 12px; color: var(--text-light); }

/* ===== FOOTER ===== */
footer { background: #07243f; color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo .name { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--white); }
.footer-logo .tagline { font-size: 12px; opacity: .6; margin-top: 4px; }
.footer-about { font-size: 14px; line-height: 1.7; margin-top: 16px; opacity: .7; }
.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; }
.footer-heading { font-weight: 700; font-size: 14px; color: var(--white); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all .2s; }
.social-btn:hover { background: var(--accent); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }

/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(135deg, var(--primary), #0d4f8a);
  padding: 80px 0; color: var(--white); position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1516549655169-df83a0774514?w=1200&q=80') center/cover;
  opacity: .1;
}
.page-banner-inner { position: relative; z-index: 1; }
.page-banner h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 4vw, 52px); font-weight: 700; margin-bottom: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; opacity: .7; }
.breadcrumb a:hover { opacity: 1; color: #fbbf24; }

/* ===== MOBILE MENU ===== */
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 9999; }
.mobile-menu-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.mobile-menu-panel {
  position: absolute; left: 0; top: 0; bottom: 0; width: 300px;
  background: var(--white); padding: 24px; overflow-y: auto;
  transform: translateX(-100%); transition: transform .3s;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu.open { display: block; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; }
.mobile-nav-links a { display: block; padding: 12px 16px; border-radius: 8px; font-weight: 500; color: var(--text); }
.mobile-nav-links a:hover { background: #eaf1fb; color: var(--primary); }
.close-menu { cursor: pointer; font-size: 20px; float: right; }

/* ===== CARD ===== */
.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }

/* ===== EMERGENCY STRIP ===== */
.emergency-strip { background: var(--accent); color: var(--white); text-align: center; padding: 10px; font-size: 14px; font-weight: 600; }
.emergency-strip a { color: #fff; text-decoration: underline; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px;
  background: var(--primary); color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .3s;
  font-size: 18px; z-index: 999;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }

/* ===== WHATSAPP ===== */
.wa-btn {
  position: fixed; bottom: 80px; right: 28px; width: 50px; height: 50px;
  background: #25D366; color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  box-shadow: 0 4px 16px rgba(37,211,102,.4); cursor: pointer; z-index: 999; transition: transform .3s;
}
.wa-btn:hover { transform: scale(1.12); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4, .spec-grid, .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qa-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .appt-inner, .about-strip-inner { grid-template-columns: 1fr; }
  .grid-3, .fac-grid, .testi-grid, .news-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta, .topbar { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-badge-float { right: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===== LOGO IMAGE OVERRIDES ===== */
.logo-img-wrap { display: flex; align-items: center; }
.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.10));
  transition: transform .2s;
}
.logo-img:hover { transform: scale(1.04); }

/* Navbar scroll: keep logo visible on white bg */
.navbar.scrolled .logo-img { filter: none; }

/* Footer logo */
.footer-logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  display: block;
  background: white;
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* favicon override already in HTML, skip */
