/* ==========================================================================
   MALKANGIRI INTERNATIONAL PUBLIC SCHOOL - BRAND DESIGN SYSTEM
   Ultra-Clean, 100% Fully Responsive Mobile & Desktop Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS VARIABLES & THEMING
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Brand Color Palette */
    --navy: #08284F;
    --navy-dark: #041329;
    --navy-light: #103663;
    --navy-ultra-light: #F2F5F9;
    --gold: #C69A2D;
    --gold-light: #E7C873;
    --gold-bright: #F9E08B;
    --gold-dark: #99741D;
    --green: #416B2F;
    --white: #FFFFFF;
    --cream: #FAF8F3;
    --text: #162030;
    --muted: #5C6778;
    --border: rgba(8, 40, 79, 0.1);
    --border-gold: rgba(198, 154, 45, 0.35);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-title: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;

    /* Shadows & Glows */
    --shadow-sm: 0 4px 12px rgba(8, 40, 79, 0.05);
    --shadow-md: 0 10px 30px rgba(8, 40, 79, 0.1);
    --shadow-lg: 0 20px 45px rgba(8, 40, 79, 0.16);
    --shadow-gold: 0 6px 20px rgba(198, 154, 45, 0.3);
    
    /* Layout Dimensions */
    --container-max: 1320px;
    --header-height: 96px;
    --header-shrink: 72px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

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

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

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

h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.9rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.95rem);
}

h4 {
    font-size: clamp(1.08rem, 1.6vw, 1.35rem);
}

.title-cinzel {
    font-family: var(--font-title);
    letter-spacing: 0.03em;
}

.subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.98rem, 1.3vw, 1.18rem);
    color: var(--muted);
    font-weight: 400;
    max-width: 720px;
    margin: 0 auto;
}

.gold-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-dark);
    font-family: var(--font-title);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.gold-badge::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: var(--gold);
}

/* --------------------------------------------------------------------------
   LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 54px;
}

.section-header.left-aligned {
    text-align: left;
}

.section-header h2 {
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 14px auto 0 auto;
    border-radius: 2px;
}

.section-header.left-aligned h2::after {
    margin-left: 0;
}

/* --------------------------------------------------------------------------
   BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 4px;
    transition: all var(--transition-normal);
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-dark) 100%);
    color: var(--navy-dark);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-light) 60%, var(--gold) 100%);
    box-shadow: 0 8px 22px rgba(198, 154, 45, 0.45);
    transform: translateY(-2px);
    color: var(--navy-dark);
}

.btn-navy {
    background-color: var(--navy);
    color: var(--white);
    border: 1px solid var(--navy-light);
}

.btn-navy:hover {
    background-color: var(--navy-dark);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

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

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

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

.btn-sm {
    padding: 9px 20px;
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   STICKY HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
}

/* Top Utility Bar */
.top-bar {
    background: var(--navy-dark);
    color: var(--white);
    font-size: 0.8rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-fast);
}

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

.top-bar-info {
    display: flex;
    gap: 22px;
    align-items: center;
}

.top-bar-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.88);
}

.top-bar-info i {
    color: var(--gold-light);
}

.top-bar-portals {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-link {
    color: var(--white);
    opacity: 0.9;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all var(--transition-fast);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.portal-link:hover {
    opacity: 1;
    color: var(--navy-dark);
    background: var(--gold-light);
    border-color: var(--gold-light);
}

/* Main Navbar */
.main-nav {
    background: rgba(4, 19, 41, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    transition: height var(--transition-normal);
}

/* BRAND LOGO HEADER */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    max-width: 70%;
}

.site-logo img.logo-img {
    height: 54px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition-normal);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    flex-shrink: 0;
}

.logo-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title-primary {
    font-family: var(--font-title);
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.05em;
    transition: color var(--transition-normal);
    white-space: nowrap;
}

.logo-title-secondary {
    font-family: var(--font-title);
    color: var(--gold-light);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 1px;
    white-space: nowrap;
}

.logo-motto-mini {
    font-family: var(--font-body);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-top: 1px;
    transition: color var(--transition-normal);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 600;
    position: relative;
    padding: 6px 0;
}

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

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

.nav-link:hover {
    color: var(--gold-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
}

.mobile-toggle span {
    width: 100%;
    height: 2.5px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Sticky Scroll State */
.header-wrapper.scrolled .top-bar {
    margin-top: -34px;
    opacity: 0;
    pointer-events: none;
}

.header-wrapper.scrolled .main-nav {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--gold);
}

.header-wrapper.scrolled .main-nav .container {
    height: var(--header-shrink);
}

.header-wrapper.scrolled .site-logo img.logo-img {
    height: 46px;
}

.header-wrapper.scrolled .logo-title-primary {
    color: var(--navy);
}

.header-wrapper.scrolled .logo-title-secondary {
    color: var(--gold-dark);
}

.header-wrapper.scrolled .logo-motto-mini {
    color: var(--muted);
}

.header-wrapper.scrolled .nav-link {
    color: var(--navy);
}

.header-wrapper.scrolled .nav-link:hover {
    color: var(--gold-dark);
}

.header-wrapper.scrolled .mobile-toggle span {
    background-color: var(--navy);
}

/* --------------------------------------------------------------------------
   MOBILE NAVIGATION DRAWER
   -------------------------------------------------------------------------- */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    background: var(--navy-dark);
    z-index: 999;
    padding: 85px 24px 36px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-link {
    color: var(--white);
    font-size: 1.08rem;
    font-family: var(--font-heading);
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-link:hover {
    color: var(--gold-light);
    padding-left: 6px;
}

.mobile-portals-box {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(198, 154, 45, 0.3);
}

.mobile-portals-title {
    color: var(--gold-light);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.mobile-portals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 19, 41, 0.75);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Hamburger active animation */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: var(--navy-dark);
    overflow: hidden;
    padding-top: 160px;
    padding-bottom: 70px;
}

.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.55) contrast(1.1);
    transform: scale(1.04);
    animation: heroZoom 22s infinite alternate linear;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(4, 19, 41, 0.9) 0%, 
        rgba(8, 40, 79, 0.68) 50%,
        rgba(4, 19, 41, 0.95) 100%
    );
    z-index: 2;
}

.hero-content-box {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 900px;
}

.hero-crest-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    background: rgba(198, 154, 45, 0.15);
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.hero-title {
    color: var(--white);
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* GOLDEN MOTTO BADGE */
.hero-motto-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 24px;
    background: rgba(198, 154, 45, 0.12);
    border: 1px solid rgba(231, 200, 115, 0.5);
    border-radius: 50px;
    color: var(--gold-bright);
    font-family: var(--font-title);
    font-size: clamp(0.9rem, 1.5vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 14px 0 22px 0;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    max-width: 100%;
}

.hero-motto-ribbon i {
    color: var(--gold);
    font-size: 0.75rem;
}

.hero-description {
    font-size: clamp(1.02rem, 1.35vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 34px;
    max-width: 780px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 42px;
}

.hero-portals-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-portals-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.hero-portals-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
}

.mouse-icon {
    width: 22px;
    height: 34px;
    border: 2px solid var(--gold-light);
    border-radius: 12px;
    position: relative;
}

.mouse-icon::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 7px;
    background-color: var(--gold);
    border-radius: 2px;
    animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* --------------------------------------------------------------------------
   ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.announcement-bar {
    background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-dark) 100%);
    border-top: 2px solid var(--gold);
    border-bottom: 1px solid var(--navy-light);
    color: var(--white);
    padding: 11px 0;
    overflow: hidden;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ticker-badge {
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.ticker-content {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ticker-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--cream);
}

.ticker-text strong {
    color: var(--gold-light);
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

.ticker-content:hover .ticker-text {
    animation-play-state: paused;
}

/* --------------------------------------------------------------------------
   SCHOOL HIGHLIGHTS & STATS
   -------------------------------------------------------------------------- */
.highlights-section {
    background-color: var(--cream);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.stat-card {
    background: var(--white);
    border-radius: 8px;
    padding: 32px 20px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-gold);
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 14px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1;
}

.stat-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img-frame {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-img-frame img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image-wrapper:hover .about-img-frame img {
    transform: scale(1.04);
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--navy-dark);
    color: var(--white);
    padding: 20px 26px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 14px;
}

.exp-years {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
}

.exp-text {
    font-size: 0.82rem;
    line-height: 1.3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-content {
    padding-right: 16px;
}

.about-text {
    font-size: 1.02rem;
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-pillars-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}

.about-pillar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
}

.about-pillar-item i {
    color: var(--gold);
    font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   EDUCATIONAL PHILOSOPHY (4 SHIELD QUADRANTS)
   -------------------------------------------------------------------------- */
.philosophy-section {
    background-color: var(--navy-dark);
    color: var(--white);
    position: relative;
}

.philosophy-section h2 {
    color: var(--white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.quadrant-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 32px 24px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.quadrant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: background var(--transition-normal);
}

.quadrant-card.learn::before { background: var(--navy-light); }
.quadrant-card.lead::before { background: var(--gold); }
.quadrant-card.succeed::before { background: var(--gold-light); }
.quadrant-card.grow::before { background: var(--green); }

.quadrant-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-6px);
    border-color: rgba(198, 154, 45, 0.45);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

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

.quadrant-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.quadrant-card.learn .quadrant-icon { background: rgba(18, 58, 104, 0.6); color: #64B5F6; }
.quadrant-card.lead .quadrant-icon { background: rgba(198, 154, 45, 0.22); color: var(--gold-light); }
.quadrant-card.succeed .quadrant-icon { background: rgba(221, 183, 90, 0.22); color: var(--gold-bright); }
.quadrant-card.grow .quadrant-icon { background: rgba(65, 107, 47, 0.35); color: #81C784; }

.quadrant-title {
    color: var(--white);
    font-family: var(--font-title);
    font-size: 1.55rem;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.quadrant-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   WHY CHOOSE US (ASYMMETRIC EDITORIAL)
   -------------------------------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
}

.why-feature-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px;
    transition: all var(--transition-normal);
}

.why-feature-box:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.why-box-large {
    grid-column: span 7;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    border-color: transparent;
}

.why-box-large h3 {
    color: var(--gold-light);
    margin-bottom: 14px;
}

.why-box-large p {
    color: rgba(255, 255, 255, 0.88);
}

.why-box-medium {
    grid-column: span 5;
}

.why-box-small {
    grid-column: span 4;
}

.why-box-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.why-box-title {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.why-box-desc {
    color: var(--muted);
    font-size: 0.91rem;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   ACADEMICS SECTION
   -------------------------------------------------------------------------- */
.academics-section {
    background-color: var(--cream);
}

.academic-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.academic-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.academic-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.academic-card-img {
    height: 190px;
    overflow: hidden;
    position: relative;
}

.academic-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.academic-grade-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--navy);
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

.academic-card-body {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.academic-card-title {
    margin-bottom: 10px;
    font-size: 1.28rem;
}

.academic-card-desc {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.academic-link {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.academic-link i {
    color: var(--gold);
    transition: transform var(--transition-fast);
}

.academic-link:hover i {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   MENTORS SECTION
   -------------------------------------------------------------------------- */
.mentors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mentor-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.mentor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.mentor-photo {
    height: 310px;
    overflow: hidden;
    position: relative;
}

.mentor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform var(--transition-slow);
}

.mentor-card:hover .mentor-photo img {
    transform: scale(1.05);
}

.mentor-info {
    padding: 22px 20px;
    text-align: center;
}

.mentor-name {
    font-size: 1.28rem;
    margin-bottom: 4px;
}

.mentor-role {
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 6px;
}

.mentor-qual {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 12px;
    font-style: italic;
}

.mentor-bio {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   CAMPUS & FACILITIES SECTION
   -------------------------------------------------------------------------- */
.facilities-section {
    background-color: var(--navy-dark);
    color: var(--white);
}

.facilities-section h2 {
    color: var(--white);
}

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

.facility-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 290px;
    box-shadow: var(--shadow-md);
}

.facility-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.facility-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(4, 19, 41, 0.92) 100%);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background var(--transition-normal);
}

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

.facility-card:hover .facility-overlay {
    background: linear-gradient(180deg, rgba(8, 40, 79, 0.3) 0%, rgba(4, 19, 41, 0.96) 100%);
}

.facility-label {
    font-size: 0.75rem;
    color: var(--gold-light);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.facility-title {
    color: var(--white);
    font-size: 1.3rem;
}

/* --------------------------------------------------------------------------
   ACTIVITIES & STUDENT LIFE
   -------------------------------------------------------------------------- */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.activity-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 260px;
    cursor: pointer;
}

.activity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.activity-hover-content {
    position: absolute;
    inset: 0;
    background: rgba(4, 19, 41, 0.88);
    backdrop-filter: blur(4px);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.activity-card:hover img {
    transform: scale(1.1);
}

.activity-card:hover .activity-hover-content {
    opacity: 1;
}

.activity-title {
    color: var(--white);
    font-size: 1.22rem;
    margin-bottom: 8px;
}

.activity-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.86rem;
    margin-bottom: 14px;
}

.activity-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   EVENTS & ACHIEVEMENTS
   -------------------------------------------------------------------------- */
.events-section {
    background-color: var(--cream);
}

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

.event-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.event-img {
    height: 190px;
    position: relative;
    overflow: hidden;
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--navy-dark);
    color: var(--white);
    text-align: center;
    border-radius: 4px;
    padding: 5px 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gold);
}

.event-date-day {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
}

.event-date-month {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.event-content {
    padding: 22px 20px;
}

.event-category {
    font-size: 0.76rem;
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.event-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.event-desc {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   LATEST NEWS
   -------------------------------------------------------------------------- */
.news-editorial-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 28px;
}

.featured-news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.featured-news-img {
    height: 310px;
    position: relative;
}

.featured-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-news-body {
    padding: 28px;
}

.news-meta {
    display: flex;
    gap: 14px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 10px;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.compact-news-card {
    background: var(--white);
    border-radius: 8px;
    padding: 18px;
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
}

.compact-news-card:hover {
    border-color: var(--gold);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.compact-news-title {
    font-size: 1.02rem;
    margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   GALLERY & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.filter-btn {
    padding: 8px 22px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 50px;
    background: var(--cream);
    color: var(--navy);
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--navy);
    color: var(--gold-light);
    border-color: var(--navy);
}

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

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 260px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 19, 41, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    font-size: 2rem;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.gallery-caption {
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 19, 41, 0.96);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: var(--white);
    font-size: 2.4rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--gold);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 2rem;
    padding: 16px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

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

.lightbox-nav-btn:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   ADMISSIONS CTA & PORTAL SECTION
   -------------------------------------------------------------------------- */
.admissions-cta-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    border-top: 3px solid var(--gold);
}

.admissions-cta-section h2 {
    color: var(--white);
    margin-bottom: 18px;
}

.admissions-cta-section p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 760px;
    margin: 0 auto 36px auto;
    font-size: 1.1rem;
}

.cta-button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

/* Portals Section */
.portals-section {
    background-color: var(--cream);
}

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

.portal-card {
    background: var(--white);
    border-radius: 8px;
    padding: 36px 26px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portal-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.portal-card-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--navy-ultra-light);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 22px;
    transition: all var(--transition-fast);
}

.portal-card:hover .portal-card-icon {
    background: var(--gold);
    color: var(--navy-dark);
}

.portal-card-title {
    font-family: var(--font-title);
    font-size: 1.38rem;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}

.portal-card-desc {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* --------------------------------------------------------------------------
   TESTIMONIAL CAROUSEL
   -------------------------------------------------------------------------- */
.testimonial-slider-container {
    max-width: 840px;
    margin: 0 auto;
    position: relative;
}

.testimonial-track {
    overflow: hidden;
    position: relative;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 16px 32px;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn var(--transition-normal);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quote-icon {
    font-size: 2.8rem;
    color: var(--gold-light);
    opacity: 0.6;
    margin-bottom: 16px;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: clamp(1.12rem, 1.7vw, 1.4rem);
    font-style: italic;
    color: var(--navy);
    line-height: 1.68;
    margin-bottom: 24px;
}

.author-name {
    font-weight: 800;
    font-size: 1.08rem;
    color: var(--navy);
}

.author-role {
    font-size: 0.86rem;
    color: var(--gold-dark);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 26px;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--navy);
    color: var(--gold);
    border-color: var(--navy);
}

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background: var(--gold);
    width: 22px;
    border-radius: 10px;
}

/* --------------------------------------------------------------------------
   CONTACT SECTION & ADMISSION FORM
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 44px;
}

.contact-info-card {
    background: var(--navy-dark);
    color: var(--white);
    border-radius: 8px;
    padding: 36px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--gold);
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 22px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    gap: 14px;
}

.contact-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(198, 154, 45, 0.2);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-item-text label {
    display: block;
    font-size: 0.76rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-item-text p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Form Styles */
.admission-form-wrapper {
    background: var(--white);
    border-radius: 8px;
    padding: 36px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.form-group label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--navy);
}

.form-control {
    width: 100%;
    padding: 11px 15px;
    font-size: 0.92rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background-color: var(--cream);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(198, 154, 45, 0.18);
}

/* Validation Feedback */
.form-group.error .form-control {
    border-color: #D32F2F;
}

.error-message {
    font-size: 0.76rem;
    color: #D32F2F;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--navy-dark);
    color: var(--white);
    padding: 15px 22px;
    border-radius: 4px;
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3000;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.toast-notification.active {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding-top: 75px;
    padding-bottom: 28px;
    border-top: 4px solid var(--gold);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 4fr 2fr 2fr 4fr;
    gap: 36px;
    margin-bottom: 54px;
}

.footer-brand-logo {
    height: 72px;
    width: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.footer-tagline {
    font-family: var(--font-title);
    color: var(--gold-light);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}

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

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

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

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

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 5px;
}

.footer-contact-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.footer-contact-info i {
    color: var(--gold);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--gold);
    color: var(--navy-dark);
}

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

/* --------------------------------------------------------------------------
   PORTAL DIALOG MODAL
   -------------------------------------------------------------------------- */
.portal-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 19, 41, 0.88);
    backdrop-filter: blur(8px);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.portal-modal.active {
    opacity: 1;
    visibility: visible;
}

.portal-modal-card {
    background: var(--white);
    border-radius: 8px;
    width: 100%;
    max-width: 420px;
    padding: 34px;
    position: relative;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--gold);
}

.portal-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--muted);
    cursor: pointer;
}

.portal-modal-title {
    font-size: 1.45rem;
    margin-bottom: 6px;
    color: var(--navy);
}

.portal-modal-subtitle {
    font-size: 0.86rem;
    color: var(--muted);
    margin-bottom: 22px;
}

/* --------------------------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS (DESKTOP -> TABLET -> MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .philosophy-grid,
    .academic-cards-grid,
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-box-large { grid-column: span 12; }
    .why-box-medium { grid-column: span 6; }
    .why-box-small { grid-column: span 6; }

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

@media (max-width: 992px) {
    .nav-menu, .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .about-grid,
    .contact-grid,
    .news-editorial-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        margin-bottom: 36px;
    }

    .mentors-grid,
    .facilities-grid,
    .events-grid,
    .gallery-grid,
    .portals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hide cluttered desktop top-bar on mobile devices for ultra-clean header */
    .top-bar {
        display: none;
    }

    .main-nav .container {
        height: 68px;
    }

    .site-logo {
        max-width: 80%;
        gap: 10px;
    }

    .site-logo img.logo-img {
        height: 42px;
    }

    .logo-title-primary {
        font-size: 0.88rem;
        letter-spacing: 0.03em;
    }

    .logo-title-secondary {
        font-size: 0.58rem;
        letter-spacing: 0.08em;
    }

    .logo-motto-mini {
        display: none; /* Hide mini motto on mobile header to save height */
    }

    /* Clean Hero Section for Mobile */
    .hero-section {
        padding-top: 105px;
        padding-bottom: 50px;
        min-height: auto;
    }

    .hero-crest-badge {
        font-size: 0.72rem;
        padding: 4px 12px;
        margin-bottom: 14px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6.8vw, 2.5rem);
        line-height: 1.18;
        margin-bottom: 10px;
    }

    .hero-motto-ribbon {
        font-size: clamp(0.78rem, 3.2vw, 0.95rem);
        letter-spacing: 0.12em;
        padding: 6px 14px;
        gap: 8px;
        margin: 10px 0 18px 0;
        white-space: nowrap;
    }

    .hero-description {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 28px;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .hero-portals-bar {
        padding-top: 16px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-portals-links {
        justify-content: center;
        width: 100%;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* Stack Grids Cleanly on Mobile */
    .philosophy-grid,
    .academic-cards-grid,
    .mentors-grid,
    .facilities-grid,
    .activities-grid,
    .events-grid,
    .portals-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-box-medium,
    .why-box-small {
        grid-column: span 1fr;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .about-img-frame img {
        height: 320px;
    }

    .facility-card {
        height: 240px;
    }

    .activity-card {
        height: 230px;
    }

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

    .toast-notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .section-padding {
        padding: 45px 0;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .hero-motto-ribbon {
        font-size: 0.72rem;
        letter-spacing: 0.08em;
        padding: 5px 10px;
    }

    .stat-card {
        padding: 20px 14px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .admission-form-wrapper,
    .contact-info-card {
        padding: 24px 18px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
