*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #1E293B;
  line-height: 1.7;
  overflow-x: hidden;
  background: #F8FAFC;
}
:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #3B82F6;
  --blue-bg: #EFF6FF;
  --green: #10B981;
  --green-dark: #059669;
  --green-light: #34D399;
  --green-bg: #ECFDF5;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --dark: #0F172A;
  --shadow: 0 4px 20px rgba(37,99,235,0.08);
  --shadow-lg: 0 12px 48px rgba(37,99,235,0.12);
  --shadow-green: 0 4px 20px rgba(16,185,129,0.15);
  --radius: 16px;
  --radius-lg: 24px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-50); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--blue), var(--green)); border-radius: 10px; }
::selection { background: var(--blue); color: white; }

/* Progress */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--blue-light));
  background-size: 200% 100%;
  animation: progMove 2s linear infinite;
  width: 0; transition: width 0.1s;
}
@keyframes progMove {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
}
header.scrolled { padding: 10px 0; border-bottom-color: rgba(37,99,235,0.1); box-shadow: 0 4px 30px rgba(37,99,235,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900; color: white;
  box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  margin-left: 2px;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(2); }
}
nav { display: flex; align-items: center; gap: 28px; }
nav a {
  text-decoration: none; color: var(--gray-600);
  font-weight: 600; font-size: 14px;
  transition: all 0.3s;
  position: relative;
}
nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.3s;
  border-radius: 2px;
}
nav a:hover { color: var(--blue); }
nav a:hover::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--green)) !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.35); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 26px; height: 3px; background: var(--blue); border-radius: 3px; transition: all 0.3s; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed; top: 74px; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  flex-direction: column; gap: 16px;
  z-index: 999;
  border-top: 1px solid var(--gray-200);
  opacity: 0; transform: translateY(-10px);
  transition: all 0.3s;
}
.mobile-menu.open { display: flex; opacity: 1; transform: translateY(0); }
.mobile-menu a { text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); transition: all 0.3s; color: var(--gray-700); }
.mobile-menu a:hover { color: var(--blue); padding-left: 8px; }
.mobile-menu .nav-cta { background: linear-gradient(135deg, var(--blue), var(--green)) !important; color: white !important; text-align: center; border-bottom: none; margin-top: 8px; border-radius: 50px; padding: 14px; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.75), rgba(37,99,235,0.35), rgba(16,185,129,0.2));
}
.hero-overlay { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 720px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  color: white; padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.15);
  animation: fadeUp 0.8s ease;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 58px; font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  color: white;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero h1 .line1 { display: block; }
.hero h1 .line2 span { color: var(--green-light); }
.hero p {
  font-size: 18px; color: rgba(255,255,255,0.85);
  margin: 0 0 36px; max-width: 560px;
  animation: fadeUp 0.8s ease 0.2s both;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 0.8s ease 0.3s both; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: white;
  box-shadow: 0 8px 32px rgba(37,99,235,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37,99,235,0.4); }
.btn-outline {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { background: white; color: var(--blue); border-color: white; transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; padding: 18px 32px; font-size: 16px; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 48px;
  animation: fadeUp 0.8s ease 0.4s both;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 36px; font-weight: 900; color: white;
  font-family: 'Playfair Display', serif;
}
.hero-stat .suffix { font-size: 20px; font-weight: 700; color: var(--green-light); margin-left: 2px; }
.hero-stat .lbl { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stats Bar */
.stats-bar {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  position: relative;
  margin-top: -2px;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item { color: white; }
.stat-icon { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255,255,255,0.15); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.stat-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stat-item .stat-num {
  font-size: 40px; font-weight: 900;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}
.stat-plus { font-size: 24px; font-weight: 700; color: var(--green-light); margin-left: 2px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* Sections */
section { padding: 100px 0; }
.section-tag {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px; font-weight: 700;
  margin-bottom: 16px; line-height: 1.25;
}
.section-sub {
  font-size: 17px; color: var(--gray-500);
  max-width: 620px; margin-bottom: 48px; line-height: 1.8;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* About */
#about { background: white; }
#about .section-tag { background: var(--blue-bg); color: var(--blue); }
#about .section-title { color: var(--dark); }
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-image img { width: 100%; display: block; border-radius: var(--radius-lg); transition: transform 0.8s; }
.about-image:hover img { transform: scale(1.03); }
.about-exp {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  padding: 20px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-exp .exp-num { font-size: 36px; font-weight: 900; color: var(--blue); font-family: 'Playfair Display', serif; }
.about-exp .exp-plus { font-size: 20px; font-weight: 700; color: var(--green); }
.about-exp .exp-lbl { display: block; font-size: 13px; color: var(--gray-500); margin-top: 2px; }
.about-text p { font-size: 16px; color: var(--gray-500); line-height: 1.9; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 32px; }
.about-feat { font-size: 14px; font-weight: 600; color: var(--gray-700); display: flex; align-items: center; gap: 10px; }
.about-feat span { color: var(--green); font-weight: 900; font-size: 18px; }

/* Services */
#services { background: var(--gray-50); }
#services .section-tag { background: var(--green-bg); color: var(--green); }
#services .section-title { color: var(--dark); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: white; border-radius: var(--radius-lg); padding: 36px 28px;
  box-shadow: var(--shadow); transition: all 0.4s;
  border: 1px solid var(--gray-100);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .icon { width: 80px; height: 80px; margin-bottom: 16px; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(37,99,235,0.12); border: 2px solid var(--gray-100); }
.service-card .icon img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.service-card:hover .icon img { transform: scale(1.1); }
.service-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; color: var(--dark); }
.service-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin-bottom: 16px; }
.service-link { font-size: 14px; font-weight: 700; color: var(--blue); text-decoration: none; transition: all 0.3s; }
.service-link:hover { color: var(--green); gap: 4px; }

/* Doctors */
#doctors { background: white; }
#doctors .section-tag { background: var(--blue-bg); color: var(--blue); }
#doctors .section-title { color: var(--dark); }
.doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.doctor-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.4s;
  border: 1px solid var(--gray-100);
}
.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.doctor-card .img-wrap {
  width: 100%; height: 260px; overflow: hidden;
  background: var(--gray-100);
}
.doctor-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.doctor-card:hover .img-wrap img { transform: scale(1.08); }
.doctor-card .body { padding: 20px 24px 28px; }
.doctor-card .body h3 { font-size: 18px; font-weight: 800; color: var(--dark); }
.specialty { font-size: 13px; font-weight: 700; color: var(--blue); display: block; margin: 4px 0 8px; }
.doctor-card .body p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }
.doc-info { font-size: 13px; color: var(--gray-400); margin-top: 12px; }
.doc-info span { color: #F59E0B; }
.doc-info .sep { color: var(--gray-200); margin: 0 6px; }

/* Testimonials */
#testimonials { background: var(--gray-50); }
#testimonials .section-tag { background: var(--green-bg); color: var(--green); }
#testimonials .section-title { color: var(--dark); }
.testimonials-wrap { max-width: 800px; margin: 0 auto; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
  min-width: 100%; padding: 4px;
  background: white; border-radius: var(--radius-lg); padding: 40px 36px;
  box-shadow: var(--shadow);
}
.stars { font-size: 20px; color: #F59E0B; margin-bottom: 16px; letter-spacing: 4px; }
.testimonial-card p { font-size: 16px; color: var(--gray-600); line-height: 1.8; font-style: italic; margin-bottom: 24px; }
.patient { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid var(--gray-200);
}
.patient .name { font-size: 16px; font-weight: 700; color: var(--dark); }
.patient .condition { font-size: 13px; color: var(--gray-500); }
.testimonials-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 28px; }
.test-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--blue); background: white;
  color: var(--blue); font-size: 20px; cursor: pointer;
  transition: all 0.3s; display: flex; align-items: center; justify-content: center;
}
.test-btn:hover { background: var(--blue); color: white; border-color: var(--blue); transform: scale(1.05); }
.test-dots { display: flex; gap: 8px; }
.test-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gray-200); cursor: pointer;
  transition: all 0.3s; border: none;
}
.test-dot.active { background: var(--blue); width: 28px; border-radius: 5px; }

/* Booking */
#booking { background: white; }
#booking .section-tag { background: var(--blue-bg); color: var(--blue); }
.booking-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.booking-text .section-title { color: var(--dark); }
.booking-text p { font-size: 16px; color: var(--gray-500); line-height: 1.8; margin-bottom: 24px; }
.booking-benefits { display: flex; flex-direction: column; gap: 12px; }
.benefit { font-size: 15px; font-weight: 600; color: var(--gray-700); display: flex; align-items: center; gap: 10px; }
.benefit span { color: var(--green); font-weight: 900; font-size: 18px; }
.booking-form {
  background: var(--gray-50); border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--gray-200);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--gray-700); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-200); border-radius: 12px;
  font-size: 14px; font-family: 'Inter', sans-serif;
  transition: all 0.3s; background: white;
  color: var(--dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-success {
  display: none; text-align: center; padding: 40px 24px;
}
.form-success .success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-bg); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 900; margin: 0 auto 16px;
}
.form-success h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.form-success p { font-size: 15px; color: var(--gray-500); }

/* Emergency */
#emergency {
  background: linear-gradient(135deg, var(--dark), #1a2744);
  padding: 80px 0;
}
.emergency-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.emergency-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg); padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s;
}
.emergency-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.08); border-color: rgba(37,99,235,0.3); }
.emergency-card .icon { font-size: 44px; margin-bottom: 16px; }
.emergency-card h3 { font-size: 20px; font-weight: 800; color: white; margin-bottom: 8px; }
.emergency-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.emergency-phone {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; font-size: 18px; font-weight: 800;
  color: var(--green-light); text-decoration: none;
  transition: all 0.3s;
}
.emergency-phone:hover { color: white; }
.address { margin-top: 12px; font-size: 13px !important; color: rgba(255,255,255,0.5) !important; }

/* Footer */
footer {
  background: var(--dark); color: rgba(255,255,255,0.5);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; font-family: 'Playfair Display', serif; color: white; margin-bottom: 16px; }
.footer-logo .logo-icon { width: 38px; height: 38px; font-size: 24px; }
.footer-logo .dot { color: var(--green); }
.footer-col p { font-size: 14px; line-height: 1.8; margin-bottom: 8px; }
.footer-col h4 { font-size: 16px; font-weight: 800; color: white; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none; padding: 4px 0; transition: all 0.3s; }
.footer-col a:hover { color: var(--green-light); padding-left: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,0.4); text-decoration: none;
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--blue); color: white; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0; text-align: center; font-size: 13px;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 90vh; text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; gap: 24px; }
  .hero-stat .num { font-size: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item .stat-num { font-size: 32px; }
  .about-wrap { grid-template-columns: 1fr; gap: 40px; }
  .about-features { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr; }
  .booking-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .emergency-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-title { font-size: 32px; }
  section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .booking-form { padding: 24px 20px; }
  .testimonial-card { padding: 28px 24px; }
}