﻿:root {
    color-scheme: dark;
    --color-primary: #062C6B;
    --color-secondary: #E3124C;
    --color-surface: #F4F7FD;
    --color-surface-strong: #ECF2FF;
    --color-text: #111827;
    --color-muted: #5B677D;
    --color-border: rgba(9, 23, 73, 0.10);
    --color-white: #FFFFFF;
    --transition: 0.25s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #F5F7FB;
    color: var(--color-text);
    line-height: 1.6;
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.flex-wrap { flex-wrap: wrap !important; }
.text-center { text-align: center !important; }
.text-white { color: var(--color-white) !important; }
.text-muted { color: var(--color-muted) !important; }
.border-0 { border: none !important; }
.h-100 { height: 100% !important; }
.rounded { border-radius: 1rem !important; }
.rounded-circle { border-radius: 50% !important; }
.fw-bold { font-weight: 700 !important; }
.mb-2 { margin-bottom: 0.75rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.fs-4 { font-size: 1.4rem !important; }
.gap-2 { gap: 0.75rem !important; }
.gap-4 { gap: 1.5rem !important; }
.shadow-sm { box-shadow: 0 10px 30px rgba(9, 23, 73, 0.08) !important; }
.shadow-soft { box-shadow: 0 16px 40px rgba(9, 23, 73, 0.08) !important; }

.text-uppercase { text-transform: uppercase !important; letter-spacing: 0.12em; }
.text-small { font-size: 0.95rem !important; }
.light { color: rgba(255, 255, 255, 0.85); }
.me-2 { margin-inline-end: 0.5rem !important; }

/* ==========================================================================
   Base Structure & Containers
   ========================================================================== */
a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-secondary);
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    width: 100%;
}

[class*='col-'] {
    padding: 1rem 0 0 1rem;
}

.col-md-6, .col-md-4, .col-lg-3, .col-lg-4, .col-lg-6 {
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-6 { width: 50%; }
    .col-md-4 { width: 33.3333%; }
}

@media (min-width: 992px) {
    .col-lg-3 { width: 25%; }
    .col-lg-4 { width: 33.3333%; }
    .col-lg-6 { width: 50%; }
}

.bg-surface { background: var(--color-surface); }
.bg-primary-soft { background: rgba(6, 44, 107, 0.08); }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
    background: var(--color-primary);
    color: #fff;
    font-size: 0.95rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.8rem 0;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.site-header {
    background: #fff;
    box-shadow: 0 12px 40px rgba(20, 37, 86, 0.05);
    position: sticky;
    top: 0;
    z-index: 20;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-primary);
}

.navbar-brand .logo {
    width: 52px;
    height: auto;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(5, 44, 107, 0.12);
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.brand-subtitle {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.navbar-toggler {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(6, 44, 107, 0.15);
    border-radius: 14px;
    background: #fff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.navbar-toggler-icon {
    position: relative;
    width: 20px;
    height: 2px;
    background: var(--color-primary);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--color-primary);
    left: 0;
}

.navbar-toggler-icon::before { top: -6px; }
.navbar-toggler-icon::after { top: 6px; }

.navbar-collapse {
    display: none;
    width: 100%;
    margin-top: 1rem;
}

.navbar-collapse.show { display: block; }

.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.nav-item { list-style: none; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--color-text);
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 6px;
    border-bottom: 3px solid transparent;
    background: linear-gradient(to bottom, rgba(227, 18, 76, 0.05) 0%, rgba(227, 18, 76, 0.02) 100%);
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
    background: linear-gradient(to top, rgba(227, 18, 76, 0.4) 0%, rgba(227, 18, 76, 0.08) 100%);
    border-bottom-color: #E3124C;
}

.login-link { border: 1px solid #E3124C; }

@media (min-width: 992px) {
    .navbar-collapse {
        display: block;
        width: auto;
        margin-top: 0;
    }
    .navbar-nav {
        flex-direction: row;
        gap: 0.6rem;
    }
    .navbar-toggler { display: none; }
}

/* ==========================================================================
   Main Background Slider System
   ========================================================================== */
.main-slider {
    position: relative;
    height: 70vh;
    max-height: 720px;
    overflow: hidden;
    width: 100%;
}

.main-slider .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-slider .swiper-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s;
    z-index: 1;
}

.main-slider .swiper-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.main-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: 2;
}

.hero-copy {
    color: var(--color-white);
    text-align: left;
    max-width: 640px;
    padding: 2rem;
    margin-left: 10%;
    position: relative;
    z-index: 3;
}

.hero-copy .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 1rem;
}

.hero-copy h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.05;
    margin: 0 0 1.2rem;
}

.hero-copy .lead {
    font-size: 1.05rem;
    max-width: 45rem;
    opacity: 0.96;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Slider Pagination & Arrows */
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    background: rgba(6, 44, 107, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition);
    z-index: 10;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    transform: translateY(-50%) scale(1.05);
    background: rgba(227, 18, 76, 0.85);
}

.swiper-button-prev { left: 1.2rem; }
.swiper-button-next { right: 1.2rem; }

.swiper-pagination {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.swiper-pagination .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all var(--transition);
}

.swiper-pagination .dot.active {
    background: var(--color-secondary);
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   Page Editorial Layout Layout Sections
   ========================================================================== */
.section-header,
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-header h2,
.section-title h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    margin: 0;
    color: var(--color-primary);
}

.section-copy,
.section-title p {
    max-width: 760px;
    color: var(--color-muted);
    font-size: 1rem;
}

.card {
    background: #fff;
    border-radius: 24px;
    transition: transform 0.3s ease;
}

.card:hover { transform: translateY(-4px); }

.split-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.panel-image {
    min-height: 360px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 28px;
}

.panel-copy h2 {
    margin-top: 0;
    color: var(--color-primary);
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.panel-copy p {
    color: var(--color-muted);
    max-width: 680px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 24px;
}

.cta-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.cta-panel .eyebrow { color: rgba(255,255,255,0.9); }
.cta-panel a { color: #fff; }

.placeholder-box {
    padding: 2.25rem 1.25rem;
    text-align: center;
    color: var(--color-muted);
    border-style: dashed;
    background: #fff;
    border: 1px solid rgba(9, 23, 73, 0.08);
    border-radius: 24px;
}

/* ==========================================================================
   Why Families Choose RISA - Split & Reveal Effects
   ========================================================================== */
.feature-reveal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 3rem;
}

.feature-reveal-card {
    position: relative;
    background: transparent;
    border-radius: 12px;
    height: 240px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(12, 38, 95, 0.05);
    border: none;
    padding: 0;
}

/* Front Face Sliding Layer */
.feature-reveal-front {
    position: absolute;
    inset: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Background Reveal Layer */
.feature-reveal-back {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    z-index: 1;
    border-radius: 12px;
}

.feature-reveal-back span {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-uppercase: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Hover Sliding Interaction Mechanics */
.feature-reveal-card:hover .feature-reveal-front {
    transform: translateY(-50px);
}

.feature-reveal-card:hover .feature-reveal-back span {
    opacity: 1;
    transform: translateY(0);
}

/* Icon Structural Properties */
.feature-reveal-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    transition: transform 0.35s ease;
}

.feature-reveal-card:hover .feature-reveal-icon {
    transform: scale(1.1) rotate(3deg);
}

.feature-reveal-card h5 {
    margin: 0 0 0.6rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.feature-reveal-card p {
    color: var(--color-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   Distinct Colorful Feature Profiles
   ========================================================================== */

/* Academics - Deep Blue Gradient */
.feat-blue .feature-reveal-back { background: linear-gradient(135deg, #062C6B 0%, #0d4cb3 100%); }
.feat-blue .feature-reveal-icon { background: rgba(6, 44, 107, 0.06); color: #062C6B; }

/* Spiritual - Brand Crimson Gradient */
.feat-crimson .feature-reveal-back { background: linear-gradient(135deg, #991b1b 0%, #e3124c 100%); }
.feat-crimson .feature-reveal-icon { background: rgba(227, 18, 76, 0.08); color: #e3124c; }

/* Leadership - Deep Teal Gradient */
.feat-teal .feature-reveal-back { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); }
.feat-teal .feature-reveal-icon { background: rgba(15, 118, 110, 0.08); color: #0f766e; }

/* Digital - Premium Violet Purple Gradient */
.feat-purple .feature-reveal-back { background: linear-gradient(135deg, #5b21b6 0%, #8b5cf6 100%); }
.feat-purple .feature-reveal-icon { background: rgba(91, 33, 182, 0.08); color: #5b21b6; }

/* Creative - Warm Amber Orange Gradient */
.feat-orange .feature-reveal-back { background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%); }
.feat-orange .feature-reveal-icon { background: rgba(180, 83, 9, 0.08); color: #b45309; }

/* Growth - Balanced Emerald Green Gradient */
.feat-emerald .feature-reveal-back { background: linear-gradient(135deg, #065f46 0%, #10b981 100%); }
.feat-emerald .feature-reveal-icon { background: rgba(6, 95, 70, 0.08); color: #065f46; }

/* Responsive 3-Column Grid Proportions */
@media (min-width: 768px) {
    .feature-reveal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .feature-reveal-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Contact & Visit Section - Split & Reveal Effects
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    position: relative;
    background: transparent;
    border-radius: 12px;
    height: 220px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(12, 38, 95, 0.05);
    border: none;
    padding: 0;
}

/* Front Sliding Layout Face */
.contact-card-front {
    position: absolute;
    inset: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base Reveal Layer behind */
.contact-card-reveal {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    z-index: 1;
    border-radius: 12px;
}

.contact-card-reveal span {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Hover Sliding Interaction State */
.contact-card:hover .contact-card-front {
    transform: translateY(-50px);
}

.contact-card:hover .contact-card-reveal span {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Distinct Dynamic Color Profiles 
   ========================================================================== */

/* Call Card: Deep Luxury Blue Gradient */
.card-call .contact-card-reveal {
    background: linear-gradient(135deg, #062C6B 0%, #0d4cb3 100%);
}
.card-call .contact-icon {
    background: rgba(6, 44, 107, 0.06);
    color: #062C6B;
}

/* WhatsApp Card: Fresh Emerald Green Gradient */
.card-whatsapp .contact-card-reveal {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
}
.card-whatsapp .contact-icon {
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
}

/* Email Card: Crimson Red Vibrant Gradient */
.card-email .contact-card-reveal {
    background: linear-gradient(135deg, #991b1b 0%, #e3124c 100%);
}
.card-email .contact-icon {
    background: rgba(227, 18, 76, 0.08);
    color: #e3124c;
}

/* Shared Icon Standard Properties */
.contact-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.35rem;
    transition: transform 0.35s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
}

.contact-card p {
    color: var(--color-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Desktop Grid Viewport Adjustments */
@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ==========================================================================
   Minimalist Buttons & Call To Action
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    border-radius: 6px;
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 0.98rem;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-crimson {
    background: var(--color-secondary);
    color: var(--color-white);
    box-shadow: none;
}

.btn-crimson:hover { background: #c90e42; }

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid rgba(6, 44, 107, 0.25);
}

.btn-secondary:hover {
    background: rgba(6, 44, 107, 0.05);
    border-color: var(--color-primary);
}

/* ==========================================================================
   Tabs, Tables & Lists Data Interfaces
   ========================================================================== */
.nav { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-left: 0; margin-bottom: 1rem; list-style: none; }
.nav-pills .nav-link {
    border-radius: 999px;
    background: rgba(6, 44, 107, 0.05);
    color: var(--color-text);
}
.nav-pills .nav-link.active {
    background: var(--color-primary);
    color: #fff;
}

.tab-content { margin-top: 1.5rem; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.fade { opacity: 0; transition: opacity 0.35s ease; }
.fade.show { opacity: 1; }

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
}
.rounded-pill { border-radius: 50rem !important; }

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--color-text);
    border-collapse: collapse;
}
.table th, .table td {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(9, 23, 73, 0.08);
}
.table thead th { background: rgba(6, 44, 107, 0.08); }
.table-dark th {
    background: rgba(6, 44, 107, 0.14);
    color: #fff;
}
.table-striped tbody tr:nth-of-type(odd) { background: rgba(6, 44, 107, 0.03); }

.list-group { list-style: none; margin: 0; padding: 0; }
.list-group-item {
    display: block;
    width: 100%;
    padding: 1rem 1rem;
    margin-bottom: -1px;
    background: #fff;
    border: 1px solid rgba(9, 23, 73, 0.08);
}
.list-group-flush .list-group-item {
    border-radius: 0;
    border-left: none;
    border-right: none;
}
.list-group-numbered { list-style: decimal; padding-left: 1.5rem; }
.list-group-numbered .list-group-item { border-radius: 0.85rem; margin-bottom: 0.75rem; }

/* ==========================================================================
   Site Footer Core Layout Reset & Enhancements
   ========================================================================== */
.site-footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3.5rem;
}

/* Brand Card Typography & Logo Balancing */
.footer-brand-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-brand-heading {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer-logo {
    width: 56px;
    height: auto;
    border-radius: 12px;
    background: var(--color-white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    object-fit: contain;
    padding: 2px;
}

.footer-card h4 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color-white);
}

.footer-card h5 {
    margin: 0 0 1.5rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
    position: relative;
}

.footer-tag {
    color: rgba(255, 255, 255, 0.75);
    margin: 0.15rem 0 0 0;
    font-size: 0.85rem;
    font-style: italic;
}

.footer-description {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Nav links structural helpers */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--color-secondary);
    padding-left: 4px;
}

/* Contact lists context alignments */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--color-secondary);
}

.footer-contact .icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-phone-spacer {
    display: inline-block;
    width: 28px; /* Perfectly balances multi-line phone formats below the icon block */
}

/* Base Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* ==========================================================================
   Responsive Grid Overrides
   ========================================================================== */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1.25fr;
        gap: 3rem;
    }
}
/* ==========================================================================
   Global Responsive Breakpoints
   ========================================================================== */
@media (min-width: 768px) {
    .section-header, .section-title { gap: 2rem; }
    .split-panel { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 991px) {
    .hero-copy { padding: 3rem 1rem; }
    .cta-panel { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
    .navbar-nav { gap: 0.5rem; }
    .nav-link { width: 100%; }
}

/* ==========================================================================
   Button Adjustments - Visibility and Hover Enhancements
   ========================================================================== */

/* Base Button Standard Modifiers */
.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
    cursor: pointer;
}

/* Secondary Button Custom Fix */
.btn-secondary {
    background: transparent;
    color: var(--color-white) !important;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary) !important;
    border-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Crimson Button Integration Balance */
.btn-crimson {
    background: var(--color-secondary);
    color: var(--color-white) !important;
    border: 2px solid var(--color-secondary);
}

.btn-crimson:hover {
    background: #b90d3b; /* Deepened Crimson shadow */
    border-color: #b90d3b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 18, 76, 0.25);
}

/* ==========================================================================
   School Life Section - Interactive Layout Fixes
   ========================================================================== */
.school-life-section {
    overflow: hidden;
    background: var(--color-white);
}

/* Split Panel Two-Column Architecture */
.split-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

/* Image Container Wrapper - Added Block Layout Properties */
.panel-image {
    position: relative;
    display: block;
    width: 100%;
    height: 360px; /* Ensures the image container has a clear structural height */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px -5px rgba(6, 44, 107, 0.1);
    transition: box-shadow var(--transition), transform var(--transition);
    z-index: 2;
}

/* Inner Background Image Layer for Clean Scaling Bounds */
.panel-image-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

/* Subtle Dynamic Brand Overlay Tint */
.panel-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 44, 107, 0.15) 0%, rgba(227, 18, 76, 0.05) 100%);
    mix-blend-mode: multiply;
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 2;
}

/* Copy Panel Formatting */
.panel-copy {
    padding: 0.5rem;
}

.panel-copy h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1.25rem 0;
    line-height: 1.3;
}

.panel-copy p {
    color: var(--color-muted);
    margin: 0 0 2rem 0;
    font-size: 1.05rem;
    line-height: 1.65;
}

/* ==========================================================================
   Triggered Active Interactive States
   ========================================================================== */

/* Image Zoom & Lift Trigger */
.panel-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 45px -10px rgba(6, 44, 107, 0.18);
}

.panel-image:hover .panel-image-inner {
    transform: scale(1.06);
}

.panel-image:hover .panel-image-overlay {
    opacity: 1;
}

/* Responsive Overrides for Tablet and Desktop Devices */
@media (min-width: 768px) {
    .split-panel {
        grid-template-columns: 1fr 1fr !important;
        gap: 4rem;
    }
    .panel-image {
        height: 440px; /* Increased desktop display height bounds */
    }
    .panel-copy {
        padding: 2rem 0;
    }
    .panel-copy h2 {
        font-size: 2.35rem;
    }
}

/* ==========================================================================
   Admissions Page System Styles
   ========================================================================== */

/* Hero Layout Balance */
.admission-hero-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.admission-hero-copy h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin: 0.5rem 0 1rem;
    font-weight: 700;
}

/* Steps Grid & Reveal Effects */
.admission-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.adm-step-card {
    position: relative;
    background: transparent;
    border-radius: 12px;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(12, 38, 95, 0.05);
    border: none;
}

.adm-step-front {
    position: absolute;
    inset: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.adm-step-reveal {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    z-index: 1;
    border-radius: 12px;
}

.adm-step-reveal span {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Steps Hover Transitions */
.adm-step-card:hover .adm-step-front {
    transform: translateY(-50px);
}

.adm-step-card:hover .adm-step-reveal span {
    opacity: 1;
    transform: translateY(0);
}

/* Badge Layout Formatting */
.adm-step-badge {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
    font-weight: 700;
    transition: transform 0.35s ease;
}

.adm-step-card:hover .adm-step-badge {
    transform: scale(1.15);
}

.adm-step-card h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
}

.adm-step-card p {
    color: var(--color-muted);
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Step Card Dynamic Color Modes */
.step-blue .adm-step-reveal { background: linear-gradient(135deg, #062C6B 0%, #0d4cb3 100%); }
.step-blue .adm-step-badge { background: rgba(6, 44, 107, 0.07); color: #062C6B; }

.step-crimson .adm-step-reveal { background: linear-gradient(135deg, #991b1b 0%, #e3124c 100%); }
.step-crimson .adm-step-badge { background: rgba(227, 18, 76, 0.08); color: #e3124c; }

.step-teal .adm-step-reveal { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); }
.step-teal .adm-step-badge { background: rgba(15, 118, 110, 0.08); color: #0f766e; }

.step-purple .adm-step-reveal { background: linear-gradient(135deg, #5b21b6 0%, #8b5cf6 100%); }
.step-purple .adm-step-badge { background: rgba(91, 33, 182, 0.08); color: #5b21b6; }

.step-emerald .adm-step-reveal { background: linear-gradient(135deg, #065f46 0%, #10b981 100%); }
.step-emerald .adm-step-badge { background: rgba(6, 95, 70, 0.08); color: #065f46; }

/* Documents & Items Detail Cards Grid Layout */
.admission-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.adm-detail-card {
    background: var(--color-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(9, 23, 73, 0.04);
    border: 1px solid var(--color-border);
}

.adm-card-header {
    padding: 1.5rem 2rem;
    color: var(--color-white);
}

.adm-card-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.bg-primary-gradient { background: linear-gradient(135deg, #062C6B 0%, #0c4294 100%); }
.bg-secondary-gradient { background: linear-gradient(135deg, #991b1b 0%, #e3124c 100%); }

.adm-list-group {
    list-style: none;
    padding: 1.5rem 2rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.adm-list-group li {
    font-size: 1rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.25rem;
}

.adm-list-group li .bullet {
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Premium Structured Age Requirements Table */
.adm-table-container {
    background: var(--color-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(9, 23, 73, 0.04);
    border: 1px solid var(--color-border);
    margin-top: 2.5rem;
}

.adm-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 1rem;
}

.adm-table th {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1.25rem 2rem;
    font-weight: 600;
    font-size: 1.05rem;
}

.adm-table td {
    padding: 1.1rem 2rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.adm-table tbody tr:nth-child(even) {
    background-color: var(--color-surface);
}

.adm-table tbody tr:hover {
    background-color: var(--color-surface-strong);
}

.adm-footer-note {
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive Viewports Controls */
@media (min-width: 768px) {
    .admission-hero-panel {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
    
    .admission-hero-action {
        justify-self: start !important;
        text-align: left !important;
    }

    .admission-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admission-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .admission-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Forces the 4th and 5th step layout centered on clean rows on large desktop layouts */
    .adm-step-card:nth-child(4) { grid-column: span 1 / max-content; }
}

/* ==========================================================================
   Admissions Re-Architecture & Slider Custom Stylesheet
   ========================================================================== */

/* Upgraded Two-Column Image Hero Section */
.admission-hero-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.admission-hero-image {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(6, 44, 107, 0.08);
}

.adm-img-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.01);
}

.adm-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(6, 44, 107, 0.1), rgba(6, 44, 107, 0.02));
    z-index: 2;
}

.admission-hero-copy h2 {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin: 0.5rem 0 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.admission-hero-action {
    display: flex;
    justify-content: flex-start;
    text-align: left;
    margin-top: 2rem;
    width: 100%;
}

/* Admission Track Slider Layout Architecture */
.admission-slider-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: 0 15px 35px rgba(9, 23, 73, 0.03);
    margin-top: 3rem;
}

/* Left Sidebar Pillar Context Block */
.admission-progress-pillar {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--color-surface);
}

.progress-pillar-icon {
    font-size: 1.75rem;
    background: var(--color-surface-strong);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--color-primary);
}

.progress-pillar-label h6 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.slider-counter-tracker {
    margin: 0.15rem 0 0 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-secondary);
}

/* Sliding Component Window Track Elements */
.admission-slider-window {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 250px;
}

.admission-steps-slider-track {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
}

/* Custom Sliding Step Card Modifiers */
.adm-step-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: none; /* Handled directly by state visibility rules */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.adm-step-slide.active {
    display: block;
    opacity: 1;
}

.adm-step-front {
    position: absolute;
    inset: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.adm-step-reveal {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    z-index: 1;
    border-radius: 12px;
}

.adm-step-reveal span {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Step Slide Transitions */
.adm-step-slide:hover .adm-step-front {
    transform: translateY(-50px);
}

.adm-step-slide:hover .adm-step-reveal span {
    opacity: 1;
    transform: translateY(0);
}

.adm-step-badge {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.adm-step-slide h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.adm-step-slide p {
    color: var(--color-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 550px;
}

/* Slide Colors Definition */
.step-blue .adm-step-reveal { background: linear-gradient(135deg, #062C6B 0%, #0d4cb3 100%); }
.step-blue .adm-step-badge { background: rgba(6, 44, 107, 0.07); color: #062C6B; }

.step-crimson .adm-step-reveal { background: linear-gradient(135deg, #991b1b 0%, #e3124c 100%); }
.step-crimson .adm-step-badge { background: rgba(227, 18, 76, 0.08); color: #e3124c; }

.step-teal .adm-step-reveal { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); }
.step-teal .adm-step-badge { background: rgba(15, 118, 110, 0.08); color: #0f766e; }

.step-purple .adm-step-reveal { background: linear-gradient(135deg, #5b21b6 0%, #8b5cf6 100%); }
.step-purple .adm-step-badge { background: rgba(91, 33, 182, 0.08); color: #5b21b6; }

.step-emerald .adm-step-reveal { background: linear-gradient(135deg, #065f46 0%, #10b981 100%); }
.step-emerald .adm-step-badge { background: rgba(6, 95, 70, 0.08); color: #065f46; }

/* Control Arrows Module UI */
.admission-slider-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.adm-control-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 1.75rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    user-select: none;
    padding-bottom: 4px;
}

.adm-control-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: scale(1.05);
}

/* Layout Fallback Modules Support */
.admission-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.adm-detail-card {
    background: var(--color-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(9, 23, 73, 0.04);
    border: 1px solid var(--color-border);
}

.adm-card-header { padding: 1.5rem 2rem; color: var(--color-white); }
.adm-card-header h4 { margin: 0; font-size: 1.25rem; font-weight: 700; }

.bg-primary-gradient { background: linear-gradient(135deg, #062C6B 0%, #0c4294 100%); }
.bg-secondary-gradient { background: linear-gradient(135deg, #991b1b 0%, #e3124c 100%); }

.adm-list-group {
    list-style: none;
    padding: 1.5rem 2rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.adm-list-group li { font-size: 1rem; color: var(--color-text); display: flex; align-items: center; gap: 1rem; }
.adm-list-group li .bullet { color: #10b981; font-weight: 700; }

.adm-table-container {
    background: var(--color-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(9, 23, 73, 0.04);
    border: 1px solid var(--color-border);
    margin-top: 2.5rem;
}

.adm-table { width: 100%; border-collapse: collapse; text-align: left; }
.adm-table th { background: var(--color-primary); color: var(--color-white); padding: 1.25rem 2rem; }
.adm-table td { padding: 1.1rem 2rem; border-bottom: 1px solid var(--color-border); }
.adm-table tbody tr:nth-child(even) { background-color: var(--color-surface); }

.adm-footer-note { max-width: 700px; margin: 0 auto; }

/* Responsive Grid Control Viewport Updates */
@media (min-width: 768px) {
    .admission-hero-panel {
        grid-template-columns: 1.1fr 1.2fr !important;
        gap: 4rem;
    }
    .admission-hero-image {
        height: 450px;
    }
    .admission-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    /* Transforms the guide slider framework layout into a clean inline sidebar design on desktop layouts */
    .admission-slider-layout {
        grid-template-columns: 240px 1fr 120px;
        gap: 3rem;
        padding: 3rem;
    }
    .admission-progress-pillar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        border-bottom: none;
        border-right: 2px solid var(--color-surface);
        padding: 1rem 2rem 1rem 0;
    }
    .admission-slider-controls {
        margin-top: 0;
        justify-content: flex-end;
    }
}

/* ==========================================================================
   About Us Page Extended Custom Layout System
   ========================================================================== */

/* Hero Image 4:2 Aspect Ratio Layout Rule */
.about-hero-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 2; /* Forces explicit horizontal scale mapping */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(6, 44, 107, 0.08);
}

.abt-img-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.abt-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(6, 44, 107, 0.08), rgba(6, 44, 107, 0.01));
    z-index: 2;
}

.about-hero-copy h2 {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin: 0.5rem 0 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Exceptional Section Custom Layout Pillars */
.exceptional-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.exceptional-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-bottom: 4px solid transparent; /* Reserve layout space to prevent text shifting */
    padding: 2.5rem 2rem;
    border-radius: 14px;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.exceptional-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(9, 23, 73, 0.06);
    background: var(--color-white);
    border-color: var(--color-border);
    border-bottom-color: var(--color-secondary); /* Smooth Crimson bottom strip highlight */
}

.exceptional-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.exceptional-card h5 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin: 0 0 0.75rem 0;
    font-weight: 700;
}

.exceptional-card p {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Campuses Locations Layout Interface */
.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.location-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 2rem 2rem 0 2rem; /* Clean layout mapping for docked container block */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(9, 23, 73, 0.02);
    overflow: hidden; /* Clips background color corners flawlessly */
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.location-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(9, 23, 73, 0.06);
    border-color: rgba(6, 44, 107, 0.15);
}

.loc-badge {
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.badge-temp { background: rgba(6, 44, 107, 0.07); color: var(--color-primary); }
.badge-perm { background: rgba(16, 185, 129, 0.09); color: #065f46; }
.badge-sec { background: rgba(227, 18, 76, 0.07); color: var(--color-secondary); }

.location-card h5 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin: 0 0 0.75rem 0;
    font-weight: 700;
}

.loc-address {
    color: var(--color-muted);
    font-size: 0.96rem;
    line-height: 1.5;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

/* Colorized Docked Footer Layout Element */
.loc-action {
    border-top: 1px solid var(--color-border);
    padding: 1.25rem 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
    margin-top: auto; /* Snaps interface element perfectly to card baseline */
    background: var(--color-surface);
    transition: background var(--transition), border-color var(--transition);
}

/* Triggers ambient color glow up when container is focused or hovered */
.location-card:hover .loc-action {
    background: rgba(227, 18, 76, 0.04); /* Soft tint execution using secondary theme color */
    border-top-color: rgba(227, 18, 76, 0.12);
}

.btn-map {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition), transform var(--transition);
}

.location-card:hover .btn-map {
    color: var(--color-secondary); /* Text switches to theme crimson */
}

.btn-map:hover {
    transform: translateX(4px); /* Interactive directional micro-interaction */
}

/* Cross-device Breakpoints Engine */
@media (min-width: 768px) {
    .about-hero-panel {
        grid-template-columns: 1.1fr 0.9fr !important;
        gap: 4rem;
    }
    .exceptional-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Team Page Extended Custom Layout System
   ========================================================================== */

.team-hero-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.team-hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(6, 44, 107, 0.08);
}

.team-img-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(6, 44, 107, 0.08), rgba(6, 44, 107, 0.01));
    z-index: 2;
}

.team-hero-copy h2 {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin: 0.5rem 0 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.team-hero-action {
    display: flex;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
}

@media (min-width: 768px) {
    .team-hero-panel {
        grid-template-columns: 1.1fr 0.9fr !important;
        gap: 4rem;
    }
    .team-hero-action {
        justify-self: start !important;
        text-align: left !important;
    }
}


/* ==========================================================================
   Birthday Page Extended Custom Layout System
   ========================================================================== */

.birthday-hero-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.birthday-hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 2; /* Maintains strict horizontal structure symmetry */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(6, 44, 107, 0.08);
}

.bday-img-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bday-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(6, 44, 107, 0.08), rgba(6, 44, 107, 0.01));
    z-index: 2;
}

.birthday-hero-copy h2 {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin: 0.5rem 0 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .birthday-hero-panel {
        grid-template-columns: 1.1fr 0.9fr !important;
        gap: 4rem;
    }
}


/* ==========================================================================
   Home Page Extended Welcome & Interactive Logo System
   ========================================================================== */

.welcome-section {
    position: relative;
    overflow: hidden;
}

.welcome-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

.welcome-copy h2 {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin: 0.5rem 0 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.welcome-action {
    margin-top: 1.75rem;
}

/* Interactive Brand Centerpiece CSS Engine */
.welcome-branding {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.interactive-logo-box {
    position: relative;
    width: 240px;
    height: 240px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(6, 44, 107, 0.04);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    z-index: 2;
}

.interactive-logo {
    max-width: 140px;
    height: auto;
    object-fit: contain;
    z-index: 5;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Ambient Radial Light Base behind the logo */
.logo-glow-core {
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 44, 107, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    transition: background var(--transition);
}

/* Fine-detailed Outer Orbit Dashed Ring Trace */
.logo-orbit-ring {
    position: absolute;
    inset: -6px;
    border: 1.5px dashed rgba(227, 18, 76, 0.2); /* Base tracing color using crimson token */
    border-radius: 50%;
    opacity: 0.4;
    transform: scale(0.96) rotate(0deg);
    transition: transform 0.6s ease, opacity 0.6s ease, border-color 0.6s ease;
    z-index: -1;
}

/* Micro-Interaction States Engine on Box Hover */
.interactive-logo-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(6, 44, 107, 0.09);
    border-color: rgba(227, 18, 76, 0.25); /* Accent highlight shifts toward crimson */
}

.interactive-logo-box:hover .interactive-logo {
    transform: scale(1.08) rotate(4deg); /* Fluid scale and rotational bounce */
}

.interactive-logo-box:hover .logo-glow-core {
    background: radial-gradient(circle, rgba(227, 18, 76, 0.06) 0%, rgba(255, 255, 255, 0) 75%);
}

.interactive-logo-box:hover .logo-orbit-ring {
    opacity: 1;
    border-color: var(--color-secondary); /* Activates crisp solid crimson accent */
    transform: scale(1.03) rotate(45deg); /* Expands out smoothly while running angular offset */
}

/* Cross-Device Adaptive Grid Mapping */
@media (min-width: 768px) {
    .welcome-panel {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 4.5rem;
    }
    .welcome-branding {
        justify-content: flex-end; /* Snaps to right balance line on large viewports */
    }
}