/* ══════════════════════════════════════════════
   Sohini Nursing Home — Public Website CSS
   ══════════════════════════════════════════════ */
:root {
  --primary: #1565C0;
  --primary-dark: #0D47A1;
  --primary-light: #E3F2FD;
  --green: #2E7D32;
  --green-light: #E8F5E9;
  --teal: #00838F;
  --red: #C62828;
  --amber: #F57F17;
  --white: #FFFFFF;
  --body-bg: #F8FAFF;
  --text-dark: #0D1B2A;
  --text-muted: #546E7A;
  --border: #E0E7F1;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(21,101,192,.10);
  --shadow-lg: 0 12px 40px rgba(21,101,192,.15);
  --font: 'Inter', 'Noto Sans Bengali', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--body-bg); color: var(--text-dark); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── TOP BAR ── */
.top-bar {
  background: var(--primary-dark); color: rgba(255,255,255,.85);
  font-size: 13px; padding: 8px 0;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.top-bar-left { display: flex; gap: 20px; }
.top-bar a { color: rgba(255,255,255,.85); transition: color .2s; }
.top-bar a:hover { color: #fff; }

/* ── NAVBAR ── */
.navbar {
  background: #fff; position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 16px rgba(21,101,192,.08); transition: all .3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; gap: 20px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 48px; height: 48px; background: linear-gradient(135deg,#1565C0,#00838F); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.brand-main { font-size: 18px; font-weight: 800; color: var(--primary-dark); display: block; line-height: 1.1; }
.brand-sub { font-size: 11px; color: var(--text-muted); display: block; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-dark); transition: all .2s; }
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-light); }
.btn-emergency {
  background: linear-gradient(135deg,#C62828,#E53935); color: #fff !important;
  padding: 10px 18px; border-radius: 50px; font-size: 13.5px; font-weight: 700;
  animation: pulse 2s infinite; white-space: nowrap;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(198,40,40,.4); } 50% { box-shadow: 0 0 0 8px rgba(198,40,40,0); } }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; height: 2.5px; width: 26px; background: var(--primary-dark); border-radius: 2px; transition: all .3s; }

/* ── HERO ── */
.hero {
  min-height: 95vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 40%, #00838F 70%, #2E7D32 100%);
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.hero-content { position: relative; z-index: 1; padding: 80px 20px 40px; max-width: 800px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.2); color: #fff; padding: 6px 18px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 20px; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.hero-title { font-size: clamp(36px,6vw,72px); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 12px; letter-spacing: -1px; }
.hero-subtitle { font-size: clamp(16px,2.5vw,24px); color: rgba(255,255,255,.9); font-weight: 600; margin-bottom: 12px; }
.hero-desc { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 32px; line-height: 1.6; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.btn-hero-primary {
  background: #fff; color: var(--primary-dark); padding: 14px 32px;
  border-radius: 50px; font-size: 16px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s, box-shadow .2s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.btn-hero-outline {
  background: transparent; color: #fff; padding: 14px 32px;
  border-radius: 50px; font-size: 16px; font-weight: 600;
  border: 2px solid rgba(255,255,255,.6); transition: all .2s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.hstat { text-align: center; }
.hstat strong { display: block; font-size: 30px; font-weight: 900; color: #fff; }
.hstat span { font-size: 12px; color: rgba(255,255,255,.75); }
.hero-scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.5); font-size: 12px; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ── SECTION COMMON ── */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.section-title { font-size: clamp(26px,4vw,40px); font-weight: 800; color: var(--text-dark); margin-bottom: 12px; }
.section-desc { font-size: 16px; color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* ── GOVT SECTION ── */
.govt-section { padding: 40px 0; background: linear-gradient(135deg,#0D47A1,#00838F); }
.govt-card { background: rgba(255,255,255,.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 32px 36px; display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.govt-icon { font-size: 52px; flex-shrink: 0; }
.govt-content { flex: 1; min-width: 260px; }
.govt-content h2 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.govt-text { font-size: 15.5px; color: rgba(255,255,255,.9); line-height: 1.7; margin-bottom: 8px; }
.govt-sub { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.govt-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.g-badge { background: rgba(255,255,255,.2); color: #fff; padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; }

/* ── ABOUT ── */
.about-section { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center; }
.about-image-wrap { position: relative; }
.about-img-placeholder {
  background: linear-gradient(135deg,var(--primary-light),#E0F7FA);
  border-radius: 20px; padding: 40px 30px; text-align: center;
  border: 2px solid var(--border);
}
.doc-avatar { font-size: 90px; margin-bottom: 16px; }
.doc-info h3 { font-size: 20px; font-weight: 800; color: var(--primary-dark); }
.doc-info p { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.about-exp-badge {
  position: absolute; bottom: -18px; right: -18px;
  background: linear-gradient(135deg,var(--green),var(--teal));
  color: #fff; border-radius: 50%; width: 90px; height: 90px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(46,125,50,.3); text-align: center;
}
.about-exp-badge strong { font-size: 22px; font-weight: 900; line-height: 1; }
.about-exp-badge span { font-size: 10px; font-weight: 600; }
.about-text { }
.about-heading { font-size: 26px; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0 24px; }
.af-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-dark); }
.btn-primary-solid {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg,var(--primary),var(--teal));
  color: #fff; padding: 13px 28px; border-radius: 50px; font-size: 15px; font-weight: 700;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.btn-primary-solid:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ── SERVICES ── */
.services-section { background: var(--body-bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 20px; }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); text-align: center; transition: transform .25s, box-shadow .25s;
  border: 1px solid transparent; cursor: default;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.service-icon { font-size: 44px; margin-bottom: 14px; }
.service-card h3 { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.service-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* ── AMBULANCE BANNER ── */
.ambulance-banner {
  background: linear-gradient(135deg,#B71C1C,#C62828,#E53935);
  padding: 50px 0;
}
.amb-content { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.amb-text { display: flex; align-items: flex-start; gap: 20px; color: #fff; flex: 1; }
.amb-icon { font-size: 56px; animation: shake 1.5s infinite; }
@keyframes shake { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
.amb-text h2 { font-size: clamp(18px,2.5vw,26px); font-weight: 800; margin-bottom: 8px; }
.amb-text p { font-size: 14px; opacity: .9; line-height: 1.6; }
.btn-ambulance {
  background: #fff; color: #C62828; padding: 15px 30px; border-radius: 50px;
  font-size: 16px; font-weight: 800; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s;
  flex-shrink: 0;
}
.btn-ambulance:hover { transform: scale(1.04); }

/* ── FACILITIES ── */
.facilities-section { background: #fff; }
.fac-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 20px; }
.fac-card {
  background: linear-gradient(135deg,var(--primary-light),#E0F7FA);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
  border: 1px solid var(--border); transition: transform .2s;
}
.fac-card:hover { transform: translateY(-4px); }
.fac-icon { font-size: 40px; margin-bottom: 12px; }
.fac-card h3 { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.fac-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── DOCTORS ── */
.doctors-section { background: var(--body-bg); }
.doctors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.doctor-card {
  background: #fff; border-radius: var(--radius); padding: 36px 24px;
  text-align: center; box-shadow: var(--shadow); transition: transform .25s;
  position: relative; overflow: hidden; border: 2px solid transparent;
}
.doctor-card.featured { border-color: var(--primary); }
.doctor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.doctor-avatar { font-size: 64px; margin-bottom: 16px; }
.doctor-badge { position: absolute; top: 16px; right: 16px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.doctor-card h3 { font-size: 18px; font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
.doc-degree { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.doc-spec { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.btn-doc-call {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  padding: 9px 22px; border-radius: 50px; font-size: 13px; font-weight: 700;
  transition: all .2s;
}
.btn-doc-call:hover { background: var(--primary); color: #fff; }

/* ── FOUNDER MESSAGE ── */
.founder-section { background: linear-gradient(135deg,var(--primary-dark),var(--teal)); padding: 70px 0; }
.founder-card {
  background: rgba(255,255,255,.12); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 20px;
  padding: 40px 48px; display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap;
}
.founder-avatar { font-size: 80px; flex-shrink: 0; }
.founder-text { flex: 1; min-width: 260px; }
.quote-mark { font-size: 80px; color: rgba(255,255,255,.2); line-height: .8; font-family: Georgia, serif; }
.founder-text p { font-size: 17px; color: rgba(255,255,255,.9); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.founder-sig strong { display: block; color: #fff; font-size: 16px; font-weight: 800; }
.founder-sig span { color: rgba(255,255,255,.7); font-size: 13px; }

/* ── WHY CHOOSE US ── */
.why-section { background: var(--body-bg); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 20px; }
.why-card {
  background: #fff; border-radius: var(--radius); padding: 28px 20px;
  text-align: center; box-shadow: var(--shadow); transition: transform .2s;
}
.why-card:hover { transform: translateY(-4px); }
.why-icon { font-size: 40px; margin-bottom: 12px; }
.why-card h3 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.why-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── CONTACT ── */
.contact-section { background: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; margin-bottom: 32px; }
.contact-card {
  background: var(--primary-light); border-radius: var(--radius); padding: 28px 22px;
  text-align: center; border: 1px solid var(--border);
}
.contact-icon { font-size: 36px; margin-bottom: 12px; }
.contact-card h3 { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.contact-card a, .contact-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.contact-card a:hover { color: var(--primary); }
.map-placeholder { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ── FOOTER ── */
.footer { background: var(--primary-dark); color: rgba(255,255,255,.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer-brand span { font-size: 32px; }
.footer-brand h3 { font-size: 17px; font-weight: 800; color: #fff; }
.footer-brand p { font-size: 12px; opacity: .7; }
.footer-desc { font-size: 13px; line-height: 1.7; opacity: .75; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li { font-size: 13px; color: rgba(255,255,255,.7); }
.btn-admin-link {
  display: inline-block; margin-top: 14px; background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8); padding: 7px 16px; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; transition: all .2s;
}
.btn-admin-link:hover { background: rgba(255,255,255,.2); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 13px; opacity: .6; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-links a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.1); border-top: 1px solid var(--border); gap: 2px; }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-exp-badge { right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  section { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .amb-content { flex-direction: column; text-align: center; }
  .amb-text { flex-direction: column; align-items: center; text-align: center; }
  .founder-card { flex-direction: column; padding: 28px 24px; }
  .top-bar-right { display: none; }
}
