/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --primary: #1a237e;
  --primary-light: #283593;
  --accent: #ff6b4a;
  --accent-hover: #e85a3a;
  --purple: #6c5ce7;
  --purple-light: #8577ed;
  --gold: #f59e0b;
  --dark: #2d2d2d;
  --text: #444444;
  --text-light: #777777;
  --bg: #fffaf5;
  --bg-white: #ffffff;
  --bg-light: #f8f6f3;
  --border: #e8e8e8;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);

  /* Layout */
  --topbar-h: 40px;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.25rem;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1240px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 50%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: var(--font-size-base);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 74, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--dark);
  transform: translateY(-2px);
}

.btn-purple {
  background: var(--purple);
  color: #fff;
}

.btn-purple:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.35);
}

.btn-nav-contact {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  white-space: nowrap;
}

.btn-nav-contact:hover {
  background: #0d1757;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 35, 126, 0.35);
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--font-size-sm);
}

/* ===========================
   SECTION HELPERS
   =========================== */
.section {
  padding: var(--section-padding);
}

.section-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-light);
  max-width: 600px;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* ===========================
   TOP BAR
   =========================== */
.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  transition: transform 0.3s ease;
  height: var(--topbar-h, 40px);
  display: flex;
  align-items: center;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-left a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.topbar-left a:hover {
  opacity: 0.85;
}

.topbar-left svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-helpline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.topbar-helpline a {
  color: var(--gold);
  text-decoration: none;
}

.topbar-helpline a:hover {
  text-decoration: underline;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: var(--topbar-h, 40px);
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1400px;
}

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

.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo-brand {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 6px;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--dark);
}

/* Dropdown Menus */
.has-dropdown {
  position: relative;
}
.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 3px;
}
.dropdown-arrow {
  transition: transform 0.2s;
  margin-top: 1px;
}
.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border: 1px solid #eee;
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(8px);
  z-index: 100;
  list-style: none;
  margin: 0;
}
.has-dropdown:hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li {
  list-style: none;
}
.nav-dropdown a {
  display: block;
  padding: 8px 20px;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown a::after {
  display: none;
}
.nav-dropdown a:hover {
  background: #f5f6fa;
  color: var(--primary-blue, #1a237e);
}

.nav-dropdown > a svg {
  transition: transform 0.2s;
}

.nav-dropdown:hover > a svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  list-style: none;
  margin: 0;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu li {
  list-style: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 20px !important;
  font-size: 0.88rem !important;
  color: var(--text) !important;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a:hover {
  background: var(--bg);
  color: var(--primary) !important;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   HERO BANNER (Full-width BG Video)
   =========================== */
.hero-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Background Video */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Hero Slideshow */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide video,
.hero-slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide image fallback when video is playing */
.hero-slide.video-playing .hero-slide-img {
  display: none;
}

/* Hero text fade transition */
#heroTitle, #heroSubtitle {
  transition: opacity 0.4s ease;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 20, 40, 0.65) 0%,
    rgba(10, 20, 40, 0.50) 40%,
    rgba(10, 20, 40, 0.75) 100%
  );
}

/* Banner Content Wrapper */
.hero-banner-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 160px;
}

.hero-banner-content .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 20px;
}

/* Hero Split Layout */
.hero-split {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-left {
  flex: 1;
  min-width: 0;
}

.hero-left h1 {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-left p {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-right {
  width: 520px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ---- Hero Panels (shared) ---- */
.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-panel-header span {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-panel-header a {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}
.hero-panel-header a:hover { text-decoration: underline; }

/* ---- Video Gallery ---- */
.hero-video-gallery {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 14px;
}

.hero-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-video-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 9/12;
}
.hero-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.hero-video-card:hover img { transform: scale(1.05); }

.hero-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.3s;
}
.hero-video-card:hover .hero-video-play { opacity: 1; }

.hero-video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

/* ---- Reels Strip (legacy) ---- */
.hero-reels-strip {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 14px;
}

.reels-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.reels-strip-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.reels-strip-nav {
  display: flex;
  gap: 8px;
}

.reels-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.reels-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.reels-strip-track {
  display: flex;
  gap: 12px;
  overflow: hidden;
}

.reel-card {
  width: 110px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #000;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0.6;
  border: 2px solid transparent;
}

.reel-card.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(255, 107, 74, 0.3);
}

.reel-card video,
.reel-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reel Lightbox */
.reel-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.reel-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.reel-lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.reel-lightbox-content {
  position: relative;
  z-index: 1;
  width: 360px;
  max-width: 90vw;
  height: 640px;
  max-height: 85vh;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.reel-lightbox.active .reel-lightbox-content {
  transform: scale(1);
}

.reel-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

.reel-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.reel-lightbox-player {
  width: 100%;
  height: 100%;
}

.reel-lightbox-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.reel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}


.reel-play-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s;
}

.reel-card:hover .reel-play-btn { opacity: 1; transform: scale(1.1); }

.reel-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  color: #fff;
  z-index: 2;
}

.reel-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  background: var(--accent);
  margin-bottom: 4px;
}

.reel-info p {
  font-size: 11px;
  line-height: 1.3;
  opacity: 0.9;
}

/* ---- Hero Noticeboard ---- */
.hero-noticeboard {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* ---- Hero Floating Polaroid Stack ---- */
.polaroid-stage {
  position: relative;
  height: 580px;
  perspective: 1200px;
}

.polaroid {
  position: absolute;
  width: 340px;
  background: #fff;
  border-radius: 6px;
  padding: 14px 14px 54px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  transform-origin: center center;
}

.polaroid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

.polaroid-info {
  position: absolute;
  bottom: 10px;
  left: 16px;
  right: 16px;
}

.polaroid-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.polaroid-info p {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
}

/* Tape decoration on top */
.polaroid::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 70px;
  height: 22px;
  background: rgba(255, 235, 180, 0.7);
  z-index: 10;
  border-radius: 2px;
}

.polaroid:nth-child(2)::before { transform: translateX(-50%) rotate(1deg); }
.polaroid:nth-child(4)::before { transform: translateX(-50%) rotate(-1deg); }
.polaroid:nth-child(5)::before { transform: translateX(-50%) rotate(3deg); }

/* Default stacked positions */
.polaroid:nth-child(1) { top: 20px; left: 50px; transform: rotate(-6deg) scale(0.9); z-index: 1; opacity: 0.6; }
.polaroid:nth-child(2) { top: 30px; left: 80px; transform: rotate(-3deg) scale(0.95); z-index: 2; opacity: 0.75; }
.polaroid:nth-child(3) { top: 15px; left: 100px; transform: rotate(0deg) scale(1); z-index: 5; opacity: 1; }
.polaroid:nth-child(4) { top: 30px; left: 120px; transform: rotate(3deg) scale(0.95); z-index: 2; opacity: 0.75; }
.polaroid:nth-child(5) { top: 20px; left: 140px; transform: rotate(6deg) scale(0.9); z-index: 1; opacity: 0.6; }
.polaroid:nth-child(6) { top: 40px; left: 60px; transform: rotate(-8deg) scale(0.82); z-index: 0; opacity: 0.4; }

/* Active front polaroid */
.polaroid.front {
  top: 15px !important;
  left: 90px !important;
  transform: rotate(0deg) scale(1) !important;
  z-index: 5 !important;
  opacity: 1 !important;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 8px 20px rgba(0,0,0,0.3) !important;
}

/* Position classes for non-front cards */
.polaroid.pos-back-left-far {
  top: 40px !important; left: 20px !important;
  transform: rotate(-8deg) scale(0.82) !important;
  z-index: 1 !important; opacity: 0.4 !important;
}
.polaroid.pos-back-left {
  top: 30px !important; left: 50px !important;
  transform: rotate(-4deg) scale(0.9) !important;
  z-index: 2 !important; opacity: 0.65 !important;
}
.polaroid.pos-back-right {
  top: 30px !important; left: 130px !important;
  transform: rotate(4deg) scale(0.9) !important;
  z-index: 2 !important; opacity: 0.65 !important;
}
.polaroid.pos-back-right-far {
  top: 40px !important; left: 160px !important;
  transform: rotate(8deg) scale(0.82) !important;
  z-index: 1 !important; opacity: 0.4 !important;
}
.polaroid.pos-hidden {
  top: 50px !important; left: 90px !important;
  transform: rotate(0deg) scale(0.7) !important;
  z-index: 0 !important; opacity: 0 !important;
}

/* Gallery counter & dots */
.stage-counter {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.stage-dots {
  display: flex;
  gap: 8px;
}

.stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.3s;
}

.stage-dot.active {
  background: var(--gold, #f59e0b);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.3);
}

.stage-dot:hover {
  background: rgba(255,255,255,0.5);
}

.stage-link {
  font-size: 12px;
  color: var(--gold, #f59e0b);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.stage-link:hover {
  color: var(--accent, #ff6b4a);
}

/* Polaroid responsive */
@media (max-width: 1100px) {
  .polaroid-stage { height: 420px; margin: 0 auto; max-width: 480px; }
  .polaroid { width: 260px; }
  .polaroid img { height: 170px; }
  .polaroid.front { left: 70px !important; }
  .polaroid.pos-back-left-far { left: 10px !important; }
  .polaroid.pos-back-left { left: 35px !important; }
  .polaroid.pos-back-right { left: 110px !important; }
  .polaroid.pos-back-right-far { left: 135px !important; }
  .polaroid.pos-hidden { left: 70px !important; }
}

@media (max-width: 768px) {
  .polaroid-stage { height: 350px; margin: 0 auto; max-width: 100%; }
  .polaroid { width: 200px; padding: 8px 8px 40px; }
  .polaroid img { height: 140px; }
  .polaroid-info h4 { font-size: 11px; }
  .polaroid::before { width: 50px; height: 16px; }

  /* Center polaroids for mobile using calc */
  .polaroid.front { left: calc(50% - 100px) !important; top: 10px !important; }
  .polaroid.pos-back-left { left: calc(50% - 130px) !important; top: 20px !important; }
  .polaroid.pos-back-left-far { left: calc(50% - 145px) !important; top: 30px !important; }
  .polaroid.pos-back-right { left: calc(50% - 70px) !important; top: 20px !important; }
  .polaroid.pos-back-right-far { left: calc(50% - 55px) !important; top: 30px !important; }
  .polaroid.pos-hidden { left: calc(50% - 100px) !important; top: 30px !important; }

  .stage-counter { bottom: 30px; }
}

@media (max-width: 480px) {
  .polaroid-stage { height: 310px; }
  .polaroid { width: 180px; padding: 6px 6px 36px; }
  .polaroid img { height: 120px; }
  .polaroid-info h4 { font-size: 10px; }
  .polaroid-info p { font-size: 9px; }
  .polaroid::before { width: 44px; height: 14px; }

  .polaroid.front { left: calc(50% - 90px) !important; }
  .polaroid.pos-back-left { left: calc(50% - 115px) !important; }
  .polaroid.pos-back-left-far { left: calc(50% - 125px) !important; }
  .polaroid.pos-back-right { left: calc(50% - 65px) !important; }
  .polaroid.pos-back-right-far { left: calc(50% - 55px) !important; }
  .polaroid.pos-hidden { left: calc(50% - 90px) !important; }

  .stage-counter { bottom: 20px; gap: 10px; }
  .stage-dot { width: 8px; height: 8px; }
  .stage-link { font-size: 11px; }
}

/* ---- Quick Stats Bar ---- */
.quick-stats {
  background: var(--primary-blue, #1a237e);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold, #f59e0b);
  line-height: 1.2;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 1rem 0.5rem; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-number { font-size: 1.5rem; }
}

/* ---- Gallery Showcase (Continuous Marquee) ---- */
.gallery-showcase-section {
  background: #0a0a0a;
  padding: 60px 0;
  overflow: hidden;
}
.gallery-showcase-section .section-label {
  color: #f59e0b;
}
.gallery-showcase-section .section-title {
  color: #fff;
}
.gallery-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.gallery-marquee::before,
.gallery-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.gallery-marquee::before {
  left: 0;
  background: linear-gradient(to right, #0a0a0a, transparent);
}
.gallery-marquee::after {
  right: 0;
  background: linear-gradient(to left, #0a0a0a, transparent);
}
.gallery-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: galleryScroll 40s linear infinite;
}
.gallery-marquee:hover .gallery-marquee-track {
  animation-play-state: paused;
}
@keyframes galleryScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 10px)); }
}
.gallery-marquee-card {
  flex-shrink: 0;
  width: 300px;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition: transform 0.3s ease;
}
.gallery-marquee-card:hover {
  transform: scale(1.03);
}
.gallery-marquee-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.gallery-marquee-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-marquee-card:hover .gallery-marquee-img img {
  transform: scale(1.1);
}
.gallery-marquee-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-marquee-card:hover .gallery-marquee-info {
  opacity: 1;
}
.gallery-marquee-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
}
.gallery-marquee-count {
  color: #f59e0b;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(245,158,11,0.2);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.gallery-showcase-section .btn-accent {
  background: #f59e0b;
  color: #1a237e;
  font-weight: 700;
}
.gallery-showcase-section .btn-accent:hover {
  background: #fff;
  color: #1a237e;
}

/* Gallery marquee responsive */
@media (max-width: 768px) {
  .gallery-showcase-section { padding: 40px 0; }
  .gallery-marquee-card { width: 220px; height: 280px; }
  .gallery-marquee::before,
  .gallery-marquee::after { width: 50px; }
  .gallery-marquee-track { gap: 16px; }
}
@media (max-width: 480px) {
  .gallery-marquee-card { width: 180px; height: 240px; }
  .gallery-marquee-track { gap: 12px; animation-duration: 30s; }
}

/* ---- Home Facilities Preview ---- */
.home-facilities-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.home-facility-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  width: calc(25% - 1.2rem);
  min-width: 220px;
}
.home-facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.home-facility-img {
  height: 160px;
  overflow: hidden;
}
.home-facility-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-facility-icon {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #e8eaf6, #c5cae9);
}
.home-facility-body {
  padding: 18px;
}
.home-facility-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 6px;
}
.home-facility-body p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .home-facility-card { width: calc(50% - 1rem); }
}
@media (max-width: 480px) {
  .home-facility-card { width: 100%; }
}

/* ---- Home Campus Life Preview ---- */
.home-campuslife-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.home-campuslife-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.home-campuslife-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.home-campuslife-img {
  height: 180px;
  overflow: hidden;
}
.home-campuslife-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-campuslife-body {
  padding: 18px;
}
.home-campuslife-body .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.home-campuslife-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}
.home-campuslife-body p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .home-campuslife-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .home-campuslife-grid { grid-template-columns: 1fr; }
}

/* ---- Home Testimonials ---- */
/* Testimonial section */
.testimonial-section {
  padding: var(--section-padding);
  background: linear-gradient(rgba(255,255,255,0.85), rgba(240,244,248,0.9)),
              url('/static/images/school-bg.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.testimonial-slider {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  min-height: 280px;
}
.home-testimonial-card {
  display: none;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}
.home-testimonial-card.active {
  display: flex;
  animation: testimonialFadeIn 0.6s ease;
}
@keyframes testimonialFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(26,35,126,0.2);
  cursor: pointer;
  transition: background 0.3s;
}
.testimonial-dot.active {
  background: var(--gold, #f59e0b);
}
.home-testimonial-quote {
  font-size: 4rem;
  font-weight: 700;
  color: #f59e0b;
  line-height: 1;
  margin-bottom: -0.5rem;
  font-family: Georgia, serif;
}
.home-testimonial-content {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
  flex: 1;
}
.home-testimonial-stars {
  display: flex;
  gap: 4px;
  font-size: 1.25rem;
  letter-spacing: 2px;
}
.home-testimonial-stars .star {
  color: #d4d4d4;
}
.home-testimonial-stars .star.filled {
  color: #f59e0b;
}
.home-testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 0.5rem;
}
.home-testimonial-author strong {
  font-size: 0.85rem;
  color: #1a237e;
  letter-spacing: 1px;
}
.home-testimonial-author span {
  font-size: 0.8rem;
  color: #888;
}

/* ---- Videos Section (Instagram-style) ---- */
.videos-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f5 100%);
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Instagram Card */
.insta-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dbdbdb;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.insta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Card Header — profile row */
.insta-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.insta-card-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) border-box;
  background-clip: padding-box;
}

.insta-card-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  color: #fff;
}

.insta-card-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.insta-card-name {
  font-size: 13px;
  font-weight: 600;
  color: #262626;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.insta-card-location {
  font-size: 11px;
  color: #8e8e8e;
  line-height: 1.2;
}

/* Card Media — square image/video */
.insta-card-media {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.insta-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.insta-card:hover .insta-card-media img {
  transform: scale(1.03);
}

.video-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3a5f, #283593);
}

/* Play button overlay */
.insta-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  backdrop-filter: blur(4px);
}

.insta-card:hover .insta-card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Actions row — heart, comment, share */
.insta-card-actions {
  padding: 10px 14px 4px;
}

.insta-card-actions-left {
  display: flex;
  gap: 14px;
  color: #262626;
}

.insta-card-actions-left svg {
  cursor: pointer;
  transition: transform 0.2s;
}

.insta-card-actions-left svg:hover {
  transform: scale(1.15);
}

/* Caption */
.insta-card-caption {
  padding: 0 14px 14px;
}

.insta-card-caption p {
  font-size: 13px;
  color: #262626;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insta-card-caption strong {
  font-weight: 600;
}

/* ---- Achievements Section ---- */
/* ---- Achievements Page (Dark Theme) ---- */
.achv-hero {
  position: relative;
  padding: 180px 0 60px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.achv-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(245,158,11,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(99,102,241,0.1) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255,107,74,0.08) 0%, transparent 40%);
  z-index: 0;
}

.achv-hero-grid,
.achv-section-grid {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

.achv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  color: #fbbf24;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.achv-hero-badge i {
  font-size: 8px;
  animation: achvBlink 1.5s ease-in-out infinite;
}

@keyframes achvBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.achv-hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.1;
}

.achv-hero h1 span {
  color: #60a5fa;
}

.achv-hero p {
  font-size: var(--font-size-lg);
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 12px;
}

/* Achievements Section */
.achv-section {
  position: relative;
  padding: 60px 0 100px;
  background: linear-gradient(180deg, #0f172a 0%, #1a1a2e 100%);
  overflow: hidden;
}

.achv-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(circle at 10% 30%, rgba(59,130,246,0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(245,158,11,0.06) 0%, transparent 50%);
  z-index: 0;
}

/* Stats Bar */
.achv-stats-bar {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.achv-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 14px 22px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.achv-stat-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.achv-stat-item i {
  width: 42px;
  height: 42px;
  background: rgba(245,158,11,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fbbf24;
}

.achv-stat-info strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.achv-stat-info span {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Filter Buttons */
.achv-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.achv-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #94a3b8;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.achv-filter-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  transform: translateY(-2px);
}

.achv-filter-btn.active {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(245,158,11,0.35);
}

.achv-filter-btn i {
  font-size: 13px;
}

/* Cards Grid */
.achv-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Achievement Card */
.achv-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.achv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.achv-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.achv-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.achv-card:hover .achv-card-img img {
  transform: scale(1.08);
}

.achv-card-overlay {
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 60%;
  background: linear-gradient(to top, rgba(15,23,42,0.8), transparent);
  pointer-events: none;
  z-index: 1;
}

.achv-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  color: #fff;
}

.badge-academic {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 2px 10px rgba(59,130,246,0.4);
}

.badge-sports {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 2px 10px rgba(16,185,129,0.4);
}

.badge-cultural {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 2px 10px rgba(245,158,11,0.4);
}

.achv-card-year {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #fbbf24;
  z-index: 2;
  border: 1px solid rgba(245,158,11,0.3);
}

.achv-card-body {
  padding: 20px 20px 10px;
  flex: 1;
}

.achv-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.achv-card-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
}

.achv-card-desc p {
  color: #94a3b8;
}

.achv-card-footer {
  padding: 0 20px 18px;
}

.achv-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.achv-card-meta i {
  color: #f59e0b;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .achv-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .achv-stats-bar { flex-direction: column; align-items: stretch; }
  .achv-card-img { height: 170px; }
}

/* Legacy support */
.achievements-highlight {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.achievements-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ---- Noticeboard ---- */

.noticeboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.noticeboard-header span {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.noticeboard-header a {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}

.noticeboard-header a:hover {
  text-decoration: underline;
}

.noticeboard-list {
  flex: 1;
  overflow-y: auto;
  position: relative;
}

.noticeboard-list::-webkit-scrollbar {
  width: 3px;
}
.noticeboard-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.noticeboard-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 1;
  transform: none;
  transition: all 0.4s ease;
  position: relative;
  width: 100%;
}

.noticeboard-item.active {
  opacity: 1;
  transform: none;
  position: relative;
}

.nb-date {
  flex-shrink: 0;
  width: 40px;
  height: 44px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.nb-day {
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.nb-month {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nb-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.3;
}

.nb-text p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* ===========================
   NOTICE TICKER
   =========================== */
.notice-ticker {
  position: fixed;
  top: calc(var(--topbar-h, 40px) + 80px);
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--primary);
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
}

.ticker-wrapper {
  display: flex;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  white-space: nowrap;
  padding: 0 40px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-item .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===========================
   PROGRAMS SECTION
   =========================== */
.programs {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.programs-grid .program-card {
  width: auto;
}

.programs-cta {
  margin-top: 36px;
  text-align: center;
}

.program-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  overflow: hidden;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border);
  background: #fff;
}

.program-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
}

.program-card > h3,
.program-card > div,
.program-card > .medium-badges,
.program-card > .program-card-icon {
  padding-left: 24px;
  padding-right: 24px;
}
.program-card > .program-card-icon { margin-top: 32px; }
.program-card > h3 { padding-top: 20px; }
.program-card > div:last-child,
.program-card > .medium-badges:last-child { padding-bottom: 24px; }

.program-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.program-card-icon.green { background: #e8f5e9; color: #4caf50; }
.program-card-icon.orange { background: #fff3e0; color: #ff9800; }
.program-card-icon.blue { background: #e3f2fd; color: #2196f3; }
.program-card-icon.pink { background: #fce4ec; color: #e91e63; }

.program-card h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: 8px;
}

.program-card p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.6;
}

.medium-badges {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.medium-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 20px;
  background: linear-gradient(135deg, #3b82f6, #1a237e);
  color: #fff;
}

/* ===========================
   ACCESS / FEATURES SECTION
   =========================== */
.access {
  padding: var(--section-padding);
  background: var(--bg);
}

.access .container {
  display: flex;
  align-items: center;
  gap: 80px;
}

.access-image {
  flex: 1;
  position: relative;
}

.access-image-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  background: #fde68a;
  position: relative;
}

.access-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.access-sparkle {
  position: absolute;
  top: 10%;
  right: 0;
  font-size: 32px;
  animation: sparkle 2s infinite ease-in-out;
}

.access-content {
  flex: 1;
}

.access-content h2 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: 16px;
}

.access-content p {
  font-size: var(--font-size-base);
  color: var(--text-light);
  margin-bottom: 28px;
  max-width: 420px;
  line-height: 1.7;
}

.access-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.access-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--dark);
}

.access-feature .dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===========================
   POPULAR CLASSES SECTION
   =========================== */
.classes {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.classes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.classes-header h2 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.class-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.class-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.class-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.class-card-body {
  padding: 20px;
}

.class-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.class-card-meta .author {
  font-size: var(--font-size-xs);
  color: var(--text-light);
}

.class-card-meta .price {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--dark);
}

.class-card-body h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.class-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-size-xs);
  color: var(--text-light);
}

.class-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
}

/* ===========================
   GALLERY SECTION
   =========================== */
.gallery-preview {
  padding: var(--section-padding);
  background: var(--bg);
}

.gallery-preview .container {
  display: flex;
  gap: 48px;
  align-items: center;
}

.gallery-images {
  flex: 1;
}

.gallery-main-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-thumbnails img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.gallery-thumbnails img:hover {
  opacity: 0.8;
}

.gallery-content {
  flex: 1;
}

.gallery-content h2 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: 16px;
}

.gallery-content p {
  font-size: var(--font-size-base);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */
.testimonials {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.testimonial-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  max-width: 380px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card.side {
  opacity: 0.4;
  transform: scale(0.85);
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--bg);
}

.testimonial-card h4 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: var(--gold);
  font-size: 16px;
}

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
  padding: 100px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.cta-banner-inner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta-label {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.cta-banner-inner h2 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-desc {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cta-btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 36px;
  font-size: var(--font-size-base);
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(255, 107, 74, 0.4);
}

.cta-btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 107, 74, 0.5);
}

.cta-btn-outline {
  background: transparent;
  color: #fff;
  padding: 14px 36px;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--bg);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-contact-email {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

.footer-contact-email strong {
  display: block;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.footer-contact-email a {
  color: var(--dark);
  font-weight: 600;
}

.footer-col h4 {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--text-light);
}
.footer-credit {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #999;
}
.footer-credit a {
  color: var(--primary-blue, #1a237e);
  font-weight: 600;
  text-decoration: none;
}
.footer-credit a:hover {
  text-decoration: underline;
}

/* ===========================
   WHATSAPP BUTTON
   =========================== */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ===========================
   FLOATING REELS BUTTON & VIEWER
   =========================== */
.floating-reels-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #e1306c, #c13584, #833ab4);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(193, 53, 132, 0.5);
  transition: all 0.3s;
  animation: reelsPulse 2s ease-in-out infinite;
}
.floating-reels-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(193, 53, 132, 0.6);
  animation: none;
}
.floating-reels-btn svg {
  flex-shrink: 0;
}
@keyframes reelsPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(193, 53, 132, 0.5); }
  50% { box-shadow: 0 4px 30px rgba(193, 53, 132, 0.8); }
}

/* Reels Viewer Overlay */
.reels-viewer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.reels-viewer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.reels-viewer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.reels-viewer {
  position: relative;
  z-index: 1;
  width: 90vw;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s;
}
.reels-viewer-overlay.active .reels-viewer {
  transform: translateY(0) scale(1);
}
.reels-viewer-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 2;
}
.reels-viewer-close:hover {
  background: rgba(255,255,255,0.3);
}
.reels-viewer-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.reels-viewer-card {
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s, border-color 0.3s;
}
.reels-viewer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 48, 108, 0.5);
}
.reels-viewer-thumb {
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
}
.reels-viewer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.reels-viewer-card:hover .reels-viewer-thumb img {
  transform: scale(1.05);
}
.reels-viewer-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.reels-viewer-card:hover .reels-viewer-play {
  opacity: 1;
}
.reels-viewer-meta {
  padding: 10px 12px;
}
.reels-viewer-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  color: #e1306c;
  background: rgba(225,48,108,0.15);
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.reels-viewer-title {
  display: block;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .floating-reels-btn {
    padding: 10px 16px;
    font-size: 12px;
    bottom: 20px;
    left: 16px;
  }
  .reels-viewer {
    width: 95vw;
    padding: 1.5rem 1rem;
  }
  .reels-viewer-container {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .floating-reels-label { display: none; }
  .floating-reels-btn {
    padding: 12px;
    border-radius: 50%;
  }
  .reels-viewer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* Reels Fullscreen Player */
.reels-player-area {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}
.reels-player-area.active {
  display: flex;
}
.reels-player-area iframe,
.reels-player-area video {
  width: 380px;
  max-width: 90vw;
  height: 80vh;
  max-height: 680px;
  border: none;
  border-radius: 16px;
  background: #000;
}
.reels-player-back {
  position: absolute;
  top: 20px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 2;
}
.reels-player-back:hover {
  background: rgba(255,255,255,0.3);
}
@media (max-width: 480px) {
  .reels-player-area iframe,
  .reels-player-area video {
    width: 95vw;
    height: 85vh;
    border-radius: 12px;
  }
}

/* ===========================
   SCROLL TO TOP
   =========================== */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* ===========================
   PAGE HERO (Inner pages)
   =========================== */
.page-hero {
  padding: 180px 0 60px;
  background: linear-gradient(rgba(26, 35, 126, 0.75), rgba(26, 35, 126, 0.85)),
              url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?w=1400&h=400&fit=crop') center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: var(--font-size-lg);
  opacity: 0.85;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: var(--font-size-sm);
  opacity: 0.7;
}

.breadcrumb a:hover {
  opacity: 1;
}

/* ===========================
   ABOUT PAGE
   =========================== */

/* ---- About Hero ---- */
.abt-hero {
  position: relative;
  height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.abt-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.abt-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,30,0.3) 0%, rgba(10,15,30,0.8) 100%);
}
.abt-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
}
.abt-hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold, #f59e0b);
  margin-bottom: 12px;
}
.abt-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}
.abt-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
}
@media (max-width: 768px) {
  .abt-hero { height: 380px; }
  .abt-hero h1 { font-size: 1.8rem; }
}

/* ---- Journey / History ---- */
.abt-journey {
  background: #fff;
}
.abt-journey-content {
  max-width: 780px;
  margin: 0 auto;
  columns: 2;
  column-gap: 48px;
}
.abt-journey-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.95;
  margin-bottom: 18px;
  break-inside: avoid;
}
.abt-journey-content h3,
.abt-journey-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 24px 0 10px;
  break-after: avoid;
}
.abt-journey-content strong { color: var(--dark); }
.abt-journey-content ul, .abt-journey-content ol {
  padding-left: 20px;
  margin-bottom: 18px;
  break-inside: avoid;
}
.abt-journey-content li {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 6px;
}
@media (max-width: 768px) {
  .abt-journey-content { columns: 1; }
}

/* ---- Management (Dark) ---- */
.abt-mgmt {
  background: var(--primary-blue, #1a237e);
  padding: 100px 0;
}
.abt-mgmt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}
.abt-mgmt-card { text-align: center; color: #fff; }
.abt-mgmt-photo { margin-bottom: 1.25rem; }
.abt-mgmt-photo img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.12);
}
.abt-mgmt-initials {
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 700; color: rgba(255,255,255,0.4);
  margin: 0 auto;
}
.abt-mgmt-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.abt-mgmt-role {
  display: block; font-size: 0.75rem; color: var(--gold, #f59e0b);
  text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600;
  margin-bottom: 14px;
}
.abt-mgmt-desc { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ---- Vision & Mission ---- */
.abt-vm { background: #f8f9fc; }
.abt-vm-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.abt-vm-mission h2 {
  font-size: 2rem; font-weight: 800; line-height: 1.3; margin-bottom: 24px;
}
.abt-vm-mission h2 em { font-style: italic; color: var(--gold, #f59e0b); }
.abt-vm-mission-text p {
  font-size: 1rem; color: var(--text-light); line-height: 1.9; margin-bottom: 14px;
}
.abt-vm-vision-card {
  background: var(--primary-blue, #1a237e);
  color: #fff; border-radius: 16px; padding: 44px 36px;
}
.abt-vm-vision-card h3 {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 16px;
  color: var(--gold, #f59e0b);
}
.abt-vm-vision-card p {
  font-size: 0.95rem; line-height: 1.85; color: rgba(255,255,255,0.85);
}
@media (max-width: 768px) {
  .abt-vm-grid { grid-template-columns: 1fr; }
  .abt-vm-mission h2 { font-size: 1.5rem; }
}

/* ---- Leader (Patron / Principal) ---- */
.abt-leader-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.abt-leader-grid.reverse {
  grid-template-columns: 1.3fr 1fr;
  direction: rtl;
}
.abt-leader-grid.reverse > * { direction: ltr; }
.abt-leader-photo img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 420px;
}
.abt-leader-text p {
  font-size: 1rem; color: #555; line-height: 1.9; margin-bottom: 14px;
}
.abt-leader-text strong { color: var(--dark); }
.abt-leader-quote {
  margin-top: 20px;
  padding: 20px 24px;
  background: #f8f9fc;
  border-left: 4px solid var(--gold, #f59e0b);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .abt-leader-grid, .abt-leader-grid.reverse {
    grid-template-columns: 1fr; direction: ltr;
  }
}

/* ---- PTA Table ---- */
.abt-pta-wrap { max-width: 800px; margin: 0 auto; }
.abt-pta-table { width: 100%; border-collapse: collapse; }
.abt-pta-table thead th {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: #999; font-weight: 600; padding: 12px 16px;
  border-bottom: 2px solid var(--border); text-align: left;
}
.abt-pta-table tbody td {
  padding: 16px; border-bottom: 1px solid var(--border);
  font-size: 0.95rem; vertical-align: middle;
}
.abt-pta-img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
}
.abt-pta-initials {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary-blue, #1a237e); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
@media (max-width: 600px) {
  .abt-pta-table thead { display: none; }
  .abt-pta-table tbody td { display: block; padding: 6px 16px; border: none; }
  .abt-pta-table tbody tr { border-bottom: 1px solid var(--border); padding: 8px 0; display: block; }
}

/* ---- Former Headmasters ---- */
.abt-hm-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.abt-hm-card {
  text-align: center;
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 20px 24px;
  border: 2px solid #ddd;
  width: 240px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}
.abt-hm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}
.abt-hm-photo img {
  width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
  border: 3px solid #bba14f;
  display: block; margin: 0 auto 12px;
}
.abt-hm-initials {
  width: 150px; height: 150px; border-radius: 50%;
  background: #e9ecef; display: flex; align-items: center;
  justify-content: center; font-size: 2.2rem; font-weight: 700;
  color: #aaa; margin: 0 auto 12px;
  border: 3px solid #bba14f;
}
.abt-hm-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: #333; }
.abt-hm-tenure {
  display: inline-block; background: var(--gold, #f59e0b); color: #fff;
  font-size: 0.75rem; padding: 3px 14px; border-radius: 12px; margin-bottom: 8px;
}
.abt-hm-desc { font-size: 0.85rem; color: #777; line-height: 1.6; }

/* ---- Staff Grid ---- */
.abt-staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2rem;
}
.abt-staff-card {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 24px 16px;
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.3s, transform 0.3s;
}
.abt-staff-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.abt-staff-card img {
  width: 130px; height: 130px; border-radius: 50%; object-fit: cover;
  display: block; margin: 0 auto 12px; border: 3px solid #f0f0f0;
}
.abt-staff-initials {
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--primary-blue, #1a237e); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; margin: 0 auto 12px;
}
.abt-staff-card h4 {
  font-size: 0.95rem; font-weight: 700; margin-bottom: 2px;
}
.abt-staff-card span {
  font-size: 0.8rem; color: var(--text-light);
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow);
}

.contact-info-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 250px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: var(--font-size-base);
  font-family: var(--font);
  color: var(--dark);
  background: var(--bg);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===========================
   GALLERY PAGE
   =========================== */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.album-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.album-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.album-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.album-card-body {
  padding: 20px;
}

.album-card-body h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 4px;
}

.album-card-body span {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===========================
   ACHIEVEMENTS PAGE
   =========================== */
.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s;
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.achievement-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.achievement-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.achievement-card-body {
  padding: 20px;
}

.achievement-card-body .tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  margin-bottom: 8px;
}

.tag.academic { background: #e3f2fd; color: #1976d2; }
.tag.sports { background: #e8f5e9; color: #388e3c; }
.tag.arts { background: #fce4ec; color: #c2185b; }
.tag.other { background: #f3e5f5; color: #7b1fa2; }

.achievement-card-body h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: 8px;
}

.achievement-card-body p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.6;
}

.achievement-card-body .year {
  font-size: var(--font-size-xs);
  color: var(--text-light);
  margin-top: 8px;
}

/* ===========================
   NOTICEBOARD PAGE
   =========================== */
.notices-list {
  max-width: 800px;
  margin: 0 auto;
}

.notice-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s;
}

.notice-item:hover {
  box-shadow: var(--shadow);
}

.notice-date {
  flex-shrink: 0;
  width: 60px;
  height: 64px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.notice-date .day {
  font-size: var(--font-size-xl);
  font-weight: 800;
  line-height: 1;
}

.notice-date .month {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
}

.notice-content h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 6px;
}

.notice-content p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 8px;
}

.notice-content .download-link {
  font-size: var(--font-size-sm);
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.notice-content .download-link:hover {
  text-decoration: underline;
}

.notice-pinned {
  border-left: 4px solid var(--gold);
}

/* ===========================
   FACILITIES PAGE
   =========================== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.facility-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.facility-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.facility-icon-box {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
}

.facility-card-body {
  padding: 1.5rem;
  flex: 1;
}

.facility-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue, #1a237e);
  margin-bottom: 8px;
}

.facility-card-body div,
.facility-card-body p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* ===========================
   ACADEMICS & ADMISSIONS PAGES
   =========================== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.info-card:hover {
  box-shadow: var(--shadow);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: var(--bg);
}

.info-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 12px;
}

.info-card p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.7;
}

.info-card .download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--accent);
}

.info-card .download-btn:hover {
  text-decoration: underline;
}

/* ===========================
   ADMISSION TIMELINE
   =========================== */
.admission-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.admission-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 3px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 40px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
  text-align: left;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(26, 35, 126, 0.12);
}

.timeline-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 28px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  flex: 1;
}

.timeline-content:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.timeline-content h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.timeline-content p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

.timeline-content .download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--accent);
}

.timeline-content .download-btn:hover {
  text-decoration: underline;
}

/* ===========================
   ADMISSION BENEFITS
   =========================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: linear-gradient(135deg, #f0f4ff 0%, #fff 100%);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(26, 35, 126, 0.08);
  text-align: center;
  transition: all 0.3s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.benefit-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

.benefit-card h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.6;
}

/* ===========================
   ADMISSION FEE TABLE
   =========================== */
.fee-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.fee-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.fee-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.fee-card-header {
  background: var(--primary);
  color: #fff;
  padding: 18px 24px;
  text-align: center;
}

.fee-card-header.free {
  background: linear-gradient(135deg, #2e7d32, #43a047);
}

.fee-card-header h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.fee-card-body {
  padding: 24px;
}

.fee-card-body p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

.fee-card-body .download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--accent);
}

.fee-card-body .download-btn:hover {
  text-decoration: underline;
}

/* ===========================
   ADMISSION MEAL PROGRAMME
   =========================== */
.meal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.meal-card {
  background: linear-gradient(135deg, #fff8e1 0%, #fff 100%);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(245, 158, 11, 0.15);
  text-align: center;
  transition: all 0.3s;
}

.meal-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.meal-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.meal-card h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: 8px;
}

.meal-card p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.6;
}

/* ===========================
   DESCRIPTION LIST (bullets in cards)
   =========================== */
.desc-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.desc-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.6;
}

.desc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.activity-card-body .desc-list {
  text-align: left;
}

.activity-card-body .desc-list li {
  font-size: 0.8rem;
}

/* ===========================
   STUDENT LIFE PAGE
   =========================== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.activity-card {
  position: relative;
  background: #fafafa;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 7px #dfdfdf;
  transition: transform 0.3s, box-shadow 0.3s;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.activity-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  background: #f0f0f0;
  overflow: hidden;
  position: relative;
}

.activity-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activity-card-img .img-title {
  position: absolute;
  left: 0;
  top: 20px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  background: var(--primary-blue, #1a237e);
  color: #fff;
  padding: 4px 14px;
}

.activity-card-body {
  padding: 24px;
}

.activity-card-body .tag {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: 14px;
}

.tag.club { color: #1976d2; }
.tag.sport { color: #388e3c; }
.tag.arts { color: #c2185b; }
.tag.council { color: #f57c00; }
.tag.event { color: #7b1fa2; }

.activity-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
  color: #363636;
}

.activity-card-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #999;
}

.activity-card-body .desc-list {
  text-align: left;
}

.activity-card-body .desc-list li {
  font-size: 0.85rem;
  color: #999;
  line-height: 1.7;
}

/* ===========================
   MOBILE NAV OVERLAY
   =========================== */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 999;
  padding: 90px 24px 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
  transition: color 0.2s;
}

.mobile-nav a.active {
  color: var(--accent);
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav-group {
  border-bottom: 1px solid var(--border);
}
.mobile-nav-group > .mobile-nav-parent {
  border-bottom: none;
}
.mobile-nav-sub {
  padding-left: 16px;
  padding-bottom: 8px;
}
.mobile-nav-sub a {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: none;
  color: var(--text-light);
}
.mobile-nav-sub a:hover {
  color: var(--accent);
}

.mobile-nav-cta {
  margin-top: auto;
  padding-top: 20px;
}

.mobile-nav-cta .btn {
  display: block;
  text-align: center;
  width: 100%;
}

.mobile-nav-helplines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 16px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  background: #f8f6f3;
  border-radius: var(--radius);
}

.mobile-nav-helplines span {
  font-size: 13px;
  color: var(--text-light);
}

.mobile-nav-helplines a {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 0;
}

/* ===========================
   NEWS & EVENTS
   =========================== */
.news-events-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.news-card:hover {
  box-shadow: var(--shadow);
}

.news-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.news-card-body {
  padding: 24px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: var(--font-size-xs);
  color: var(--text-light);
}

.news-card-meta .date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-card-meta .category {
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--bg);
  font-weight: 600;
  color: var(--purple);
}

.news-card-body h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card-body h3 a:hover {
  color: var(--accent);
}

.news-card-body p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-card-body .read-more {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-card-body .read-more:hover {
  gap: 8px;
}

/* Events Sidebar */
.events-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.events-sidebar h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.event-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  display: flex;
  gap: 16px;
  transition: all 0.3s;
}

.event-item:hover {
  box-shadow: var(--shadow);
}

.event-date-box {
  flex-shrink: 0;
  width: 56px;
  height: 60px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.event-date-box .day {
  font-size: var(--font-size-xl);
  font-weight: 800;
  line-height: 1;
}

.event-date-box .month {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-details h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  margin-bottom: 4px;
}

.event-details p {
  font-size: var(--font-size-xs);
  color: var(--text-light);
  line-height: 1.5;
}

.event-details .event-time {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1400px) {
  .nav-links {
    gap: 0;
  }

  .nav-links a {
    font-size: 0.78rem;
    padding: 6px 5px;
  }

  .nav-logo-text {
    font-size: 0.85rem;
  }

  .nav-logo-brand {
    height: 58px;
  }
}

@media (max-width: 1200px) {
  .topbar-right { display: none; }
  .topbar { font-size: 13px; --topbar-h: 36px; }
  .topbar-left { gap: 16px; }
  .navbar { top: var(--topbar-h, 36px); }
  .navbar .container { height: 64px; }
  .notice-ticker { top: calc(var(--topbar-h, 36px) + 64px); }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-split {
    flex-direction: column;
    text-align: center;
  }

  .hero-right {
    width: 100%;
  }

  .hero-left p {
    max-width: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-left h1 {
    font-size: var(--font-size-4xl);
  }
  .news-events-grid { grid-template-columns: 1fr; }

  .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }

  .access .container { flex-direction: column; text-align: center; }
  .access-image-circle { margin: 0 auto; width: 300px; height: 300px; }
  .access-content p { margin: 0 auto 28px; }
  .access-features { justify-content: center; }

  .gallery-preview .container { flex-direction: column; }
  .gallery-content { text-align: center; }
  .gallery-content p { margin: 0 auto 24px; }

  .abt-mgmt-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; }

  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-card img { height: 180px; }
  .facility-icon-box { height: 160px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.25rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
    --section-padding: 50px 0;
  }

  .topbar { --topbar-h: 34px; font-size: 12px; }
  .topbar-left { gap: 12px; }
  .navbar { top: var(--topbar-h, 34px); }
  .navbar .container { height: 56px; }
  .notice-ticker { top: calc(var(--topbar-h, 34px) + 56px); padding: 8px 0; }
  .page-hero { padding-top: 150px; }
  .hero-banner { min-height: 100svh; }
  .hero-banner-content { padding-top: 140px; }
  .hero-left h1 { font-size: var(--font-size-3xl); }
  .hero-actions { flex-direction: column; }
  .hero-video-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .reel-card { width: 110px; height: 170px; }
  .achievements-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .achv-cards-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .achv-hero { padding-top: 150px; }
  .achv-hero h1 { font-size: var(--font-size-3xl); }
  .achv-stats-bar { gap: 10px; }
  .achv-stat-item { padding: 10px 16px; }

  .insta-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .programs-grid { grid-template-columns: 1fr; }
  .testimonial-slider { min-height: 320px; }
  .classes-grid { grid-template-columns: 1fr; }
  .achievements-grid { grid-template-columns: 1fr; }
  .albums-grid { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .fee-cards { grid-template-columns: 1fr; }
  .meal-cards { grid-template-columns: 1fr; }

  .admission-timeline::before { left: 22px; }
  .timeline-dot { left: 22px; transform: none; width: 36px; height: 36px; font-size: 15px; }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 60px;
    padding-right: 0;
    text-align: left;
  }
  .abt-mgmt-grid { grid-template-columns: 1fr; }

  .classes-header { flex-direction: column; gap: 12px; }
  .contact-info-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .gallery-thumbnails { grid-template-columns: repeat(3, 1fr); }

  .testimonial-card.side { display: none; }

  .news-events-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  :root {
    --font-size-5xl: 1.875rem;
    --font-size-4xl: 1.625rem;
    --font-size-3xl: 1.375rem;
  }

  .container { padding: 0 16px; }

  .hero-actions { flex-direction: column; }
  .access-features { grid-template-columns: 1fr; }
  .gallery-thumbnails { grid-template-columns: repeat(2, 1fr); }
  .abt-staff-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-grid { grid-template-columns: 1fr; }

  .contact-form { padding: 24px; }
  .cta-banner { padding: 50px 0; }
  .cta-banner-inner { padding: 40px 24px; }
  .cta-banner-inner h2 { font-size: var(--font-size-2xl); }
  .cta-actions { flex-direction: column; }
}

/* ===========================
   TOAST NOTIFICATIONS
   =========================== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--text-light);
  min-width: 300px;
  max-width: 420px;
  animation: toastIn 0.4s ease;
}
.toast.toast-hiding {
  animation: toastOut 0.3s ease forwards;
}

.toast-success { border-left-color: #22c55e; }
.toast-error { border-left-color: #ef4444; }
.toast-warning { border-left-color: #f59e0b; }
.toast-info { border-left-color: #3b82f6; }

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.toast-success .toast-icon { background: #dcfce7; color: #22c55e; }
.toast-error .toast-icon { background: #fee2e2; color: #ef4444; }
.toast-warning .toast-icon { background: #fef3c7; color: #f59e0b; }
.toast-info .toast-icon { background: #dbeafe; color: #3b82f6; }

.toast-text {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-light);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.toast-close:hover { color: var(--dark); }

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

@media (max-width: 480px) {
  .toast-container { left: 10px; right: 10px; top: 10px; }
  .toast { min-width: auto; }
}

/* ===========================
   ACCESSIBILITY
   =========================== */

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Focus indicators for keyboard navigation */
*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Remove outline for mouse clicks */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-slide video {
    animation: none !important;
  }
  .notice-ticker .ticker-track {
    animation: none !important;
  }
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===========================
   POLICY & LEGAL PAGES
   =========================== */
.page-hero-sm {
  padding: 140px 0 40px;
  background: var(--primary);
  color: #fff;
  text-align: center;
}
.page-hero-sm h1 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: 8px;
}
.page-hero-sm p {
  font-size: var(--font-size-base);
  opacity: 0.8;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}
.policy-content h2 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.policy-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}
.policy-content h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--dark);
  margin: 20px 0 8px;
}
.policy-content p {
  color: var(--text);
  margin-bottom: 12px;
}
.policy-content ul {
  list-style: none;
  margin: 0 0 16px 0;
}
.policy-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text);
}
.policy-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.policy-updated {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 24px;
}

/* ===========================
   ACCESSIBILITY WIDGET
   =========================== */
.a11y-widget {
  position: fixed;
  left: 16px;
  bottom: 80px;
  z-index: 1050;
}

.a11y-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, background 0.2s;
}
.a11y-toggle:hover {
  transform: scale(1.1);
  background: var(--primary-light);
}

.a11y-panel {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 280px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
  display: none;
  overflow: hidden;
}
.a11y-panel.open {
  display: block;
}

.a11y-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--primary);
  color: #fff;
}
.a11y-panel-header strong {
  font-size: 14px;
  letter-spacing: 0.5px;
}
.a11y-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.a11y-options {
  padding: 12px 16px 16px;
}

.a11y-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.a11y-option:last-of-type {
  border-bottom: none;
}
.a11y-option span {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.a11y-btns {
  display: flex;
  gap: 4px;
}
.a11y-btns button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  color: var(--dark);
  transition: all 0.2s;
}
.a11y-btns button:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.a11y-btn-toggle {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.2s;
}
.a11y-btn-toggle.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.a11y-reset {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.2s;
}
.a11y-reset:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Accessibility mode classes applied to <body> */
body.a11y-high-contrast {
  filter: contrast(1.4);
}
body.a11y-high-contrast * {
  border-color: #000 !important;
}

body.a11y-grayscale {
  filter: grayscale(1);
}
body.a11y-high-contrast.a11y-grayscale {
  filter: contrast(1.4) grayscale(1);
}

body.a11y-readable-font,
body.a11y-readable-font * {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.5px;
  word-spacing: 2px;
}

body.a11y-highlight-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}
body.a11y-highlight-links a:not(.btn):not(.nav-logo):not(.footer-social a) {
  background: rgba(255, 107, 74, 0.1) !important;
  padding: 1px 3px;
  border-radius: 3px;
}

@media (max-width: 480px) {
  .a11y-widget { left: 10px; bottom: 70px; }
  .a11y-toggle { width: 42px; height: 42px; }
  .a11y-panel { width: 260px; }
}

/* ── Scholarships Page ─────────────────────────────────── */
.scholarship-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}
.scholarship-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.scholarship-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.scholarship-card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.scholarship-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scholarship-card-icon {
  position: relative;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  color: rgba(255,255,255,0.8);
}
.scholarship-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f59e0b;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.scholarship-card-body {
  padding: 1.5rem;
}
.scholarship-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 0.5rem;
}
.scholarship-card-body > p {
  color: #555;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.scholarship-detail {
  font-size: 0.88rem;
  color: #444;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
.scholarship-detail strong {
  color: #1a237e;
}

/* ── Useful Links Page ─────────────────────────────────── */
.useful-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}
.useful-link-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(26,35,126,0.06);
}
.useful-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  border-color: rgba(26,35,126,0.15);
}
.useful-link-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a237e;
  overflow: hidden;
  padding: 8px;
  border: 1px solid #e8e8e8;
}
.useful-link-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.link-icon-text {
  font-size: 1.5rem;
}
.useful-link-body {
  flex: 1;
  min-width: 0;
}
.useful-link-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a237e;
  margin-bottom: 0.2rem;
}
.useful-link-body p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}
.useful-link-category {
  font-size: 0.75rem;
  color: #f59e0b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.useful-link-arrow {
  flex-shrink: 0;
  color: #aaa;
  transition: transform 0.2s;
}
.useful-link-card:hover .useful-link-arrow {
  transform: translateX(3px);
  color: #1a237e;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.mobile-lang-switcher {
  padding: 12px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 8px;
}

.btn-lang {
  width: 100%;
  background: #f0f4ff;
  color: #1a237e;
  border: 1px solid #c5cae9;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-lang:hover {
  background: #1a237e;
  color: #fff;
}

/* Malayalam Language Support */
html[lang="ml"] body {
  font-family: 'Noto Sans Malayalam', 'Inter', sans-serif;
}

html[lang="ml"] .nav-links a,
html[lang="ml"] .mobile-nav a,
html[lang="ml"] .footer h4,
html[lang="ml"] .btn {
  font-family: 'Noto Sans Malayalam', 'Inter', sans-serif;
}

@media (max-width: 600px) {
  .scholarship-cards { grid-template-columns: 1fr; }
  .useful-links-grid { grid-template-columns: 1fr; }
}

/* ── Beautiful Empty State ─────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  max-width: 480px;
  margin: 0 auto;
}
.empty-state-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 28px;
  background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.empty-state-icon svg {
  width: 56px;
  height: 56px;
  stroke: #1a237e;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.empty-state h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 10px;
}
.empty-state p {
  font-size: 0.95rem;
  color: #888;
  line-height: 1.7;
  margin-bottom: 24px;
}
.empty-state .btn {
  display: inline-block;
  padding: 10px 28px;
  background: #1a237e;
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.empty-state .btn:hover {
  background: #0d1757;
}

/* Former Headmasters Timeline */
.headmaster-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.headmaster-card {
  text-align: center;
  max-width: 220px;
  flex: 0 0 220px;
}
.headmaster-img img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-blue, #1a237e);
  margin-bottom: 1rem;
}
.headmaster-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-blue, #1a237e);
}
.headmaster-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark, #1a237e);
}
.headmaster-tenure {
  display: inline-block;
  background: var(--gold, #f59e0b);
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 12px;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}
.headmaster-desc {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* In Memoriam Page */
.memoriam-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}
.memoriam-section {
  padding: 4rem 0;
}
.memoriam-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}
.memoriam-card {
  width: 350px;
  background-color: #f9f9f9;
  border: 2px solid #ccc;
  border-radius: 10px;
  text-align: center;
  font-family: 'Georgia', serif;
  padding: 30px 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.memoriam-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.memoriam-card-img {
  margin-bottom: 1rem;
}
.memoriam-card-img img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #bba14f;
  display: block;
  margin: 0 auto;
}
.memoriam-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto;
  border: 3px solid #bba14f;
  color: #999;
}
.memoriam-label {
  font-weight: normal;
  color: #555;
  font-size: 1rem;
  margin: 0.5rem 0 0.25rem;
}
.memoriam-card-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin: 0.25rem 0 0.5rem;
}
.memoriam-tribute {
  margin-top: 0.5rem;
  font-size: 1.05em;
  color: #444;
  font-style: italic;
  line-height: 1.6;
}
