/* ==========================================
   Glory Children's Academy, Jalingo - style.css
   Pure CSS3 Modern Stylesheet
   ========================================== */

/* Typography & Root Definitions */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Updated Theme Palette: GCA Green & Gold */
  --color-primary: #08A800;       /* GCA Primary Green */
  --color-primary-light: #85D785; /* Soft Green Accent */
  --color-primary-dark: #066600;  /* Deep Forest Green */
  --color-accent: #FFB600;        /* GCA Gold Accent */
  --color-accent-dark: #CC9300;   /* Deep Gold Accent */
  --color-bg-light: #f8fafc;      /* Fine Slate Off-White */
  --color-bg-card: #ffffff;       /* Pure White Card Surface */
  --color-text: #1e293b;          /* Dark Charcoal Text */
  --color-text-muted: #64748b;    /* Muted Slate Text */
  --color-border: #f1f5f9;        /* Delicate, Super-Fine Border (No heavy lines) */
  --color-danger: #e11d48;        /* Crimson Rose Danger */
  --color-success: #10b981;       /* Clean Emerald Success */
  --color-warning: #FFB600;       /* Golden Warning */
  
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Space Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  
  --header-height: 80px;
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
}

/* Make all images and media scale down on small viewports */
img, picture, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  background-color: var(--color-bg-light);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary-dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

.footer-logo{
  width: 70px;
  height: 70px;
}

input, select, textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  width: 100%;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.15);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Global Navigation & Header Rules */
:root {
  --header-height: 80px;
  --header-scrolled-height: 64px;
}

.global-header {
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(15, 81, 50, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.015);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
}

.global-header.header-scrolled {
  height: var(--header-scrolled-height);
  background-color: rgba(255, 255, 255, 0.94);
  border-bottom: 1.5px solid rgba(15, 81, 50, 0.12);
  box-shadow: 0 10px 30px -10px rgba(8, 42, 26, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: 24px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-block:hover .school-logo-img {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 15px rgba(255, 193, 7, 0.2);
}

.school-logo-img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: contain;
  border: 1px solid var(--color-accent);
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 81, 50, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.global-header.header-scrolled .school-logo-img {
  height: 40px;
  width: 40px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1px;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--color-primary-dark);
  line-height: 1.15;
  text-transform: uppercase;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.global-header.header-scrolled .logo-title {
  font-size: 1.18rem;
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.nav-tree {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 12px 2px;
  text-decoration: none;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 999px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary-dark);
  font-weight: 700;
}


.nav-link:hover::after,
.nav-link.active::after,
.active-parent-trigger .nav-link::after {
  width: 100%;
  left: 0;
}

/* Dropdown Wrapper and Menu styling with Mega Menu Preparation Wrapper */
.nav-dropdown-wrapper {
  position: relative;
}

.dropdown-chevron {
  font-size: 0.52rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  color: var(--color-text-muted);
  opacity: 0.8;
}

.nav-dropdown-wrapper:hover .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
  opacity: 1;
}

/* Perfect hover bridges to prevent dropdown flicker */
.nav-dropdown-menu-wrapper {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.33s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu-wrapper {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Rounded Dropdown Menu list */
.nav-dropdown-menu {
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.06);
  list-style: none;
  min-width: 290px;
  padding: 16px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Future expansion: column lists for Mega Menus */
.dropdown-column-wrapper {
  display: block;
}

.dropdown-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown-menu li {
  width: 100%;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 22px;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border-left: 3px solid transparent;
  text-align: left;
}

.dropdown-icon {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  opacity: 0.75;
  transition: transform 0.25s ease, opacity 0.25s ease;
  margin-right: -4px;
}

.dropdown-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dropdown-item-arrow {
  color: var(--color-accent);
  font-weight: 800;
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-dropdown-menu a:hover {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  border-left-color: var(--color-accent);
  padding-left: 24px;
}

.nav-dropdown-menu a:hover .dropdown-icon {
  opacity: 1;
  transform: scale(1.1) rotate(4deg);
}

.nav-dropdown-menu a:hover .dropdown-item-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Premium Header Actions Toolbar */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-action-btn {
  background-color: #f8fafc;
  border: 1px solid var(--color-border);
  color: var(--color-primary-dark);
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-action-btn:hover {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 81, 50, 0.08);
}

/* Staff Login Premium CTA styling (Legacy/Fallback) */
.btn-staff-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary-dark);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding: 10px 20px;
  border-radius: 50px; /* Highly rounded */
  border: 1.5px solid var(--color-accent);
  box-shadow: 0 4px 10px rgba(15, 81, 50, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
}

.btn-staff-login:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark) !important;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 193, 7, 0.28);
}

/* Premium Teacher Portal & Admin CTA styles */
.btn-teacher-portal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  height: 42px;
  padding: 0 22px;
  border-radius: 50px; /* Highly rounded */
  border: 2px solid var(--color-accent) !important;
  box-shadow: 0 4px 12px rgba(15, 81, 50, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  cursor: pointer;
}

.btn-teacher-portal:hover {
  background-color: var(--color-accent) !important;
  color: var(--color-primary-dark) !important;
  border-color: var(--color-accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn-teacher-portal svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-teacher-portal:hover svg {
  transform: rotate(-8deg) scale(1.1);
}

/* --- FULLSCREEN SEARCH OVERLAY --- */
.global-search-overlay {
  display: none !important;
}

.modal-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: fadeSearchIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeSearchIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.search-overlay-close-wrapper {
  width: 100%;
  max-width: 650px;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.search-overlay-close {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay-close:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
  transform: rotate(90deg) scale(1.05);
}

.search-overlay-card {
  background: rgba(7, 17, 34, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
  width: 100%;
  max-width: 650px;
  text-align: left;
}

.search-overlay-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.search-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d9f0ff;
  background: rgba(16, 157, 255, 0.14);
  border: 1px solid rgba(16, 157, 255, 0.18);
  margin-bottom: 4px;
}

.search-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.15;
}

.search-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  max-width: 740px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.7;
}

.search-form-premium {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  margin-top: 24px;
  width: 100%;
  align-items: center;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-icon {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  pointer-events: none;
}

.search-input-field {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-accent);
  font-size: 1rem;
  background-color: #ffffff;
  font-family: var(--font-sans);
  color: var(--color-primary-dark);
  font-weight: 600;
  outline: none;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.premium-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 26px;
  height: 52px;
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.premium-search-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.search-results-panel {
  display: none;
  margin-top: 24px;
  text-align: left;
  width: 100%;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 6px;
}

.search-results-header {
  margin: 0 0 14px;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-details-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.search-panel-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-panel-label {
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.search-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.search-chip:hover {
  transform: translateY(-1px);
  background-color: rgba(255, 255, 255, 0.14);
}

.search-quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.quick-link-item:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.quick-link-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background-color: rgba(16, 157, 255, 0.12);
  color: var(--color-accent);
}

.quick-link-title {
  font-size: 0.92rem;
  font-weight: 600;
}

@media (max-width: 960px) {
  .search-details-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .search-overlay-card {
    padding: 22px 18px;
  }

  .search-form-premium {
    grid-template-columns: 1fr;
  }

  .premium-search-btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- PREMIUM DRAWER FOR MOBILE NAVIGATION --- */
.mobile-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 2500;
  visibility: hidden;
  transition: visibility 0.4s ease;
}

.mobile-menu-drawer.drawer-open {
  visibility: visible;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(8, 42, 26, 0.6); /* Tinted backdrop */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-drawer.drawer-open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: -310px;
  width: 300px;
  height: 100%;
  background-color: var(--color-bg-card);
  box-shadow: -5px 0 25px rgba(15, 81, 50, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  border-left: 2px solid var(--color-accent);
}

.mobile-menu-drawer.drawer-open .mobile-drawer-panel {
  transform: translateX(-310px);
}

.mobile-drawer-header {
  padding: 18px 20px;
  border-bottom: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-close {
  background-color: #f1f5f9;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-close:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: rotate(90deg);
}

.mobile-drawer-body {
  padding: 24px 20px;
}

.mobile-search-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-light);
  padding: 3px 6px 3px 12px;
  margin-bottom: 24px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

.mobile-search-wrapper input {
  flex: 1;
  border: none;
  background: none;
  padding: 8px 8px;
  font-size: 0.92rem;
  outline: none;
  color: var(--color-primary-dark);
}

.mobile-search-wrapper button {
  border: none;
  background-color: var(--color-primary);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-search-wrapper button:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-item {
  display: block;
  padding: 12px 14px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.mobile-nav-item:hover, .mobile-nav-item.active-item {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  padding-left: 18px;
}

/* Accordion item styles */
.mobile-accordion-item {
  border-bottom: 1px solid var(--color-border);
  padding: 4px 0;
}

.mobile-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
}

.mobile-accordion-trigger:hover {
  color: var(--color-primary);
}

.accordion-trigger-chevron {
  font-size: 0.65rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-text-muted);
}

.mobile-accordion-item.accordion-active .accordion-trigger-chevron {
  transform: rotate(180deg);
  color: var(--color-accent-dark);
}

.mobile-accordion-content {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: var(--color-bg-light);
  border-radius: var(--radius-sm);
}

.mobile-accordion-item.accordion-active .mobile-accordion-content {
  max-height: 400px;
}

.mobile-accordion-content a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.mobile-accordion-content a:hover {
  color: var(--color-primary);
  background-color: #ffffff;
  border-left-color: var(--color-accent);
  padding-left: 22px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px; /* Ultra-smooth pill-shape */
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
}

.btn-accent:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background-color: #ffffff;
}

.btn-outline:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-danger {
  background-color: var(--color-danger);
  color: #ffffff;
}

.btn-danger:hover {
  filter: brightness(1.1);
}

.btn-success {
  background-color: var(--color-success);
  color: #ffffff;
}

.btn-success:hover {
  filter: brightness(1.1);
}

/* Mobile Toggler */
.mobile-nav-toggle {
  display: none;
  padding: 8px;
  color: var(--color-primary-dark);
}

/* News Marquee Ticker */
.news-ticker-wrapper {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.news-ticker {
  display: flex;
  white-space: nowrap;
  gap: 50px;
}

.news-ticker-content {
  display: inline-flex;
  gap: 50px;
  animation: ticker-slide 60s linear infinite;
  padding-left: 100%;
}

.news-ticker-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

@keyframes ticker-slide {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Carousel/Hero Slider */
.hero-slider-wrapper {
  position: relative;
  min-height: 620px;
  height: auto;
  background-color: #0c1c14;
  overflow: hidden;
  padding: 50px 0 70px;
}

.hero-slider-track {
  display: flex;
  height: 100%;
  width: 300%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide {
  width: 33.333333%;
  min-height: 620px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 42, 26, 0.92) 0%, rgba(8, 42, 26, 0.82) 32%, rgba(8, 42, 26, 0.55) 58%, rgba(15, 81, 50, 0.08) 100%);
  z-index: 2;
}

.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: saturate(1.05) contrast(1.05) brightness(0.96);
  z-index: 1;
}

.hero-slide-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 20px;
}

.hero-slide-content {
  max-width: 660px;
  color: #ffffff;
  padding-left: 20px;
  text-align: left;
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.hero-slide-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-slide-title span {
  color: var(--color-accent);
}

.hero-slide-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 35px;
  line-height: 1.7;
}

.hero-slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.07);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-nav-arrow:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}

.hero-nav-arrow svg {
  width: 18px;
  height: 18px;
  display: block;
  color: inherit;
}

.hero-prev-arrow { left: 24px; }
.hero-next-arrow { right: 24px; }

.hero-slide-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
}

.hero-indicator-dot.active {
  background-color: var(--color-accent);
  width: 24px;
  border-radius: 10px;
}

/* Home Layout Grids */
.section {
  padding: 80px 0;
}

.section-bg-alt {
  background-color: #f1f5f9;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  background-color: rgba(25, 135, 84, 0.1);
  color: var(--color-primary-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.home-layout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

/* Embedded Media Carousel */
.slider-container {
  height: 400px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: flex-end;
}

.slide.active { opacity: 1; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 70%);
  z-index: 2;
}

.slide-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  color: #fff;
  padding: 30px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: block;
}

.slide-badge {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  display: inline-block;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  gap: 6px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.4);
}

.slider-dot.active {
  background-color: var(--color-accent);
}

/* Ultra-Small Screens (320px and up) */
@media (max-width: 360px) {
  .slider-container {
    height: 280px;
  }

  .slide-content {
    width: 100%;
    flex: 1;
    padding: 14px 10px 18px;
    box-sizing: border-box;
  }

  .slide-content h3 {
    font-size: 1rem;
    line-height: 1.15;
    margin-bottom: 4px;
    word-break: break-word;
  }

  .slide-content p {
    font-size: 0.8rem;
    line-height: 1.35;
    word-break: break-word;
  }

  .slide-badge {
    font-size: 0.6rem;
    padding: 3px 6px;
    margin-bottom: 4px;
  }

  .slider-controls {
    bottom: 6px;
    right: 6px;
    gap: 3px;
  }

  .slider-dot {
    width: 5px;
    height: 5px;
  }
}

@media (max-width: 768px) {
  .slider-container {
    height: 360px;
  }

  .slide-content {
    width: 100%;
    flex: 1;
    padding: 20px 16px 24px;
    box-sizing: border-box;
  }

  .slide-content h3 {
    font-size: 1.2rem;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .slide-content p {
    font-size: 0.9rem;
    line-height: 1.45;
    max-width: 100%;
  }

  .slide-badge {
    font-size: 0.68rem;
    padding: 5px 8px;
    margin-bottom: 8px;
  }

  .slider-controls {
    bottom: 12px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .slider-container {
    height: 300px;
  }

  .slide-content {
    width: 100%;
    flex: 1;
    padding: 16px 12px 20px;
    box-sizing: border-box;
  }

  .slide-content h3 {
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .slide-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .slide-badge {
    font-size: 0.65rem;
    padding: 4px 7px;
    margin-bottom: 6px;
  }

  .slider-controls {
    bottom: 8px;
    right: 8px;
    gap: 4px;
  }

  .slider-dot {
    width: 6px;
    height: 6px;
  }
}

/* Notice Board */
.notice-board {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.notice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.notice-pulse {
  width: 10px;
  height: 10px;
  background-color: var(--color-danger);
  border-radius: 50%;
  position: relative;
}

.notice-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--color-danger);
  animation: pulse-out 1.5s infinite;
}

@keyframes pulse-out {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.notice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  max-height: 290px;
  padding-right: 4px;
}

.notice-list::-webkit-scrollbar {
  width: 4px;
}
.notice-list::-webkit-scrollbar-thumb {
  background-color: var(--color-border);
  border-radius: 2px;
}

.notice-item {
  border-left: 3px solid var(--color-primary);
  padding-left: 14px;
}

.notice-date {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--color-primary-light);
  font-weight: 600;
}

.notice-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 4px 0;
  color: var(--color-primary-dark);
}

.notice-body {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* School Sections Grid (Nursery, Primary, Secondary) */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.level-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.level-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.level-header {
  height: 180px;
  background-color: var(--color-primary-dark);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.level-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.level-header h3 {
  position: relative;
  z-index: 10;
  color: #fff;
  font-size: 1.6rem;
}

.level-body {
  padding: 24px;
  text-align: center;
}

.level-body p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Admissions Funnel & Matrices */
.funnel-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.pipeline-node {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  text-align: center;
  position: relative;
}

.node-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.pipeline-node p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.matrix-table-wrap {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.matrix-table th {
  background-color: var(--color-primary-dark);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 14px 20px;
  font-size: 0.9rem;
}

.matrix-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.matrix-table tr:hover {
  background-color: rgba(25, 135, 84, 0.03);
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.date-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  padding: 24px;
}

.meta-date {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-primary-light);
  font-size: 0.85rem;
  margin: 8px 0;
}

.date-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}


/* Authentic VC/School Info Section */
.nile-provost-section {
  background-color: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 80px 0;
}

.nile-provost-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
}

.nile-provost-left {
  position: relative;
}

.nile-provost-frame-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 15px;
  left: 15px;
  border-radius: var(--radius-md);
  border: 4px solid var(--color-accent);
  z-index: 1;
}

.nile-provost-frame {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.nile-provost-frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.nile-provost-caption {
  background-color: var(--color-primary-dark);
  color: #fff;
  padding: 20px;
  text-align: center;
}

.nile-provost-tag {
  display: inline-block;
  background-color: rgba(255, 193, 7, 0.15);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.nile-provost-title {
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.nile-provost-quote-wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.nile-provost-giant-quote {
  font-size: 4rem;
  font-family: var(--font-display);
  color: var(--color-accent);
  line-height: 0.8;
}

.nile-provost-quote-text {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 500;
}

.nile-provost-body-text {
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.nile-provost-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.nile-provost-signature-block {
  display: flex;
  flex-direction: column;
}

.provost-cursive-sig {
  font-family: "Georgia", serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: bold;
  color: var(--color-primary-light);
}


/* Auth / Portal Login Pages */
.auth-page-container {
  min-height: calc(100vh - var(--header-height) - 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.auth-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
}

.auth-card-banner {
  background-color: var(--color-primary-dark);
  color: #fff;
  padding: 30px;
  text-align: center;
  border-bottom: 4px solid var(--color-accent);
}

.auth-card-banner h2 {
  color: #fff;
  font-size: 1.75rem;
}

.auth-card-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  margin-top: 8px;
}

.auth-tabs-header {
  display: flex;
  border-bottom: 1px solid var(--color-border);
}

.auth-tab-btn {
  flex: 1;
  padding: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--color-text-muted);
}

.auth-tab-btn.active {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  background-color: #fafbfc;
}

.auth-card-body {
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

/* Dashboards Shell Layout */
.dashboard-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - var(--header-height));
}

.dashboard-sidebar {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}

.sidebar-profile {
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.sidebar-profile h4 {
  color: #ffffff;
  font-size: 1.1rem;
}

.sidebar-profile span {
  font-size: 0.75rem;
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  display: inline-block;
  margin-top: 6px;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.sidebar-menu-item a, .sidebar-menu-item button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  width: 100%;
  text-align: left;
  color: rgba(255, 255, 255, 0.75);
}

.sidebar-menu-item:hover a, 
.sidebar-menu-item.active a,
.sidebar-menu-item button:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.sidebar-menu-item.active {
  border-left: 4px solid var(--color-accent);
  background-color: rgba(255, 255, 255, 0.05);
}

.dashboard-main {
  background-color: var(--color-bg-light);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow-y: auto;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-header-title h2 {
  font-size: 1.75rem;
}

.page-header-title p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* KPI Summary Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.kpi-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kpi-info h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.kpi-number {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  margin-top: 4px;
}

.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(25, 135, 84, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Table Controls Toolbar */
.toolbar-wrap {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.toolbar-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 250px;
}

.toolbar-filters {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbar-filters select {
  width: auto;
  min-width: 140px;
}

/* Modals & Popups styling */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 81, 50, 0.4);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  animation: reveal-up 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes reveal-up {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  background-color: var(--color-primary-dark);
  color: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  color: #fff;
  font-size: 1.25rem;
}

.modal-close {
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
}

.modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Report Card Styles with complete print-specific definitions */
.report-card-container {
  background-color: #ffffff;
  border: 3px double var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 40px;
  margin: 0 auto;
  max-width: 800px;
  box-shadow: var(--shadow-md);
}

.report-header {
  border-bottom: 2px solid var(--color-primary-dark);
  padding-bottom: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.report-title-academy {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.report-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.report-card-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background-color: var(--color-bg-light);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
}

.meta-field {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.meta-field label {
  font-weight: 700;
  color: var(--color-primary-dark);
}

.meta-field span {
  font-weight: 500;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.report-table th, .report-table td {
  border: 1px solid #000000;
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
}

.report-table th {
  background-color: rgba(15, 81, 50, 0.08);
  font-weight: 700;
  color: #000;
}

.report-table td.subject-name {
  text-align: left;
  font-weight: 600;
}

.report-summary-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border: 1px solid #000;
  padding: 20px;
  background-color: var(--color-bg-light);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.summary-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.summary-stat-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 6px;
}

.report-footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dashed var(--color-border);
}

.signature-line {
  border-top: 1px solid #000;
  text-align: center;
  margin-top: 40px;
  padding-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Responsive Screen Styling for Report Card Viewer */
@media (max-width: 650px) {
  .report-card-container {
    padding: 24px !important;
  }
  .report-summary-box {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 15px !important;
  }
  .report-footer {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .report-title-academy {
    font-size: 1.5rem !important;
  }
  .report-card-meta {
    grid-template-columns: 1fr !important;
  }
}

/* Print Utilities */
@media print {
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
  }
  
  /* Hide main content, headers, and other page wrappers to completely avoid backdrop overflow overlays and shifts */
  main, footer, header, .global-header, .news-ticker-wrapper, .global-footer-premium, .dashboard-shell, .modal-header, .modal-footer, .btn, .toolbar-wrap, .modal-term-selector {
    display: none !important;
  }
  
  /* Ensure only the active report card modal prints, and keep other modals hidden */
  #modal-report-card {
    position: absolute !important;
    inset: 0 !important;
    background: none !important;
    backdrop-filter: none !important;
    display: block !important;
    padding: 0 !important;
  }
  
  .modal-overlay:not(#modal-report-card) {
    display: none !important;
  }
  
  .modal-card {
    box-shadow: none !important;
    border: none !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }
  
  .modal-body {
    padding: 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
  }
  
  .report-card-container {
    box-shadow: none !important;
    border: 3px double #000000 !important;
    padding: 20px !important;
    max-width: 100% !important;
    width: 100% !important;
    page-break-inside: avoid;
  }
  
  .report-table th {
    background-color: rgba(0, 0, 0, 0.05) !important;
  }
  
  .report-card-meta {
    background-color: #f1f5f9 !important;
    border: 1px solid #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* Notification Popups styling */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 11000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background-color: var(--color-primary-dark);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  animation: slide-in-toast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--color-accent);
}

@keyframes slide-in-toast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.danger {
  border-left-color: var(--color-danger);
}

.toast.success {
  border-left-color: var(--color-success);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }
  
  .dashboard-sidebar {
    display: none;
  }
  
  .levels-grid {
    grid-template-columns: 1fr;
  }
  
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .home-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border: 1px solid var(--color-border);
    color: var(--color-primary-dark);
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .mobile-nav-toggle:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    transform: scale(1.05);
  }

  .main-nav {
    display: none !important;
  }
  
  .header-actions .btn-teacher-portal,
  .header-actions .admin-login-btn {
    display: none !important;
  }
  
  .header-actions .header-action-btn.search-btn {
    display: flex !important;
  }
}

@media (max-width: 960px) {
  .hero-slide-inner {
    padding: 0 18px;
  }

  .hero-slide-content {
    max-width: 100%;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .hero-slider-wrapper {
    min-height: 520px;
    padding: 40px 0 60px;
  }

  .hero-slide {
    min-height: 520px;
  }

  .hero-slide-title {
    font-size: 2.4rem;
    line-height: 1.2;
  }

  .hero-slide-desc {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-slide-actions {
    flex-direction: column;
    gap: 14px;
  }

  .hero-nav-arrow {
    width: 44px;
    height: 44px;
  }

  .hero-slide-indicators {
    bottom: 18px;
  }

  .funnel-pipeline {
    grid-template-columns: 1fr;
  }
  
  .dates-grid {
    grid-template-columns: 1fr;
  }
  
  .nile-provost-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-slider-wrapper {
    min-height: 360px;
    padding: 20px 0 40px;
  }

  .hero-slide-title {
    font-size: 2rem;
  }

  .hero-slide-desc {
    font-size: 0.98rem;
  }

  .hero-slide-actions {
    width: 100%;
  }

  .hero-slide-inner {
    padding: 0 14px;
  }

  .logo-title {
    font-size: 1.05rem !important;
  }
  .logo-subtitle {
    font-size: 0.58rem !important;
  }
}

/* ==========================================
   WHY GLORY CHILDREN'S ACADEMY SECTION
   ========================================== */
.section-why-gca {
  background-color: var(--color-bg-card); /* Pure White Background */
  padding: 100px 0;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.section-why-gca .container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 30px;
}

.why-gca-grid {
  display: grid;
  grid-template-columns: 35fr 40fr 25fr; /* Precise 35% 40% 25% layout ratio */
  gap: 35px; /* Exactly 35px gap between the columns */
  align-items: stretch;
}

/* LEFT COLUMN STYLING */
.why-gca-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 1;
}

.why-gca-tag {
  display: inline-block;
  align-self: flex-start;
  color: var(--color-primary-light);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  background-color: rgba(25, 135, 84, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
}

.why-gca-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 520px;
}

.why-gca-title span {
  color: var(--color-primary-light);
}

.why-gca-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}

/* Feature List (2 columns on desktop/tablet) */
.why-gca-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
  max-width: 520px; /* Perfectly aligned to 520px */
}

.why-gca-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  transition: transform 0.2s ease;
}

.why-gca-feature-item:hover {
  transform: translateX(4px);
}

.why-gca-check-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(25, 135, 84, 0.12);
  color: var(--color-primary-light);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.why-gca-feature-item:hover .why-gca-check-wrapper {
  background-color: var(--color-primary-light);
  color: #ffffff;
}

.why-gca-check {
  width: 14px;
  height: 14px;
}

/* Premium Discovery Button */
.btn-premium-accent {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-primary);
  color: #ffffff !important;
  font-family: var(--font-display);
  padding: 14px 34px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(15, 81, 50, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  align-self: flex-start;
}

.btn-premium-accent:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(25, 135, 84, 0.25);
}

.btn-premium-accent .arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-premium-accent:hover .arrow-icon {
  transform: translateX(5px);
}

/* MIDDLE COLUMN & GENERAL IMAGE CARDS */
.why-gca-middle {
  order: 2;
}

.why-gca-img-card {
  position: relative;
  border-radius: 20px; /* Large Rounded Corners */
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02); /* Professional Shadow */
  background-color: var(--color-primary-dark);
  height: 100%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-gca-img-card.large-card {
  height: 450px;
  min-height: 450px;
}

.why-gca-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-gca-img-card:hover .why-gca-img {
  transform: scale(1.08); /* Hover Zoom Effect */
}

.why-gca-img-card:hover {
  box-shadow: 0 30px 60px rgba(15, 81, 50, 0.12);
  transform: translateY(-4px);
}

.why-gca-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  background: linear-gradient(to top, rgba(8, 42, 26, 0.95) 0%, rgba(8, 42, 26, 0.6) 60%, rgba(8, 42, 26, 0) 100%);
  color: #ffffff;
  z-index: 5;
}

.why-gca-img-caption .img-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.why-gca-img-caption h4 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
}

/* RIGHT COLUMN STACKING */
.why-gca-right {
  order: 3;
}

.why-gca-right-stack {
  display: flex;
  flex-direction: column;
  gap: 24px; /* Equal Spacing */
  height: 100%;
}

.why-gca-img-card.small-card {
  height: 215px;
  min-height: 215px;
}

/* SCROLL ANIMATION SYSTEM (FADE IN) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
  .section-why-gca {
    padding: 80px 0;
  }

  .why-gca-grid {
    grid-template-columns: 1fr 1fr; /* 2 Column layout on tablet */
    gap: 32px;
  }

  .why-gca-left {
    grid-column: span 2; /* Content occupies full width at top */
    order: 1;
    margin-bottom: 12px;
  }

  .why-gca-middle {
    grid-column: span 1;
    order: 2;
  }

  .why-gca-right {
    grid-column: span 1;
    order: 3;
  }
  
  .why-gca-img-card.large-card {
    height: 420px;
    min-height: 420px;
  }

  .why-gca-img-card.small-card {
    height: 198px;
    min-height: 198px;
  }
}

@media (max-width: 768px) {
  .section-why-gca {
    padding: 60px 0;
  }

  .why-gca-grid {
    grid-template-columns: 1fr; /* Single column stack on mobile */
    gap: 35px; /* Consistent premium spacing */
  }

  .why-gca-left {
    grid-column: span 1;
    order: 1;
  }

  .why-gca-middle {
    grid-column: span 1;
    order: 2;
  }

  .why-gca-right {
    grid-column: span 1;
    order: 3;
  }

  .why-gca-title {
    font-size: 2.1rem;
    max-width: 100%;
  }

  .why-gca-desc {
    max-width: 100%;
  }

  .why-gca-features {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }

  .why-gca-img-card.large-card {
    height: 380px;
    min-height: 380px;
  }

  .why-gca-img-card.small-card {
    height: 215px;
    min-height: 215px;
  }
}

/* ==========================================================================
   ACADEMIC PROGRAMS SECTION (NEW PREMIUM HIGHLIGHT SECTION)
   ========================================================================== */
.section-academic-programs {
  padding: 100px 0;
  background: #f8faf9; /* Soft off-white to make white cards pop */
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.section-academic-programs .container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Section Header */
.academic-programs-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.academic-programs-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(15, 81, 50, 0.08);
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.academic-programs-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

.academic-programs-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 20px;
}

.academic-programs-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* Grid & Card System */
.academic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: stretch;
}

.academic-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.academic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 81, 50, 0.09);
  border-color: rgba(15, 81, 50, 0.2);
}

/* Card Image */
.academic-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #eaeaea;
}

.academic-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.academic-card:hover .academic-card-img {
  transform: scale(1.08);
}

.academic-card-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--color-primary-dark);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

/* Card Content & Features */
.academic-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.academic-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.academic-card-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.academic-card-features {
  list-style: none;
  padding: 0;
  margin: auto 0 28px 0; /* Auto margin pushes features to bottom if desc is short */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.academic-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-text-dark);
  font-weight: 500;
}

.academic-check-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(15, 81, 50, 0.08);
  color: var(--color-primary);
  flex-shrink: 0;
}

.academic-check-icon {
  width: 10px;
  height: 10px;
  stroke-width: 4;
}

/* Card Button Footer */
.academic-card-footer {
  margin-top: auto;
}

.btn-academic-card {
  display: block;
  width: 100%;
  padding: 12px 16px;
  text-align: center;
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-academic-card:hover {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 81, 50, 0.15);
  transform: translateY(-1px);
}

/* RESPONSIVE TAILORING */
@media (max-width: 1100px) {
  .academic-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on Tablet */
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .section-academic-programs {
    padding: 70px 0;
  }
  
  .academic-programs-title {
    font-size: 2.1rem;
  }
  
  .academic-programs-subtitle {
    font-size: 1.15rem;
  }
}

@media (max-width: 600px) {
  .academic-grid {
    grid-template-columns: 1fr; /* 1 per row on Mobile */
    gap: 20px;
  }
  
  .academic-programs-title {
    font-size: 1.9rem;
  }
  
  .academic-programs-subtitle {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  
  .academic-card-content {
    padding: 20px;
  }
}

/* ==========================================================================
   FACILITIES SECTION (PREMIUM MODERN CAMPUS INFRASTRUCTURE)
   ========================================================================== */
.section-facilities {
  padding: 100px 0;
  background: #ffffff; /* Classic high-contrast look */
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.section-facilities .container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Header styling */
.facilities-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.facilities-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-warning, #FFB600); /* Accent gold warning color */
  background: rgba(217, 119, 6, 0.08);
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.facilities-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.15;
  margin-bottom: 12px;
}

.facilities-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 20px;
}

.facilities-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* Grid & Cards */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: stretch;
}

.facility-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(15, 81, 50, 0.15);
}

/* Card Image Wrap */
.facility-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  background-color: #eaeaea;
}

.facility-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.facility-card:hover .facility-img {
  transform: scale(1.08);
}

/* Floating custom icon badge for a magical look */
.facility-icon-badge {
  position: absolute;
  bottom: -4px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(15, 81, 50, 0.25);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.facility-card:hover .facility-icon-badge {
  background: var(--color-primary-dark);
  transform: rotate(15deg) scale(1.1);
  box-shadow: 0 6px 15px rgba(15, 81, 50, 0.35);
}

.facility-inline-icon {
  width: 18px;
  height: 18px;
}

/* Card Body */
.facility-body {
  padding: 32px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.facility-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  position: relative;
}

.facility-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1100px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablet */
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .section-facilities {
    padding: 70px 0;
  }
  
  .facilities-title {
    font-size: 2.1rem;
  }
  
  .facilities-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .facilities-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
    gap: 20px;
  }
  
  .facilities-title {
    font-size: 1.9rem;
  }
  
  .facilities-subtitle {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  
  .facility-body {
    padding: 28px 20px 24px 20px;
  }
}

/* ==========================================================================
   ACHIEVEMENTS & STATISTICS SECTION (PREMIUM DEEP NAVY STYLE)
   ========================================================================== */
.section-achievements {
  padding: 100px 0;
  background: #066600; /* Premium deep forest green background */
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

/* Subtle background accent pattern */
.section-achievements::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15, 81, 50, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.section-achievements .container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 2;
}

/* Header style with light/contrast typography */
.achievements-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.achievements-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fbbf24; /* Gold accent color */
  background: rgba(251, 191, 36, 0.1);
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.achievements-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 12px;
}

.achievements-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  color: #f3f4f6;
  line-height: 1.4;
  margin-bottom: 20px;
}

.achievements-desc {
  font-size: 1.05rem;
  color: #94a3b8; /* Soft contrast text */
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* Grid layout */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: stretch;
}

/* Stat card in deep navy */
.achievement-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0e2118; /* Dark forest tone to match green branding */
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.14);
  padding: 40px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.achievement-card:hover {
  transform: translateY(-8px);
  background: #17392c; /* Rich forest hover tone */
  border-color: rgba(251, 191, 36, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(251, 191, 36, 0.12);
}

/* Icons */
.achievement-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24; /* Gold accent */
  margin-bottom: 24px;
  transition: all 0.4s ease;
  border: 1px solid rgba(251, 191, 36, 0.16);
}

.achievement-card:hover .achievement-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background: rgba(251, 191, 36, 0.15);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
}

.achievement-icon {
  width: 36px;
  height: 36px;
}

/* Stat text */
.achievement-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.counter-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1px;
}

.achievement-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #d9e0df; /* Light contrast text */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.achievement-card:hover .achievement-name {
  color: #fbbf24; /* Card text highlight to match theme */
}

/* RESPONSIVE TAILORING */
@media (max-width: 1100px) {
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .section-achievements {
    padding: 70px 0;
  }
  
  .achievements-title {
    font-size: 2.1rem;
  }
  
  .achievements-subtitle {
    font-size: 1.15rem;
  }
}

@media (max-width: 600px) {
  .achievements-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
    gap: 20px;
  }
  
  .achievements-title {
    font-size: 1.9rem;
  }
  
  .achievements-subtitle {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  
  .achievement-card {
    padding: 32px 20px;
  }
  
  .counter-value {
    font-size: 2.3rem;
  }
}

/* ==========================================================================
   SCHOOL GALLERY SECTION (PREMIUM MASONRY APPARENT STYLE)
   ========================================================================== */
.section-gallery {
  padding: 100px 0;
  background-color: var(--color-bg-card); /* White background as requested */
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.gallery-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary); /* Forest green educational branding */
  background: rgba(15, 81, 50, 0.08);
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.gallery-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.15;
  margin-bottom: 12px;
}

.gallery-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 20px;
}

.gallery-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Categories Switcher Tab Row */
.gallery-filter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 45px;
  padding: 0 10px;
}

.gallery-filter-btn {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: 8px 18px;
  border-radius: 30px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-filter-btn:hover {
  background-color: rgba(15, 81, 50, 0.05);
  color: var(--color-primary);
  border-color: var(--color-primary-light);
}

.gallery-filter-btn.active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(15, 81, 50, 0.2);
}

/* Masonry Apparent Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 20px;
}

.gallery-item-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

/* Column and Row Spanning to create masonry feel */
.gallery-item-wrap.gallery-tall {
  grid-row: span 2;
}

.gallery-item-wrap.gallery-wide {
  grid-column: span 2;
}

/* Hide animations */
.gallery-item-wrap.filtered-out {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: none;
}

.gallery-item {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover overlays */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 42, 26, 0.9) 0%, rgba(8, 42, 26, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.gallery-overlay-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent); /* Warm gold Accent color */
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.gallery-overlay-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 12px;
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-zoom-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover triggers */
.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay-title {
  transform: translateY(0);
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.gallery-zoom-icon:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
}

/* Lightbox Modal System */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(8, 42, 26, 0.98); /* dark forest shade */
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.gallery-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10010;
}

.lightbox-close:hover {
  background-color: var(--color-danger);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10010;
}

.lightbox-nav:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-content-box {
  max-width: 80%;
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  animation: lightboxEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxEntrance {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
  text-align: center;
  margin-top: 20px;
  color: #ffffff;
}

.lightbox-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-mono);
  display: block;
  margin-bottom: 4px;
}

.lightbox-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

/* RESPONSIVE TAILORING */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 230px;
  }
  
  .gallery-item-wrap.gallery-wide {
    grid-column: auto; /* reset spans to maintain responsiveness */
  }
}

@media (max-width: 991px) {
  .section-gallery {
    padding: 75px 0;
  }
  
  .gallery-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 210px;
  }
  
  .gallery-item-wrap.gallery-tall {
    grid-row: auto; /* reset height spans on mobiles */
  }

  .gallery-filter-wrapper {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Hide scrollbar of filter list for custom look */
  .gallery-filter-wrapper::-webkit-scrollbar {
    display: none;
  }
  .gallery-filter-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 530px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
  
  .gallery-title {
    font-size: 1.9rem;
  }
  
  .gallery-subtitle {
    font-size: 1.15rem;
    margin-bottom: 15px;
  }
  
  .gallery-desc {
    font-size: 0.95rem;
  }
  
  .lightbox-content-box {
    max-width: 90%;
  }
}

/* STUDENT LIFE & ACTIVITIES SHOWCASE SECTION */
.section-student-life {
  padding: 100px 0;
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
}

.student-life-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.student-life-tag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-light);
  background: rgba(25, 135, 84, 0.1);
  padding: 6px 18px;
  border-radius: 50px;
  display: inline-block;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.student-life-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.student-life-subtitle {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 18px;
}

.student-life-desc {
  font-family: var(--font-sans);
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.student-life-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 54px;
  align-items: start;
}

.student-life-media-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Left Column: Image Collage */
.activities-collage {
  position: relative;
  height: 420px;
  width: 100%;
}

.collage-main {
  width: 78%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-sub-1 {
  position: absolute;
  right: 5%;
  top: 5%;
  width: 46%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--color-bg-card);
  box-shadow: var(--shadow-lg);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.collage-sub-2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--color-bg-card);
  box-shadow: var(--shadow-lg);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

/* Image Hover effects */
.activities-collage img:hover {
  transform: scale(1.04) translateY(-8px);
  z-index: 5;
  box-shadow: 0 25px 35px rgba(0, 0, 0, 0.18);
}

/* Left Column: Premium Featured Quote Card */
.premium-quote-card {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #152d1f 100%);
  color: #ffffff;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-quote-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(15, 81, 50, 0.18);
}

.quote-icon {
  position: absolute;
  right: 24px;
  bottom: 12px;
  opacity: 0.12;
  color: var(--color-accent);
  transform: rotate(180deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-quote-card:hover .quote-icon {
  transform: rotate(180deg) scale(1.15);
}

.quote-text {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  color: #f1f5f9;
}

.quote-author {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  position: relative;
  z-index: 2;
}

/* Right Column: Activity Cards */
.activity-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.activity-card {
  background-color: var(--color-bg-card);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-left: 1px solid var(--accent-hue, var(--color-primary));
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.activity-card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 135, 84, 0.08);
  color: var(--accent-hue, var(--color-primary));
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.activity-card:hover .activity-card-icon-wrap {
  background-color: var(--accent-hue, var(--color-primary));
  color: #ffffff;
  transform: rotate(8deg) scale(1.08);
}

.activity-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.activity-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.activity-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* RESPONSIVE BREAKPOINTS FOR STUDENT LIFE */
@media (max-width: 991px) {
  .student-life-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .activities-collage {
    height: 380px;
  }
  
  .collage-main {
    height: 320px;
  }
  
  .collage-sub-1 {
    height: 180px;
  }
  
  .collage-sub-2 {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .section-student-life {
    padding: 80px 0;
  }
  
  .student-life-title {
    font-size: 2.1rem;
  }
  
  .student-life-subtitle {
    font-size: 1.15rem;
  }
}

@media (max-width: 600px) {
  .activity-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .activities-collage {
    height: 300px;
  }
  
  .collage-main {
    width: 100%;
    height: 250px;
  }
  
  .collage-sub-1, .collage-sub-2 {
    display: none;
  }
  
  .premium-quote-card {
    padding: 24px;
  }
  
  .quote-text {
    font-size: 1.05rem;
  }
}

/* WHAT PARENTS ARE SAYING & TESTIMONIAL CAROUSEL */
.section-testimonials {
  padding: 100px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-tag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  background: rgba(255, 193, 7, 0.15);
  padding: 6px 18px;
  border-radius: 50px;
  display: inline-block;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.testimonials-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.testimonials-subtitle {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 18px;
}

.testimonials-desc {
  font-family: var(--font-sans);
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.testimonials-container {
  position: relative;
  width: 100%;
  margin-bottom: 50px;
}

.testimonials-slider-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.testimonials-track {
  display: flex;
  gap: 24px; /* Matches gap parameter in JS precisely */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3); /* Exactly 3 cards visible with 24px gap on desktop */
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.testimonial-rating svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  stroke: var(--color-accent-dark);
  stroke-width: 1;
}

.testimonial-text {
  font-family: var(--font-sans);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.65;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-border);
  background-color: var(--color-bg-light);
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.testimonial-role {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Slider Manual Controllers (Navigation Arrows) */
.testimonials-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-primary-dark);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.testimonials-nav:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  border-color: var(--color-primary-dark);
  box-shadow: 0 10px 20px rgba(15, 81, 50, 0.2);
}

.testimonials-nav svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.testimonials-prev:hover svg {
  transform: translateX(-1.5px);
}

.testimonials-next:hover svg {
  transform: translateX(1.5px);
}

.testimonials-prev {
  left: -25px;
}

.testimonials-next {
  right: -25px;
}

/* Carousel Dots Indicator Container */
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.testimonials-dots .slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1; /* visible slate-300 color on white background */
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.testimonials-dots .slider-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.25);
}

/* SPECIAL TRUST BADGES STYLES */
.testimonials-trust-badge {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  gap: 40px;
  margin-top: 40px;
  border-left: 5px solid var(--color-primary);
}

.trust-badge-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust-badge-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.trust-badge-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  stroke: var(--color-accent-dark);
  stroke-width: 1;
}

.trust-badge-rating {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.trust-badge-divider-v {
  width: 1px;
  height: 60px;
  background-color: var(--color-border);
}

.trust-badge-action-col {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.trust-shield-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: rgba(25, 135, 84, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.testimonials-trust-badge:hover .trust-shield-wrap {
  transform: scale(1.1) rotate(5deg);
}

.trust-shield-icon {
  stroke-width: 2.5px;
}

.trust-badge-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 2px;
}

/* Testimonial Section Responsiveness */
@media (max-width: 1200px) {
  .testimonials-prev {
    left: -12px;
  }
  .testimonials-next {
    right: -12px;
  }
}

@media (max-width: 1023px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2); /* Exactly 2 cards visible with 24px gap on Tablet */
  }
}

@media (max-width: 767px) {
  .section-testimonials {
    padding: 80px 0;
  }
  
  .testimonials-title {
    font-size: 2.1rem;
  }
  
  .testimonials-subtitle {
    font-size: 1.15rem;
  }
  
  .testimonial-card {
    flex: 0 0 100%; /* Exactly 1 card visible on Mobile */
    padding: 26px;
  }
  
  .testimonials-nav {
    display: none !important; /* Hide navigation arrows on touch screens, let them swipe/dot-click */
  }
  
  .testimonials-trust-badge {
    flex-direction: column;
    padding: 30px;
    gap: 24px;
    align-items: flex-start;
  }
  
  .trust-badge-divider-v {
    width: 100%;
    height: 1px;
  }
  
  .trust-badge-action-col {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 500px) {
  .trust-badge-action-col {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ==========================================
   LATEST NEWS & EVENTS SECTION STYLES
   ========================================== */

.section-news {
  padding: 100px 0;
  background-color: var(--color-bg-light); /* off-whites default background */
  border-bottom: 1px solid var(--color-border);
}

.news-header-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.news-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  background-color: rgba(15, 81, 50, 0.08);
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.news-section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.news-section-subtitle {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

.news-section-desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Responsive Grid Row Setup */
.news-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

/* Premium News Cards */
.news-card-box {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.news-card-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 81, 50, 0.2);
}

/* Card Featured Highlight */
.card-featured-news-highlight {
  border-color: rgba(15, 81, 50, 0.3);
  box-shadow: 0 10px 30px rgba(15, 81, 50, 0.06);
}

.card-featured-news-highlight:hover {
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px rgba(15, 81, 50, 0.12);
}

/* News Banner Frame */
.news-card-banner {
  height: 220px;
  position: relative;
  overflow: hidden;
  background-color: #e2e8f0;
}

.news-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card-box:hover .news-card-banner img {
  transform: scale(1.06);
}

/* Badge tags on cards */
.news-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 4px;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.school-news-badge {
  background-color: var(--color-primary);
}

.school-event-badge {
  background-color: #3182ce; /* Vibrant Event Blue */
}

.achievement-badge {
  background-color: #dd6b20; /* Elite Achievement Amber */
}

/* Featured Ribbon Tag */
.news-featured-ribbon-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: #d69e2e; /* Warm Star Gold */
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

/* Upcoming Event Pulsing Dot */
.upcoming-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #3182ce;
  background-color: rgba(49, 130, 206, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #3182ce;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.status-pulse-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: inherit;
  border-radius: inherit;
  animation: pulse-ring 1.5s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* News Body Container */
.news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-meta-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.news-card-date-txt {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.news-card-heading-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.news-card-box:hover .news-card-heading-title {
  color: var(--color-primary);
}

.news-card-summary-text {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.news-card-action-bar {
  margin-top: auto;
}

/* Premium Redesigned Redesign Elements */
.btn-gca-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: #ffffff !important;
  padding: 11px 22px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.btn-gca-readmore:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.25);
}

.featured-news-card {
  display: grid;
  grid-template-columns: 55fr 45fr;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 50px;
  align-items: stretch;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 81, 50, 0.15);
}

.featured-news-img-col {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.featured-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-news-card:hover .featured-news-img {
  transform: scale(1.05);
}

.featured-news-content-col {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-news-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.featured-news-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.featured-news-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.featured-news-card:hover .featured-news-title {
  color: var(--color-primary);
}

.featured-news-paragraphs {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.featured-news-paragraphs p:first-of-type {
  margin-bottom: 14px;
}

.featured-news-action {
  margin-top: auto;
}

.news-viewall-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.btn-news-viewall {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-display);
  padding: 14px 38px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(15, 81, 50, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-news-viewall:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.3);
}

/* Interactive News Modal Details CSS styles */
.news-modal-detail-view p {
  color: var(--color-text-dark);
  font-family: var(--font-sans);
}

/* RESPONSIVE MEDIA BREAKPOINTS */
@media (max-width: 1024px) {
  .news-grid-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .featured-news-card {
    grid-template-columns: 1fr;
  }
  .featured-news-img-col {
    height: 380px;
  }
  .featured-news-content-col {
    padding: 30px;
  }
  .featured-news-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .news-header-wrap {
    margin-bottom: 40px;
  }
  .news-section-title {
    font-size: 2.2rem;
  }
  .news-section-subtitle {
    font-size: 1.2rem;
  }
  .section-news {
    padding: 80px 0;
  }
}

@media (max-width: 640px) {
  .news-grid-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .featured-news-img-col {
    height: 240px;
  }
  .featured-news-content-col {
    padding: 24px;
  }
  .featured-news-title {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }
  .featured-news-paragraphs {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .featured-news-paragraphs p:last-of-type {
    display: none;
  }
  .featured-news-meta-row {
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .featured-news-action .btn-gca-readmore {
    width: 100%;
    text-align: center;
  }
  .btn-news-viewall {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================
   PREMIUM INTERNATIONAL FOOTER STYLES
   ========================================== */

.premium-academy-footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 85px 0 0 0;
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
}

/* Background overlay design details */
.premium-academy-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(214, 158, 46, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.footer-top-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: 50px;
  padding-bottom: 60px;
}

/* Brand Column styling */
.footer-brand-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-emblem-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-shool-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.01em;
  display: block;
}

.footer-motto-badge {
  display: inline-block;
  background-color: rgba(214, 158, 46, 0.2);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-school-motto {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-accent);
  font-style: italic;
  border-left: 3px solid var(--color-accent);
  padding-left: 12px;
  margin: 8px 0;
}

.footer-school-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* Columns Typography and Navigation list items */
.footer-col-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: 0.02em;
}

.footer-col-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list li a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list li a::before {
  content: "→";
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
  color: var(--color-accent);
}

.footer-links-list li a:hover {
  color: #ffffff;
  transform: translateX(8px);
}

.footer-links-list li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Information item stylings */
.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.85);
}

.contact-icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Prevent long contact/address lines from causing horizontal overflow */
.contact-text,
.footer-links-list li a {
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Ensure footer container never forces page width larger than viewport */
.footer-top-container,
.premium-academy-footer,
.footer-mid-bar {
  box-sizing: border-box;
  max-width: 100%;
}

.footer-subscribe-form {
  max-width: 100%;
}

.footer-email-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-email-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Contact Column Pulse effect when linked from "Visit Campus" button */
@keyframes footer-column-badge-pulse {
  0% { box-shadow: 0 0 0 0 rgba(214, 158, 46, 0.4); border-color: var(--color-accent); }
  50% { box-shadow: 0 0 15px 5px rgba(214, 158, 46, 0.2); border-color: #ffffff; }
  100% { box-shadow: 0 0 0 0 rgba(214, 158, 46, 0); border-color: rgba(255, 255, 255, 0.15); }
}

.footer-nav-column#footer-contact.highlight-pulse {
  animation: footer-column-badge-pulse 2s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid var(--color-accent);
  padding: 15px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.03);
}

/* Middle social bar */
.footer-mid-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0;
  margin-top: 10px;
  margin-bottom: 40px;
}

.footer-social-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.social-prompt-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.social-icon-btn:hover {
  transform: translateY(-4px) scale(1.1);
  color: #ffffff;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.facebook-btn:hover { background-color: #1877f2; border-color: #1877f2; }
.instagram-btn:hover { background-color: #e4405f; border-color: #e4405f; }
.youtube-btn:hover { background-color: #ff0000; border-color: #ff0000; }
.twitter-btn:hover { background-color: #1da1f2; border-color: #1da1f2; }
.linkedin-btn:hover { background-color: #0077b5; border-color: #0077b5; }

/* Special Notice card setup */
.footer-notice-container {
  margin-bottom: 60px;
}

.school-notice-premium-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 5px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 35px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.notice-card-content {
  flex: 1;
}

.notice-badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent);
  background-color: rgba(214, 158, 46, 0.12);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
  border: 1px solid rgba(214, 158, 46, 0.25);
}

.notice-spinner-bullet {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  animation: notice-spinner-pulse 1.4s infinite;
}

@keyframes notice-spinner-pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

.notice-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.notice-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 720px;
}

.premium-notice-btn {
  background-color: var(--color-accent) !important;
  color: var(--color-primary-dark) !important;
  border-color: var(--color-accent) !important;
  font-weight: 700 !important;
  padding: 12px 28px !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 14px rgba(214, 158, 46, 0.3) !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
  white-space: nowrap;
}

.premium-notice-btn:hover {
  background-color: #ffffff !important;
  color: var(--color-primary-dark) !important;
  border-color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(250, 250, 250, 0.3) !important;
}

/* Bottom Copyright and Legal Bar */
.footer-bottom-bar {
  background-color: rgba(0, 0, 0, 0.22);
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.copyright-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.bottom-footer-links {
  display: flex;
  gap: 24px;
}

.bottom-legal-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}

.bottom-legal-link:hover {
  color: #ffffff;
}

.developer-credit {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* MODERNISED BOOTSTRAP-STYLE FOOTER DEVELOPMENTS */
.footer-newsletter-box {
  flex: 1;
  min-width: 280px;
}

.footer-subscribe-form {
  margin-top: 8px;
}

.footer-social-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 10px;
}

@media (max-width: 768px) {
  .footer-social-wrap {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .footer-social-block {
    align-items: center !important;
    text-align: center !important;
    margin-top: 15px;
  }
  .footer-subscribe-form {
    justify-content: center;
  }
}

/* RESPONSIVE FOOTER LAYOUT MEDIA BREAKPOINTS */
@media (max-width: 1100px) {
  .footer-top-container {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 820px) {
  .footer-top-container {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .school-notice-premium-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    gap: 20px;
  }
  .premium-notice-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .premium-academy-footer {
    padding-top: 50px;
  }
  .footer-top-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand-column,
  .footer-nav-column {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 24px;
  }
  .footer-nav-column:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-emblem-wrap {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 12px;
  }
  .footer-school-motto {
    text-align: center;
    border-left: none;
    border-top: 2px solid var(--color-accent);
    padding-top: 8px;
    padding-left: 0;
  }
  .footer-school-desc {
    text-align: center;
    font-size: 0.88rem;
  }
  .footer-col-heading {
    text-align: center;
    margin-bottom: 18px;
    padding-bottom: 8px;
  }
  .footer-col-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-links-list {
    align-items: center;
  }
  .footer-contact-details {
    align-items: center;
    text-align: center;
  }
  .footer-contact-item {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .footer-social-wrap {
    flex-direction: column;
    align-items: center !important;
  }
  .footer-bottom-inner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px;
  }
  .bottom-footer-links {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .footer-subscribe-form {
    flex-direction: column !important;
    max-width: 100% !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .footer-subscribe-form input {
    width: 100% !important;
    text-align: center;
    border-radius: 30px !important;
    padding: 12px 16px !important;
  }
  .footer-subscribe-form button {
    width: 100% !important;
    border-radius: 30px !important;
    padding: 12px 20px !important;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
}



