﻿/* ========================================
   MICHIRU VIEW SCHOOLS - FULL STYLESHEET
   Professional | White Header | Blue Text | 2025
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
:root {
    --brand-ink: #0F1E2E;
    --brand-ink-soft: #3E536A;
    --brand-ink-muted: #6A7E92;
    --brand-navy: #003366;
    --brand-blue: #0055A5;
    --brand-blue-strong: #0A65C2;
    --brand-blue-accent: #8CCBFF;
    --brand-surface: #FFFFFF;
    --brand-surface-alt: #F4F8FC;
    --brand-border: #D9E6F2;
    --fs-base: clamp(0.98rem, 0.25vw + 0.92rem, 1.05rem);
    --fs-sm: clamp(0.86rem, 0.2vw + 0.82rem, 0.95rem);
    --fs-xs: clamp(0.78rem, 0.15vw + 0.75rem, 0.85rem);
    --fs-h1: clamp(2.1rem, 2.6vw + 1.5rem, 3.4rem);
    --fs-h2: clamp(1.6rem, 1.6vw + 1.15rem, 2.3rem);
    --fs-h3: clamp(1.15rem, 1.1vw + 0.95rem, 1.5rem);
    --fs-hero-sub: clamp(1.05rem, 0.8vw + 0.9rem, 1.35rem);
    --fs-lead: clamp(0.98rem, 0.55vw + 0.9rem, 1.15rem);
}
body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--brand-ink);
    background: var(--brand-surface);
    font-size: var(--fs-base);
    padding-top: 80px;
}
h1, h2, h3, .hero-title {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    font-weight: 800;
}
h1 { font-size: var(--fs-h1); line-height: 1.15; }
h2 { font-size: var(--fs-h2); line-height: 1.2; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p { font-size: var(--fs-base); }
small { font-size: var(--fs-xs); }
.lead-text { font-size: var(--fs-lead); }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.text-center { text-align: center; }

/* ========================================
   WHITE HEADER + BLUE NAVIGATION
   ======================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    color: #003366;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 1rem 0;
    transition: all 0.3s ease;
}
.main-header.scrolled {
    padding: 0.6rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    flex-wrap: nowrap;
    gap: 2rem;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}
.logo {
    height: 58px;
    width: auto;
    transition: transform 0.3s ease;
}
.logo-text {
    display: none;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    font-weight: 800;
    color: #0b3d6e;
    font-size: 1.02rem;
    line-height: 1.15;
    letter-spacing: 0.3px;
    text-align: center;
}
.logo-link:hover .logo {
    transform: scale(1.06);
}

/* NAVIGATION */
.main-nav {
    flex: 1;
    margin: 0 2rem;
}
.nav-list {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list a {
    color: #003366;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0055A5;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-list a:hover,
.nav-list a.active {
    color: #0055A5;
    font-weight: 700;
}
.nav-list a:hover::after,
.nav-list a.active::after {
    width: 70%;
}

/* CALL TO ACTION BUTTON */
.call-btn {
    background: #0055A5;
    color: white;
    padding: 0.65rem 1.3rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,85,165,0.2);
    transition: all 0.3s ease;
}
.call-btn:hover {
    background: #003366;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,85,165,0.3);
}
.header-login-btn {
    display: inline-flex;
}
.mobile-header-actions {
    display: none;
}
.mobile-login-btn {
    display: none !important;
}

/* ========================================
   DROPDOWNS â€“ CLEAN & PROFESSIONAL
   ======================================== */
.dropdown {
    position: relative;
}
.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 240px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    z-index: 1000;
    padding: 0.6rem 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    border: 1px solid var(--brand-border);
}
.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}
.dropdown:not(:hover) > .dropdown-menu {
    transition-delay: 0.2s;
}
.dropdown:hover > .dropdown-toggle,
.dropdown .dropdown-toggle.active {
    color: #0055A5;
}
.dropdown-menu a {
    color: var(--brand-ink) !important;
    padding: 0.8rem 1.4rem;
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}
.dropdown-menu a:hover {
    background: #f8fbff;
    color: #0055A5 !important;
    padding-left: 1.8rem;
}
.bi-chevron-down {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}
.dropdown:hover > .dropdown-toggle > .bi-chevron-down,
.dropdown:focus-within > .dropdown-toggle > .bi-chevron-down {
    transform: rotate(180deg);
}

/* MOBILE TOGGLE */
.mobile-toggle {
    display: none;
    font-size: 1.9rem;
    color: #003366;
    background: transparent;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: all 0.3s;
}
.mobile-toggle:hover {
    background: var(--brand-surface-alt);
    border-color: #0055A5;
}

/* RESPONSIVE HEADER */
@media (max-width: 992px) {
    .nav-list { gap: 0.8rem; }
    .nav-list a { padding: 0.5rem 0.8rem; font-size: 0.92rem; }
    .call-btn { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
    .logo { height: 50px; }
}
@media (max-width: 768px) {
    .mobile-header-actions {
        display: inline-flex;
        align-items: center;
        justify-self: end;
        gap: 0.45rem;
        min-width: max-content;
    }
    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .main-nav, .header-login-btn { display: none; }
    .header-container {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        padding: 0 1rem;
        gap: 0.6rem;
    }
    .logo-link {
        justify-self: start;
        min-width: 0;
    }
    .mobile-login-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 0.48rem 0.85rem;
        font-size: 0.84rem;
        line-height: 1;
        min-height: 38px;
    }
    .logo { height: 48px; }
    .logo-text {
        display: inline-block;
        justify-self: stretch;
        min-width: 0;
        max-width: 100%;
        padding: 0.25rem 0.9rem;
        border-radius: 999px;
        background: #ffffff;
        border: 1.5px solid #003366;
        box-shadow: 0 6px 16px rgba(0,0,0,0.08);
        font-size: clamp(0.76rem, 2.2vw, 0.95rem);
        font-weight: 800;
        text-shadow: none;
        -webkit-text-stroke: 0;
        text-stroke: 0;
        line-height: 1.15;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    body { padding-top: 82px; }
}

/* ========================================
   SIDEBAR (MOBILE) â€“ CLEAN WHITE THEME
   ======================================== */
.sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: #FFFFFF;
    z-index: 2000;
    transition: left 0.35s ease, visibility 0.35s ease;
    color: #003366;
    overflow-y: auto;
    box-shadow: 2px 0 20px rgba(0,0,0,0.1);
    border-right: 1px solid var(--brand-border);
    visibility: hidden;
    pointer-events: none;
}
.sidebar.active {
    left: 0;
    visibility: visible;
    pointer-events: auto;
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--brand-border);
}
.sidebar-logo { max-width: 65px; height: auto; }
.sidebar-close {
    font-size: 1.8rem;
    color: #003366;
    background: transparent;
    border: none;
    cursor: pointer;
}
.sidebar-nav a {
    display: block;
    padding: 1.1rem 1.8rem;
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--brand-border);
    transition: all 0.3s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background: #f8fbff;
    color: #0055A5;
    padding-left: 2.2rem;
}
.sidebar-nav .sidebar-login-btn {
    display: block;
    text-align: center;
    margin: 1rem 1.8rem 1.4rem;
    padding: 0.65rem 1.3rem;
    border-bottom: none;
}
.sidebar-nav .sidebar-login-btn:hover,
.sidebar-nav .sidebar-login-btn:focus {
    background: var(--brand-blue);
    color: #ffffff;
    padding: 0.65rem 1.3rem;
}
.sidebar .sub-menu {
    display: none;
    background: #FFFFFF;
    border-left: 4px solid #0055A5;
}
.sidebar .sub-menu.active { display: block; }
.sidebar .sub-menu a {
    padding-left: 3rem;
    font-weight: 500;
    color: #003366;
}
.sidebar .sub-menu a:hover {
    background: #f8fbff;
    color: #0055A5;
}

/* ========================================
   HERO SWIPER â€“ ENHANCED
   ======================================== */
.hero-swiper {
    width: 100%;
    height: 68vh; /* reduced from 82vh to make banner shorter */
    position: relative;
    margin: 0;
}
.hero-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,51,102,0.12), rgba(0,85,165,0.04));
    display: flex;
    align-items: center;
    z-index: 5;
}
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem;
    color: white;
    text-align: center;
    background: rgba(0,17,43,0.18);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 18px;
    backdrop-filter: blur(6px);
}
.hero-title {
    font-size: var(--fs-h1);
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
}
.hero-title span { color: var(--brand-blue-accent); }
.hero-subtitle {
    font-size: var(--fs-hero-sub);
    margin-bottom: 2.2rem;
    opacity: 0.96;
    font-weight: 400;
}
.hero-overlay .hero-title,
.hero-overlay .hero-subtitle {
    text-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.hero-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.swiper-pagination-bullet-active { background: var(--brand-blue-accent); opacity: 1; }

/* ========================================
   FACILITIES HERO
   ======================================== */
.facilities-hero {
    position: relative;
    padding: 0;
    background: linear-gradient(120deg, rgba(0,51,102,0.48), rgba(0,85,165,0.25)), url('../images/michiru/michiru-05.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.facilities-hero .hero-overlay {
    position: relative;
    background: rgba(0,17,43,0.28);
    height: auto;
    padding: 6.5rem 0;
    backdrop-filter: blur(1px);
}
.facilities-hero h1,
.facilities-hero p {
    color: #fff;
}
.facilities-hero::before,
.facilities-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}
.facilities-hero::before {
    width: 260px;
    height: 260px;
    top: -90px;
    right: -80px;
    background: radial-gradient(circle, rgba(10,101,194,0.16), rgba(10,101,194,0));
}
.facilities-hero::after {
    width: 320px;
    height: 320px;
    bottom: -140px;
    left: -120px;
    background: radial-gradient(circle, rgba(0,85,165,0.35), rgba(0,85,165,0));
}
.facilities-hero .hero-actions {
    margin-top: 1.8rem;
    gap: 1rem;
}
.facilities-hero .btn-outline {
    border-color: rgba(255,255,255,0.7);
}

/* ========================================
   FACILITIES PAGE
   ======================================== */
.section-head {
    text-align: center;
    margin-bottom: 2.2rem;
}
.section-head .lead-text {
    margin-bottom: 0;
}
.facilities-intro {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}
.facilities-intro::after {
    content: '';
    position: absolute;
    right: -120px;
    bottom: -140px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0,85,165,0.12), rgba(0,85,165,0));
    border-radius: 50%;
}
.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.6rem;
    align-items: center;
}
.intro-copy h2 {
    text-align: left;
    margin-bottom: 1rem;
}
.intro-copy p {
    font-size: 1.05rem;
    color: var(--brand-ink-soft);
}
.facility-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
}
.stat-pill {
    background: #ffffff;
    border: 1px solid #e7edf5;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    color: #003366;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}
.intro-image {
    border-radius: 18px;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    position: relative;
    overflow: hidden;
}
.intro-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.35));
}
.facilities-grid-section {
    background: #ffffff;
    padding: 4.5rem 0;
}
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}
.facility-item {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.facility-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0055A5, #0A65C2);
}
.facility-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}
.facility-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}
.facility-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.facility-item:hover .facility-img img {
    transform: scale(1.06);
}
.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1rem;
}
.facility-badge {
    background: rgba(255,255,255,0.95);
    color: #003366;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}
.img-overlay i {
    color: #ffffff;
    background: rgba(0,0,0,0.35);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.facility-content {
    padding: 1.4rem 1.6rem 1.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}
.facility-content h3 {
    color: #003366;
    margin-bottom: 0.5rem;
}
.facility-content p {
    color: var(--brand-ink-soft);
    margin: 0;
}
.facility-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 0.6rem;
}
.facility-tags span {
    background: #f0f6ff;
    color: #003366;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--brand-border);
}
.facility-snapshot {
    background: #ffffff;
    padding: 4.5rem 0;
}
.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.6rem;
}
.snapshot-card {
    background: #f8fbff;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.snapshot-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(10,101,194,0.14), rgba(10,101,194,0));
    border-radius: 50%;
}
.snapshot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.12);
}
.snapshot-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #003366, #0055A5);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 12px 22px rgba(0,51,102,0.2);
}
.snapshot-card h3 {
    margin: 0 0 0.6rem;
    color: #003366;
}
.snapshot-card p {
    margin: 0;
    color: var(--brand-ink-soft);
}
.snapshot-tag {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--brand-border);
    color: #003366;
    font-weight: 600;
    font-size: 0.82rem;
}
.facility-support {
    background: #f8fbff;
    padding: 4.5rem 0;
}
.support-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.4rem;
    align-items: center;
}
.support-copy h2 {
    text-align: left;
    margin-bottom: 0.8rem;
}
.facility-support h2::after {
    margin-left: 0;
    margin-right: auto;
}
.support-copy p {
    color: var(--brand-ink-soft);
    font-size: 1.05rem;
}
.support-list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
    display: grid;
    gap: 0.9rem;
}
.support-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    color: #003366;
    font-weight: 600;
}
.support-list i {
    color: #0055A5;
    font-size: 1.2rem;
    margin-top: 0.1rem;
}
.support-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0,0,0,0.18);
}
.support-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}
.facility-gallery {
    background: #f8fbff;
    padding: 4.5rem 0;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}
.gallery-tile {
    border-radius: 16px;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0,0,0,0.16);
    transform: translateZ(0);
}
.gallery-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.35));
    opacity: 0.15;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-tile:hover::after {
    opacity: 0.6;
}
.gallery-tile.tile-wide {
    grid-column: span 6;
    min-height: 260px;
}
.gallery-tile.tile-tall {
    grid-column: span 4;
    min-height: 360px;
}
.gallery-tile.tile-square {
    grid-column: span 4;
    min-height: 220px;
}

.facilities-cta {
    position: relative;
    overflow: hidden;
}
.facilities-cta::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10,101,194,0.16), rgba(10,101,194,0));
}

@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    .support-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .gallery-tile.tile-wide {
        grid-column: span 6;
    }
    .gallery-tile.tile-tall,
    .gallery-tile.tile-square {
        grid-column: span 3;
    }
}
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-tile {
        grid-column: span 2;
        min-height: 180px;
    }
    .snapshot-card {
        padding: 1.4rem;
    }
    .support-list li {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
    .facility-img {
        height: 160px;
    }
    .facility-content {
        padding: 1.1rem 1.2rem 1.3rem;
    }
    .facility-content h3 {
        font-size: 1rem;
    }
    .facility-tags span {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 520px) {
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .facility-img {
        height: 140px;
    }
    .facility-content {
        padding: 1rem 1rem 1.1rem;
    }
}

/* ========================================
   SECTIONS â€“ PROFESSIONAL
   ======================================== */
section {
    padding: 5rem 0;
}
section h2 {
    text-align: center;
    color: #003366;
    margin-bottom: 1.8rem;
    font-size: 2.4rem;
    font-weight: 700;
    position: relative;
}
section h2::after {
    content: '';
    width: 90px;
    height: 4px;
    background: #0055A5;
    display: block;
    margin: 1rem auto 0;
    border-radius: 2px;
}
.lead-text {
    font-size: 1.18rem;
    max-width: 920px;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: var(--brand-ink-soft);
    font-weight: 400;
}
.section-kicker {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0055A5;
    font-weight: 700;
    font-size: 0.78rem;
    margin-bottom: 0.8rem;
}
.hero-overlay .section-kicker {
    color: rgba(255,255,255,0.82);
}

/* ========================================
   HOME PAGE
   ======================================== */
.home-actions {
    background: radial-gradient(circle at top left, #f4f9ff 0%, #ffffff 60%);
    padding: 2.6rem 0 1.6rem;
}
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
}
.action-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e6eef7;
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.action-card i {
    font-size: 1.4rem;
    color: #ffffff;
    background: linear-gradient(135deg, #003366, #0055A5);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(0,51,102,0.22);
}
.action-card h3 {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
    color: #003366;
}
.action-card p {
    margin: 0;
    color: var(--brand-ink-soft);
}
.action-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.12);
}
.home-trust {
    background: #ffffff;
    padding: 2.6rem 0;
    border-bottom: 1px solid #eef2f7;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.4rem;
}
.trust-item {
    background: #f8fbff;
    border: 1px solid #e6eef7;
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    text-align: center;
}
.trust-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #003366;
}
.trust-label {
    color: var(--brand-ink-soft);
    font-weight: 600;
}
.home-about {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.6rem;
    align-items: center;
}
.about-copy h2 {
    text-align: left;
    margin-bottom: 1rem;
}
.about-copy p {
    color: var(--brand-ink-soft);
    font-size: 1.05rem;
}
.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.4rem;
}
.highlight-pill {
    background: #ffffff;
    border: 1px solid #e7edf5;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    color: #003366;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}
.about-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}
.home-about .btn-outline {
    border-color: #003366;
    color: #003366;
}
.home-about .btn-outline:hover {
    background: #003366;
    color: #ffffff;
}
.about-media {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.8rem;
}
.media-tile {
    border-radius: 16px;
    min-height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0,0,0,0.16);
}
.media-tile.large {
    grid-column: span 6;
    min-height: 260px;
}
.media-tile.small {
    grid-column: span 3;
    min-height: 160px;
}
.home-pillars {
    background: #ffffff;
}
.home-mvv {
    background: #ffffff;
    padding: 4.5rem 0;
}
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
}
.mvv-card {
    background: #f8fbff;
    border: 1px solid #e7edf5;
    border-radius: 16px;
    padding: 1.6rem;
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}
.mvv-card i {
    font-size: 1.8rem;
    color: #0055A5;
}
.mvv-card h3 {
    margin: 0.8rem 0 0.5rem;
    color: #003366;
}
.mvv-card p {
    margin: 0;
    color: var(--brand-ink-soft);
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
}
.pillar-card {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 16px;
    padding: 1.6rem;
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.12);
}
.pillar-card i {
    font-size: 1.8rem;
    color: #0055A5;
}
.pillar-card h3 {
    margin: 0.8rem 0 0.6rem;
    color: #003366;
}
.pillar-card p {
    margin: 0;
    color: var(--brand-ink-soft);
}
.home-showcase {
    background: #f8fbff;
}
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}
.showcase-card {
    position: relative;
    min-height: 280px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.16);
    display: flex;
    align-items: flex-end;
}
.showcase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.65) 100%);
}
.showcase-content {
    position: relative;
    z-index: 1;
    padding: 1.8rem;
    color: #ffffff;
}
.showcase-content span {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
.showcase-content h3 {
    margin: 0.8rem 0 0;
    color: #ffffff;
}
.home-facilities {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.facility-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}
.facility-preview-card {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.facility-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.14);
}
.facility-preview-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.facility-preview-body {
    padding: 1.4rem;
}
.facility-preview-body h3 {
    color: #003366;
    margin-bottom: 0.6rem;
}
.facility-preview-body p {
    margin: 0;
    color: var(--brand-ink-soft);
}
.home-gallery {
    background: #ffffff;
    padding: 4.5rem 0;
}
.home-gallery .gallery-grid {
    margin-top: 2.2rem;
}
.home-results {
    background: linear-gradient(135deg, #003366, #0055A5);
    color: #ffffff;
}
.home-results h2,
.home-results p,
.home-results .section-kicker {
    color: #ffffff;
}
.home-results h2::after {
    background: rgba(255,255,255,0.5);
}
.home-quote {
    background: #f8fbff;
    padding: 3.5rem 0;
}
.quote-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.4rem;
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.4rem;
    align-items: center;
}
.quote-card p {
    margin: 0 0 0.6rem;
    color: var(--brand-ink);
    font-size: 1.2rem;
    font-weight: 600;
}
.quote-card span {
    color: #0055A5;
    font-weight: 700;
}
.quote-mark {
    font-size: 4rem;
    color: var(--brand-blue-strong);
    line-height: 1;
}
.results-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.4rem;
    align-items: center;
}
.results-cards {
    display: grid;
    gap: 1rem;
}
.result-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 1.2rem 1.4rem;
    border-radius: 14px;
}
.result-card strong {
    font-size: 1.5rem;
    display: block;
}
.result-card span {
    opacity: 0.9;
}
.home-cta {
    background: #ffffff;
    padding: 3.5rem 0;
    text-align: center;
}
.cta-box {
    background: #003366;
    color: #ffffff;
    padding: 2.6rem;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    position: relative;
    overflow: hidden;
}
.cta-box::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(10,101,194,0.16), rgba(10,101,194,0));
    border-radius: 50%;
}
.cta-box p {
    color: rgba(255,255,255,0.9);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .results-grid {
        grid-template-columns: 1fr;
    }
    .media-tile.large {
        grid-column: span 6;
    }
    .media-tile.small {
        grid-column: span 3;
    }
    .quote-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
@media (max-width: 600px) {
    .about-media {
        grid-template-columns: repeat(2, 1fr);
    }
    .media-tile.large,
    .media-tile.small {
        grid-column: span 2;
        min-height: 180px;
    }
}

/* NEWS */
.news-section-first { padding-top: 2.5rem; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
    margin-top: 2.5rem;
}
.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    transition: all 0.35s ease;
    display: flex;
    height: 100%;
    border: 1px solid var(--brand-border);
}
.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.14);
}
.news-img {
    width: 130px;
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.news-img i { font-size: 3rem; color: #0055A5; }
.news-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-body h3 {
    font-size: 1.25rem;
    margin: 0 0 0.6rem;
    color: #003366;
    font-weight: 700;
}
.news-body time {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 0.6rem;
    font-weight: 500;
}
.news-body p {
    flex-grow: 1;
    margin: 0.6rem 0;
    font-size: 0.98rem;
    color: var(--brand-ink-soft);
}
.read-more {
    color: #0055A5;
    font-weight: 700;
    font-size: 0.92rem;
    margin-top: auto;
    text-decoration: none;
}
.read-more:hover { text-decoration: underline; }

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 2.2rem;
    margin: 3.5rem 0;
    text-align: center;
}
.stat h3 {
    font-size: 3rem;
    color: #0055A5;
    margin: 0;
    font-weight: 800;
    letter-spacing: -1px;
}
.stat p {
    color: #003366;
    font-weight: 600;
    margin-top: 0.6rem;
    font-size: 1.05rem;
}


/* ========================================
   CAMPUS PAGES (HERO, INFO CARDS, CTA)
   Reusable styles for campus pages
   ======================================== */
.hero-campus {
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    min-height: 48vh;
    padding: 3.5rem 0;
}

/* Ensure all hero-style sections use the same banner text color and highlight as the homepage */
.hero-campus h1,
.hero-about h1,
.hero-admissions h1,
.hero-fees h1,
.hero-alumni h1,
.hero-contact h1,
.hero-student-life h1 {
    color: #ffffff;
}
.hero-campus p,
.hero-about p,
.hero-admissions p,
.hero-fees p,
.hero-alumni p,
.hero-contact p,
.hero-student-life p {
    color: rgba(255,255,255,0.95);
}
.hero-campus h1 span,
.hero-about h1 span,
.hero-admissions h1 span,
.hero-fees h1 span,
.hero-alumni h1 span,
.hero-contact h1 span,
.hero-student-life h1 span {
    color: var(--brand-blue-accent);
}
.campus-info { margin-top: 0.8rem; margin-bottom: 1.6rem; }
.campus-info p { color: var(--brand-ink-soft); font-size: 1.05rem; }
.campus-overview,
.campus-details {
    background: #ffffff;
}
.campus-fees {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.campus-actions {
    margin-top: 1.2rem;
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}
.campus-actions.center {
    justify-content: center;
}
.campus-list {
    margin: 0.6rem 0 0 1.1rem;
    color: var(--brand-ink-soft);
    line-height: 1.8;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
}
.info-card {
    background: #fff;
    padding: 1.6rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    text-align: left;
    border: 1px solid var(--brand-border);
}
.info-card h3 { color: #003366; margin-top: 0.4rem; }
.info-card ul { margin: 0.6rem 0 0 1.1rem; color: var(--brand-ink); }
.info-icon { font-size: 2rem; color: #0055A5; }
.cta-section {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    padding: 2.8rem 0;
    text-align: center;
}
.cta-section h2 { color: #003366; margin-bottom: 0.6rem; }
.cta-section .cta-copy {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto;
    color: var(--brand-ink-soft);
}
.fees-pill.filter-pill {
    cursor: pointer;
    text-decoration: none;
}
.fees-pill.filter-pill.active {
    background: #0055A5;
    color: #ffffff;
    border-color: #0055A5;
}
.activity-pill {
    display: inline-block;
    margin-bottom: 0.6rem;
}
.activity-quote {
    margin-top: 0.8rem;
    font-style: italic;
    color: var(--brand-ink-muted);
    font-size: 0.95rem;
}

/* Student Life: Cool Enhancements */
.student-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.student-hero::before,
.student-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}
.student-hero::before {
    width: 240px;
    height: 240px;
    top: -90px;
    right: -70px;
    background: radial-gradient(circle, rgba(10,101,194,0.16), rgba(10,101,194,0));
}
.student-hero::after {
    width: 300px;
    height: 300px;
    bottom: -140px;
    left: -120px;
    background: radial-gradient(circle, rgba(0,85,165,0.35), rgba(0,85,165,0));
}
.student-hero-inner {
    display: inline-block;
    padding: 2.4rem 2.2rem;
    border-radius: 20px;
    background: rgba(0,17,43,0.38);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    backdrop-filter: blur(5px);
}
.student-hero .section-kicker {
    color: rgba(255,255,255,0.85);
}
.student-hero-inner .hero-subtitle {
    font-size: 1.2rem;
    max-width: 820px;
    margin: 1rem auto;
}
.student-hero-actions {
    margin-top: 1.6rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.student-hero .btn-outline {
    border-color: rgba(255,255,255,0.7);
}
.student-trust .trust-item {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    padding: 1.4rem 1.2rem;
    box-shadow: 0 12px 26px rgba(0,0,0,0.08);
}
.student-trust .trust-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #003366, #0055A5);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    box-shadow: 0 10px 18px rgba(0,51,102,0.2);
}
.student-trust .trust-value {
    color: #003366;
}
.student-filter-bar {
    text-align: center;
}
.student-filter-bar .activity-filters {
    display: inline-flex;
    background: #ffffff;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--brand-border);
    box-shadow: 0 12px 22px rgba(0,0,0,0.08);
    justify-content: center;
}
.student-life-section .campus-detail-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--brand-border);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.student-life-section {
    background: var(--brand-surface-alt);
    position: relative;
    overflow: hidden;
}
.student-life-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0,85,165,0.12), rgba(0,85,165,0));
    border-radius: 50%;
}
.student-life-section .campus-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0055A5, #0A65C2);
}
.student-life-section .campus-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.14);
}
.student-life-section .campuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}
.student-life-section .campus-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.student-life-section .campus-card-body {
    padding: 1.4rem 1.6rem 1.6rem;
}
.student-life-section .campus-card-body h3 {
    margin: 0 0 0.5rem;
    color: #003366;
}
.student-life-section .campus-card-body p {
    margin: 0;
    color: var(--brand-ink-soft);
}
.student-life-section .life-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #003366, #0055A5);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    box-shadow: 0 10px 18px rgba(0,51,102,0.2);
}
.student-rhythm .fee-card {
    border: 1px solid var(--brand-border);
    background: #ffffff;
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.student-rhythm {
    background: linear-gradient(180deg, #ffffff 0%, var(--brand-surface-alt) 100%);
    padding: 4.5rem 0;
}
.student-rhythm .fees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
}
.student-rhythm .fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px dashed #e4edf7;
}
.student-rhythm .fee-row:last-child {
    border-bottom: none;
}
.student-rhythm .fee-label {
    color: var(--brand-ink-soft);
    font-weight: 600;
}
.student-rhythm .fee-value {
    color: #003366;
    font-weight: 700;
}
.student-rhythm .fee-value.muted {
    color: #888;
    font-weight: 600;
}
.student-rhythm .schedule-card::before,
.student-rhythm .services-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0055A5, #0A65C2);
}
.student-rhythm .fee-card {
    position: relative;
    overflow: hidden;
}
.student-quote .quote-card {
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid var(--brand-border);
}
.student-quote .quote-mark {
    color: #0055A5;
}
.student-activities .news-card {
    border: 1px solid var(--brand-border);
}
.student-activities .activity-pill {
    background: #eaf2ff;
}

/* ========================================
   ADMISSIONS
   ======================================== */
.admissions-process {
    padding: 4rem 0;
    background: #ffffff;
}
.admissions-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.6rem;
}
.step-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}
.step-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0,85,165,0.15), rgba(0,85,165,0));
    border-radius: 50%;
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #003366, #0055A5);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.8rem;
    box-shadow: 0 10px 18px rgba(0,51,102,0.2);
}
.step-card h3 {
    margin: 0 0 0.6rem;
    color: #003366;
}
.step-card p {
    margin: 0;
    color: var(--brand-ink-soft);
}
.admissions-requirements {
    background: var(--brand-surface-alt);
    padding: 4rem 0;
}
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
}
.req-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.req-card h3 {
    margin: 0 0 0.8rem;
    color: #0055A5;
}
.req-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--brand-ink-soft);
}
.requirements-note {
    text-align: center;
    margin-top: 1.6rem;
    color: #666;
    font-style: italic;
}
.admissions-form-section {
    padding: 4rem 0;
    background: #ffffff;
}
.admission-form {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 14px 32px rgba(0,0,0,0.1);
}
.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.4rem;
}
.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.4rem;
}
.form-section-title {
    color: #0055A5;
    margin: 2rem 0 1rem;
    font-size: 1.2rem;
}
.form-help {
    display: block;
    margin-top: 0.4rem;
    color: var(--brand-ink-muted);
    font-size: 0.9rem;
}
.form-actions {
    margin-top: 2.4rem;
    text-align: center;
}
.admissions-help {
    background: #f8fbff;
    padding: 3.5rem 0;
}
.help-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    box-shadow: 0 14px 32px rgba(0,0,0,0.1);
}
.help-card h2 {
    margin: 0 0 0.4rem;
    color: #003366;
}
.help-card p {
    margin: 0;
    color: var(--brand-ink-soft);
}
@media (max-width: 900px) {
    .help-card {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .student-hero-inner {
        width: 100%;
        padding: 2rem 1.6rem;
    }
    .student-filter-bar .activity-filters {
        border-radius: 18px;
    }
    .student-life-section .campus-card-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .hero-campus { min-height: 36vh; padding: 2.2rem 0; }
}
.campus-card {
    background: white;
    border: 1px solid #e8ecef;
    border-radius: 18px;
    padding: 2.2rem 1.6rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.campus-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.16);
}
.campus-card.pre-school h3 { color: var(--brand-blue-strong); }
.icon-large {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    color: #0055A5;
}
a.campus-card {
    text-decoration: none;
    color: inherit;
}
.campus-card.campus-with-photos {
    padding: 1.2rem 1.4rem 1.6rem;
    text-align: left;
}
.campus-card.campus-with-photos h3 {
    margin: 0.9rem 0 0.35rem;
}
.campus-card.campus-with-photos p {
    margin: 0;
    color: var(--brand-ink-soft);
}
.campus-photo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
}
.campus-photo {
    width: 100%;
    padding-top: 70%;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.campus-card.campus-banner {
    background-size: cover;
    background-position: center;
    color: #fff;
    border: none;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    padding: 2.2rem;
    overflow: hidden;
}
.campus-card.campus-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 0;
}
.campus-card.campus-banner > * {
    position: relative;
    z-index: 1;
}
.campus-card.campus-banner h3 {
    color: #fff;
    margin-bottom: 0.3rem;
}
.campus-card.campus-banner p {
    color: rgba(255,255,255,0.92);
    margin: 0;
}
.campus-card.campus-banner .icon-large {
    color: rgba(255,255,255,0.9);
}
.campus-card.campus-pre {
    background-image: url('../images/michiru/michiru-04.jpg');
}
.campus-card.campus-primary {
    background-image: url('../images/michiru/michiru-05.jpg');
}
.campus-card.campus-boys {
    background-image: url('../images/michiru/michiru-06.jpg');
}
.campus-card.campus-girls {
    background-image: url('../images/michiru/michiru-03.jpg');
}
.campus-popup {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(18px);
    background: white;
    padding: 1.8rem;
    border-radius: 18px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.22);
    width: 340px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    z-index: 100;
    border: 1px solid var(--brand-border);
}
.campus-card:hover + .campus-popup,
.campus-popup:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(8px);
}
.campus-popup::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border: 12px solid transparent;
    border-bottom-color: white;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    font-size: 1rem;
}
.btn-primary {
    background: var(--brand-blue);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0,85,165,0.26);
}
.btn-primary:hover {
    background: var(--brand-navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,51,102,0.28);
}
.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}
.btn-outline:hover {
    background: white;
    color: #003366;
}
.btn-secondary {
    background: #0055A5;
    color: white;
}
.btn-secondary:hover {
    background: #003366;
}
.btn-lg {
    padding: 1.5rem 5.5rem;
    font-size: 1.45rem;
    font-weight: 700;
    background: var(--brand-blue);
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(0,85,165,0.28);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
.btn-lg:hover {
    background: var(--brand-navy);
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0,51,102,0.3);
}

/* FOOTER */
footer {
    background: #002240;
    color: #ccc;
    text-align: center;
    padding: 3.5rem 0;
}
.footer-credit {
    text-align: center;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    justify-content: center;
    margin: 1.8rem 0;
}
.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.98rem;
}
.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-swiper { height: 54vh; }
    .hero-title { font-size: 2.3rem; }
    .hero-subtitle { font-size: 1.15rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .news-card { flex-direction: column; }
    .news-img { width: 100%; height: 110px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .campus-popup { width: 92%; left: 50%; }
    .btn-lg { font-size: 1.25rem; padding: 1.1rem 3.5rem; }
    .footer-credit {
        white-space: nowrap;
        font-size: 0.78rem;
        overflow-x: auto;
    }
}

/* Portal modals removed (login UI was removed) */

/* ----------------------------------------
   Site polish: form controls, portal boxes
   and small interaction improvements
   ---------------------------------------- */
.portal-box, .login-container {
    max-width: 720px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.06);
    border: 1px solid var(--brand-border);
}
.portal-box h2, .login-container h2 { color: #003366; margin-bottom: 0.6rem; }
.portal-box p, .login-container p { color: var(--brand-ink-soft); }

/* Unified form controls */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="date"], input[type="file"], textarea, select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    font-size: 1rem;
    color: #222;
    transition: all 0.18s ease;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #0055A5;
    box-shadow: 0 6px 20px rgba(0,85,165,0.08);
}
textarea { min-height: 160px; resize: vertical; }

.form-group { margin-bottom: 0.9rem; }
.error-msg { color: #c00; margin-top: 0.6rem; }

/* Make value cards lift slightly and use subtle scale */
.value-card, .info-card { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.value-card:hover, .info-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }

/* Improve readability for long text blocks */
p { line-height: 1.8; }

/* Subtle improvement to footer links spacing on small screens */
@media (max-width: 480px) {
    .footer-links { gap: 1rem; }
    .footer-credit { font-size: 0.74rem; }
}
@media (max-width: 768px) {
    :root {
        --fs-base: 0.95rem;
        --fs-sm: 0.84rem;
        --fs-xs: 0.75rem;
        --fs-h1: 2.2rem;
        --fs-h2: 1.6rem;
        --fs-h3: 1.05rem;
        --fs-hero-sub: 1.05rem;
        --fs-lead: 1rem;
    }
    p { line-height: 1.65; }
    .lead-text { line-height: 1.6; }
    .hero-title { letter-spacing: -0.2px; }
    .hero-subtitle { margin-bottom: 1.6rem; }
}

/* Breadcrumbs (used in campus pages) */
.breadcrumb {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 0;
    margin: 0 0 1rem 0;
    color: rgba(255,255,255,0.95);
    font-size: 0.95rem;
}
.breadcrumb a { color: rgba(255,255,255,0.95); text-decoration: underline; }
.breadcrumb li.separator { color: rgba(255,255,255,0.75); }

/* ========================================
   CONTACT PAGE
   ======================================== */
.hero-contact {
    background: linear-gradient(rgba(0,51,102,0.55), rgba(0,85,165,0.35)), url('../images/michiru/michiru-11.jpg') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    padding: 7rem 0;
}
.contact-section {
    background: var(--brand-surface-alt);
    padding: 5rem 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.6rem;
    align-items: start;
}
.contact-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--brand-border);
    box-shadow: 0 14px 36px rgba(0,0,0,0.08);
}
.contact-form-card {
    padding: 2.6rem;
}
.contact-title {
    color: #003366;
    margin: 0 0 0.6rem;
    font-size: 1.9rem;
    position: relative;
    padding-bottom: 0.8rem;
    text-align: left;
}
.contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64px;
    height: 4px;
    background: var(--brand-blue-strong);
    border-radius: 2px;
}
.contact-intro {
    color: var(--brand-ink-muted);
    margin-bottom: 1.6rem;
}
.contact-form {
    display: grid;
    gap: 1.1rem;
}
.contact-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.contact-field label {
    display: block;
    font-weight: 600;
    color: #003366;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}
.contact-field input,
.contact-field textarea {
    background: #fbfdff;
    border: 1.5px solid #dbe5f0;
    border-radius: 10px;
    padding: 0.95rem 1rem;
    font-size: 1rem;
}
.contact-field textarea { min-height: 160px; resize: vertical; }
.contact-btn {
    background: linear-gradient(135deg, #0055A5, #003366);
    color: #ffffff;
    padding: 0.95rem 1.8rem;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0,51,102,0.22);
}
.contact-info-grid {
    display: grid;
    gap: 1.2rem;
    margin-bottom: 2rem;
}
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 1.6rem;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--brand-border);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    --accent: #0055A5;
}
.contact-info-card h3 {
    margin: 0;
    color: #003366;
    font-size: 1.05rem;
}
.contact-info-card p {
    margin: 0.3rem 0 0;
    color: var(--brand-ink-soft);
    font-size: 0.95rem;
}
.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 10px 18px rgba(0,0,0,0.12);
    flex-shrink: 0;
}
.contact-info-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}
.contact-info-card a:hover { text-decoration: underline; }
.contact-info-card.accent-red { --accent: #003366; }
.contact-info-card.accent-pink { --accent: #0055A5; }
.contact-info-card.accent-green { --accent: #0A65C2; }
.contact-info-card.accent-blue { --accent: #0055A5; }
.contact-map {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
    height: 320px;
    border: 1px solid var(--brand-border);
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.contact-hours {
    background: #ffffff;
    padding: 3.5rem 0;
}
.hours-card {
    background: #f8fbff;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.4rem;
    align-items: center;
}
.hours-title {
    text-align: left;
    margin: 0 0 0.4rem;
    font-size: 1.8rem;
    color: #003366;
}
.hours-title::after { display: none; }
.hours-intro { color: var(--brand-ink-soft); margin: 0; }
.hours-list {
    display: grid;
    gap: 0.8rem;
}
.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 12px;
    font-weight: 600;
    color: #003366;
}
.hours-item span { color: var(--brand-ink-muted); font-weight: 600; }
.hours-item strong { color: #003366; }
.contact-cta {
    background: linear-gradient(135deg, #003366, #0055A5);
    color: #ffffff;
    text-align: center;
    padding: 4rem 0;
}
.contact-cta h2::after { display: none; }
.contact-cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,0.92);
}
.contact-cta .cta-btn {
    display: inline-block;
    background: var(--brand-blue-strong);
    color: #ffffff;
    padding: 0.95rem 2.3rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 12px 26px rgba(0,0,0,0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-cta .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.22);
}
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
    .hours-card { grid-template-columns: 1fr; text-align: center; }
    .hours-title { text-align: center; }
    .hours-item { flex-direction: column; gap: 0.3rem; }
}
@media (max-width: 600px) {
    .contact-row { grid-template-columns: 1fr; }
    .contact-form-card { padding: 2rem; }
    .contact-info-card { align-items: flex-start; }
    .contact-icon { margin-top: 0.2rem; }
}

/* Contact link style */
.contact-link { color: #0055A5; text-decoration: none; font-weight: 600; }
.contact-link:hover { text-decoration: underline; }

/* ========================================
   STUDENT LIFE
   ======================================== */
.student-stats {
    background: linear-gradient(135deg, #003366, #0055A5);
    color: #ffffff;
    padding: 2.5rem 0;
}
.student-stats .stats-grid {
    margin: 0;
}
.student-stats .stat h3 {
    color: var(--brand-blue-accent);
    font-size: 2.6rem;
    margin: 0;
}
.student-stats .stat p {
    margin: 0.5rem 0 0;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}
.student-filters {
    padding: 2rem 0 0;
    background: #ffffff;
}
.activity-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}
.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    border: 1px solid var(--brand-border);
    background: #ffffff;
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}
.filter-btn.active,
.filter-btn:hover {
    background: #0055A5;
    color: #ffffff;
    border-color: #0055A5;
}
.student-life-section {
    padding: 4rem 0;
    background: #ffffff;
}
.student-life-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: start;
}
.life-card,
.schedule-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    padding: 1.8rem;
    box-shadow: 0 12px 26px rgba(0,0,0,0.08);
}
.life-card h3,
.schedule-card h3 {
    margin: 0 0 0.8rem;
    color: #0055A5;
}
.life-card h4,
.schedule-card h4 {
    margin-top: 1.2rem;
    color: #003366;
}
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.8rem;
}
.schedule-table tr {
    border-bottom: 1px solid #e6edf6;
}
.schedule-table td {
    padding: 0.6rem 0;
    color: var(--brand-ink-soft);
}
.schedule-table td:first-child {
    width: 30%;
    font-weight: 700;
    color: #003366;
}
.life-list {
    margin: 0.6rem 0 0 1.1rem;
    color: var(--brand-ink-soft);
    line-height: 1.8;
}
.student-story {
    margin-top: 2rem;
}
.student-story h3 {
    color: #0055A5;
    margin-bottom: 0.8rem;
}
.story-card {
    background: #f8fbff;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    padding: 1.4rem;
    max-width: 800px;
    box-shadow: 0 12px 26px rgba(0,0,0,0.08);
}
.story-card strong {
    display: block;
    margin-top: 0.8rem;
    color: #0055A5;
}
.student-gallery-cta {
    margin-top: 2rem;
    text-align: center;
}
.activities-section {
    padding: 2rem 0 4rem;
    background: #f8fbff;
}
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}
.activity-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--brand-border);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.activity-img {
    height: 180px;
    overflow: hidden;
}
.activity-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.activity-body {
    padding: 1.4rem 1.6rem 1.6rem;
}
.activity-cat {
    display: inline-block;
    background: #eaf2ff;
    color: #003366;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}
.activity-body h3 {
    margin: 0 0 0.6rem;
    color: #003366;
}
.activity-body time {
    display: block;
    color: var(--brand-ink-muted);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}
.activity-body p {
    color: var(--brand-ink-soft);
    margin: 0 0 1rem;
}
.activity-body blockquote {
    margin: 0;
    padding-left: 0.9rem;
    border-left: 3px solid #0055A5;
    color: var(--brand-ink-soft);
}
.activity-body blockquote p {
    margin: 0 0 0.4rem;
    font-style: italic;
}
.activity-body blockquote footer {
    color: #0055A5;
    font-weight: 600;
}
.student-voices {
    background: #ffffff;
    padding: 4rem 0;
}
.student-voices h2 {
    color: #003366;
    margin-bottom: 2rem;
}
.voice-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.6rem;
    border: 1px solid var(--brand-border);
    box-shadow: 0 12px 26px rgba(0,0,0,0.08);
}
.voice-card p {
    color: var(--brand-ink-soft);
    margin: 0 0 0.8rem;
    font-style: italic;
}
.voice-card .voice-name {
    color: #0055A5;
    font-weight: 600;
    margin: 0;
    font-style: normal;
}
@media (max-width: 992px) {
    .student-life-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .activity-img { height: 160px; }
    .student-stats .stat h3 { font-size: 2.2rem; }
}


