/* =====================================================
   DR. SHANKAR DAYAL SHARMA SMRITI MAHAVIDYALAYA
   Design System — White + Navy #003366 + Orange #ff6600
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root {
  /* ── Primary: Navy Blue (original) ── */
  --navy:        #003366;
  --navy-mid:    #004080;
  --navy-light:  #0055a5;

  /* ── Accent: Orange (original) ── */
  --gold:        #ff6600;
  --gold-light:  #ff8833;
  --gold-pale:   #fff0e6;

  /* ── Backgrounds ── */
  --ivory:       #ffffff;
  --ivory-dark:  #f4f7f9;
  --white:       #ffffff;

  /* ── Text ── */
  --text-dark:   #1a1a2e;
  --text-mid:    #444455;
  --text-light:  #888899;

  /* ── Feedback ── */
  --error:       #c0392b;
  --success:     #1e7e45;

  /* ── Typography ── */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  /* ── Radii ── */
  --radius-sm:   4px;
  --radius-md:   10px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  /* ── Shadows ── */
  --shadow-sm:   0 2px 8px rgba(0,51,102,0.08);
  --shadow-md:   0 8px 32px rgba(0,51,102,0.12);
  --shadow-lg:   0 20px 60px rgba(0,51,102,0.18);
  --shadow-gold: 0 4px 20px rgba(255,102,0,0.25);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --header-h: 128px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  zoom: 90%;
}

/* ─── SCROLLBAR ─────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ivory-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─── TYPOGRAPHY ────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { color: var(--text-mid); font-size: 1rem; line-height: 1.75; }
a { text-decoration: none; color: inherit; }

/* ─── UTILITIES ─────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-navy { background: var(--navy); }
.bg-ivory { background: var(--ivory); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--gold); color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-light); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,102,0,0.45);
}
.btn-outline {
  background: transparent; color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold); color: var(--navy);
}
.btn-navy {
  background: var(--navy); color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light); transform: translateY(-2px);
}

/* Section Header */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
  font-family: var(--font-mono);
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; }

/* Divider */
.divider {
  width: 56px; height: 3px; background: var(--gold);
  margin: 16px auto; border-radius: 2px;
}
.divider-left { margin: 16px 0; }

/* ─── HEADER ─────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-lg);
}

/* ── Row 1: logo / college name / login (cream) ── */
.header-main {
  background: linear-gradient(180deg, #fffaf4 0%, #fff3e8 100%);
  border-bottom: 3px solid var(--gold);
  transition: var(--transition);
}
.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  text-decoration: none;
  min-width: 0;
}
.header-logo img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  padding: 4px;
  flex-shrink: 0;
  transition: var(--transition);
}
.logo-text { line-height: 1.2; min-width: 0; }
.logo-text .name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  display: block;
  white-space: nowrap;
}
.logo-text .name-line1 { color: var(--navy); }
.logo-text .name-line2 { color: var(--gold); }
.logo-text .tagline {
  font-size: 0.74rem;
  color: var(--text-mid);
  font-weight: 600;
  letter-spacing: 0.01em;
  display: block;
  margin-top: 5px;
  white-space: nowrap;
}
.logo-text .tagline .accent { color: var(--gold); font-weight: 700; }

/* Admission announcement */
.admission-banner {
  flex: 1;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  color: #d10000;
  letter-spacing: 0.02em;
  animation: admissionPulse 1.8s ease-in-out infinite;
}
@keyframes admissionPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.03); }
}
.site-header.scrolled .admission-banner { display: none; }

/* Login button */
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 12px 30px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}
.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,102,0,0.45);
}

/* ── Row 2: navigation (orange) ── */
.header-nav {
  background: #09396a;
}
.header-nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 46px;
  overflow: visible;
}

/* ── Scrolled state: compact header ── */
.site-header.scrolled .header-main-inner { padding: 6px 24px; }
.site-header.scrolled .header-logo img { width: 42px; height: 42px; }
.site-header.scrolled .logo-text .tagline { display: none; }
.site-header.scrolled .logo-text .name { font-size: clamp(0.85rem, 2vw, 1.1rem); }
.site-header.scrolled .btn-login { padding: 9px 22px; font-size: 0.8rem; }

.header-topbar {
  font-size: 0.75rem; color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 6px 0;
  background: rgba(10,20,32,0.9);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.topbar-contact { display: flex; gap: 20px; align-items: center; }
.topbar-contact a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.topbar-contact a:hover { color: var(--gold); }
.topbar-email { color: var(--gold-light) !important; }

/* ─── NAVIGATION ─────────────────────────────────── */
nav.main-nav { margin-left: 0; }

.header-nav .container { max-width: 1320px; padding: 0 10px; }

/* Top-level list — horizontal row */
nav.main-nav > ul {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
  flex-wrap: nowrap;
}

/* Top-level links */
nav.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 13px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

/* Gold underline on active / hover */
nav.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transform: scaleX(0);
  transition: var(--transition);
}
nav.main-nav > ul > li > a:hover,
nav.main-nav > ul > li > a.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.06);
}
nav.main-nav > ul > li > a:hover::after,
nav.main-nav > ul > li > a.active::after {
  transform: scaleX(1);
}

/* Small chevron ▾ on items that have dropdowns */
.has-dropdown > a::after {
  content: '' !important;          /* disable the underline on dropdown parents */
  transform: none !important;
  background: none !important;
  height: 0 !important;
}
.has-dropdown > a .nav-caret {
  display: inline-block;
  font-size: 0.6rem;
  opacity: 0.6;
  margin-left: 2px;
  transition: transform 0.25s;
  line-height: 1;
}
.has-dropdown:hover > a .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border: none; background: none;
  margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--navy); padding: 100px 32px 32px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a {
  display: block; padding: 12px 16px; border-radius: var(--radius-md);
  font-size: 1.1rem; color: var(--white); font-weight: 500;
  border-left: 3px solid transparent; transition: var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active {
  color: var(--gold); border-color: var(--gold);
  background: rgba(255,102,0,0.1);
}
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 1.5rem; color: var(--white); cursor: pointer;
  background: none; border: none;
}

/* ─── HERO / SLIDER ──────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 580px;
  overflow: hidden;
  background: var(--navy);
  display: flex;
  align-items: center;
}

/* ── Slides ── */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease;
  /* Ken Burns zoom on active */
  transform: scale(1.06);
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
  animation: kenBurns 7s ease-out forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0);  }
}

/* ── Overlay ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
}

/* ── Per-slide content (each slide carries its own text + buttons) ── */
.hero-slide-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) 8% 80px;
  max-width: 760px;

  /* entry animation — content fades+slides up when slide becomes active */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0s, transform 0s;
}
.hero-slide.active .hero-slide-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}

/* Tag line above heading */
.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.slide-tag::before {
  content: '';
  width: 36px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  flex-shrink: 0;
}

/* Heading */
.slide-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.slide-title span {
  color: var(--gold-light);
  display: block;
}

/* Sub-text */
.slide-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 520px;
}

/* CTA buttons */
.slide-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Prev/Next arrows ── */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-50%) scale(1.08);
}
.hero-prev { left: 28px; }
.hero-next { right: 28px; }

/* ── Dot indicators ── */
.hero-indicators {
  position: absolute;
  bottom: 36px;
  left: 8%;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-indicator {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.hero-indicator.active {
  background: var(--gold);
  width: 52px;
}

/* ── Slide counter (bottom-right) ── */
.slide-counter {
  position: absolute;
  bottom: 32px;
  right: 36px;
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
}
.slide-counter span:first-child {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 1rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { height: 100svh; min-height: 520px; }
  .hero-slide-content { padding: calc(var(--header-h) + 16px) 6% 100px; max-width: 100%; }
  .slide-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero-prev { left: 12px; }
  .hero-next { right: 12px; }
  .hero-arrow { width: 42px; height: 42px; }
  .hero-indicators { left: 50%; transform: translateX(-50%); }
  .slide-counter { display: none; }
}

/* ─── STATS BAR ──────────────────────────────────── */
.stats-bar {
  background: var(--gold);
  padding: 0;
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 28px 32px; text-align: center;
  border-right: 1px solid rgba(0,51,102,0.15);
  position: relative; overflow: hidden;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: var(--transition);
}
.stat-item:hover::before { background: rgba(255,255,255,0.1); }
.stat-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 900;
  color: var(--navy); line-height: 1; margin-bottom: 4px;
}
.stat-label {
  font-size: 0.8rem; font-weight: 600; color: var(--navy-mid);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ─── FEATURES ───────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.feature-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; text-align: center;
  border: 1px solid rgba(255,102,0,0.15);
  transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gold); transform: scaleX(0);
  transition: var(--transition); transform-origin: left;
}
.feature-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: var(--gold-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.feature-title {
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--navy); margin-bottom: 10px;
}
.feature-text { font-size: 0.875rem; color: var(--text-light); }

/* ─── ABOUT ──────────────────────────────────────── */
.about-section { background: var(--navy); color: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-content h2 { color: var(--white); }
.about-content p { color: rgba(255,255,255,0.72); margin-top: 16px; }
.about-image { position: relative; }
.about-image img {
  width: 100%; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); color: var(--navy);
  padding: 20px 24px; border-radius: var(--radius-lg);
  text-align: center; font-family: var(--font-display);
  box-shadow: var(--shadow-gold);
}
.about-badge .num { font-size: 2rem; font-weight: 900; line-height: 1; }
.about-badge .txt { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }

/* Light variant of the about section (white background) */
.about-section-light { background: var(--ivory); color: var(--text-mid); }
.about-section-light .about-content h2 { color: var(--navy); }
.about-section-light .about-content p { color: var(--text-mid); }
.about-section-light .about-content .about-quote { color: var(--text-light); }

/* ─── COURSES ────────────────────────────────────── */
.course-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 28px; position: relative; overflow: hidden;
}
.course-card-header::after {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,102,0,0.1);
}
.course-badge {
  display: inline-block; padding: 4px 12px;
  background: rgba(255,102,0,0.2); color: var(--gold-light);
  border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  margin-bottom: 12px;
}
.course-card-header h3 { color: var(--white); font-size: 1.3rem; }
.course-card-body { padding: 24px; }
.course-meta { display: flex; gap: 16px; margin: 12px 0; flex-wrap: wrap; }
.course-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: var(--text-mid);
}
.course-meta-item svg { color: var(--gold); }

/* ─── GALLERY ────────────────────────────────────── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-md); aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,51,102,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-zoom {
  width: 48px; height: 48px; background: var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1.2rem;
  transform: scale(0.6); transition: var(--transition);
}
.gallery-item:hover .gallery-zoom { transform: scale(1); }

/* Lightbox */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-close {
  position: absolute; top: -40px; right: 0;
  color: var(--white); font-size: 2rem; cursor: pointer; background: none; border: none;
  transition: var(--transition);
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); color: var(--white); border: none;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  font-size: 1.2rem; transition: var(--transition); display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: var(--gold); color: var(--navy); }
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }

/* ─── STAFF ──────────────────────────────────────── */
.staff-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.staff-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.staff-photo { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.staff-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 0.5s ease;
}
.staff-card:hover .staff-photo img { transform: scale(1.05); }
.staff-body { padding: 20px; text-align: center; }
.staff-name {
  font-family: var(--font-display); font-size: 1rem; color: var(--navy);
  margin-bottom: 4px;
}
.staff-designation {
  font-size: 0.8rem; color: var(--gold); font-weight: 600;
  letter-spacing: 0.04em;
}
.staff-dept-badge {
  display: inline-block; margin-top: 8px; padding: 3px 10px;
  background: var(--gold-pale); color: var(--navy); border-radius: 12px;
  font-size: 0.72rem; font-weight: 600;
}

/* ─── RECOGNITION ────────────────────────────────── */
.recognition-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.recognition-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid rgba(255,102,0,0.2);
  transition: var(--transition); position: relative; overflow: hidden;
}
.recognition-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: var(--gold);
}
.recognition-card:hover {
  box-shadow: var(--shadow-lg); transform: translateX(4px);
}
.recognition-icon {
  font-size: 2.5rem; margin-bottom: 16px; display: block;
}
.recognition-title {
  font-family: var(--font-display); font-size: 1.1rem; color: var(--navy);
  margin-bottom: 10px;
}
.recognition-body { font-size: 0.875rem; color: var(--text-mid); }
.recognition-date {
  margin-top: 16px; font-size: 0.75rem; color: var(--text-light);
  font-family: var(--font-mono);
}

/* ─── CONTACT ────────────────────────────────────── */
.contact-section { background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { color: var(--white); }
.contact-info p { color: rgba(255,255,255,0.65); margin: 16px 0 32px; }
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 24px;
}
.contact-icon {
  width: 44px; height: 44px; background: rgba(255,102,0,0.15);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0; font-size: 1rem;
}
.contact-detail-text strong {
  display: block; color: var(--white); font-size: 0.85rem; margin-bottom: 2px;
}
.contact-detail-text span { color: rgba(255,255,255,0.55); font-size: 0.875rem; }

.contact-form-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 40px; box-shadow: var(--shadow-lg);
}
.contact-form-card h3 {
  font-size: 1.3rem; margin-bottom: 24px; color: var(--navy);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid #e0ddd4; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.9rem;
  color: var(--text-dark); background: var(--ivory);
  transition: var(--transition); outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 3px rgba(255,102,0,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-error { font-size: 0.78rem; color: var(--error); margin-top: 4px; display: none; }
.form-group.has-error input,
.form-group.has-error textarea { border-color: var(--error); }
.form-group.has-error .form-error { display: block; }

.form-status {
  padding: 12px 16px; border-radius: var(--radius-md);
  font-size: 0.875rem; font-weight: 500; margin-top: 12px;
  display: none;
}
.form-status.success {
  background: rgba(39,174,96,0.1); color: var(--success);
  border: 1px solid rgba(39,174,96,0.3); display: block;
}
.form-status.error {
  background: rgba(192,57,43,0.1); color: var(--error);
  border: 1px solid rgba(192,57,43,0.3); display: block;
}

/* ─── MAP ────────────────────────────────────────── */
.map-section iframe {
  width: 100%; height: 380px; border: none;
  display: block; filter: grayscale(0.2) contrast(1.1);
}

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer { background: #060e17; color: var(--white); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand .footer-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  padding: 3px;
  flex-shrink: 0;
}
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.75; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: var(--transition);
}
.social-btn:hover { background: var(--gold); color: var(--navy); }

.footer-col h4 {
  font-family: var(--font-display); font-size: 1rem; color: var(--white);
  margin-bottom: 20px; position: relative;
}
.footer-col h4::after {
  content: ''; display: block; width: 28px; height: 2px;
  background: var(--gold); margin-top: 8px; border-radius: 1px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.875rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li {
  display: flex; gap: 10px; font-size: 0.875rem;
  color: rgba(255,255,255,0.5); align-items: flex-start;
}
.footer-contact-list i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  padding: 20px 0; display: flex;
  align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: rgba(255,255,255,0.3); gap: 16px;
}
.footer-bottom a { color: var(--gold-light); transition: var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ─── BREADCRUMB ─────────────────────────────────── */
.page-banner {
  background: var(--navy); padding: 80px 0 48px;
  margin-top: var(--header-h); position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,102,0,0.08) 0%, transparent 60%);
}
.page-banner h1 { color: var(--white); position: relative; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-top: 12px;
  list-style: none; position: relative;
}
.breadcrumb li { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.breadcrumb li a { color: var(--gold-light); transition: var(--transition); }
.breadcrumb li a:hover { color: var(--gold); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; }

/* ─── ADMIN PANEL ────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--navy); color: var(--white);
  padding: 0; position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}
.admin-brand {
  padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 10px;
}
.admin-brand span { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; }
.admin-nav { padding: 16px 12px; }
.admin-nav-section { margin-bottom: 24px; }
.admin-nav-label {
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); padding: 0 8px; margin-bottom: 8px;
  font-family: var(--font-mono);
}
.admin-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--radius-md); color: rgba(255,255,255,0.6);
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: var(--transition); border: none; background: none;
  width: 100%; text-align: left; text-decoration: none;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(255,102,0,0.12); color: var(--gold-light);
}
.admin-nav-item.active { border-left: 3px solid var(--gold); }

.admin-main { background: var(--ivory-dark); padding: 32px; }
.admin-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.admin-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); }
.admin-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; margin-bottom: 24px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
}
.admin-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--ivory-dark);
}
.admin-card-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; }
.admin-table th {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-light); font-weight: 600; background: var(--ivory-dark);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.admin-table td { border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 0.875rem; }
.admin-table tr:hover td { background: rgba(255,102,0,0.03); }
.admin-table img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
}
.badge-gold { background: var(--gold-pale); color: #8a6000; }
.badge-navy { background: rgba(0,51,102,0.1); color: var(--navy); }
.badge-success { background: rgba(39,174,96,0.1); color: #1e8449; }

.btn-icon {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  border: none; cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center; font-size: 0.85rem;
  transition: var(--transition);
}
.btn-edit { background: rgba(255,102,0,0.1); color: var(--gold); }
.btn-edit:hover { background: var(--gold); color: var(--navy); }
.btn-delete { background: rgba(192,57,43,0.1); color: var(--error); }
.btn-delete:hover { background: var(--error); color: var(--white); }

.upload-zone {
  border: 2px dashed rgba(255,102,0,0.4); border-radius: var(--radius-lg);
  padding: 40px; text-align: center; cursor: pointer; transition: var(--transition);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--gold); background: rgba(255,102,0,0.04);
}
.upload-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.upload-zone p { font-size: 0.875rem; color: var(--text-light); }

.admin-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 28px;
}
.admin-stat-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 24px;
  border-left: 4px solid var(--gold); box-shadow: var(--shadow-sm);
}
.admin-stat-card .num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 900;
  color: var(--navy);
}
.admin-stat-card .lbl { font-size: 0.8rem; color: var(--text-light); margin-top: 4px; }

/* ─── MODAL ──────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 5000;
  background: rgba(0,0,0,0.5); align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 36px; max-width: 560px; width: 100%;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--ivory-dark);
}
.modal-title { font-family: var(--font-display); font-size: 1.3rem; }
.modal-close {
  font-size: 1.3rem; cursor: pointer; background: none; border: none;
  color: var(--text-light); transition: var(--transition);
}
.modal-close:hover { color: var(--error); }

/* ─── TOAST ──────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  padding: 14px 20px; border-radius: var(--radius-md);
  font-size: 0.875rem; font-weight: 500; color: var(--white);
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg); min-width: 280px;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
}
.toast-success { background: #1e8449; }
.toast-error   { background: var(--error); }
@keyframes toastIn  { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes toastOut { from { opacity:1; } to { opacity:0; } }

/* ─── LOADER ─────────────────────────────────────── */
.loader { display: inline-block; width: 20px; height: 20px; }
.loader::after {
  content: ''; display: block; width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── ANIMATIONS ─────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1180px) {
  nav.main-nav > ul > li > a {
    padding: 13px 8px;
    font-size: 0.66rem;
  }
}
@media (max-width: 900px) {
  nav.main-nav > ul > li > a {
    padding: 13px 5px;
    font-size: 0.6rem;
    letter-spacing: 0.01em;
  }
  nav.main-nav > ul > li > a .nav-caret { display: none; }
}
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .staff-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
  .admin-stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --header-h: 110px; }
  .header-main-inner { padding: 10px 16px; gap: 12px; }
  .header-logo { gap: 10px; }
  .header-logo img { width: 48px; height: 48px; }
  .logo-text .name { font-size: 0.85rem; white-space: normal; }
  .logo-text .tagline { font-size: 0.62rem; white-space: normal; }
  .btn-login { padding: 9px 18px; font-size: 0.72rem; }
  .admission-banner { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .recognition-grid { grid-template-columns: 1fr; }
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .lightbox-prev { left: -36px; }
  .lightbox-next { right: -36px; }
}
@media (max-width: 480px) {
  :root { --header-h: 100px; }
  .logo-text .tagline { display: none; }
  .logo-text .name { font-size: 0.74rem; }
  .header-logo img { width: 40px; height: 40px; }
  .btn-login { padding: 8px 14px; font-size: 0.66rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .admin-stats-row { grid-template-columns: 1fr 1fr; }
}

/* ─── DROPDOWN NAV ─────────────────────────────────── */

/* Top-level nav items that have dropdowns */
.has-dropdown { position: relative; }

/* ── Dropdown panel ── */
.has-dropdown > .dropdown {
  /* layout */
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 210px;

  /* positioning */
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 500;

  /* look */
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 40px rgba(0,51,102,0.16), 0 2px 8px rgba(0,51,102,0.08);

  /* entry animation */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;

  /* small gold top border accent */
  border-top: 3px solid var(--gold);
}

/* Show on hover */
.has-dropdown:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown rows */
.dropdown > li {
  width: 100%;
  position: relative;
}

/* Divider between items */
.dropdown > li + li {
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* Dropdown links */
.dropdown > li > a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 18px !important;
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  color: var(--text-dark) !important;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, padding-left 0.18s;
  border-radius: 0;
  line-height: 1.4;
}
.dropdown > li > a::after { display: none !important; }
.dropdown > li > a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.18s, transform 0.18s;
  transform: scale(0.4);
}
.dropdown > li > a:hover {
  background: var(--ivory) !important;
  color: var(--navy) !important;
  padding-left: 22px !important;
}
.dropdown > li > a:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* ── Sub-dropdown panel ── */
.has-subdrop { position: relative; }

.has-subdrop > a::after {
  content: '›' !important;
  display: inline-block !important;
  margin-left: auto;
  font-size: 1rem;
  color: var(--text-light);
  transform: none !important;
  background: none !important;
  height: auto !important;
  width: auto !important;
  position: static !important;
  border-radius: 0 !important;
}

.has-subdrop > .sub-dropdown {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 190px;

  /* positioning — fly out to the right */
  position: absolute;
  top: -3px;          /* aligns with border-top of parent */
  left: calc(100% + 1px);
  z-index: 600;

  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 40px rgba(0,51,102,0.16), 0 2px 8px rgba(0,51,102,0.08);
  border-top: 3px solid var(--gold);

  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.has-subdrop:hover > .sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.has-subdrop > .sub-dropdown > li { width: 100%; }
.has-subdrop > .sub-dropdown > li + li { border-top: 1px solid rgba(0,0,0,0.05); }
.has-subdrop > .sub-dropdown > li > a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 18px !important;
  font-size: 0.83rem !important;
  font-weight: 500 !important;
  color: var(--text-dark) !important;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.has-subdrop > .sub-dropdown > li > a::after { display: none !important; }
.has-subdrop > .sub-dropdown > li > a::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0; flex-shrink: 0;
  transition: opacity 0.18s;
}
.has-subdrop > .sub-dropdown > li > a:hover {
  background: var(--ivory) !important;
  color: var(--navy) !important;
}
.has-subdrop > .sub-dropdown > li > a:hover::before { opacity: 1; }

/* Sub-menu flyout caret (right arrow) */
.sub-caret {
  display: inline-block;
  font-size: 0.62rem;
  opacity: 0.5;
  margin-left: auto;
  padding-left: 8px;
  transition: transform 0.2s, opacity 0.2s;
  line-height: 1;
}
.has-subdrop:hover > a .sub-caret {
  opacity: 1;
  transform: translateX(3px);
}

/* Ensure no underline ::after bleeds into dropdown links */
.dropdown a::after,
.sub-dropdown a::after { display: none !important; content: '' !important; }
.features-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
.feature-card {
  background:var(--white); border-radius:var(--radius-lg); padding:32px 24px;
  text-align:center; box-shadow:var(--shadow-sm); border:1px solid rgba(0,0,0,0.04);
  transition:var(--transition);
}
.feature-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.feature-icon { font-size:2.5rem; margin-bottom:16px; }
.feature-title { font-family:var(--font-display); font-size:1.1rem; color:var(--navy); margin-bottom:10px; }
.feature-text { font-size:0.875rem; color:var(--text-mid); }

/* ── Bank Details Card (Financial page) ── */
.bank-card {
  display: flex;
  align-items: stretch;
  gap: 32px;
  background: #fff;
  border: 1px solid #e3e9ef;
  border-top: 4px solid var(--gold);
  border-radius: 14px;
  padding: 32px 36px;
  margin: 0 auto 40px;
  max-width: 1140px;
  box-shadow: 0 8px 28px rgba(0, 51, 102, 0.08);
}
.bank-card-info { flex: 1; }
.bank-card-tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.bank-card-info h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.bank-detail-list { list-style: none; padding: 0; margin: 0; }
.bank-detail-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 9px 0;
  border-bottom: 1px dashed #e3e9ef;
  font-size: 0.95rem;
}
.bank-detail-list li:last-child { border-bottom: none; }
.bank-detail-list li span {
  flex: 0 0 130px;
  color: #6b7a8c;
  font-weight: 500;
}
.bank-detail-list li strong { color: var(--navy); flex: 1; min-width: 200px; }
.bank-card-qr {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ivory-dark);
  border-radius: 12px;
  padding: 20px 16px;
}
.bank-card-qr img {
  width: 240px;
  height: auto;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  border: 1px solid #e3e9ef;
}
.bank-card-qr p {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
}
@media (max-width: 680px) {
  .bank-card { flex-direction: column; padding: 24px 20px; }
  .bank-card-qr { flex: none; }
  .bank-detail-list li span { flex-basis: 100%; }
}

/* ── Official Documents (Financial / Infrastructure / Reports pages) ── */
.docs-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.docs-intro .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.docs-intro h2 {
  color: var(--navy);
  margin-bottom: 12px;
}
.docs-intro p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.75;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1140px;
  margin: 0 auto;
}
.doc-row {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: 0 4px 18px rgba(0, 51, 102, 0.05);
  transition: var(--transition);
}
.doc-row:hover {
  box-shadow: 0 10px 28px rgba(0, 51, 102, 0.1);
  transform: translateY(-2px);
}
.doc-row-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--gold-pale);
  border: 1px solid #f3ddc9;
  border-radius: 12px;
}
.doc-row-body { flex: 1; min-width: 0; }
.doc-row-body h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.doc-row-body p {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}
.btn-view {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border: 1.5px solid var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-view:hover {
  background: var(--gold);
  color: #fff;
}
@media (max-width: 680px) {
  .doc-row { flex-direction: column; align-items: flex-start; text-align: left; gap: 14px; }
  .btn-view { align-self: flex-start; }
}

/* ── Affiliation & Recognition Documents (Recognition page) ── */
.affil-docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 768px) {
  .affil-docs-grid { grid-template-columns: 1fr; }
}
