/* ============================================================
   BOULEVARD MEDICAL CENTER — Main Stylesheet
   Design inspired by refresh.doctor aesthetic
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1b3a5c;
  --navy-dark:  #0f2540;
  --teal:       #2b8fa3;
  --teal-light: #3aafca;
  --teal-pale:  #e4f4f8;
  --grey-bg:    #f5f7fa;
  --grey-light: #eaecf0;
  --grey-mid:   #9aa3ad;
  --text-dark:  #1c2b3a;
  --text-mid:   #4a5568;
  --text-light: #7a8a9a;
  --white:      #ffffff;
  --shadow-sm:  0 2px 10px rgba(0,0,0,.07);
  --shadow-md:  0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.13);
  --radius:     12px;
  --radius-sm:  8px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar-left { display: flex; align-items: center; gap: 20px; }
.top-bar-right { display: flex; align-items: center; gap: 16px; }
.top-bar a { color: rgba(255,255,255,.85); transition: color var(--transition); }
.top-bar a:hover { color: var(--teal-light); }
.top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar-item svg { width: 14px; height: 14px; opacity: .7; }

/* ============================================================
   HEADER & NAVBAR
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.nav-logo img { height: 46px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-menu li a:hover { background: var(--teal-pale); color: var(--teal); }
.nav-menu li a.active { color: var(--teal); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid var(--grey-light);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
}
.lang-btn:hover { border-color: var(--teal); color: var(--teal); }

.btn-appt {
  position: relative;
  overflow: hidden;
  padding: 9px 20px;
  background: var(--teal);
  color: var(--white);
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.btn-appt::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.btn-appt:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(43,143,163,.45); }
.btn-appt:hover::after { animation: btnShimmer .55s ease forwards; }
.btn-appt:active { transform: scale(.97); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HERO — CINEMATIC
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  background: var(--navy-dark);
  overflow: hidden;
  color: #f4f1ea;
}

/* ---- Video background ---- */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .72;
}

/* ---- Overlay & grain ---- */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(6,24,28,.68) 0%,
    rgba(6,24,28,.15) 38%,
    rgba(6,24,28,.75) 100%
  );
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  opacity: .28;
  background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

/* ---- Content ---- */
.hero-content {
  position: absolute; inset: 0; z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 6vw;
  padding-top: 80px;
}

/* ---- Tag / Title / Subtitle / Buttons (original Link 1 style) ---- */
.hero .hero-tag {
  display: inline-block;
  background: rgba(43,143,163,.18);
  border: 1px solid rgba(58,175,202,.45);
  color: var(--teal-light);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0;
  animation: heroCinemaFade .7s ease .5s forwards;
}
.hero .hero-title {
  font-size: clamp(44px, 6.5vw, 92px);
  font-weight: 800;
  line-height: 1.06;
  color: #fff;
  margin: 0 0 20px;
  opacity: 0;
  animation: heroCinemaFade .7s ease .75s forwards;
}
.hero .hero-title span { color: var(--teal-light); }
.hero .hero-subtitle {
  font-size: clamp(15px, 1.5vw, 19px);
  color: rgba(255,255,255,.78);
  max-width: 560px;
  line-height: 1.7;
  margin: 0 0 36px;
  opacity: 0;
  animation: heroCinemaFade .7s ease 1s forwards;
}
.hero .hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroCinemaFade .7s ease 1.25s forwards;
}

/* ---- Progress tabs (bottom-left) ---- */
.hero-tabs {
  position: absolute; left: 6vw; bottom: 32px; z-index: 4;
  display: flex; gap: 8px; align-items: center;
}
.hero-tab {
  width: 36px; height: 2px;
  background: rgba(255,255,255,.22);
  transition: background .5s, width .5s;
  cursor: pointer;
  border: none;
}
.hero-tab.is-active { background: var(--teal-light); width: 64px; }

/* ---- Scroll indicator ---- */
.hero-scroll-ind {
  position: absolute; right: 6vw; bottom: 28px; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.5);
  opacity: 0; animation: heroCinemaFade 1s ease 1.9s forwards;
}
.hero-mono {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-scroll-line { width: 36px; height: 1px; background: currentColor; }

/* ---- Button styles ---- */
.btn-primary {
  position: relative;
  overflow: hidden;
  padding: 14px 28px;
  background: var(--teal);
  color: var(--white);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  border: 2px solid var(--teal);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.btn-primary:hover { background: var(--teal-light); border-color: var(--teal-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(43,143,163,.5); }
.btn-primary:hover::after { animation: btnShimmer .55s ease forwards; }
.btn-primary:active { transform: translateY(0) scale(.98); }

.btn-outline {
  position: relative;
  overflow: hidden;
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,.55);
  transition: all var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); box-shadow: 0 0 18px rgba(255,255,255,.1); }
.btn-outline:active { transform: scale(.98); }

@keyframes btnShimmer { to { left: 140%; } }
@keyframes heroCinemaFade { from { opacity:0; } to { opacity:1; } }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 24px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  color: var(--white);
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,.7); }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section { padding: 80px 0; }
.section-alt { background: var(--grey-bg); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-img-wrap { position: relative; border-radius: 20px; overflow: hidden; }
.about-img-wrap img { width: 100%; height: 480px; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-badge-icon { font-size: 32px; }
.about-badge-text strong { display: block; font-size: 20px; font-weight: 800; color: var(--navy); }
.about-badge-text span { font-size: 12px; color: var(--text-light); }
.about-content {}
.about-content .section-tag { text-align: left; }
.about-content .section-title { text-align: left; font-size: 38px; }
.about-desc {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-highlights { margin: 28px 0; display: flex; flex-direction: column; gap: 14px; }
.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.highlight-icon {
  width: 36px; height: 36px;
  background: var(--teal-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
  font-size: 16px;
}
.highlight-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.highlight-text span { font-size: 13px; color: var(--text-light); }
.about-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn-secondary {
  position: relative;
  overflow: hidden;
  padding: 12px 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  border: 2px solid var(--navy);
}
.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.btn-secondary:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(27,58,92,.35); }
.btn-secondary:hover::after { animation: btnShimmer .55s ease forwards; }
.btn-secondary:active { transform: scale(.98); }

.btn-ghost {
  padding: 12px 24px;
  background: transparent;
  color: var(--navy);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--grey-light);
  transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }
.btn-ghost:active { transform: scale(.98); }

/* ============================================================
   DEPARTMENTS SECTION
   ============================================================ */
.dept-carousel-wrap { position: relative; }
.dept-carousel { overflow: hidden; }
.dept-track {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.dept-card {
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: 1.5px solid var(--grey-light);
  flex-shrink: 0;
}
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--teal-pale); }
.dept-card-img { height: 180px; overflow: hidden; }
.dept-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dept-card:hover .dept-card-img img { transform: scale(1.06); }
.dept-card-body { padding: 18px 20px; }
.dept-card-name { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.dept-card-tag {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.dept-card-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--transition);
}
.dept-card:hover .dept-card-link { gap: 10px; }
.dept-card-link svg { width: 16px; height: 16px; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.ctrl-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--grey-light);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all var(--transition);
  font-size: 18px;
}
.ctrl-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }
.ctrl-dots { display: flex; gap: 6px; }
.ctrl-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grey-light);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.ctrl-dot.active { background: var(--teal); width: 20px; border-radius: 4px; }
.dept-all-link {
  text-align: center;
  margin-top: 20px;
}
.dept-all-link a {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.dept-all-link a:hover { gap: 10px; }

/* ============================================================
   FACILITIES SECTION
   ============================================================ */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.facility-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--grey-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.facility-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--teal);
  transition: height .4s ease;
}
.facility-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-pale); }
.facility-card:hover::before { height: 100%; }
.facility-icon {
  width: 56px; height: 56px;
  background: var(--teal-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.facility-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.facility-desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ============================================================
   PROMO BANNER
   ============================================================ */
.promo-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1e5d7b 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(43,143,163,.12);
}
.promo-banner::after {
  content: '';
  position: absolute;
  left: -40px; bottom: -100px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(43,143,163,.08);
}
.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.promo-text {}
.promo-badge {
  display: inline-block;
  background: rgba(58,175,202,.25);
  color: var(--teal-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.promo-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
  max-width: 560px;
}
.promo-title span { color: var(--teal-light); }
.promo-subtitle { font-size: 16px; color: rgba(255,255,255,.7); line-height: 1.7; }
.promo-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ============================================================
   DOCTORS SECTION
   ============================================================ */
.doctors-carousel-wrap { position: relative; }
.doctors-carousel { overflow: hidden; }
.doctors-track {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.doctor-card {
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--grey-light);
  transition: all var(--transition);
  flex-shrink: 0;
  cursor: pointer;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--teal-pale); }
.doctor-img { height: 260px; overflow: hidden; background: var(--grey-bg); }
.doctor-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.doctor-card:hover .doctor-img img { transform: scale(1.04); }
.doctor-body { padding: 18px 20px; }
.doctor-name { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; line-height: 1.3; }
.doctor-specialty {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.doctor-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--transition);
}
.doctor-card:hover .doctor-link { gap: 10px; }

/* ============================================================
   CONTACT STRIP
   ============================================================ */
.contact-strip { padding: 56px 0; }
.contact-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.contact-strip-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--grey-light);
  transition: all var(--transition);
}
.contact-strip-item:hover { border-color: var(--teal-pale); box-shadow: var(--shadow-md); }
.contact-strip-icon {
  width: 46px; height: 46px;
  background: var(--teal-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-strip-label { font-size: 12px; color: var(--text-light); margin-bottom: 4px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.contact-strip-value { font-size: 14px; font-weight: 600; color: var(--text-dark); line-height: 1.5; }
.contact-strip-value a { color: var(--text-dark); transition: color var(--transition); }
.contact-strip-value a:hover { color: var(--teal); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand {}
.footer-logo { margin-bottom: 18px; filter: brightness(0) invert(1); height: 40px; }
.footer-desc { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.6); margin-bottom: 22px; max-width: 300px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 16px;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: .3px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before { content: '›'; color: var(--teal); font-size: 16px; }
.footer-links a:hover { color: var(--white); }
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact-icon { color: var(--teal-light); font-size: 16px; margin-top: 1px; flex-shrink: 0; }
.footer-contact-text { font-size: 13.5px; color: rgba(255,255,255,.7); line-height: 1.6; }
.footer-contact-text a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-contact-text a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--teal-light); }

/* ============================================================
   INNER PAGE — PAGE HERO
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  background: url('https://ensprojects.com/2025/demo/bmc/assets/web/images/resource/dctr1.png') no-repeat right center / contain;
  opacity: .12;
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.breadcrumb a { font-size: 13px; color: rgba(255,255,255,.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--teal-light); }
.breadcrumb-sep { color: rgba(255,255,255,.3); font-size: 13px; }
.breadcrumb-current { font-size: 13px; color: var(--teal-light); }
.page-hero-title { font-size: 44px; font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 12px; }
.page-hero-sub { font-size: 16px; color: rgba(255,255,255,.7); max-width: 540px; }

/* ============================================================
   DEPT DETAIL PAGE
   ============================================================ */
.dept-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.dept-detail-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.dept-detail-img img { width: 100%; height: 340px; object-fit: cover; }
.dept-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--grey-light);
  margin-bottom: 20px;
}
.sidebar-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 18px; }
.sidebar-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.sidebar-contact-icon {
  width: 36px; height: 36px;
  background: var(--teal-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 16px;
  flex-shrink: 0;
}

/* ============================================================
   DOCTOR DETAIL PAGE
   ============================================================ */
.doctor-detail-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 52px;
  align-items: start;
}
.doctor-detail-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}
.doctor-detail-photo img { width: 100%; height: 420px; object-fit: cover; object-position: top; }
.doctor-detail-info {}
.doctor-detail-specialty {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.doctor-detail-name { font-size: 34px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; line-height: 1.2; }
.doctor-detail-exp { font-size: 15px; color: var(--text-mid); margin-bottom: 28px; }
.doctor-detail-exp strong { color: var(--teal); }
.doctor-section-title { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; margin-top: 28px; border-left: 3px solid var(--teal); padding-left: 12px; }
.doctor-bio { font-size: 15px; color: var(--text-mid); line-height: 1.8; }
.edu-list { display: flex; flex-direction: column; gap: 12px; }
.edu-item { display: flex; gap: 14px; align-items: flex-start; }
.edu-year {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-pale);
  padding: 3px 10px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.edu-text { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 52px;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--grey-light);
}
.form-title { font-size: 22px; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.form-subtitle { font-size: 14px; color: var(--text-mid); margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(43,143,163,.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info-col {}
.contact-info-card {
  background: var(--navy-dark);
  border-radius: var(--radius);
  padding: 36px;
  color: rgba(255,255,255,.8);
  margin-bottom: 20px;
}
.contact-info-title { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.ci-icon {
  width: 40px; height: 40px;
  background: rgba(43,143,163,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  font-size: 18px;
  flex-shrink: 0;
}
.ci-label { font-size: 11px; color: rgba(255,255,255,.5); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 3px; }
.ci-value { font-size: 14px; color: rgba(255,255,255,.85); }
.ci-value a { color: rgba(255,255,255,.85); transition: color var(--transition); }
.ci-value a:hover { color: var(--teal-light); }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--grey-light);
  transition: all var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-pale); }
.value-icon { font-size: 40px; margin-bottom: 16px; }
.value-title { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.value-text { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 2000;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-dark);
  cursor: pointer;
  line-height: 1;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--grey-light);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-links a:hover { background: var(--teal-pale); color: var(--teal); }

/* ============================================================
   RESPONSIVE — comprehensive
   ============================================================ */

/* ---- Tablet landscape / small laptop ---- */
@media (max-width: 1100px) {
  .about-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  .dept-carousel-wrap .dept-card { min-width: 220px; }
  .doctors-carousel-wrap .doctor-card { min-width: 230px; }
}

@media (max-width: 1024px) {
  .hero-content { padding: 0 48px; padding-top: 80px; }
  .hero-title { font-size: clamp(36px, 5vw, 58px); }
  .hero-subtitle { font-size: 16px; max-width: 480px; }
  .about-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-detail-grid { grid-template-columns: 1fr; }
  .dept-sidebar { position: static; }
  .contact-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ---- Tablet portrait ---- */
@media (max-width: 768px) {
  /* Nav */
  .top-bar { display: none; }
  .nav-menu { display: none; }
  .nav-actions .lang-btn { display: none; }
  .hamburger { display: flex; }
  .nav-logo img { height: 36px; }

  /* Hero */
  .hero { height: 100svh; min-height: 560px; }
  .hero-content { padding: 0 28px; padding-top: 72px; max-width: 100%; }
  .hero-title { font-size: clamp(30px, 7.5vw, 50px); line-height: 1.1; }
  .hero-subtitle { font-size: 15px; max-width: 100%; margin-bottom: 28px; }
  .hero-btns { gap: 10px; }
  .hero-scroll-ind { display: none; }

  /* Sections */
  .section { padding: 56px 0; }
  .section-title { font-size: clamp(24px, 5.5vw, 32px); }
  .section-subtitle { font-size: 15px; }
  .section-header { margin-bottom: 36px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img-wrap img { height: 300px; }
  .about-content .section-title { font-size: 28px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 26px; }

  /* Carousels */
  .dept-card { min-width: 230px; }
  .doctor-card { min-width: 210px; }

  /* Facilities */
  .facilities-grid { grid-template-columns: 1fr; }

  /* Contact strip */
  .contact-strip-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  /* Promo */
  .promo-inner { flex-direction: column; text-align: center; gap: 24px; }
  .promo-title { font-size: 26px; }
  .promo-actions { justify-content: center; }

  /* Inner pages */
  .page-hero { padding: 100px 0 48px; }
  .page-hero-title { font-size: clamp(26px, 6.5vw, 38px); }
  .contact-page-grid { grid-template-columns: 1fr; }
  .doctor-detail-grid { grid-template-columns: 1fr; }
  .doctor-detail-photo { position: static; }
  .dept-detail-grid { grid-template-columns: 1fr; }
  .dept-sidebar { position: static; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---- Mobile ---- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Hero */
  .hero-content { padding: 0 16px; padding-top: 68px; }
  .hero-title { font-size: clamp(26px, 9vw, 38px); }
  .hero-tag { font-size: 10px; padding: 5px 12px; }
  .hero-subtitle { font-size: 14px; margin-bottom: 22px; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero .btn-primary, .hero .btn-outline { width: 100%; text-align: center; }

  /* Stat */
  .stat-number { font-size: 22px; }
  .stat-label { font-size: 11px; }

  /* Sections */
  .section { padding: 44px 0; }
  .section-title { font-size: 22px; }

  /* Cards */
  .dept-card { min-width: 200px; }
  .doctor-card { min-width: 190px; }
  .facility-card { padding: 24px 18px; }

  /* About */
  .about-img-wrap img { height: 220px; }
  .about-badge { bottom: 16px; left: 16px; padding: 12px 16px; }
  .about-badge-icon { font-size: 24px; }
  .about-badge-text strong { font-size: 16px; }

  /* Contact strip */
  .contact-strip-grid { grid-template-columns: 1fr; }

  /* Promo */
  .promo-title { font-size: 22px; }

  /* Nav appointment button in mobile */
  .btn-appt { display: none; }
}
.lang-btn { display: none !important; }
