/* ==========================================================
   Sri Gayatri Techno School, Badangpet (GTS Star Kids)
   Master Design System & Stylesheet
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Caveat:wght@600;700&family=Kaushan+Script&family=Oswald:wght@700;800&family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Official School Brand Palette */
  --primary-blue: #153E9F;
  --deep-blue: #102B67;
  --brand-red: #E31B23;
  --brand-red-hover: #C5131A;
  --brand-green: #178A45;
  --brand-yellow: #FFD22F;
  --white: #FFFFFF;
  --background: #F5F7FC;
  --surface: #FFFFFF;
  --surface-subtle: #EEF2F9;
  --text-primary: #202A3A;
  --text-secondary: #626D7D;
  --text-muted: #8A96A6;
  --border-color: #E3E8F0;
  --success: #178A45;
  --error: #C62828;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation */
  --shadow-sm: 0 2px 6px rgba(16, 43, 103, 0.04);
  --shadow-md: 0 8px 20px rgba(16, 43, 103, 0.08);
  --shadow-lg: 0 14px 34px rgba(16, 43, 103, 0.12);
  --shadow-hover: 0 16px 36px rgba(21, 62, 159, 0.14);

  /* Radii & Transitions */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--background);
  overflow-x: clip;
  width: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--deep-blue);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--deep-blue);
  line-height: 1.25;
  font-weight: 700;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Section Framework */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(21, 62, 159, 0.08);
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.section-tag.green { background: rgba(23, 138, 69, 0.1); color: var(--brand-green); }
.section-tag.yellow { background: rgba(255, 210, 47, 0.2); color: #8A6500; }
.section-tag.red { background: rgba(227, 27, 35, 0.08); color: var(--brand-red); }

.section-title {
  font-size: 2.35rem;
  color: var(--deep-blue);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.accent-line {
  width: 60px;
  height: 4px;
  background: var(--brand-yellow);
  margin: 1rem auto 0 auto;
  border-radius: var(--radius-full);
  position: relative;
}

.accent-line::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -1px;
  width: 24px;
  height: 6px;
  background: var(--brand-red);
  border-radius: var(--radius-full);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(21, 62, 159, 0.25);
}

.btn-primary:hover {
  background-color: var(--deep-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 43, 103, 0.3);
}

.btn-red {
  background-color: var(--brand-red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(227, 27, 35, 0.25);
}

.btn-red:hover {
  background-color: var(--brand-red-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(227, 27, 35, 0.35);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--deep-blue);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Top Bar */
.top-bar {
  background: #001f3f;
  color: var(--white);
  padding: 0.45rem 0;
  font-size: 0.85rem;
  border-bottom: none;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.top-bar-single-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.top-bar-announcement {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.top-bar-badge {
  background: linear-gradient(135deg, #E31B23, #B81118);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(227, 27, 35, 0.4);
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  transition: var(--transition);
}

.top-bar-item:hover {
  color: var(--brand-yellow);
  transform: translateY(-1px);
}

/* Header & Navbar */
.main-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo-img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.12));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-location {
  font-size: 0.8rem;
  color: var(--brand-green);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
  padding: 0;
  margin: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-blue);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

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

.mobile-nav-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--deep-blue);
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: #071536;
  color: var(--white);
  padding: 5.5rem 0 6.5rem 0;
  overflow: hidden;
  min-height: 82vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/school-building.jpg') center center / cover no-repeat;
  filter: blur(12px) brightness(0.28);
  transform: scale(1.08);
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(7, 21, 54, 0.45) 0%, rgba(9, 27, 72, 0.3) 50%, rgba(7, 21, 54, 0.72) 100%),
                    url('../images/school-building.jpg');
  background-position: center center, center center;
  background-size: cover, contain;
  background-repeat: no-repeat, no-repeat;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-centered-layout {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 43, 103, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--brand-yellow);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.hero-pill.green {
  background: rgba(23, 138, 69, 0.9);
  border-color: rgba(23, 138, 69, 0.95);
  color: var(--white);
}

.hero-pill.red {
  background: rgba(227, 27, 35, 0.9);
  border-color: rgba(227, 27, 35, 0.95);
  color: var(--white);
}

.hero-title-impact {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: clamp(2.75rem, 5.8vw, 4.75rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85), 0 2px 4px rgba(0, 0, 0, 0.95);
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: var(--brand-yellow);
  margin-bottom: 1.25rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: rgba(255, 255, 255, 0.96);
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
  max-width: 820px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* ==========================================================
   Exact Pixel-Perfect Hero Section (Matching User Reference)
   ========================================================== */
.exact-hero-section {
  position: relative;
  width: 100%;
  background: #D9EFFF;
  overflow: hidden;
  line-height: 0;
}

.exact-hero-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.exact-hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-interactive-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-overlay-desktop {
  display: block;
  position: absolute;
  inset: 0;
}

.hero-overlay-mobile {
  display: none;
  position: absolute;
  inset: 0;
}

.hero-hotspot-btn {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.hero-hotspot-btn:hover {
  box-shadow: 0 0 16px rgba(0, 102, 214, 0.6);
  transform: scale(1.02);
}

/* Desktop Hotspot Positioning */
.btn-apply {
  left: 6.1%;
  top: 75.5%;
  width: 14.4%;
  height: 10.3%;
}

.btn-academics {
  left: 21.3%;
  top: 75.5%;
  width: 14.4%;
  height: 10.3%;
}

@media (max-width: 768px) {
  .hero-overlay-desktop {
    display: none;
  }

  .hero-overlay-mobile {
    display: block;
  }

  .btn-apply-mobile {
    left: 8.0%;
    top: 49.1%;
    width: 35.1%;
    height: 6.3%;
  }

  .btn-academics-mobile {
    left: 46.1%;
    top: 49.1%;
    width: 32.7%;
    height: 6.3%;
  }
}

.top-bar-admissions-pill,
.announcement .pill {
  background: #007AFF;
  color: #FFFFFF;
  padding: 0.35rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.4);
}

/* Announcement Top Bar */
.announcement {
  background-color: #001f3f;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.announcement a:hover {
  color: var(--brand-yellow);
  transform: translateY(-1px);
}

.announcement .email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.gmail-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Header & Header Inner */
.header {
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000;
  transition: all 0.3s ease;
  width: 100%;
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.brand span {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-family: 'Times New Roman', Times, 'Liberation Serif', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #002D62;
  letter-spacing: 0.015em;
  line-height: 1.15;
}

.brand strong .first-letter-cap {
  font-family: 'Times New Roman', Times, 'Liberation Serif', serif;
  font-size: 1.28em;
  font-weight: 900;
  line-height: 0.95;
  display: inline-block;
  vertical-align: baseline;
}

.brand small {
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 800;
  color: #16A34A;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav a {
  font-family: var(--font-heading);
  font-size: 1.1rem; /* Increased font size for all names */
  font-weight: 700;
  color: #1E293B;
  text-decoration: none;
  padding: 0.45rem 0.25rem;
  position: relative;
  white-space: nowrap !important;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #0056B3;
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 5%;
  width: 90%;
  height: 4px;
  background-color: #FFB800;
  border-radius: 3px;
}

.menu-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: #0b2546;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero,
.hero-mockup-section {
  position: relative;
  background: linear-gradient(135deg, #E6F4FE 0%, #D8EDFE 50%, #C8E5FD 100%);
  overflow: hidden;
  padding-top: 1.5rem;
  padding-bottom: 0;
}

.hero-dots {
  position: absolute;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(#93C5FD 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}

.hero-dots-tl {
  top: 25px;
  left: 25px;
}

.hero-dots-br {
  bottom: 110px;
  right: 35px;
}

.hero-mockup-container {
  position: relative;
  z-index: 2;
}

.hero-inner,
.hero-mockup-grid {
  display: grid;
  grid-template-columns: 48fr 52fr;
  align-items: center;
  gap: 2.5rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.5rem 2.5rem 1.5rem 4rem;
  position: relative;
  z-index: 2;
}

.hero-copy,
.hero-text-col {
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
  z-index: 3;
}

/* Welcome Line (Large Impactful Hierarchy) */
.welcome-heading-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.35rem;
}

.welcome-small {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em !important;
  color: #E53935;
  text-transform: uppercase;
  line-height: 1;
}

.welcome-top-line {
  display: inline-block;
  width: 85px !important;
  height: 5px !important;
  background: #FFB800;
  border-radius: 3px !important;
}

.welcome-school {
  display: block;
  font-family: 'Times New Roman', Times, 'Liberation Serif', serif;
  font-size: clamp(38px, 4.3vw, 62px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0A2540;
  text-transform: uppercase;
  line-height: 1.08;
  margin: 0.2rem 0 1.25rem 0;
}

.welcome-school .first-letter-cap {
  font-family: 'Times New Roman', Times, 'Liberation Serif', serif;
  font-size: 1.24em;
  font-weight: 900;
  line-height: 0.95;
  display: inline-block;
  vertical-align: baseline;
}

.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  font-weight: 800;
  color: #0A2540;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.hero-subheading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.9rem, 2.5vw, 2.65rem);
  font-weight: 800;
  color: #0A2540;
  line-height: 1.15;
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
}

.hero-subheading em {
  font-family: 'Caveat', 'Kaushan Script', cursive;
  font-style: normal;
  color: #007AFF;
  font-size: 1.3em;
  font-weight: 700;
  display: inline-block;
  position: relative;
  line-height: 0.95;
  white-space: nowrap;
}

.hero-subheading em .swoosh-underline {
  position: absolute;
  bottom: -8px;
  left: 2px;
  width: 98%;
  height: 18px;
  pointer-events: none;
}

.hero .intro,
.hero-lead-text {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #1e293b;
  max-width: 500px;
  margin-bottom: 1.25rem;
  font-weight: 450;
}

.benefits,
.hero-badges-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

.benefit,
.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  position: relative;
}

.benefit:not(:last-child)::after {
  display: none;
}

.benefit .circle,
.badge-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.benefit.blue .circle,
.badge-icon-circle.icon-blue {
  background: #0056B3 !important;
}

.benefit.yellow .circle,
.badge-icon-circle.icon-yellow {
  background: #FFB800 !important;
}

.benefit.green .circle,
.badge-icon-circle.icon-green {
  background: #10B981 !important;
}

.benefit span:not(.circle),
.badge-item-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  color: #0A2540;
}

.actions,
.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.actions .btn.primary,
.btn-hero-primary {
  background: #0056B3;
  color: #FFFFFF !important;
  padding: 0.9rem 2rem;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 86, 179, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.actions .btn.primary:hover,
.btn-hero-primary:hover {
  background: #004494;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 86, 179, 0.4);
}

.actions .btn.secondary,
.btn-hero-outline {
  background: #FFFFFF;
  color: #0056B3 !important;
  border: 2px solid #0056B3;
  padding: 0.85rem 1.9rem;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.actions .btn.secondary:hover,
.btn-hero-outline:hover {
  background: #F0F7FF;
  transform: translateY(-2px);
}

.building,
.hero-building-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 4;
}

.hero-building-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-frame {
  width: 100%;
  max-width: 590px;
  background: linear-gradient(180deg, #52A6F8 0%, #6EB9FB 35%, #88C7FC 70%, #A5D8FC 100%);
  border: 6px solid #FFFFFF;
  border-radius: 30px;
  box-shadow: 0 18px 45px rgba(0, 55, 140, 0.15);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem 0.5rem 0 0.5rem;
}

.hero-card-frame img,
.hero-building-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom center;
  max-height: 580px;
  filter: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin-bottom: 0;
}

.wave,
.hero-wave-container {
  position: relative;
  width: 100%;
  height: 80px;
  margin-top: -20px;
  z-index: 5;
  line-height: 0;
  pointer-events: none;
}

.wave svg,
.hero-wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Feature Highlights Bar (Below Wave) */
.features,
.hero-features-section {
  padding: 2.5rem 0 4.5rem 0;
  background: #FFFFFF;
  position: relative;
  z-index: 6;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.features-mobile-header {
  display: none;
}

.section-tag-small,
.features .section-label,
.about .section-label {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0056B3;
  margin-bottom: 0.4rem;
}

.features-section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: #0b2546;
  margin-bottom: 0.5rem;
}

.features-cards-wrap,
.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.35rem;
}

.features-inner article,
.feature-card-clean {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2rem 1.25rem;
  border: 1px solid rgba(21, 62, 159, 0.1);
  box-shadow: 0 4px 18px rgba(10, 40, 90, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.features-inner article:hover,
.feature-card-clean:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(10, 40, 90, 0.1);
  border-color: rgba(0, 86, 179, 0.3);
}

.feature-icon,
.feature-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.feature-icon.book,
.feature-icon-circle.icon-indigo {
  background: #EEF2FF;
  color: #4F46E5;
}

.feature-icon.star,
.feature-icon-circle.icon-amber {
  background: #FEF3C7;
  color: #F59E0B;
}

.feature-icon.shield,
.feature-icon-circle.icon-emerald {
  background: #D1FAE5;
  color: #10B981;
}

.feature-icon.faculty,
.feature-icon-circle.icon-purple {
  background: #F3E8FF;
  color: #9333EA;
}

.feature-icon.future,
.feature-icon-circle.icon-cyan {
  background: #ECFEFF;
  color: #06B6D4;
}

.features-inner article h2,
.feature-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b2546;
  margin-bottom: 0.5rem;
}

.features-inner article p,
.feature-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* About Section */
.about {
  padding: 5rem 0;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 3.5rem;
  align-items: center;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.about h2 {
  font-size: 2.35rem;
  color: #002D62;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.about p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 1.5rem;
}

.about img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 853;
  object-fit: contain;
  display: block;
}

.feature-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon-circle.icon-indigo {
  background: #EEF2FF;
  color: #4F46E5;
}

.feature-icon-circle.icon-amber {
  background: #FEF3C7;
  color: #F59E0B;
}

.feature-icon-circle.icon-emerald {
  background: #D1FAE5;
  color: #10B981;
}

.feature-icon-circle.icon-purple {
  background: #F3E8FF;
  color: #9333EA;
}

.feature-icon-circle.icon-cyan {
  background: #ECFEFF;
  color: #06B6D4;
}

.feature-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b2546;
  margin-bottom: 0.5rem;
}

.feature-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.hero-card-preview {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

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

.hero-card-preview:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(16, 43, 103, 0.92);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-red);
  color: var(--white);
}

.hero-floating-badge h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.hero-floating-badge p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.825rem;
  margin: 0;
}

/* Academics Overview Cards (Index Page) */
.academics-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.academics-overview-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.academics-overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-blue);
  transition: var(--transition);
}

.academics-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-blue);
}

.academics-overview-card:hover::before {
  background: var(--brand-red);
}

.academics-overview-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-blue);
  background: rgba(21, 62, 159, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.academics-overview-card h3 {
  font-size: 1.25rem;
  color: var(--deep-blue);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.academics-overview-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}


/* Philosophy Cards Row - All 4 in one horizontal line */
.philosophy-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.philosophy-cards-row .feature-card {
  padding: 1.85rem 1.4rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (max-width: 1024px) {
  .philosophy-cards-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .philosophy-cards-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Feature Cards & Grid */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-blue);
  transition: var(--transition);
}

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

.feature-card:hover::before {
  background: var(--brand-red);
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(21, 62, 159, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--deep-blue);
}

/* Educational Levels */
.level-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.level-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.level-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.level-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.level-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-yellow);
}

.level-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  color: var(--deep-blue);
}

.level-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.level-card ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.level-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.level-card ul li svg {
  width: 16px;
  height: 16px;
  color: var(--brand-green);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Leadership Profiles */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 2.5rem;
}

.leadership-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 260px;
  transition: var(--transition);
  min-height: 360px;
  align-items: stretch;
}

.leadership-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(21, 62, 159, 0.25);
}

.leadership-photo-col {
  background: #E8EEFF;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  display: block;
  padding: 0;
}

.leadership-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: none;
  box-shadow: none;
  display: block;
  transition: transform 0.4s ease;
}

.leadership-card:hover .leadership-photo-col img {
  transform: scale(1.04);
}

.leadership-badge-pill {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  margin-top: 0;
  background: var(--deep-blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.leadership-content-col {
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.leadership-name {
  font-size: 1.45rem;
  color: var(--deep-blue);
  margin-bottom: 0.25rem;
}

.leadership-designation {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.15rem;
}

.leadership-quote {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.95rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--brand-yellow);
}

/* Admissions Call To Action Banner */
.admission-cta-banner {
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-blue) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-lg);
  border-bottom: 5px solid var(--brand-yellow);
}

.admission-cta-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
}

.admission-cta-text h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.admission-cta-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0;
}

/* Gallery Grid & Lightbox */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 4px 18px rgba(0, 31, 63, 0.08);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 31, 63, 0.16);
  border-color: var(--brand-yellow);
}

.gallery-thumb-wrapper {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: #E2E8F0;
}

.gallery-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover .gallery-thumb-wrapper img {
  transform: scale(1.08);
}

.gallery-caption-box {
  padding: 1.15rem 1.25rem;
  background: var(--surface);
}

.gallery-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  display: block;
}

.gallery-item-title {
  font-size: 1.05rem;
  color: var(--deep-blue);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16, 43, 103, 0.94);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content-wrapper {
  max-width: 900px;
  max-height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lightbox-img-box {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 65vh;
}

.lightbox-img-box img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
}

.lightbox-details {
  padding: 1.25rem 1.5rem;
  background: var(--white);
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  background: var(--brand-red);
}

/* Forms */
.form-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--deep-blue);
}

.form-label .required {
  color: var(--brand-red);
  margin-left: 0.2rem;
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background-color: var(--surface);
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(21, 62, 159, 0.12);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--primary-blue);
  cursor: pointer;
}

.form-check-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.form-helper {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.alert-success { background-color: #E6F6ED; border: 1px solid #A3E2BD; color: #0E592B; }
.alert-danger { background-color: #FDF0F0; border: 1px solid #F9B8B9; color: #9C1014; }
.alert-warning { background-color: #FFF9DB; border: 1px solid #FFE082; color: #7D5A00; }

.confirmation-card {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 2px dashed var(--brand-green);
  box-shadow: var(--shadow-md);
}

.confirmation-icon {
  width: 72px;
  height: 72px;
  background: #E6F6ED;
  color: var(--brand-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.ref-code-box {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  background: var(--surface-subtle);
  border: 2px solid var(--primary-blue);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: 0.08em;
  margin: 1.5rem 0;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep-blue);
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary-blue);
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid rgba(227, 232, 240, 0.6);
}

.faq-card.open .faq-answer {
  display: block;
}

/* Footer (Strictly without privacy or admin link) */
.site-footer {
  background-color: var(--deep-blue);
  color: var(--white);
  padding: 4.5rem 0 1.5rem 0;
  border-top: 4px solid var(--brand-yellow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.75rem;
  margin-bottom: 3.5rem;
}

.footer-brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.footer-brand-text h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  color: var(--brand-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-heading {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--brand-red);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--brand-yellow);
  padding-left: 0.35rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.footer-contact-item svg {
  color: var(--brand-yellow);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a:hover {
  color: var(--brand-yellow);
}

/* About Us Stat Counters */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.about-stat-card {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.about-stat-number {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: clamp(3.8rem, 6.5vw, 5.2rem) !important;
  font-weight: 900;
  color: var(--primary-blue);
  line-height: 0.95;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.about-stat-number.red {
  color: var(--brand-red);
}

.about-stat-number.green {
  color: var(--brand-green);
}

.about-stat-label {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: var(--deep-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Big Font Messages in About Us */
.message-title-big {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--deep-blue);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.message-body-big {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-primary);
}

.message-signoff {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--border-color);
}

.message-author-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--deep-blue);
  margin-bottom: 0.25rem;
}

.message-author-designation {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.leadership-message-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 3.5rem;
  align-items: stretch;
}

.leadership-full-photo-col {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  overflow: hidden;
  background: #E8EEFF;
}

.leadership-full-photo-col .full-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.leadership-message-card:hover .leadership-full-photo-col .full-card-photo {
  transform: scale(1.03);
}

.leadership-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3.5rem 2.25rem 1.75rem 2.25rem;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.94) 0%, rgba(10, 25, 47, 0.5) 65%, transparent 100%);
  color: var(--white);
  z-index: 2;
}

.leadership-photo-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.leadership-photo-badge.badge-correspondent {
  background: var(--brand-red);
  color: var(--white);
}

.leadership-photo-badge.badge-principal {
  background: var(--primary-blue);
  color: var(--white);
}

.leadership-photo-overlay-name {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

@media (max-width: 860px) {
  .leadership-message-card {
    grid-template-columns: 1fr;
  }

  .leadership-full-photo-col {
    min-height: 380px;
  }
}

/* Interactive Events Page */
.events-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.event-card-clickable {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
  padding: 2rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.event-card-clickable:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.event-card-clickable.active {
  border-color: var(--primary-blue);
  border-left: 6px solid var(--brand-red);
  background: #F8FAFF;
  box-shadow: var(--shadow-md);
}

.event-card-clickable h3 {
  font-size: 1.35rem;
  color: var(--deep-blue);
  margin-bottom: 0.65rem;
}

.event-card-clickable p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.event-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-blue);
}

/* Map Section */
.map-container-box {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}

.map-container-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================
   Modern Events Page (Stacked Layout & Modal System)
   ========================================================== */
.events-banner {
  background: linear-gradient(135deg, #E6F4FE 0%, #D8EDFE 50%, #C8E5FD 100%);
  padding: 4.5rem 1.5rem 3rem 1.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #051D3B;
  border-bottom: 2px solid #BAE6FD;
}

.events-banner-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.events-banner-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.01em;
}

.events-banner-subtitle {
  font-size: 1.15rem;
  color: #4A5568;
  max-width: 650px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
}

.events-banner-dashes {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.events-banner-dashes span {
  display: inline-block;
  height: 5px;
  border-radius: 3px;
}

.events-banner-dashes span:nth-child(1) {
  width: 28px;
  background: #FFFFFF;
}

.events-banner-dashes span:nth-child(2) {
  width: 28px;
  background: #FFB800;
}

.events-banner-dashes span:nth-child(3) {
  width: 28px;
  background: #E53935;
}

.banner-doodle-plane {
  position: absolute;
  left: 6%;
  top: 25%;
  width: 70px;
  opacity: 0.35;
  pointer-events: none;
}

.banner-doodle-star {
  position: absolute;
  right: 7%;
  top: 28%;
  width: 65px;
  opacity: 0.4;
  pointer-events: none;
}

.events-banner-wave {
  position: relative;
  width: 100%;
  height: 55px;
  margin-top: -1px;
  line-height: 0;
  z-index: 2;
}

.events-banner-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Stacked Event Cards */
.events-section-padding {
  padding: 4rem 1.5rem 6rem 1.5rem;
  background: #F8FAFC;
}

.events-stack-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.event-horizontal-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 40, 100, 0.06);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 2.25rem;
  align-items: center;
  transition: all 0.3s ease;
}

.event-horizontal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 50, 130, 0.12);
  border-color: #CBD5E1;
}

.event-card-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 260px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  background: #EDF2F7;
}

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

.event-horizontal-card:hover .event-card-media img {
  transform: scale(1.04);
}

.event-card-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EDF5FF;
  color: #0056B3;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  width: fit-content;
  margin-bottom: 0.85rem;
}

.event-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 0.85rem 0;
  line-height: 1.25;
}

.event-card-para {
  font-size: 1rem;
  line-height: 1.65;
  color: #4A5568;
  margin: 0 0 1.5rem 0;
}

.btn-view-event {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: #0056B3;
  border: 2px solid #0056B3;
  border-radius: 9999px;
  padding: 0.65rem 1.65rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  width: fit-content;
}

.btn-view-event:hover {
  background: #0056B3;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 86, 179, 0.25);
}

/* Event Detail Modal */
.event-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 50, 0.7);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.event-modal-overlay.active {
  display: flex;
}

.event-modal-container {
  background: #FFFFFF;
  border-radius: 24px;
  width: 100%;
  max-width: 880px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.event-modal-header {
  padding: 1.75rem 2rem 1.25rem 2rem;
  border-bottom: 1px solid #EDF2F7;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.event-modal-close {
  background: #F1F5F9;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #475569;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.event-modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: scale(1.05);
}

.event-modal-body {
  padding: 2rem;
}

.event-modal-para {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 2rem;
}

.event-photos-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #F1F5F9;
}

.event-modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.event-gallery-item {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  height: 200px;
  position: relative;
  background: #F8FAFC;
}

.event-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-photo-placeholder {
  border: 2px dashed #94A3B8;
  border-radius: 14px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background: #F8FAFC;
  color: #64748B;
  transition: all 0.25s ease;
}

.event-photo-placeholder:hover {
  border-color: #0056B3;
  color: #0056B3;
  background: #F0F7FF;
}

.upload-helper-box {
  background: #F0F7FF;
  border: 1px solid #BAE6FD;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
  color: #0369A1;
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .event-horizontal-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }
  .event-card-media {
    height: 220px;
  }
}

/* ==========================================================================
   Dedicated Event Detail Page (Matching Mockup)
   ========================================================================== */
.event-detail-banner {
  background: linear-gradient(135deg, #E6F4FE 0%, #D8EDFE 50%, #C8E5FD 100%);
  color: #051D3B;
  padding: 3.8rem 1.5rem 3.5rem 1.5rem;
  text-align: center;
  position: relative;
  border-bottom: 2px solid #BAE6FD;
}

.event-detail-banner-inner {
  max-width: 900px;
  margin: 0 auto;
}

.event-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0056B3;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 1.25rem;
  padding: 0.4rem 1.15rem;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  box-shadow: 0 2px 6px rgba(0, 31, 63, 0.05);
  transition: all 0.2s ease;
}

.event-back-link:hover {
  background: #EFF6FF;
  color: #0056B3;
  border-color: #93C5FD;
  transform: translateX(-3px);
}

.event-detail-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 0.6rem 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.event-detail-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: #4A5568;
  margin: 0;
  letter-spacing: 0.01em;
}

/* Event About Section */
.event-about-section {
  padding: 4.5rem 0 3.5rem 0;
  background: #FFFFFF;
}

.event-about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.event-about-content {
  display: flex;
  flex-direction: column;
}

.event-about-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.95rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.01em;
}

.event-about-para {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  margin: 0 0 1rem 0;
}

.event-highlights-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #E53935;
  margin: 1.5rem 0 0.85rem 0;
  letter-spacing: 0.01em;
}

.event-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.45;
}

.event-highlight-item svg,
.event-highlight-item .check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #10B981;
}

.event-featured-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(10, 37, 64, 0.12);
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  transition: transform 0.3s ease;
}

.event-featured-card:hover {
  transform: translateY(-3px);
}

.event-featured-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/10;
}

/* Event Gallery Section */
.event-gallery-section {
  padding: 3.5rem 0 6rem 0;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
}

.event-gallery-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0A2540;
  text-align: center;
  margin: 0 0 0.5rem 0;
}

.event-gallery-underline {
  width: 55px;
  height: 4px;
  background: #E53935;
  margin: 0.5rem auto 3.5rem auto;
  border-radius: 2px;
}

.event-gallery-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.event-gallery-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  aspect-ratio: 16/10;
}

.event-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.event-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.event-gallery-card:hover img {
  transform: scale(1.03);
}

/* Other Events Quick Navigation Bar */
.event-nav-switcher {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.event-nav-btn {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #334155;
  transition: all 0.2s ease;
}

.event-nav-btn:hover {
  border-color: #0056B3;
  color: #0056B3;
  background: #F0F7FF;
}

.event-nav-btn.active {
  background: #0056B3;
  color: #FFFFFF;
  border-color: #0056B3;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.25);
}

@media (max-width: 900px) {
  .event-about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .event-gallery-grid-2col {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .event-detail-title {
    font-size: 2rem;
  }
  .event-gallery-heading {
    font-size: 1.85rem;
  }
}

/* ==========================================================================
   Home Page Scrolling Gallery (Continuous Right-to-Left Infinite Marquee)
   ========================================================================== */
.home-gallery-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.25rem 0 2rem;
  /* Smooth edge fade out */
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.home-gallery-marquee-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
  animation: marqueeScrollRTL 85s linear infinite;
  will-change: transform;
}

.home-gallery-marquee-wrapper:hover .home-gallery-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScrollRTL {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.875rem));
  }
}

.marquee-gallery-card {
  flex: 0 0 440px;
  width: 440px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 31, 63, 0.12);
  border: 1.5px solid #E2E8F0;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  user-select: none;
}

.marquee-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 31, 63, 0.20);
  border-color: var(--brand-yellow);
}

.marquee-card-img-wrap {
  width: 100%;
  height: 295px;
  overflow: hidden;
  position: relative;
  background: #E2E8F0;
}

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

.marquee-gallery-card:hover .marquee-card-img-wrap img {
  transform: scale(1.08);
}

.marquee-card-pill {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 31, 63, 0.85);
  backdrop-filter: blur(4px);
  color: #FFD700;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.marquee-card-meta {
  padding: 1rem 1.15rem;
  background: #FFFFFF;
}

.marquee-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.2rem;
}

.marquee-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0 0 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.marquee-card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .marquee-gallery-card {
    flex: 0 0 330px;
    width: 330px;
  }
  .marquee-card-img-wrap {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .marquee-gallery-card {
    flex: 0 0 280px;
    width: 280px;
  }
  .marquee-card-img-wrap {
    height: 190px;
  }
}

/* ==========================================================================
   Transportation Section (Homepage Mockup Match)
   ========================================================================== */
.transport-mockup-section {
  position: relative;
  background: linear-gradient(135deg, #F0F6FF 0%, #EBF4FE 45%, #F8FAFD 100%);
  overflow: hidden;
  padding: 5rem 0 6rem 0;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.trans-dots-tl {
  position: absolute;
  top: 30px;
  left: 35px;
  width: 95px;
  height: 95px;
  background-image: radial-gradient(#CBD5E1 1.8px, transparent 1.8px);
  background-size: 14px 14px;
  opacity: 0.75;
  pointer-events: none;
}

.trans-dots-bc {
  position: absolute;
  bottom: 65px;
  left: 36%;
  width: 80px;
  height: 50px;
  background-image: radial-gradient(#CBD5E1 1.8px, transparent 1.8px);
  background-size: 14px 14px;
  opacity: 0.65;
  pointer-events: none;
}

.trans-bg-blob {
  position: absolute;
  right: -5%;
  top: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(186, 230, 253, 0.45) 0%, rgba(224, 242, 254, 0.12) 65%, transparent 100%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.trans-mockup-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  align-items: center;
}

.trans-mockup-content {
  display: flex;
  flex-direction: column;
}

.trans-pill-badge {
  display: inline-block;
  align-self: flex-start;
  background: #BAE6FD;
  color: #0284C7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

.trans-heading {
  font-size: 2.75rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.16;
  margin: 0 0 0.85rem 0;
  letter-spacing: -0.025em;
}

.trans-yellow-line {
  width: 52px;
  height: 5px;
  background: #FACC15;
  border-radius: 4px;
  margin-bottom: 1.6rem;
}

.trans-para {
  font-size: 0.93rem;
  line-height: 1.72;
  color: #475569;
  margin-bottom: 1rem;
}

.trans-features-row {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.trans-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1 1 180px;
}

.trans-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.trans-icon-circle.bg-blue { background: #0284C7; }
.trans-icon-circle.bg-yellow { background: #EAB308; }
.trans-icon-circle.bg-green { background: #10B981; }
.trans-icon-circle.bg-purple { background: #8B5CF6; }

.trans-feature-meta {
  display: flex;
  flex-direction: column;
}

.trans-feat-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0A2540;
  line-height: 1.25;
  margin-bottom: 2px;
}

.trans-feat-sub {
  font-size: 0.72rem;
  color: #64748B;
  line-height: 1.3;
}

.trans-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #0B4F9C;
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.75rem 1.85rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(11, 79, 156, 0.28);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.trans-cta-btn:hover {
  background: #093E7A;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 79, 156, 0.38);
  color: #FFFFFF;
}

.trans-mockup-media-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.trans-playful-tag {
  position: absolute;
  top: -34px;
  right: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0284C7;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  transform: rotate(3deg);
  pointer-events: none;
  white-space: nowrap;
}

.trans-playful-tag svg {
  transform: rotate(-10deg);
  color: #0284C7;
}

.trans-mockup-media-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 1024 / 682;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 31, 63, 0.16);
  background: #E2E8F0;
  border: 4px solid #FFFFFF;
}

.trans-mockup-media-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.trans-floating-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 10px 28px rgba(0, 31, 63, 0.18);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(226, 232, 240, 0.85);
  animation: badgeFloat 4s ease-in-out infinite;
}

.trans-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #E0F2FE;
  color: #0284C7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trans-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.trans-badge-sub {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 600;
  line-height: 1.2;
}

.trans-badge-main {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.2;
}

.trans-bottom-curves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.trans-bottom-curves svg {
  width: 100%;
  height: 65px;
  display: block;
}

@media (max-width: 1024px) {
  .trans-heading {
    font-size: 2.35rem;
  }
  .trans-mockup-grid {
    gap: 2.5rem;
  }
  .trans-mockup-media-card {
    height: auto;
    aspect-ratio: 1024 / 682;
  }
}

@media (max-width: 860px) {
  .trans-mockup-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .trans-mockup-media-col {
    align-items: center;
    margin-top: 1rem;
  }
  .trans-playful-tag {
    top: -30px;
    right: 30px;
  }
  .trans-features-row {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 1.25rem;
  }
}

@media (max-width: 540px) {
  .trans-heading {
    font-size: 1.95rem;
  }
  .trans-features-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .trans-mockup-media-card {
    height: auto;
    aspect-ratio: 1024 / 682;
    border-radius: 20px;
  }
  .trans-floating-badge {
    padding: 0.5rem 0.85rem;
    bottom: 0.85rem;
    right: 0.85rem;
  }
}

/* Legacy & Fallback classes */
.transport-home-section {
  position: relative;
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

/* Transport Page Media Card */
.transport-page-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.transport-page-media-card {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.transport-page-media {
  position: relative;
  width: 100%;
  height: 290px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 31, 63, 0.14);
  border: 4px solid #FFFFFF;
  background: #E2E8F0;
}

.transport-page-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.transport-page-media:hover img {
  transform: scale(1.04);
}

.transport-media-badge svg {
  color: #FFD700;
  flex-shrink: 0;
}

.transport-home-content {
  display: flex;
  flex-direction: column;
}

.transport-home-content .section-title {
  margin-bottom: 0.75rem;
}

.transport-home-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.transport-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.transport-feature-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #FFFFFF;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.transport-feature-chip:hover {
  transform: translateY(-2px);
  border-color: var(--primary-blue);
}

.transport-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 86, 179, 0.10);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.transport-feature-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--deep-blue);
  line-height: 1.3;
}

.transport-page-hero {
  background: linear-gradient(135deg, var(--deep-blue) 0%, #003366 50%, var(--primary-blue) 100%);
  color: #FFFFFF;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.transport-page-hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 80% 30%, rgba(255, 215, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.transport-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.transport-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 31, 63, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.transport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0, 31, 63, 0.12);
  border-color: var(--primary-blue);
}

.transport-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--brand-yellow));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.transport-card:hover::before {
  opacity: 1;
}

.transport-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 86, 179, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.transport-card h3 {
  color: var(--deep-blue);
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.transport-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.routes-table-wrap {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 31, 63, 0.06);
  margin-top: 2rem;
}

.routes-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.routes-table th {
  background: var(--deep-blue);
  color: #FFFFFF;
  font-weight: 700;
  padding: 1.15rem 1.5rem;
  font-size: 0.95rem;
}

.routes-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.95rem;
  color: var(--text-main);
}

.routes-table tr:last-child td {
  border-bottom: none;
}

.routes-table tr:hover td {
  background: #F8FAFC;
}

@media (max-width: 900px) {
  .transport-home-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .transport-feature-list {
    grid-template-columns: 1fr;
  }
  .transport-card {
    padding: 1.75rem 1.5rem;
  }
}

/* ==========================================================
   2025-26 SSC TOPPERS SHOWCASE & ACADEMIC EXCELLENCE
   ========================================================== */
.ssc-toppers-section {
  padding-bottom: 2rem;
}

.toppers-showcase-card {
  background: #FFFFFF;
  border-radius: 28px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 16px 40px rgba(0, 31, 63, 0.08);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.toppers-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #DC2626 0%, #FF9900 50%, #0056B3 100%);
}

.toppers-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.toppers-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.1);
  color: #DC2626;
  margin-bottom: 0.5rem;
}

.toppers-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.35rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0.25rem 0 0.5rem 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.toppers-subtext {
  font-size: 1.05rem;
  color: #4A5568;
  max-width: 650px;
  margin: 0;
  line-height: 1.6;
}

.toppers-badge-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.toppers-pill-badge {
  background: #EFF6FF;
  color: #1D4ED8;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(29, 78, 216, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.toppers-pill-badge.gold {
  background: #FFFBEB;
  color: #B45309;
  border-color: rgba(180, 83, 9, 0.2);
}

.toppers-banner-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 31, 63, 0.14);
  border: 3px solid #F1F5F9;
  background: #001F3F;
}

.toppers-banner-link {
  display: block;
  position: relative;
  text-decoration: none;
}

.toppers-img-responsive {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s ease;
}

.toppers-banner-link:hover .toppers-img-responsive {
  transform: scale(1.015);
}

.toppers-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.toppers-banner-link:hover .toppers-hover-overlay {
  opacity: 1;
}

.toppers-zoom-icon {
  background: #FFFFFF;
  color: #0A2540;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(12px);
  transition: transform 0.3s ease;
}

.toppers-banner-link:hover .toppers-zoom-icon {
  transform: translateY(0);
}

.toppers-action-row {
  margin-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #EDF2F7;
}

.toppers-highlights-summary {
  font-size: 1rem;
  color: #2D3748;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.toppers-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #DC2626;
  color: #FFFFFF !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 2.25rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.32);
  transition: all 0.25s ease;
}

.toppers-view-btn:hover {
  background: #B91C1C;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.45);
}

/* Academic Excellence Page Styles */
.page-azure-hero,
.page-banner,
.excellence-hero,
.events-banner {
  background: linear-gradient(135deg, #BAE6FD 0%, #CEECFD 50%, #AEE0FD 100%) !important;
  background-color: #BAE6FD !important;
  color: #031E3D !important;
  padding: 4.8rem 1rem 4rem 1rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #7DD3FC !important;
}

.page-azure-hero h1,
.page-banner h1,
.excellence-hero h1,
.events-banner-title {
  color: #031E3D !important;
  font-family: 'Times New Roman', Times, 'Liberation Serif', serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.18 !important;
}

.page-azure-hero p,
.page-banner p,
.excellence-hero p,
.events-banner-subtitle {
  color: #062E5C !important;
  font-family: 'Times New Roman', Times, 'Liberation Serif', serif !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
}

.excellence-hero::before {
  display: none;
}

.excellence-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.excellence-stat-card {
  background: #FFFFFF;
  border: 1px solid #D6E8FA;
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 31, 63, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.excellence-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 31, 63, 0.1);
  background: #FFFFFF;
}

.excellence-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: #DC2626;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.excellence-stat-label {
  font-size: 0.95rem;
  color: #4A5568;
  font-weight: 600;
}

.felicitation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.felicitation-card {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 31, 63, 0.08);
  border: 1px solid #E2E8F0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.felicitation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(0, 31, 63, 0.14);
}

.felicitation-media {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #0F172A;
}

.felicitation-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

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

.felicitation-body {
  padding: 2rem 2.25rem;
}

.felicitation-badge {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.felicitation-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0A2540;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.felicitation-desc {
  font-size: 0.98rem;
  color: #4A5568;
  line-height: 1.65;
  margin: 0;
}

.toppers-rankers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.toppers-ranker-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 1.35rem 1.5rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 14px rgba(0, 31, 63, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.toppers-ranker-card:hover {
  border-color: #0056B3;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 86, 179, 0.12);
}

.toppers-ranker-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: #0A2540;
}

.toppers-ranker-score {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #DC2626;
  background: #FEE2E2;
  padding: 0.3rem 0.75rem;
  border-radius: 10px;
}

.toppers-ranker-card.gold-tier {
  border-left: 5px solid #FFC107;
  background: linear-gradient(to right, #FFFDF5, #FFFFFF);
}

.toppers-ranker-card.gold-tier .toppers-ranker-score {
  background: #FEF3C7;
  color: #B45309;
}

@media (max-width: 900px) {
  .toppers-showcase-card {
    padding: 1.75rem 1.25rem;
  }
  .toppers-main-title {
    font-size: 1.85rem;
  }
  .toppers-action-row {
    flex-direction: column;
    align-items: stretch;
  }
  .toppers-view-btn {
    width: 100%;
    justify-content: center;
  }
  .excellence-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .felicitation-grid {
    grid-template-columns: 1fr;
  }
  .felicitation-media {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .excellence-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Desktop Layout Guarantee (Ensures Homepage is 2-Columns on Desktop)
   ========================================================================== */
@media (min-width: 993px) {
  .hero-inner,
  .hero-mockup-grid {
    display: grid !important;
    grid-template-columns: 48fr 52fr !important;
    align-items: center !important;
    text-align: left !important;
    gap: 2.5rem !important;
    padding: 0.5rem 2.5rem 1.5rem 4rem !important;
  }

  .hero-copy,
  .hero-text-col {
    text-align: left !important;
    padding-top: 0.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .welcome-heading-row {
    justify-content: flex-start !important;
    margin: 0 0 0.35rem 0 !important;
  }

  .benefits,
  .hero-badges-row {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 1.5rem !important;
    margin: 1.75rem 0 2rem 0 !important;
  }

  .actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 1.25rem !important;
  }

  .actions .btn {
    width: auto !important;
  }

  .features-cards-wrap,
  .hero-features-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 1.35rem !important;
  }
}

/* ==========================================================================
   Page Entrance Animations & Interactive Photo/Card Transitions
   ========================================================================== */

/* 1. Global Keyframe Animations */
@keyframes pageFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageFadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPopScale {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* 2. Page Opening Entrance Effects (Applies on load across all pages) */
.hero-copy,
.page-azure-hero .container,
.page-banner .container,
.excellence-hero .container,
.events-banner-inner {
  animation: pageFadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-copy .welcome-heading-row,
.page-azure-hero .toppers-pill-badge,
.page-banner .toppers-pill-badge,
.excellence-hero .toppers-pill-badge {
  animation: pageFadeInDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-copy h1,
.hero-copy h2.welcome-school,
.page-azure-hero h1,
.page-banner h1,
.excellence-hero h1,
.events-banner-title {
  animation: pageFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-copy .hero-tagline,
.hero-copy .intro,
.page-azure-hero p,
.page-banner p,
.excellence-hero p,
.events-banner-subtitle {
  animation: pageFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-copy .benefits,
.hero-copy .actions,
.excellence-stats-grid {
  animation: pageFadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-card-frame,
#school-photo {
  animation: heroPopScale 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* 3. Floating Doodles in Banners */
.banner-doodle-plane {
  animation: subtleFloat 4s ease-in-out infinite;
}

.banner-doodle-star {
  animation: subtleFloat 3.2s ease-in-out infinite 0.5s;
}

/* 4. Photo & Card Interactive Transitions (Smooth 3D Lift & Elevation) */
.feature-card,
.feature-card-clean,
.features-inner article,
.event-horizontal-card,
.gallery-item,
.about-stat-card,
.excellence-stat-card,
.toppers-showcase-card,
.leadership-message-card,
.toppers-card,
.card {
  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.3s ease;
  will-change: transform, box-shadow;
}

.feature-card:hover,
.feature-card-clean:hover,
.features-inner article:hover,
.event-horizontal-card:hover,
.about-stat-card:hover,
.excellence-stat-card:hover,
.toppers-showcase-card:hover,
.leadership-message-card:hover,
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 31, 63, 0.12) !important;
}

/* Photo Zoom inside card & gallery thumbnails */
.event-card-media,
.gallery-thumb-wrapper,
.toppers-banner-wrap,
.marquee-card-img-wrap,
.leadership-full-photo-col {
  overflow: hidden;
  border-radius: inherit;
}

.event-card-media img,
.gallery-thumb-wrapper img,
.toppers-banner-wrap img,
.marquee-card-img-wrap img,
.leadership-full-photo-col img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  will-change: transform;
}

.event-horizontal-card:hover .event-card-media img,
.gallery-item:hover .gallery-thumb-wrapper img,
.toppers-banner-wrap:hover img,
.marquee-gallery-card:hover .marquee-card-img-wrap img,
.leadership-message-card:hover .leadership-full-photo-col img {
  transform: scale(1.05);
}

/* 5. Button & Action Interactive Polish */
.btn,
.btn-view-event,
.gallery-filter-btn,
.event-nav-btn {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover,
.btn-view-event:hover {
  transform: translateY(-2px);
}

.btn:active,
.btn-view-event:active {
  transform: translateY(0) scale(0.98);
}

.actions .btn.primary {
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
}

.actions .btn.primary:hover {
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.4);
}

/* ==========================================================================
   Scroll-Triggered Reveal Animations (Headings Right-to-Left, Images Zoom In)
   ========================================================================== */

/* Headings Slide in from Right to Left */
.scroll-heading {
  opacity: 0;
  transform: translateX(75px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

.scroll-heading.revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Images & Photo Cards Pop & Zoom In */
.scroll-image {
  opacity: 0;
  transform: scale(0.85) translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease !important;
  will-change: opacity, transform;
}

.scroll-image.revealed {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

/* Feature Cards & Content Blocks Slide Up */
.scroll-card,
.scroll-reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease !important;
  will-change: opacity, transform;
}

.scroll-card.revealed,
.scroll-reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Staggered Delay for Multi-Card Grids */
[data-delay="1"] { transition-delay: 0.05s !important; }
[data-delay="2"] { transition-delay: 0.12s !important; }
[data-delay="3"] { transition-delay: 0.19s !important; }
[data-delay="4"] { transition-delay: 0.26s !important; }
[data-delay="5"] { transition-delay: 0.33s !important; }
[data-delay="6"] { transition-delay: 0.40s !important; }
