@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 {
  --navy:   #122056;
  --indigo: #5B65DC;
  --lavender: #EEEFFD;
  --offwhite: #FAFAFD;
  --white:  #FFFFFF;
  --navy-light: #1e3280;
  --indigo-dark: #4751c4;
  --text-body: #3a3f5c;
  --text-muted: #7a80a8;
  --border: #dde0f5;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(18,32,86,0.08);
  --shadow-hover: 0 8px 40px rgba(18,32,86,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--offwhite);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-dark); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.25;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: rgba(255,255,255,0.75); }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar i { margin-right: 5px; }

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(18,32,86,0.06);
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo span { color: var(--indigo); }
.logo-dot {
  width: 10px; height: 10px;
  background: var(--indigo);
  border-radius: 50%;
  display: inline-block;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-links a:hover {
  background: var(--lavender);
  color: var(--indigo);
  text-decoration: none;
}
.nav-toggle { display: none; }
.nav-burger { display: none; font-size: 22px; cursor: pointer; color: var(--navy); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 26px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--indigo);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(91,101,220,0.35);
}
.btn-primary:hover { background: var(--indigo-dark); box-shadow: 0 6px 24px rgba(91,101,220,0.45); }
.btn-outline {
  background: transparent;
  color: var(--navy) !important;
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff !important; }
.btn-white {
  background: #fff;
  color: var(--navy) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn-white:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.18); }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ── HERO ── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 80px 40px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: var(--indigo);
  opacity: .12;
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px; left: 40%;
  width: 350px; height: 350px;
  background: var(--indigo);
  opacity: .08;
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(91,101,220,0.2);
  border: 1px solid rgba(91,101,220,0.4);
  color: #aab0f0;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero h1 {
  color: #fff;
  font-size: 48px;
  margin-bottom: 18px;
  line-height: 1.15;
}
.hero h1 em {
  font-style: normal;
  color: #aab0f0;
}
.hero p {
  color: rgba(255,255,255,0.65);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #fff;
  font-weight: 700;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.hero-visual { position: relative; z-index: 1; }
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
}
.hero-card-title {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.appointment-slots { display: flex; flex-direction: column; gap: 12px; }
.slot {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slot-time { color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500; }
.slot-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}
.badge-available { background: rgba(29,158,117,0.2); color: #5dd3a8; border: 1px solid rgba(29,158,117,0.3); }
.badge-booked { background: rgba(91,101,220,0.2); color: #9098ec; border: 1px solid rgba(91,101,220,0.3); }

/* ── SECTION WRAPPERS ── */
.section { padding: 80px 40px; }
.section-sm { padding: 56px 40px; }
.section-alt { background: var(--lavender); }
.section-dark { background: var(--navy); }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block;
  background: var(--lavender);
  color: var(--indigo);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-header h2 { font-size: 36px; margin-bottom: 12px; }
.section-header p { color: var(--text-muted); max-width: 520px; margin: 0 auto; font-size: 16px; }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--indigo);
  padding: 48px 40px;
}
.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ── WHY US CARDS ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s;
}
.why-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.why-icon {
  width: 52px; height: 52px;
  background: var(--lavender);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  color: var(--indigo);
}
.why-card h3 { font-size: 18px; margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: 14px; }

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--indigo);
  opacity: 0;
  transition: opacity .2s;
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  background: var(--lavender);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--indigo);
}
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--indigo);
  font-size: 13px;
  font-weight: 600;
  margin-top: 16px;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-photo-wrap { position: relative; }
.about-photo-bg {
  width: 100%; padding-top: 110%;
  background: var(--lavender);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doctor-placeholder {
  font-size: 100px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.about-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 140px;
}
.about-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--navy);
  font-weight: 700;
}
.about-badge-label { font-size: 12px; color: var(--text-muted); }
.about-content .section-tag { display: inline-block; text-align: left; }
.about-content h2 { font-size: 36px; margin-bottom: 16px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; }
.about-list { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-body);
}
.about-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--lavender);
  color: var(--indigo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── TIMINGS ── */
.timings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.timing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.timing-card h3 { font-size: 18px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.timing-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.timing-row:last-child { border-bottom: none; }
.timing-day { color: var(--text-muted); }
.timing-time { font-weight: 600; color: var(--navy); }
.timing-closed { color: #dc3545; font-weight: 600; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form-card h2 { font-size: 28px; margin-bottom: 6px; }
.contact-form-card > p { color: var(--text-muted); margin-bottom: 28px; font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-body);
  background: var(--offwhite);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(91,101,220,0.12);
  background: var(--white);
}
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: rgba(255,255,255,0.75);
}
.contact-info-card h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.contact-info-card > p { font-size: 14px; margin-bottom: 28px; }
.contact-info-items { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon {
  width: 40px; height: 40px;
  background: rgba(91,101,220,0.2);
  border: 1px solid rgba(91,101,220,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-info-label { font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.contact-info-value { font-size: 15px; color: rgba(255,255,255,0.85); font-weight: 500; }
.map-embed {
  margin-top: 28px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.blog-card-img {
  height: 180px;
  background: var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.blog-card-body { padding: 24px; }
.blog-date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.blog-card-body h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.4; }
.blog-card-body h3 a { color: var(--navy); }
.blog-card-body h3 a:hover { color: var(--indigo); }
.blog-card-body p { font-size: 14px; color: var(--text-muted); }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  margin-top: 14px;
}
.post-body { font-size: 16px; line-height: 1.9; color: var(--text-body); margin: 28px 0; }
.post-body p, .post-body ul, .post-body ol { margin-bottom: 18px; }
.post-body h2, .post-body h3 { margin: 28px 0 12px; }
.post-footer { display: flex; gap: 14px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }

/* ── ALERTS ── */
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; font-weight: 500; }
.alert-success { background: #e6f7ef; color: #1a6e4a; border: 1px solid #a7dfc3; }
.alert-error { background: #fff0f0; color: #c0392b; border: 1px solid #f5b8b8; }

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--indigo);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.cta-strip h2 { color: #fff; font-size: 36px; margin-bottom: 12px; position: relative; }
.cta-strip p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 32px; position: relative; }
.cta-strip .hero-actions { justify-content: center; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--navy);
  padding: 56px 40px;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: 38px; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 16px; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: #fff; }

/* ── PAGE CONTENT ── */
.page-content { max-width: 900px; margin: 0 auto; padding: 56px 24px; }

/* ── ADMIN ── */
.admin-wrap { max-width: 1000px; margin: 0 auto; padding: 40px 24px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.admin-table th, .admin-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
.admin-table th { background: var(--lavender); font-weight: 600; color: var(--navy); font-size: 13px; }
.admin-table tr:last-child td { border-bottom: none; }
.btn-edit { color: var(--indigo); font-size: 13px; font-weight: 600; }
.btn-delete { color: #c0392b; background: none; border: none; cursor: pointer; font-size: 13px; font-weight: 600; font-family: 'DM Sans', sans-serif; }
.admin-login-wrap { max-width: 400px; margin: 80px auto; padding: 0 24px; }
.admin-login-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.admin-login-card h1 { font-size: 26px; margin-bottom: 6px; }
.admin-login-card > p { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }

/* ── EMPTY STATE ── */
.empty-state { padding: 56px; text-align: center; background: var(--lavender); border-radius: var(--radius-lg); color: var(--text-muted); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 64px 40px 28px;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: #fff; padding: 0; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 260px; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color .15s; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .topbar { padding: 8px 20px; font-size: 12px; }
  .topbar-left { gap: 12px; }
  nav { padding: 0 20px; }
  .nav-burger { display: block; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); gap: 4px; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .hero { grid-template-columns: 1fr; padding: 48px 20px 56px; gap: 32px; }
  .hero h1 { font-size: 32px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 20px; }
  .section, .section-sm { padding: 48px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item { border-right: none; padding: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-badge { right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
