:root {
  --rose: #0d6e6e;
  --rose-light: #c8e6d4;
  --rose-dark: #0d6e6e;
  --teal: #1a6fa8;
  --teal-light: #cce3f5;
  --teal-dark: #0f4a73;
  --gold: #c9a84c;
  --cream: #f4faf6;
  --charcoal: #2c2c2c;
  --mid: #6b6b6b;
  --white: #ffffff;
  --shadow: 0 8px 40px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.15);
  --heading-serif: 'DM Sans', sans-serif;;
  /*--heading-serif: 'Cormorant Garamond', serif;;*/
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Bootstrap container override */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl { max-width: 1400px; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height:1.6;
}

/* ──────────── TOP STRIP ──────────── */
.top-strip {
  background: linear-gradient(90deg, var(--rose-dark) 0%, var(--rose) 100%);
  padding: 7px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.03em;
}
.top-strip a { color: #d4f0e0; text-decoration: none; }
.top-strip a:hover { color: #fff; }
.top-strip .strip-item { display: flex; align-items: center; gap: 7px; }
.top-strip .strip-right { display: flex; gap: 28px; }

/* ──────────── HEADER ──────────── */
header {
  background: #fff;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(13,110,110,0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-area { display: flex; align-items: center; gap: 10px; }

.logo-icon-old {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
  box-shadow: 0 4px 18px rgba(13,110,110,0.35);
  flex-shrink: 0;
  overflow:hidden;
}
.logo-icon {
/*  width: 90px; height: 90px;*/
  background: #fff;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow:hidden;
  padding:5px;
}
.logo-icon img {
	height: 90px;
}
.hospital-name-wrap { position: relative; height: 54px; overflow: visible; }

.hospital-name {
  position: absolute; top: 0; left: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  white-space: nowrap;
}
.hospital-name.active { opacity: 1; transform: translateY(0); }
.hospital-name .h-name {
  /*font-family: var(--heading-serif);*/
  font-family: 'Segoe UI', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--rose-dark);
  line-height: 25px;
  display: block;
  margin-bottom:5px;
}
.hospital-name .odia{
	font-family: 'Noto Sans Oriya',serif;
	font-size: 25px;
	line-height:25px;
}
.hospital-name .hindi{
	font-family:'Noto Sans Devanagari';
	font-size: 27px;
	line-height:22px;
	top: 4px;
}
.hospital-name .h-sub {
  font-size: 14px;
  line-height:14px;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.hospital-name .h-add {
  font-size: 16px;
  line-height:16px;
  color: #434343;
  text-transform: uppercase;
  font-weight: 600;
  display:block;
}
.hospital-name .h-sub.odia, .hospital-name .h-sub.hindi {
	font-size: 16px;
	line-height:16px;
}

.hospital-name .h-add.odia, .hospital-name .h-add.hindi {
	font-size: 16px;
	line-height:16px;
}

/* NAV */
header nav { display: flex; align-items: center; gap: 6px; }
header nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}
@media (max-width: 1400px) { header nav a { padding: 5px 8px; } }
header nav a:hover, header nav a.active { color: var(--rose-light); background: var(--rose-dark); }
.nav-cta {
  background: var(--rose) !important;
  color: #fff !important;
  border-radius: 20px !important;
  padding: 7px 18px !important;
}
.nav-cta:hover { background: var(--rose-dark) !important; }

/* ──────────── HERO ──────────── */
.hero {
  position: relative;
  height: 680px;
  overflow: hidden;
}
@media (max-width: 1400px) { .hero {  height: 540px; } }
.hero-slides { width: 100%; height: 100%; position: relative; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
/*.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(44,44,44,0.62) 0%, rgba(44,44,44,0.15) 60%, transparent 100%);
}*/

.hero-slide:nth-child(1) { background-image: url('https://images.unsplash.com/photo-1555252333-9f8e92e65df9?w=1600&q=80'); }
.hero-slide:nth-child(2) { background-image: url('https://images.unsplash.com/photo-1584515933487-779824d29309?w=1600&q=80'); }
/*.hero-slide:nth-child(3) { background-image: url('https://images.unsplash.com/photo-1530026405186-ed1f139313f3?w=1600&q=80'); }*/
.hero-slide:nth-child(3) { background-image: url('../images/slide3.jpg'); }

.hero-content {
  position: absolute;
  left: 2%; bottom: 4%;
  transform: translateY(-50%);
  z-index: 10;
  /*max-width: 520px;*/
}
.hero-tag {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  font-weight: 600;
}
.hero-content h1 {
  font-family: var(--heading-serif);
  font-size: 36px;
  font-weight: 300;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 18px;
}
.hero-content h1 em { font-style: normal; color: var(--rose-light); }
.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
  display:none;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; display:none; }
.btn-primary {
  background: var(--rose);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
  padding: 13px 28px;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.hero-dots {
  position: absolute;
  bottom: 20px; right: 40px;
  z-index: 10;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.2s;
}
.hero-dot.active { background: #fff; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s, transform 0.2s;
}
.hero-arrow:hover { background: rgba(255,255,255,0.28); transform: translateY(-50%) scale(1.08); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
@media (max-width: 900px) { .hero-arrow { display: none; } }

/* ──────────── ANNOUNCEMENT TICKER ──────────── */
.ticker-wrap {
  background: linear-gradient(90deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}
.ticker-label {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 20px;
  display: flex; align-items: center;
  z-index: 2;
}
.ticker-track {
  display: flex;
  animation: ticker 38s linear infinite;
  padding-left: 200px;
}
.ticker-item {
  color: #fff;
  white-space: nowrap;
  padding: 0 48px;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
.ticker-item i { color: var(--rose-light); margin-right: 6px; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ──────────── SECTION COMMON ──────────── */
section { padding: 50px 40px; }
.section-label {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--heading-serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 8px;
}
.section-title em { color: var(--rose); font-style:normal; }
.section-divider {
  width: 54px; height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  border-radius: 2px;
  margin: 14px 0 30px;
}

/* ──────────── BODY: WELCOME + OPD ──────────── */
.body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  max-width: 1400px;
  margin: 0 auto;
}

.welcome-side {}
.welcome-img-wrap {
  position: relative;
  margin-bottom: 28px;
}
.welcome-img-wrap img {
  width: 100%; height: 280px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.welcome-badge {
  position: absolute;
  bottom: -18px; right: 24px;
  background: var(--rose);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 6px 24px rgba(13,110,110,0.35);
  line-height: 1.4;
}
.welcome-badge span { font-size: 22px; font-weight: 700; display: block; }
.welcome-text { margin-top: 24px; }
.welcome-text p {
  font-size: 17px;
  color: var(--mid);
  margin-bottom: 14px;
  text-align:justify;
}
.welcome-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.welcome-feat {
  background: var(--rose-dark);
  color: #fff;
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 500;
}
@media (min-width: 1400px) {
	.welcome-feat {
		padding: 6px 21px;
	}
}

/* OPD TABLE */
.opd-side {}
.opd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin-top: 6px;
}
.opd-table th {
  background: var(--rose-dark);
  color: #fff;
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 14px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.opd-table th:last-child { border-right: none; }
.opd-table th:first-child { border-radius: 10px 0 0 0; }
.opd-table th:last-child { border-radius: 0 10px 0 0; }
.opd-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e0eee6;
  vertical-align: middle;
  font-size: 13px;
}
.opd-table tr:last-child td { border-bottom: none; }
.opd-table tr:nth-child(even) td { background: #f0f8f3; }
.opd-table tr:hover td { background: var(--rose-light); }
.status-available {
  display: inline-block;
  background: #d4f4e0;
  color: #1a7a42;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
}
.status-leave {
  display: inline-block;
  background: #fde8e8;
  color: #b33a3a;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
}
.opd-note {
  font-size: 13.5px;
  color: var(--mid);
  margin-top: 12px;
  display: flex; align-items: center; gap: 6px;
}

/* ──────────── STATS COUNTER ──────────── */
.stats-section {
  background: linear-gradient(135deg, #0C7163 100%, #0C7163 100%);
  padding: 50px 40px;
}
.stats-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  text-align: center;
  padding: 30px 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  background: #12554C;
  transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-icon { font-size: 32px; margin-bottom: 12px; color: #c9a84c; }
.stat-icon img{height: 70px;}
.stat-num {
  font-family: var(--heading-serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--rose-light);
  line-height: 1;
}
.stat-suffix { font-size: 28px; color: var(--gold); }
.stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* ──────────── DIRECTOR / MISSION / VISION ──────────── */
.dmv-strip {
  background: linear-gradient(120deg, var(--rose-dark) 0%, var(--rose) 40%, var(--teal) 100%);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}
.dmv-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="20" cy="20" r="80" fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="1"/><circle cx="180" cy="180" r="120" fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="1"/></svg>') center/cover;
  pointer-events: none;
}
.dmv-inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
  align-items: center;
}
/* Side cards (Mission & Vision) — coloured */
.dmv-side-card {
  text-align: center;
  padding: 36px 28px;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  height: 100%;
}
.dmv-side-card .dmv-icon {
  width: 90px; height: 90px;
  border-radius: 50%;
  /*background: rgba(255,255,255,0.18);*/
  background:#fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  border: 1.5px solid rgba(255,255,255,0.3);
  overflow:hidden;
}
.dmv-side-card .dmv-icon img{
 width: 66px; height: 66px;	
}
.dmv-side-card h3 {
  font-family: var(--heading-serif);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.dmv-side-card p {
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}
/* Centre card — Director's message, white background */
.dmv-center-card {
  background: #fff;
  border-radius: 22px;
  padding: 44px 36px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  position: relative;
}
.dmv-center-card::before {
  content: '\201C';
  position: absolute;
  top: 12px; left: 24px;
  font-family: var(--heading-serif);
  font-size: 100px;
  color: var(--rose-light);
  line-height: 1;
  pointer-events: none;
}
.dmv-center-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-light), var(--rose));
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(13,110,110,0.3);
}
.dmv-center-card h3 {
  font-family: var(--heading-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--rose-dark);
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.dmv-center-card blockquote {
  font-family: var(--heading-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.dmv-center-card .director-sig {
  color: var(--teal-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.dmv-center-card .director-sig span {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  color: var(--mid);
  margin-top: 3px;
}

/* ──────────── FACILITIES ──────────── */
.facilities-section { background: #fff; max-width: 1400px; margin: 0 auto; }
.facilities-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 40px; }
.fac-tab {
  padding: 7px 10px;
  border-radius: 4px;
  border: 2.5px solid #8fc4a8;
  background: transparent;
  color: var(--mid);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  text-align: center;
  white-space: nowrap;
}
.fac-tab.active { background: var(--rose); color: #fff; border-color: var(--rose); }
.fac-tab:hover:not(.active) { border-color: var(--rose); color: var(--rose); }

/* Panel = hidden by default */
.fac-panel { display: none; }
.fac-panel.active { display: block; }

/* ── TOP ROW: text LEFT  |  video RIGHT ── */
.fac-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  margin-bottom: 32px;
}

/* LEFT: write-up */
.fac-text-col { display: flex; flex-direction: column; justify-content: flex-start; }
.fac-text-col h3 {
  font-family: var(--heading-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--rose-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.fac-text-col p {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 16px;
}
.fac-points {
  list-style: none;
  margin: 6px 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  padding:0;
}
.fac-points li {
  font-size: 15px;
  color: var(--charcoal);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.fac-points li i { color: var(--teal); font-size: 13px; margin-top: 3px; flex-shrink: 0; }
.fac-nav-btns { display: flex; gap: 12px; margin-top: auto; padding-top: 8px; }
.fac-nav-btn {
  padding: 6px 26px;
  border-radius: 22px;
  border: 1.5px solid var(--rose);
  background: transparent;
  color: var(--rose);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.fac-nav-btn:hover { background: var(--rose); color: #fff; }

/* ── RIGHT: 2×3 thumbnail grid + YouTube embed ── */
.fac-visual-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 2 rows × 3 columns thumbnail grid */
.fac-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 120px);
  gap: 8px;
  border-radius: 16px;
  overflow: hidden;
}
.fac-thumb-cell {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border-radius: 10px;
}
.fac-thumb-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.fac-thumb-cell:hover img { transform: scale(1.08); }
.fac-thumb-cell::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,110,110,0.28) 100%);
  pointer-events: none;
  border-radius: 10px;
}

/* YouTube embed — height syncs with left column bottom */
.fac-yt-wrap {
  border-radius: 14px;
  overflow: hidden;
  flex: 1;                /* grows to fill remaining space */
  min-height: 180px;
  position: relative;
  background: #000;
}
.fac-yt-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  inset: 0;
}
.fac-yt-label {
  position: absolute;
  top: 10px; left: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 8px;
  z-index: 3;
  pointer-events: none;
  text-transform: uppercase;
}

/* keep old play-btn in case used elsewhere */
.play-btn {
  width: 52px; height: 52px;
  background: var(--rose);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 6px 24px rgba(13,110,110,0.55);
  transition: transform 0.2s, box-shadow 0.2s;
}




/* ──────────── DOCTORS ──────────── */
.doctors-section {
  background: var(--cream);
  padding: 76px 40px;
}
.doctors-carousel-wrap {
  position: relative;
  max-width: 1400px;
  margin: 36px auto 0;
  overflow: hidden;
}
.doctors-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}
.doctors-carousel::-webkit-scrollbar { display: none; }
.doctor-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  flex: 0 0 calc(25% - 18px);
  min-width: 240px;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doctor-photo {
  width: 100%; height: 230px;
  object-fit: cover;
  object-position: top;
}
.doctor-info { padding: 18px 20px 22px; }
.doctor-name {
  font-family: var(--heading-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 5px;
}
.doctor-specialty {
  font-size: 13px;
  color: var(--rose);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 9px;
}
.doctor-exp {
  font-size: 14px;
  color: var(--mid);
  display: flex; align-items: center; gap: 6px;
}
.doctor-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--teal);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 10px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--rose-light);
  color: var(--rose);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: background 0.2s, color 0.2s;
  z-index: 10;
}
.carousel-btn:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose-light); cursor: pointer; transition: background 0.2s;
}
.carousel-dot.active { background: var(--rose); }

/* ──────────── DEPARTMENT CATEGORY CARDS (NEW) ──────────── */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1400px;
  margin: 36px auto 0;
}
.dept-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px 26px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dept-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.dept-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -26px -26px 18px;
  padding: 10px 26px 10px;
 /* background: linear-gradient(90deg, var(--rose-light) 0%, rgba(200,230,212,0.35) 100%);*/
 background-color:#ffffff;
  border-bottom: 1px solid var(--rose);
  position: relative;
}
.dept-icon {
  width: 35px; height: 35px;
  border-radius: 12px;
  background: #fff;
  color: var(--rose-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  /*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
}
.dept-card-head h3 {
  font-family: var(--heading-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--rose-dark);
  line-height: 1.2;
  margin-bottom:0;
}
.dept-count {
  display: inline-flex;
  align-items: center;
  background: #e8f7f0;
  color: var(--rose);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #b6d9ce;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  letter-spacing: .02em;
}
.dept-mini-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  flex-grow: 1;
}
.dept-mini-doc {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dept-mini-photo {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid var(--rose-light);
}
.dept-mini-info { min-width: 0; }
.dept-mini-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dept-mini-qual {
  font-size: 13px;
  color: var(--mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dept-mini-more {
  font-size: 13px;
  color: var(--rose);
  font-weight: 600;
  padding-left: 50px;
}
.dept-view-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #d9f1f1;
  color: var(--rose-dark);
  border: 1px solid #b6cccb;
  padding: 10px 18px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  margin-top: auto;
}
.dept-view-more:hover { background: #eef2f2; border-color: #b6cccb; transform: translateY(-1px); }
.dept-view-more i { font-size: 11px; transition: transform 0.2s; }
.dept-view-more:hover i { transform: translateX(3px); }
@media (max-width: 980px) {
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .dept-grid { grid-template-columns: 1fr; }
}

/* ──────────── DOCTOR DETAIL PAGE (sub-pages) ──────────── */
.dd-hero {
  background: linear-gradient(135deg, var(--rose-dark) 0%, var(--rose) 100%);
  padding: 54px 40px 46px;
  text-align: center;
  color: #fff;
}
.dd-hero .dd-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 18px;
  font-weight: 500;
}
.dd-hero .dd-back:hover { color: #fff; }
.dd-hero .dd-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-light);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}
.dd-hero h1 {
  font-family: var(--heading-serif);
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 8px;
}
.dd-hero h1 em { color: var(--rose-light); font-style: normal; }
.dd-hero p { color: rgba(255,255,255,0.85); font-size: 16.5px; max-width: 620px; margin: 0 auto; }
.dd-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 40px 90px;
}
.dd-group-title {
  font-family: var(--heading-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--rose-dark);
  margin: 44px 0 22px;
  padding: 12px 20px;
  background: linear-gradient(90deg, var(--rose-light) 0%, rgba(200,230,212,0.25) 100%);
  border-left: 4px solid var(--rose);
  border-radius: 0 8px 8px 0;
}
.dd-group-title:first-child { margin-top: 0; }
.dd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.dd-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px 18px 20px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.dd-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dd-card-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 2px solid var(--rose-light);
  display: block;
}
.dd-card-name {
  font-family: var(--heading-serif);
  font-size: 17.5px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.dd-card-qual {
  font-size: 12px;
  color: var(--rose);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.dd-card-meta {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.5;
}
.dd-card-meta i { color: var(--gold); width: 14px; margin-right: 3px; }
.dd-card-day {
  display: inline-block;
  margin-top: 10px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 10px;
}
@media (max-width: 980px) {
  .dd-grid { grid-template-columns: repeat(2, 1fr); }
  .dd-hero h1 { font-size: 30px; }
}
@media (max-width: 540px) {
  .dd-grid { grid-template-columns: 1fr 1fr; }
  .dd-wrap { padding: 40px 20px 70px; }
  .dd-hero { padding: 40px 20px 36px; }
}

/* ──────────── SPECIAL CASES ──────────── */
.special-section {
  background: #fff;
  padding: 76px 40px;
}
.special-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 1400px;
  margin: 36px auto 0;
}
.special-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.special-card:nth-child(1) { grid-row: 1 / 3; }
.special-card img, .special-card .special-video-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}
.special-card:nth-child(1) img { min-height: 390px; }
.special-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(44,44,44,0.82) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.special-overlay h4 {
  font-family: var(--heading-serif);
  font-size: 20px;
  color: #fff;
  margin-bottom: 4px;
}
.special-overlay p { font-size: 12.5px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.special-video-placeholder {
  background: #1a1a2e;
  display: flex; align-items: center; justify-content: center;
  min-height: 180px;
  position: relative;
}
.special-video-placeholder img { opacity: 0.5; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ──────────── ANNOUNCEMENTS + PROGRAMS ──────────── */
.ann-prog-section {
  background: var(--cream);
}
.ann-prog-inner { max-width: 1400px; margin: 0 auto; }

/* Sub-tab switcher */
.ann-prog-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 38px;
}
.ann-prog-tab {
  padding: 14px 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  border: 2px solid #c2ddd0;
  border-radius: 5px;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.02em;
  text-align: center;
  transition: all 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ann-prog-tab.active {
  background: var(--rose-dark);
  color: #fff;
  border-color: var(--rose-dark);
  box-shadow: 0 4px 16px rgba(13,110,110,0.22);
}
.ann-prog-tab:hover:not(.active) {
  border-color: var(--rose);
  color: var(--rose-dark);
  background: var(--rose-light);
}

.ann-panel, .prog-panel { display: none; }
.ann-panel.active, .prog-panel.active { display: block; }

/* ANNOUNCEMENTS grid */
.ann-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ann-card {
  background: #fff;
  border-radius: 16px;
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid var(--rose);
}
.ann-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ann-card-body { padding: 22px 24px; flex: 1; }
.ann-card-date {
  display: inline-flex; align-items: center; gap: 7px;
 /* background: var(--rose-light);*/
  color: var(--rose-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.ann-card-title {
  font-family: var(--heading-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}
.ann-card-desc {
  font-size: 15.5px;
  color: var(--mid);
  line-height: 1.75;
}
.ann-card-footer {
  padding: 10px 24px 10px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #e5f2ea;
  display:none;
}
.ann-view-more {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff;
  color: var(--rose);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 20px;
  transition: background 0.2s, transform 0.15s;
}
.ann-view-more:hover { /*background: var(--rose-dark);*/ color:#333; transform: translateX(2px); }
/* ── Image lightbox modal ────────────────────────────────── */
#annImgModal .modal-dialog { max-width: 780px; }
#annImgModal .modal-content {
  background: transparent; border: none; box-shadow: none;
}
.ann-lb-wrap {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #000;
}
.ann-lb-img {
  display: block; width: 100%; max-height: 72vh;
  object-fit: contain; border-radius: 16px 16px 0 0;
}
.ann-lb-close {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.55); border: 1.5px solid rgba(255,255,255,.3);
  color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.ann-lb-close:hover { background: rgba(0,0,0,.85); }
.ann-lb-caption {
  background: #111; padding: 14px 20px;
  border-radius: 0 0 16px 16px;
}
.ann-lb-caption-date {
  font-size: 11px; color: var(--rose); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px;
}
.ann-lb-caption-title {
  font-size: 15px; font-weight: 600; color: #fff; line-height: 1.4;
}

/* PROGRAMS — rich event cards (one per row) */
.prog-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.prog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s;
  border-left: 5px solid var(--rose);
}
.prog-card:hover { box-shadow: var(--shadow-lg); }

/* Top header band */
.prog-card-header {
  background: linear-gradient(135deg, var(--rose-dark) 0%, var(--rose) 55%, var(--teal) 100%);
  padding: 22px 28px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.prog-header-left { flex: 1; min-width: 0; }
.prog-card-title {
  font-family: var(--heading-serif);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}
.prog-meta-row {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.prog-meta-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.28);
  white-space: nowrap;
}
.prog-meta-chip i { font-size: 11px; opacity: 0.85; }
.prog-doctor-badge {
  border-radius: 14px;
  padding: 0px 16px;
  text-align: center;
  flex-shrink: 0;
  max-width: 100%;
}
.prog-doctor-badge .badge-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}
.prog-doctor-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.prog-doctor-item {
	background: rgb(154, 236, 236);
	border: 1px solid rgba(10, 200, 200, 0.14);
	border-radius: 10px;
	padding: 6px 12px;
	text-align: center;
	min-width: 110px;
}
.prog-doctor-badge .badge-name {
  font-family: var(--heading-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
  white-space: nowrap;
}
.prog-doctor-badge .badge-qual {
  font-size: 11px;
  color: var(--mid);
  margin-top: 2px;
  white-space: nowrap;
}

/* Main body: description + media */
.prog-card-body {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
}
.prog-desc-col {
  padding: 15px 15px;
  border-right: 1px solid #e8f4ed;
  display: flex; flex-direction: column; justify-content: space-between;
}
.prog-desc-col p {
  font-size: 15.5px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.prog-tags-row { display: flex; flex-wrap: wrap; gap: 7px; }
.prog-tag {
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 13px;
  border-radius: 12px;
}

/* Media column — split: 60% thumbnails | 40% YouTube video */
.prog-media-col {
  padding: 15px 15px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: stretch;
}

/* YouTube embed panel */
.prog-yt-panel {
  flex: 0 0 calc(40% - 12px);
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0d1117;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.prog-yt-panel iframe {
  width: 100%;
  flex: 1;
  border: none;
  display: block;
  min-height: 180px;
}
.prog-yt-label {
  background: linear-gradient(135deg, var(--rose-dark), var(--teal));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  display:none;
}

/* LEFT 60%: thumbnail grid in 2 rows × 3 columns */
.prog-thumbs-panel {
  flex: 0 0 60%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /*grid-template-rows: repeat(2, 1fr);*/
  gap: 7px;
}
.prog-thumb {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  aspect-ratio: 4/3;
}
.prog-thumb:hover { border-color: var(--rose); transform: scale(1.04); box-shadow: 0 4px 14px rgba(13,110,110,0.28); }
.prog-thumb.active-thumb { border-color: var(--rose); box-shadow: 0 4px 14px rgba(13,110,110,0.38); }
.prog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Video thumb (last cell) */
.prog-video-thumb {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #0d1117;
  border: 2px solid var(--teal);
  transition: border-color 0.2s, transform 0.15s;
  aspect-ratio: 4/3;
}
.prog-video-thumb:hover { border-color: var(--rose); transform: scale(1.04); }
.prog-video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  display: block;
}
.prog-video-thumb .prog-play-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.prog-video-thumb .prog-play-icon i {
  width: 30px; height: 30px;
  background: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 11px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.prog-video-thumb .prog-vid-label {
  position: absolute; bottom: 3px; left: 0; right: 0;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* RIGHT 40%: enlarged preview */
.prog-enlarged-panel {
  flex: 0 0 calc(40% - 12px);
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e8f4ed;
  display: flex;
  flex-direction: column;
}
.prog-enlarged-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}
.prog-enlarged-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(13,110,110,0.78) 0%, transparent 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 28px 12px 9px;
  text-transform: uppercase;
  pointer-events: none;
}
.prog-enlarged-counter {
  position: absolute; top: 10px; right: 12px;
  background: rgba(0,0,0,0.48);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  letter-spacing: 0.04em;
}

/* View More Programs button */
.prog-view-more-wrap {
  text-align: center;
  margin-top: 28px;
}
.prog-view-more-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rose-dark);
  color: #fff;
  border: none;
  padding: 10px 30px;
  border-radius: 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 24px rgba(13,110,110,0.28);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.prog-view-more-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(15,74,115,0.32);
}
.prog-view-more-btn i { font-size: 13px; }

/* Programs Detail Page overlay */
.prog-detail-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(20,40,28,0.72);
  z-index: 2000;
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.prog-detail-overlay.open { display: flex; align-items: flex-start; justify-content: center; padding: 48px 20px; }
.prog-detail-page {
  background: var(--cream);
  border-radius: 24px;
  max-width: 1100px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.32);
  overflow: hidden;
}
.prog-detail-topbar {
  background: linear-gradient(135deg, var(--rose-dark) 0%, var(--rose) 55%, var(--teal) 100%);
  padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.prog-detail-topbar h2 {
  font-family: var(--heading-serif);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.prog-detail-close {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.prog-detail-close:hover { background: rgba(255,255,255,0.32); }
.prog-detail-body { padding: 36px 32px; }
.prog-all-grid { display: flex; flex-direction: column; gap: 28px; }

@media (max-width: 860px) {
  .prog-card-body { grid-template-columns: 1fr; }
  .prog-desc-col { border-right: none; border-bottom: 1px solid #e8f4ed; }
  .prog-card-header { flex-direction: column; }
  .prog-doctor-badge { min-width: 0; text-align: left; }
  .prog-doctor-row { justify-content: flex-start; }
}
/* ──────────── HOW TO REACH ──────────── */
.reach-section {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 50px 40px;
}
.reach-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.reach-section .section-title { color: #fff; }
.reach-section .section-label { color: var(--rose-light); }
.reach-section .section-divider { background: linear-gradient(90deg, var(--rose-light), var(--gold)); }

.reach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 10px; }
.reach-item {
  background: rgba(255,255,255,0.10);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.reach-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
}
/* Image banner at top of card */
.reach-img-wrap {
  position: relative;
  height: 170px;
  overflow: hidden;
  flex-shrink: 0;
}
.reach-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  filter: brightness(0.72) saturate(0.85);
}
.reach-item:hover .reach-img-wrap img { transform: scale(1.06); }
.reach-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,74,115,0.72) 0%, transparent 55%);
}
.reach-img-badge {
  position: absolute;
  bottom: 12px; left: 16px;
  display: flex; align-items: center; gap: 8px;
}
.reach-img-badge i {
  width: 34px; height: 34px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}
.reach-img-badge span {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
/* Text content */
.reach-item-body { padding: 20px; flex: 1; background-color:#fff; }
.reach-item ul { list-style: none; padding:0; margin:0; }
.reach-item li {
  font-size: 15px;
/*  color: rgba(255,255,255,0.82);*/
  padding: 7px 0;
  color:inherit;
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.reach-item li strong{
	 color:#F06849  !important;
}
.reach-item li:last-child { border-bottom: none; }
.reach-item li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ── REACH: Language Switcher ── */
.reach-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.reach-heading-left { flex: 1 1 auto; min-width: 0; }
.reach-lang-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-top: 6px;
  flex-shrink: 0;
}
.reach-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  border-radius: 28px;
  border: 1.5px solid rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.78);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.02em;
}
.reach-lang-btn .lang-abbr {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.reach-lang-btn.active {
  background: #fff;
  color: var(--teal-dark);
  border-color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}
.reach-lang-btn:hover:not(.active) {
  background: rgba(255,255,255,0.20);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.reach-address {
  margin-bottom: 26px;
}
.reach-address p {
  color: rgba(255,255,255,0.85);
  font-size: 20px;
}
.reach-address strong { color: #fff; }
.reach-lang-content { display: none; }
.reach-lang-content.active { display: block; }

/* ──────────── PAGE HERO (inner pages) ──────────── */
.page-hero {
  position: relative;
  height: 190px;
  background: linear-gradient(120deg, var(--teal-dark) 0%, var(--rose-dark) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1586773860418-d37222d8fce3?w=1400&q=60') center/cover no-repeat;
  opacity: 0.15;
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 0 60px;
  margin:auto;
  justify
}
.page-hero h1 {
  font-family: var(--heading-serif);
  font-size: 35px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
}
.page-hero h1 em { font-style:normal; color: var(--rose-light); }
.page-hero .section-divider {
  background: linear-gradient(90deg, #fff, var(--gold));
   margin:auto;
  margin-bottom: 16px;
  width: 90px;
}
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  justify-content: center;
}
.breadcrumb-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
  font-size:14px;
}
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav .sep { font-size: 11px; opacity: 0.6; }
.breadcrumb-nav .current { color: var(--gold); font-weight: 600; }

/* ──────────── CONTACT PAGE ──────────── */
.contact-section { background: var(--cream); padding: 72px 60px; }

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.contact-info-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s;
}
.contact-info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.contact-info-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0892e 0%, #f2cca5 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
  margin: 0 auto 16px;
}
.contact-info-card h4 {
  font-size: 12.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-info-card p, .contact-info-card a {
  font-size: 14.5px;
  color: var(--charcoal);
  line-height: 1.7;
  text-decoration: none;
  display: block;
}
.contact-info-card a:hover { color: var(--rose); }
.contact-info-card strong { color: var(--rose-dark); font-size: 16px; }

/* Lower: form + map */
.contact-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.contact-form-wrap {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 {
  font-family: var(--heading-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.contact-form-wrap .form-sub { font-size: 14px; color: var(--mid); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid #ddeae4;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  background: #f8fcfa;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(13,110,110,0.09);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 115px; }
.form-submit {
  background: var(--rose);
  color: #fff;
  border: none;
  padding: 13px 36px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.form-submit:hover { background: var(--rose-dark); transform: translateY(-1px); }

.contact-map-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.map-header {
  background: linear-gradient(90deg, var(--teal-dark), var(--rose-dark));
  color: #fff;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.map-header-icon { font-size: 22px; opacity: 0.9; }
.map-header h4 { font-size: 15.5px; font-weight: 600; margin: 0 0 2px; }
.map-header p { font-size: 12.5px; opacity: 0.75; margin: 0; }
.map-frame iframe { width: 100%; height: 360px; border: none; display: block; }

/* ──────────── BACK TO TOP ──────────── */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--rose);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.28s, transform 0.28s, background 0.2s;
  pointer-events: none;
}
#backToTop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#backToTop:hover { background: var(--gold); }

/* ──────────── FOOTER ──────────── */
footer {
  background: #004646;
  color: rgba(255,255,255,0.7);
  padding: 50px 40px 24px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 36px;
}
.footer-about p { font-size: 16px; line-height: 1.8; margin-top: 14px; }
.footer-logo{
	width: 65px;overflow: hidden;height: 65px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 18px rgba(13,110,110,0.35);
	flex-shrink: 0;
	overflow: hidden;
	background-color:#fff;
	border-radius: 50%;
}
.footer-logo img{
	width: 35px;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul { list-style: none; margin:0; padding:0; }
.footer-col li { margin-bottom: 8px; display:flex; }
.footer-col li i { margin-right: 8px; margin-top:5px; color: #c9a84c; }
.footer-col ul li:not(:has(i))::before {
  content: '›';
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  margin-right: 7px;
  line-height: 1.5;
  flex-shrink: 0;
}
.footer-col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--rose-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.footer-socials a:hover { background: var(--rose); color: #fff; }

/* ──────────── SCROLL ANIMATIONS ──────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
/* Stagger delay helpers — combine with .reveal */
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }
.reveal-d6 { transition-delay: .48s; }
/* Slide from left variant */
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }

/* ──────────── RESPONSIVE BASICS ──────────── */
@media (max-width: 1100px) {
  .doctor-card { flex: 0 0 calc(50% - 12px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ann-grid, .prog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  header { padding: 12px 20px; flex-wrap: wrap; gap: 12px; }
  nav { flex-wrap: wrap; }
  .body-grid { grid-template-columns: 1fr; }
  .fac-panel.active { grid-template-columns: 1fr; }
  .reach-grid { grid-template-columns: 1fr; }
  .dmv-inner { grid-template-columns: 1fr; }
  .ann-grid, .prog-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 36px; }
  section { padding: 50px 20px; }
  .doctor-card { flex: 0 0 calc(100% - 12px); }
}

.special-cases { background: var(--cream); }

.case-card {
  background: #fff;
  border: 1px solid #e8f0eb;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.case-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(74,122,94,.13); }

/* Featured (tall left card) */
.case-card-featured .case-img-wrap { height: 240px; }

/* Horizontal (stacked right cards) */
.case-card-horizontal {
  flex-direction: row;
}
.case-card-horizontal .case-img-wrap {
  width: 160px;
  flex-shrink: 0;
  height: auto;
  min-height: 130px;
}

.case-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage-light), var(--sky));
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.case-card:hover .case-img { transform: scale(1.04); }

.case-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 36px;
  color: var(--sage-dark);
  background: linear-gradient(135deg, var(--sage-light), var(--sky));
}
.case-img-placeholder span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-mid);
}

.case-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: 20px;
}
.case-badge.new { background: #d54545; color: #fff; animation: blink 1.2s infinite; }

.case-dept {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgb(228, 150, 0);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.case-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.case-date {
  font-size: 12px;
  color: var(--text-light);
}

.case-tag-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
  background: var(--sage-light);
  color: var(--sage-dark);
  letter-spacing: .3px;
}
.case-tag-pill.success {
  background: #1a7a4e;
  color: #e6f7ef;
}

.case-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.case-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.case-view-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-dark);
  text-decoration: none;
  margin-top: auto;
}
.case-view-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .case-card-horizontal { flex-direction: column; }
  .case-card-horizontal .case-img-wrap { width: 100%; height: 160px; }
  .ann-scroll-track { height: 260px; }
}

/* ── Filter bar ──────────────────────────────────────────────── */
.dr-filter-bar {
  background: #fff; border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07); padding: 20px 24px; margin-bottom: 24px;
  border:1px solid #ddd;
}
.dr-filter-bar .input-group-text {
  background: #fff; border-color: #e2e8f0; border-right: none;
  border-radius: 10px 0 0 10px; color: #9ca3af;
}
.dr-filter-bar .input-group .form-control {
  border-left: none; border-color: #e2e8f0;
  border-radius: 0 10px 10px 0; font-size: 14px; color: #374151;
}
.dr-filter-bar .form-select {
  border-color: #e2e8f0; border-radius: 10px; font-size: 14px; color: #374151; height: 42px;
}
.dr-filter-bar .input-group:focus-within .input-group-text,
.dr-filter-bar .input-group:focus-within .form-control,
.dr-filter-bar .form-select:focus {
  border-color: #4a7a5e; box-shadow: none; outline: none;
}
.dr-filter-btn {
  background: #4a7a5e; color: #fff; border: none; border-radius: 10px;
  height: 42px; width: 100%; font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; transition: background .2s;
}
.dr-filter-btn:hover { background: #3a6a4e; }

/* ── Toolbar ─────────────────────────────────────────────────── */
.dr-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dr-count { font-size: 13px; color: #6b7280; }
.dr-count strong { color: #1a2e44; }
.dr-toggle { display: flex; gap: 4px; }
.dr-toggle-btn {
  width: 36px; height: 36px; border-radius: 9px;
  border: 1.5px solid #ffdb87; background: #fff; color: #c68f0e;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 15px; transition: all .2s;
}
.dr-toggle-btn.active { background: #dda31a; border-color: #c29018; color: #fff; }
.dr-toggle-btn:hover:not(.active) { border-color: #c29018; color: #dda31a; }

/* ── Card View ───────────────────────────────────────────────── */
.dr-card {
  background: #fff; border-radius: 5px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07); padding: 28px 20px 22px;
  text-align: center; transition: transform .22s, box-shadow .22s; height: 100%;
  display: flex; flex-direction: column; align-items: center;
  border:1px solid #ddd;
}
.dr-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(74,122,94,.18); }
.dr-photo {
  width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
  object-position: top center; border: 3px solid #bcbcbc; margin-bottom: 14px;
}
.dr-photo-placeholder {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, #eaf3ee, #c8e6d0);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: #4a7a5e; border: 3px solid #eaf3ee; margin-bottom: 14px;
}
.dr-name { font-size: 16px; font-weight: 700; color: #1a2e44; margin-bottom: 0px; }
.dr-specialty-pill {
  display: inline-block; background: #fff; color: #1e9898;
  font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 12px; border-radius: 20px; margin-bottom: 0px;
}
.dr-designation { font-size: 13px; color: #6b7280; margin-bottom: 5px; flex: 1; }
.dr-available-days {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: #020774;
  background: #e3e3e3; padding: 2px 12px; border-radius: 20px;
  margin-bottom: 14px;
}
.dr-view-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--rose); color: var(--rose); background: transparent;
  font-size: 13px; font-weight: 600; padding: 5px 20px; border-radius: 5px;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.dr-view-btn:hover { background: var(--rose); color: #fff; }

/* ── List View ───────────────────────────────────────────────── */
.dr-list-wrap {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.dr-list-wrap table { margin: 0; }
.dr-list-wrap thead th {
  background: #f8fafc; color: #6b7280; font-size: 16px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  border-bottom: 1.5px solid #e2e8f0; padding: 10px 15px;
}
.dr-list-wrap tbody td {
  padding: 5px 15px; border-bottom: 1px solid #f1f5f9;
  vertical-align: middle; font-size: 15px; color: #374151;
}
.dr-list-wrap tbody tr:last-child td { border-bottom: none; }
.dr-list-wrap tbody tr:hover td { background: #f8fffe; }
.dr-list-photo {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  object-position: top; border: 2px solid #eaf3ee;
}
.dr-list-photo-ph {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, #eaf3ee, #c8e6d0);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #4a7a5e;
}
.dr-list-name { font-weight: 600; color: #1a2e44; }
.dr-list-btn {
  display: inline-flex; align-items: center; gap: 4px; color: #4a7a5e;
  font-size: 12px; font-weight: 600; cursor: pointer; border: none;
  background: none; padding: 0; text-decoration: none;
}
.dr-list-btn:hover { color: #1a7a4e; }

/* ── Pagination ──────────────────────────────────────────────── */
.dr-pager { display: flex; justify-content: center; margin-top: 36px; }
.dr-pager .pagination { flex-wrap: wrap; gap: 4px; }
.dr-pager .page-link {
  border-radius: 9px !important; border-color: #e2e8f0;
  color: #c29018; font-weight: 500; min-width: 38px; text-align: center; font-size: 14px;
}
.dr-pager .page-item.active .page-link { background: #dda31a; border-color: #c29018; color: #fff; }
.dr-pager .page-link:hover { background: #eaf3ee; border-color: #c29018; color: #b88304; }
.dr-pager .page-item.disabled .page-link { color: #cbd5e0; pointer-events: none; }

/* ── Skeleton ────────────────────────────────────────────────── */
@keyframes dr-pulse { 0%,100%{opacity:1} 50%{opacity:.45} }
.dr-skeleton { animation: dr-pulse 1.4s ease-in-out infinite; }
.dr-skel-card { background: #fff; border-radius: 16px; padding: 28px 20px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.dr-skel-circle { width: 100px; height: 100px; border-radius: 50%; background: #e2e8f0; margin: 0 auto 14px; }
.dr-skel-line { height: 11px; border-radius: 6px; background: #e2e8f0; margin: 0 auto 10px; }

/* ── Empty state ─────────────────────────────────────────────── */
.dr-empty { text-align: center; padding: 80px 24px; color: #9ca3af; }
.dr-empty i { font-size: 52px; color: #d1d5db; margin-bottom: 14px; display: block; }
.dr-empty p { font-size: 15px; }

/* ── Shared frontend pagination (.fe-pager) ──────────────────── */
/* Used by announcements, special-cases, and any paginated list  */
.fe-pager { display: flex; justify-content: center; margin-top: 52px; }
.fe-pager .pagination { flex-wrap: wrap; gap: 4px; }
.fe-pager .page-link {
  border-radius: 9px !important; border-color: #e2e8f0;
  color: var(--rose); font-weight: 500; min-width: 40px; text-align: center;
}
.fe-pager .page-item.active .page-link { background: var(--rose); border-color: var(--rose); color: #fff; }
.fe-pager .page-link:hover:not(.active) { background: var(--cream); border-color: var(--rose); }
.fe-pager .page-item.disabled .page-link { color: #cbd5e0; }

/* ── Shared frontend empty state (.fe-empty) ─────────────────── */
.fe-empty { text-align: center; padding: 90px 24px; color: #9ca3af; }
.fe-empty i { font-size: 52px; color: #d1d5db; margin-bottom: 16px; display: block; }
.fe-empty p { font-size: 16px; }

/* ── Announcement attachment buttons ─────────────────────────── */
.ann-card-footer.show { display: flex !important; }
.ann-attach-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: opacity .2s;
  border: 1px solid #ddd;
}
.ann-attach-btn:hover { opacity: .82; }
.ann-attach-pdf   { background: #fee2e2; color: #991b1b; }
.ann-attach-image { background: #eff6ff; color: #1d4ed8; }
.ann-attach-link  { background: #f0fdf4; color: #166534; }
.ann-attach-photos { background: #f0fdf4; color: #065f46; border: 1px solid #bbf7d0; cursor: pointer; }
.ann-attach-photos:hover { opacity: .8; }

/* ──────────── MEDIA & NEWS ──────────── */
/* Top photo banner on home-page cards */
.mn-card-img {
  width: 100%; height: 185px;
  object-fit: cover; display: block; flex-shrink: 0;
}

/* Multi-photo gallery lightbox modal */
#mnGalleryModal .modal-dialog { max-width: 820px; }
#mnGalleryModal .modal-content { background: transparent; border: none; box-shadow: none; }
.mn-lb-wrap { background: #000; border-radius: 16px; overflow: hidden; position: relative; }
.mn-lb-img  { display: block; width: 100%; max-height: 72vh; object-fit: contain; border-radius: 16px 16px 0 0; }
.mn-lb-close {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.55); border: 1.5px solid rgba(255,255,255,.3);
  color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.mn-lb-close:hover { background: rgba(0,0,0,.85); }
.mn-lb-caption {
  background: #111; padding: 14px 20px;
  border-radius: 0 0 16px 16px;
  display: flex; align-items: center; gap: 12px;
}
.mn-lb-caption-info { flex: 1; min-width: 0; }
.mn-lb-caption-date  { font-size: 11px; color: var(--rose); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.mn-lb-caption-title { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.4; }
.mn-lb-nav { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mn-lb-prev, .mn-lb-next {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.3);
  color: #fff; font-size: 14px; cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.mn-lb-prev:hover, .mn-lb-next:hover { background: rgba(255,255,255,.32); }
.mn-lb-counter { font-size: 12px; color: rgba(255,255,255,.6); white-space: nowrap; }

/* ── Compact single-column list layout ───────────────────────── */
.ann-list { grid-template-columns: 1fr !important; gap: 10px; }

.ann-list .ann-card {
  flex-direction: row;
  align-items: stretch;
  border-top: none !important;
  border-left: 4px solid var(--rose);
  border-radius: 12px !important;
}
.ann-list .ann-card:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }

/* Date column */
.ann-list .ann-date-col {
  flex-shrink: 0; width: 110px; min-width: 110px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 14px 12px; border-right: 1px solid #f0f4f0;
  background: #f8fffe; text-align: center;
}
.ann-list .ann-date-day   { font-size: 26px; font-weight: 800; color: var(--rose); line-height: 1; }
.ann-list .ann-date-mon   { font-size: 12px; font-weight: 700; color: var(--mid); text-transform: uppercase; letter-spacing: .06em; }
.ann-list .ann-date-year  { font-size: 11px; color: #b0b8c0; margin-top: 2px; }

/* Body */
.ann-list .ann-card-body  { flex: 1; padding: 14px 20px; display: flex; flex-direction: column; justify-content: center; }
.ann-list .ann-card-date  { display: none; }  /* hide original date row — shown in date-col */
.ann-list .ann-card-title { font-size: 15.5px; margin-bottom: 5px; line-height: 1.35; }
.ann-list .ann-card-desc  {
  font-size: 13.5px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Action column */
.ann-list .ann-card-footer.show {
  flex-shrink: 0; padding: 0 18px;
  display: flex !important; align-items: center;
  border-top: none; background: transparent;
}
.ann-list .ann-attach-btn { white-space: nowrap; }

/* Responsive: stack on mobile */
@media (max-width: 575px) {
  .ann-list .ann-card { flex-direction: column; border-left: none; border-top: 4px solid var(--rose) !important; }
  .ann-list .ann-date-col { flex-direction: row; width: 100%; gap: 6px; padding: 10px 16px; justify-content: flex-start; border-right: none; border-bottom: 1px solid #f0f4f0; background: #f8fffe; }
  .ann-list .ann-date-day { font-size: 16px; }
  .ann-list .ann-card-footer.show { padding: 10px 16px 14px; border-top: 1px solid #f0f4f0; }
}

/* ── Image lightbox modal ─────────────────────────────────────── */
#annImgModal .modal-dialog { max-width: 780px; }
#annImgModal .modal-content { background: transparent; border: none; box-shadow: none; }
.ann-lb-wrap { position: relative; border-radius: 16px; overflow: hidden; background: #000; }
.ann-lb-img  { display: block; width: 100%; max-height: 72vh; object-fit: contain; border-radius: 16px 16px 0 0; }
.ann-lb-close {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.55); border: 1.5px solid rgba(255,255,255,.3);
  color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.ann-lb-close:hover { background: rgba(0,0,0,.85); }
.ann-lb-caption { background: #111; padding: 14px 20px; border-radius: 0 0 16px 16px; }
.ann-lb-caption-date  { font-size: 11px; color: var(--rose); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.ann-lb-caption-title { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.4; }