/*
 * De La Salle John Bosco College - Modern Redesign Portal Styling
 * Custom optimized stylesheet for HTML template & PHP views
 * SPDX-License-Identifier: Apache-2.0
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;650&display=swap');

:root {
    --font-heading: 'Outfit', 'Inter', -apple-system, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Academic Prestige Emerald Colorway */
    --emerald-950: #022c22;
    --emerald-900: #064e3b; /* Lasallian Green Core */
    --emerald-800: #0b6647;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50: #f0fdf4;
    
    /* Elegant Academic Gold Accents */
    --muted-gold: #c29b38;
    --muted-gold-dark: #a17c27;
    --muted-gold-light: #fefbeb;
    --gold-glow: rgba(194, 155, 56, 0.15);
    
    /* Luxury Slate Monotone Grays */
    --slate-950: #030712;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    
    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-snappy: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-subtle: 0 4px 18px rgba(15, 23, 42, 0.025);
    --shadow-medium: 0 10px 30px rgba(15, 23, 42, 0.05);
    --shadow-luxury: 0 20px 50px -12px rgba(2, 44, 34, 0.08);
}

/* ==========================================================================
   RESET & SYSTEM BASICS
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--slate-50);
}

::-webkit-scrollbar-thumb {
    background: var(--slate-200);
    border-radius: 99px;
    border: 2px solid var(--slate-50);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--emerald-700);
}

body {
    font-family: var(--font-sans);
    background-color: var(--slate-50);
    color: var(--slate-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--slate-900);
}

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

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
@keyframes slideDownNav {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-nav {
    height: 84px;
    background-color: white;
    border-bottom: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDownNav 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: height 0.4s var(--transition-smooth), 
                background-color 0.4s ease, 
                backdrop-filter 0.4s ease, 
                box-shadow 0.4s var(--transition-smooth), 
                border-color 0.4s ease;
}

.header-nav.scrolled {
    height: 72px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.01);
}

.nav-brand {
    display: flex;
    align-items: center;
}

/* Specific selector requested by focus-mode targeting nav#nav-navbar's logo image */
nav#nav-navbar:nth-of-type(1) > a:nth-of-type(1) > img:nth-of-type(1),
nav#nav-navbar:nth-of-type(1) > a:nth-of-type(1) > img#navbar-logo-image:nth-of-type(1) {
    height: 52px !important;
    width: auto !important;
    object-fit: contain;
    transition: transform var(--transition-smooth), filter var(--transition-snappy);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.03));
    display: block;
}

nav#nav-navbar:nth-of-type(1) > a:nth-of-type(1) > img:nth-of-type(1):hover,
nav#nav-navbar:nth-of-type(1) > a:nth-of-type(1) > img#navbar-logo-image:nth-of-type(1):hover {
    transform: scale(1.02) translateY(-1px);
}

.nav-toggle {
    display: none;
    background: var(--slate-100);
    border: none;
    color: var(--slate-800);
    cursor: pointer;
    padding: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: var(--transition-snappy);
}

.nav-toggle:hover {
    background-color: var(--emerald-50);
    color: var(--emerald-800);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 36px);
}

.nav-link {
    font-size: 14.5px;
    font-weight: 650;
    color: var(--slate-600);
    position: relative;
    padding: 8px 0;
    letter-spacing: -0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: -1px;
    left: 0;
    background: linear-gradient(90deg, var(--emerald-800) 0%, var(--muted-gold) 100%);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform var(--transition-smooth);
    border-radius: 99px;
}

.nav-link:hover {
    color: var(--emerald-900);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.btn-portal {
    background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-800) 100%);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(6, 78, 59, 0.12);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-portal:hover {
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-700) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 78, 59, 0.22);
}

.btn-portal:active {
    transform: translateY(0);
}

/* ==========================================================================
   HERO / LANDING SECTION
   ========================================================================== */
.hero {
    min-height: 700px;
    background: 
        linear-gradient(110deg, rgba(2, 30, 20, 0.96) 0%, rgba(4, 52, 36, 0.88) 40%, rgba(15, 23, 42, 0.65) 75%, rgba(2, 44, 34, 0.94) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'%3E%3Cpolygon points='400,80 464,288 688,288 512,416 576,624 400,496 224,624 288,416 112,288 336,288' fill='%23c29b38' fill-opacity='0.035'/%3E%3Ccircle cx='400' cy='400' r='280' fill='none' stroke='%23ffffff' stroke-opacity='0.015' stroke-width='1.5' stroke-dasharray='16,16'/%3E%3Ccircle cx='400' cy='400' r='340' fill='none' stroke='%23ffffff' stroke-opacity='0.01' stroke-width='1'/%3E%3C/svg%3E"),
        url("bosco.jpg");
    background-position: center, right 12% center, center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
    color: white;
    padding: 140px 24px;
    display: flex;
    align-items: center;
    border-bottom: 5px solid var(--emerald-900);
}

/* Specific selector requested by focus-mode targeting header#landing-page */
header#landing-page:nth-of-type(1) {
    min-height: 700px;
    padding: 140px 24px;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(circle at 30% 30%, rgba(6, 78, 59, 0.72) 0%, rgba(2, 44, 34, 0.88) 60%, rgba(3, 7, 18, 0.95) 100%),
        url("bosco.jpg") !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

header#landing-page:nth-of-type(1) .hero-concentric {
    display: none !important;
}

header#landing-page:nth-of-type(1)::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -10%;
    width: 65vw;
    height: 65vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, rgba(11, 102, 71, 0.05) 50%, transparent 70%);
    border-radius: 43% 57% 41% 59% / 51% 47% 53% 49%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    animation: morphBackgroundAuroraOne 22s infinite alternate ease-in-out;
}

header#landing-page:nth-of-type(1)::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    max-width: 700px;
    max-height: 700px;
    background: radial-gradient(circle, rgba(194, 155, 56, 0.11) 0%, rgba(161, 124, 39, 0.03) 45%, transparent 65%);
    border-radius: 54% 46% 62% 38% / 45% 58% 42% 55%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
    animation: morphBackgroundAuroraTwo 18s infinite alternate ease-in-out;
}

@keyframes morphBackgroundAuroraOne {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 43% 57% 41% 59% / 51% 47% 53% 49%;
    }
    33% {
        transform: translate(6%, 10%) rotate(120deg) scale(1.1);
        border-radius: 55% 45% 58% 42% / 48% 52% 48% 52%;
    }
    66% {
        transform: translate(-8%, -4%) rotate(240deg) scale(0.92);
        border-radius: 38% 62% 35% 65% / 57% 43% 57% 43%;
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
        border-radius: 43% 57% 41% 59% / 51% 47% 53% 49%;
    }
}

@keyframes morphBackgroundAuroraTwo {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 54% 46% 62% 38% / 45% 58% 42% 55%;
    }
    50% {
        transform: translate(-10%, 6%) rotate(-180deg) scale(1.15);
        border-radius: 40% 60% 41% 59% / 53% 47% 53% 47%;
    }
    100% {
        transform: translate(0, 0) rotate(-360deg) scale(1);
        border-radius: 54% 46% 62% 38% / 45% 58% 42% 55%;
    }
}

.hero-concentric {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 480px;
    height: 480px;
    border: 1px solid rgba(16, 185, 129, 0.08);
    background: radial-gradient(circle, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: concentricPulse 10s infinite ease-in-out;
}

.hero-concentric-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border: 1px dashed rgba(194, 155, 56, 0.12);
    border-radius: 50%;
}

@keyframes concentricPulse {
    0%, 100% {
        transform: translateY(-50%) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-50%) scale(1.05) rotate(180deg);
        opacity: 1;
    }
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-tag {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--emerald-100);
    background: rgba(16, 185, 129, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 15px rgba(2, 44, 34, 0.15);
}

.hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    max-width: 820px;
    color: #ffffff;
}

/* Explicit selector required by focus-mode targeting header#landing-page... */
header#landing-page:nth-of-type(1) > div#hero-content-container:nth-of-type(2) {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 10 !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

header#landing-page:nth-of-type(1) > div#hero-content-container:nth-of-type(2) > h2#landing-headline:nth-of-type(1) {
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif !important;
    font-size: clamp(34px, 5.8vw, 68px) !important;
    font-weight: 800 !important;
    line-height: 1.15;
    letter-spacing: -0.035em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
    max-width: 820px;
    margin-bottom: 24px;
    animation: fadeInHeadline 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Fluid responsive adjustments for mobile/tablet screen sizes */
@media (max-width: 768px) {
    header#landing-page:nth-of-type(1) {
        padding: 100px 16px !important;
        min-height: auto !important;
    }
    
    header#landing-page:nth-of-type(1) > div#hero-content-container:nth-of-type(2) {
        padding: 0 12px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    header#landing-page:nth-of-type(1) > div#hero-content-container:nth-of-type(2) > h2#landing-headline:nth-of-type(1) {
        line-height: 1.2 !important;
        margin-bottom: 18px !important;
    }
    
    header#landing-page:nth-of-type(1) > div#hero-content-container:nth-of-type(2) > h2#landing-headline:nth-of-type(1) > span:nth-of-type(1) {
        margin-top: 4px !important;
    }
    
    .hero-desc {
        text-align: center !important;
        font-size: 16px !important;
        margin-bottom: 32px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .hero-ctas {
        justify-content: center !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    header#landing-page:nth-of-type(1) {
        padding: 85px 12px 95px 12px !important;
    }
    
    header#landing-page:nth-of-type(1) > div#hero-content-container:nth-of-type(2) {
        padding: 0 !important;
    }
    
    header#landing-page:nth-of-type(1) > div#hero-content-container:nth-of-type(2) > h2#landing-headline:nth-of-type(1) {
        line-height: 1.25 !important;
        letter-spacing: -0.025em !important;
    }
    
    .hero-desc {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 28px !important;
    }
}

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

@keyframes cyberneticEntrance {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
        letter-spacing: -0.05em;
        filter: blur(4px) brightness(1.5) contrast(1.2);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-1px) scale(1.02);
        letter-spacing: 0.05em;
        filter: blur(1px) brightness(1.2);
    }
    70% {
        opacity: 0.9;
        transform: translateY(1px) scale(0.99);
        letter-spacing: -0.02em;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: 0.012em;
        filter: blur(0) brightness(1);
    }
}

@keyframes laserCircuitFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes holographicPulse {
    0% {
        filter: drop-shadow(0 2px 12px rgba(16, 185, 129, 0.40)) drop-shadow(0 0 2px rgba(6, 182, 212, 0.25));
    }
    50% {
        filter: drop-shadow(0 4px 28px rgba(6, 182, 212, 0.70)) drop-shadow(0 0 8px rgba(16, 185, 129, 0.50));
    }
    100% {
        filter: drop-shadow(0 2px 12px rgba(16, 185, 129, 0.40)) drop-shadow(0 0 2px rgba(6, 182, 212, 0.25));
    }
}

header#landing-page:nth-of-type(1) > div#hero-content-container:nth-of-type(2) > h2#landing-headline:nth-of-type(1) > span:nth-of-type(1) {
    background: linear-gradient(90deg, #10b981 0%, #34d399 25%, #06b6d4 50%, #34d399 75%, #10b981 100%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif !important;
    text-transform: none !important;
    font-weight: 800 !important;
    font-size: 1.05em;
    display: inline-block;
    margin-top: 6px;
    text-shadow: none;
    filter: drop-shadow(0 2px 12px rgba(16, 185, 129, 0.40));
    animation: cyberneticEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) both, 
               laserCircuitFlow 4s linear infinite, 
               holographicPulse 3s ease-in-out infinite alternate !important;
}

.hero-desc {
    font-size: 18px;
    color: rgba(241, 245, 249, 0.9);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 640px;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: white;
    color: var(--emerald-950);
    padding: 15px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(2, 44, 34, 0.3);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: var(--emerald-50);
    color: var(--emerald-900);
    box-shadow: 0 15px 35px rgba(2, 44, 34, 0.45);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   TICKER MARQUEE BANNER
   ========================================================================== */
.ticker-banner {
    background: var(--emerald-950);
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    overflow: hidden;
    padding: 16px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

/* Specific selector requested by focus-mode targeting div#lasalle-spirit-ticker */
div#lasalle-spirit-ticker:nth-of-type(1) {
    border-top: none !important;
    border-bottom: none;
    background: var(--emerald-950);
    margin-top: 0 !important;
    padding: 8px 0 !important;
}

div#lasalle-spirit-ticker:nth-of-type(1) .ticker-phrase {
    font-size: 11px !important;
}

div#lasalle-spirit-ticker:nth-of-type(1) .ticker-phrase.accent-gold {
    color: white;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.ticker-wrapper {
    display: flex;
    white-space: nowrap;
    width: 200%;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
    animation: ticker-slide 28s linear infinite;
    will-change: transform;
}

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

.ticker-phrase {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ticker-phrase.accent-green {
    color: #34d399; /* bright crisp emerald */
    text-shadow: 0 0 15px rgba(52, 211, 153, 0.12);
}

.ticker-phrase.accent-gold {
    color: white;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.ticker-dot {
    color: var(--muted-gold);
    font-size: 20px;
    user-select: none;
    opacity: 0.85;
}

@keyframes ticker-slide {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ==========================================================================
   LAYOUT MODULES & STANDARD SECTIONS
   ========================================================================== */
.main-layout {
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 24px;
}

.sleek-section {
    padding: 96px 24px;
}

.section-badge-wrapper {
    margin-bottom: 24px;
    text-align: left;
}

.section-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--emerald-900);
    background-color: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    padding: 8px 18px;
    border-radius: 100px;
    display: inline-block;
    box-shadow: var(--shadow-subtle);
}

.section-title {
    font-size: 38px;
    font-weight: 805;
    line-height: 1.15;
    color: var(--slate-900);
    letter-spacing: -0.025em;
    margin-bottom: 24px;
}

.section-title.text-left {
    text-align: left;
}

.section-lead {
    font-size: 17px;
    color: var(--slate-600);
    max-width: 780px;
    margin-bottom: 56px;
    line-height: 1.65;
}

/* ==========================================================================
   ABOUT / CORE MISSION SECTION
   ========================================================================== */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: start;
    margin-bottom: 72px;
}

.about-hero-text {
    padding-right: 12px;
}

.about-lead {
    font-size: 17.5px;
    color: var(--slate-650);
    line-height: 1.75;
}

.card-gradient {
    background: linear-gradient(135deg, white 0%, var(--slate-50) 100%);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow-medium);
}

.mv-card {
    border-left: 5px solid var(--emerald-900);
    position: relative;
}

.mv-block h4 {
    font-size: 14.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--slate-900);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mv-block h4::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--muted-gold);
    border-radius: 50%;
}

.mv-desc {
    font-size: 14px;
    color: var(--slate-600);
    line-height: 1.65;
}

.core-values-pill-row {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.value-pill {
    background-color: var(--emerald-50);
    color: var(--emerald-900);
    border: 1px solid var(--emerald-100);
    font-weight: 700;
    font-size: 12px;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-subtle);
}

/* Dual Features layout */
.features-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-bottom: 80px;
}

.sleek-card {
    background-color: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.sleek-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-luxury);
    border-color: var(--emerald-600);
}

.card-padded {
    padding: 44px;
}

.card-header-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 28px;
    letter-spacing: -0.015em;
}

.bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bullet-list li {
    display: flex;
    align-items: start;
    gap: 20px;
}

.bullet-icon {
    width: 26px;
    height: 26px;
    background-color: var(--emerald-100);
    color: var(--emerald-900);
    font-size: 12px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.1);
}

.bullet-list li strong {
    font-size: 15px;
    color: var(--slate-900);
    display: block;
    margin-bottom: 4px;
}

.bullet-list li p {
    font-size: 13.5px;
    color: var(--slate-600);
    line-height: 1.6;
}

.bullet-white li p {
    color: var(--emerald-100);
    opacity: 0.95;
}

/* ==========================================================================
   CAMPUS GALLERY - MODERN DESIGN
   ========================================================================== */
.gallery-wrapper {
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    box-shadow: var(--shadow-medium);
}

.gallery-wrapper-modern {
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    box-shadow: var(--shadow-medium);
}

.gallery-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 12px;
    text-align: center;
}

.gallery-desc {
    font-size: 14.5px;
    color: var(--slate-600);
    max-width: 680px;
    margin: 0 auto 40px auto;
    text-align: center;
    line-height: 1.65;
}

/* Gallery Slider Styles */
.gallery-slider-container {
    margin-bottom: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
}

.myGallerySlider {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(2, 44, 34, 0.95) 0%, rgba(2, 44, 34, 0.4) 70%, transparent 100%);
    padding: 60px 40px 40px 40px;
    transform: translateY(0);
    transition: transform var(--transition-smooth);
}

.slider-caption h4 {
    color: white;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slider-caption p {
    color: var(--emerald-100);
    font-size: 14px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Swiper Custom Controls */
.gallery-slider-btn {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: white !important;
    border-radius: 50% !important;
    transition: var(--transition-snappy);
}

.gallery-slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1);
}

.gallery-slider-btn::after {
    font-size: 14px !important;
    font-weight: 800;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    width: 10px;
    height: 10px;
    transition: var(--transition-snappy);
}

.swiper-pagination-bullet-active {
    background: white !important;
    transform: scale(1.3);
}

/* Modern Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 220px;
    cursor: pointer;
    border: 1px solid var(--slate-200);
}

/* Modern Gallery Card */
.gallery-card-modern {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.gallery-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxury);
    border-color: var(--emerald-600);
}

.gallery-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-img-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
    display: block;
}

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

.gallery-overlay-modern {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 44, 34, 0.92) 0%, rgba(2, 44, 34, 0.25) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-snappy) ease-in-out;
}

.gallery-card-modern:hover .gallery-overlay-modern {
    opacity: 1;
}

.gallery-overlay-modern h4 {
    color: white;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.gallery-overlay-modern p {
    color: var(--emerald-100);
    font-size: 13px;
    line-height: 1.5;
}

/* Legacy gallery overlay (kept for compatibility) */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 44, 34, 0.92) 0%, rgba(2, 44, 34, 0.25) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-snappy) ease-in-out;
}

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

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

.gallery-overlay h4 {
    color: white;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 2px;
}

.gallery-overlay p {
    color: var(--emerald-100);
    font-size: 12px;
}

/* Responsive Gallery */
@media (max-width: 992px) {
    .gallery-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    .myGallerySlider {
        height: 400px;
    }
    .slider-caption {
        padding: 40px 24px 24px 24px;
    }
    .slider-caption h4 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .gallery-wrapper-modern {
        padding: 36px 20px;
    }
    .gallery-grid-modern {
        grid-template-columns: 1fr;
    }
    .gallery-card-modern {
        height: 240px;
    }
    .myGallerySlider {
        height: 350px;
    }
    .gallery-slider-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .gallery-wrapper-modern {
        padding: 28px 16px;
    }
    .gallery-slider-container {
        margin-bottom: 32px;
        border-radius: var(--radius-md);
    }
    .myGallerySlider {
        height: 280px;
    }
    .slider-caption {
        padding: 30px 16px 16px 16px;
    }
    .slider-caption h4 {
        font-size: 16px;
    }
    .slider-caption p {
        font-size: 12px;
    }
}

/* ==========================================================================
   ACADEMIC SHOWCASE NODES
   ========================================================================== */
.program-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 56px auto;
}

.program-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-bottom: 72px;
}

.program-large-card {
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 48px;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program-large-card .course-badge {
    align-self: flex-start;
}

.program-large-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxury);
    border-color: var(--emerald-700);
}

.course-badge {
    background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-800) 100%);
    color: white;
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.program-large-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 16px;
}

.program-large-card p {
    font-size: 14.5px;
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 32px;
}

.course-specs {
    border-top: 1px solid var(--slate-200);
    padding-top: 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

.spec-unit strong {
    font-size: 10.5px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--emerald-900);
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 6px;
}

.spec-unit p {
    font-size: 13px;
    color: var(--slate-800);
    font-weight: 650;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Modernized Tables */
.table-container-wrap {
    margin-top: 56px;
}

.comparison-header {
    font-size: 24px;
    font-weight: 800;
    color: var(--slate-900);
    text-align: center;
    margin-bottom: 10px;
}

.comparison-subheader {
    font-size: 14.5px;
    color: var(--slate-600);
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px auto;
}

.table-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-medium);
}

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

.dash-table th {
    background-color: var(--slate-100);
    color: var(--slate-800);
    font-size: 11.5px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 20px 24px;
    border-bottom: 1.5px solid var(--slate-205, #e2e8f0);
}

.dash-table td {
    padding: 20px 24px;
    font-size: 14.2px;
    color: var(--slate-700);
    border-bottom: 1px solid var(--slate-100);
    vertical-align: top;
    line-height: 1.6;
}

.dash-table tr:hover {
    background-color: var(--slate-50);
}

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

.comparison-table td:first-child {
    font-weight: 750;
    color: var(--slate-900);
    width: 18%;
    background-color: var(--slate-50);
}

/* ==========================================================================
   BENTO GRIID EXPERIENCE
   ========================================================================== */
.student-life-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    margin-bottom: 72px;
}

.bento-box {
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.bento-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-luxury);
    border-color: var(--emerald-600);
}

.grid-span-2 {
    grid-column: span 2;
}

.bento-box h4 {
    font-weight: 800;
    font-size: 21px;
    color: var(--slate-900);
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}

.bento-box p {
    font-size: 14px;
    color: var(--slate-600);
    line-height: 1.65;
}

.bento-box.text-light {
    position: relative;
    overflow: hidden;
}

.bento-box.text-light h4 {
    color: white;
}

.bento-box.text-light p {
    color: rgba(240, 253, 244, 0.9);
}

/* Testimonials */
.testimonials-wrapper {
    background: linear-gradient(135deg, white 0%, var(--emerald-50) 100%);
    border-radius: var(--radius-xl);
    padding: 64px 48px;
    border: 1px solid var(--emerald-100);
    box-shadow: var(--shadow-medium);
}

.testimonials-header {
    font-size: 22px;
    font-weight: 800;
    color: var(--emerald-950);
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 4px 20px rgba(4, 78, 59, 0.03);
    position: relative;
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 15px;
    right: 25px;
    font-family: var(--font-heading);
    font-size: 64px;
    line-height: 1;
    color: var(--emerald-100);
    pointer-events: none;
    font-weight: 900;
}

.testimonial-quote {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--slate-600);
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.testimonial-author strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--emerald-950);
    display: block;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
    display: block;
}

/* ==========================================================================
   CONTACT SECTION & ADMISSIONS pipeline
   ========================================================================== */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: start;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
}

.contact-details-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 38px;
    margin-bottom: 28px;
}

.contact-detail-row {
    display: flex;
    align-items: start;
    gap: 20px;
}

.detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    background-color: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
}

.detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail-row strong {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--slate-900);
    display: block;
    margin-bottom: 4px;
}

.contact-detail-row p {
    font-size: 13.5px;
    color: var(--slate-600);
    line-height: 1.5;
}

.direct-actions-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.action-btn-pill {
    background-color: white;
    color: var(--slate-900);
    border: 1.5px solid var(--slate-200);
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: var(--radius-md);
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition-snappy);
}

.action-btn-pill:hover {
    border-color: var(--emerald-700);
    background-color: var(--slate-50);
    color: var(--emerald-900);
}

.inquiry-form-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-luxury);
}

.inquiry-form-header {
    text-align: center;
    margin-bottom: 36px;
}

.inquiry-form-header h3 {
    font-size: 24px;
    font-weight: 850;
    color: var(--slate-900);
    letter-spacing: -0.025em;
}

.inquiry-form-header p {
    font-size: 14px;
    color: var(--slate-600);
    margin-top: 8px;
    line-height: 1.5;
}

.form-group-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--slate-700);
    letter-spacing: 0.08em;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--slate-200);
    font-family: var(--font-sans);
    font-size: 14.5px;
    color: var(--slate-900);
    background-color: white;
    transition: var(--transition-snappy);
}

.form-input::placeholder {
    color: var(--slate-400);
}

.form-input:focus {
    border-color: var(--emerald-800);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(6, 102, 71, 0.1);
}

select.form-input {
    cursor: pointer;
}

.btn-submit {
    font-family: var(--font-heading);
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-800) 100%);
    color: white;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(6, 78, 59, 0.15);
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-700) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.25);
}

.success-badge {
    color: var(--emerald-900);
    background-color: var(--emerald-50);
    border: 1.5px solid var(--emerald-100);
    font-weight: 600;
    font-size: 13.5px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    line-height: 1.5;
}

/* ==========================================================================
   INTERACTIVE ACADEMIC EXCELLENCE (Faculty & Curriculum)
   ========================================================================== */
.academic-module-box {
    margin-top: 80px;
    margin-bottom: 80px;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 36px;
    margin-top: 40px;
}

.faculty-card {
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

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

.faculty-img-container {
    height: 330px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: var(--slate-950);
}

.faculty-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 44, 34, 0) 50%, rgba(2, 44, 34, 0.9) 100%);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.faculty-card:hover .faculty-img-container::after {
    opacity: 0.95;
}

.faculty-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.05);
    transition: transform var(--transition-smooth), filter 0.5s ease;
}

.faculty-card:hover .faculty-avatar {
    transform: scale(1.05);
    filter: grayscale(10%) contrast(1.02);
}

.faculty-accent-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-900) 0%, var(--muted-gold) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.faculty-card:hover .faculty-accent-bar {
    transform: scaleX(1);
}

.faculty-overlay-info {
    position: absolute;
    bottom: 20px;
    left: 24px;
    right: 24px;
    color: white;
    z-index: 10;
}

.faculty-title-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted-gold);
    display: inline-block;
    margin-bottom: 6px;
}

.faculty-name {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1.25;
}

.faculty-card-body {
    padding: 24px;
    background-color: white;
}

.faculty-designation {
    font-size: 13px;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 10px;
}

.faculty-focus-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--emerald-900);
    background-color: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    padding: 4px 12px;
    border-radius: 99px;
    display: inline-block;
    margin-bottom: 14px;
}

.faculty-creds {
    font-size: 12.5px;
    color: var(--slate-600);
    line-height: 1.6;
    margin: 0;
}

/* Interactive Curriculums */
.curriculum-container {
    background-color: var(--slate-50);
    border: 1px solid var(--slate-205, #e2e8f0);
    border-radius: var(--radius-lg);
    padding: 44px;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.curriculum-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--emerald-900);
}

.curriculum-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--slate-200);
    padding-bottom: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 20px;
}

.curriculum-tabs-nav {
    display: flex;
    gap: 12px;
}

.curriculum-tab-btn {
    background: white;
    border: 1px solid var(--slate-200);
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-600);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-snappy);
    box-shadow: var(--shadow-subtle);
}

.curriculum-tab-btn:hover {
    border-color: var(--emerald-900);
    color: var(--emerald-900);
}

.curriculum-tab-btn.active {
    background-color: var(--emerald-900);
    border-color: var(--emerald-900);
    color: white;
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.15);
}

.year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.year-accordion-card {
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.year-accordion-card:hover {
    border-color: var(--muted-gold);
    box-shadow: 0 10px 25px -4px var(--gold-glow);
    transform: translateY(-2px);
}

.year-card-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    color: var(--emerald-900);
    margin-top: 0;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--emerald-50);
    padding-bottom: 10px;
}

.curriculum-course-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--slate-100);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.curriculum-course-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.course-info {
    text-align: left;
}

.course-name {
    font-size: 13.5px;
    font-weight: 750;
    color: var(--slate-800);
    margin-bottom: 3px;
    line-height: 1.4;
}

.course-code {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--slate-500);
}

.course-units {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 650;
    background-color: var(--slate-100);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--slate-700);
    flex-shrink: 0;
}

/* ==========================================================================
   ADMIN PORTALS / CONSOLES
   ========================================================================== */
.dash-container {
    padding: 56px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--slate-200);
    padding-bottom: 24px;
}

.dash-title h2 {
    font-size: 32px;
    font-weight: 850;
    color: var(--slate-900);
}

.dash-title p {
    font-size: 14.5px;
    color: var(--slate-600);
    margin-top: 6px;
}

.badge-count {
    background-color: var(--emerald-50);
    color: var(--emerald-900);
    border: 1px solid var(--emerald-100);
    font-weight: 850;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 12px;
    margin-left: 10px;
}

.std-name {
    font-weight: 800;
    color: var(--slate-900);
}

.std-program {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--emerald-900);
    background-color: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.std-text {
    max-width: 440px;
    color: var(--slate-700);
    font-size: 13.5px;
    line-height: 1.6;
}

.std-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--slate-400);
}

/* ==========================================================================
   PORTAL FOOTER
   ========================================================================== */
/* Explicit selector required by focus-mode targeting footer#portal-footer-container */
footer#portal-footer-container:nth-of-type(1) {
    background-color: white !important;
    border-top: 1px solid var(--slate-200) !important;
    padding: 32px 5% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.footer-quote {
    font-size: 13px;
    color: var(--slate-500);
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 32px;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate-600);
}

.footer-links span {
    cursor: pointer;
    transition: var(--transition-snappy);
}

.footer-links span:hover {
    color: var(--emerald-800);
}

/* ==========================================================================
   INTERACTIVE ANIMATION ENGINE (Scroll Reveal)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTERS (MOBILE-FIRST OUTWARD)
   ========================================================================== */
@media (max-width: 992px) {
    .sleek-section {
        padding: 72px 16px;
    }
    .hero {
        padding: 100px 16px;
    }
    .hero-title {
        font-size: 44px;
    }
    .hero-concentric {
        display: none;
    }
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .features-dual-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .program-cards-grid {
        grid-template-columns: 1fr;
    }
    .student-life-bento {
        grid-template-columns: 1fr;
    }
    .grid-span-2 {
        grid-column: span 1;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    nav#nav-navbar:nth-of-type(1) > a:nth-of-type(1) > img:nth-of-type(1),
    nav#nav-navbar:nth-of-type(1) > a:nth-of-type(1) > img#navbar-logo-image:nth-of-type(1) {
        height: 38px !important;
    }
    .main-layout {
        padding: 24px 12px;
    }
    .header-nav {
        height: 76px;
        padding: 0 24px;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-menu,
    nav#nav-navbar:nth-of-type(1) > div#nav-menu-container:nth-of-type(1) {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100% !important;
        left: 0;
        width: 100%;
        background-color: white;
        border-bottom: 4px solid var(--emerald-900);
        padding: 32px 24px;
        gap: 20px;
        align-items: center;
        box-shadow: var(--shadow-luxury);
        z-index: 99;
    }
    .nav-menu.active,
    nav#nav-navbar:nth-of-type(1) > div#nav-menu-container:nth-of-type(1).active {
        display: flex;
    }
    .nav-menu.active {
        animation: navSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .nav-link {
        font-size: 15px;
        padding: 12px 24px;
        text-align: center;
        width: 100%;
        border-radius: var(--radius-sm);
    }
    .nav-link:hover {
        background-color: var(--slate-100);
    }
    .btn-portal {
        width: 100%;
        padding: 14px;
        box-sizing: border-box;
    }
    footer#portal-footer-container:nth-of-type(1) {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
        padding: 36px 24px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    nav#nav-navbar:nth-of-type(1) > a:nth-of-type(1) > img:nth-of-type(1),
    nav#nav-navbar:nth-of-type(1) > a:nth-of-type(1) > img#navbar-logo-image:nth-of-type(1) {
        height: 30px !important;
    }
    footer#portal-footer-container:nth-of-type(1) {
        padding: 28px 16px !important;
        gap: 16px !important;
    }
    footer#portal-footer-container:nth-of-type(1) .footer-quote {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
    footer#portal-footer-container:nth-of-type(1) .footer-links {
        gap: 16px !important;
        font-size: 12px !important;
    }
    .hero {
        padding: 80px 16px;
        text-align: center;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-desc {
        font-size: 15px;
        margin-bottom: 32px;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 28px;
    }
    .card-padded {
        padding: 28px 20px;
    }
    .inquiry-form-card {
        padding: 32px 20px;
    }
    .form-group-split {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
