:root {
    --primary: #0b1f3a;
    --secondary: #174ea6;
    --gold: #d4a017;
    --light-bg: #f5f7fb;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 15px 45px rgba(0,0,0,0.08);
    --transition: all .35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.7rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
}

/* ========================= */
/* TOP BAR */
/* ========================= */

.topbar {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    font-size: .9rem;
    padding: 10px 0;
}

    .topbar i {
        color: var(--gold);
    }

/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar-custom {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 16px 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary) !important;
}

    .navbar-brand span {
        color: var(--secondary);
    }

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    margin-left: 10px;
    position: relative;
    transition: var(--transition);
}

    .nav-link:hover {
        color: var(--secondary) !important;
    }

    .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 0;
        height: 2px;
        background: var(--secondary);
        transition: var(--transition);
    }

    .nav-link:hover::after {
        width: 100%;
    }

.btn-admission {
    background: linear-gradient(135deg, var(--secondary), #2563eb);
    color: white;
    border-radius: 50px;
    padding: 12px 26px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(37,99,235,.2);
}

    .btn-admission:hover {
        transform: translateY(-3px);
        color: white;
    }

/* ========================= */
/* HERO */
/* ========================= */

.hero-section {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(rgba(7,15,35,.78), rgba(7,15,35,.82)), url('https://images.unsplash.com/photo-1509062522246-3755977927d7?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.hero-title {
    font-size: 4.6rem;
    line-height: 1.1;
    font-weight: 900;
    color: white;
    margin-top: 30px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    line-height: 1.9;
    max-width: 650px;
    margin-top: 30px;
}

.hero-buttons {
    margin-top: 40px;
}

.btn-gold {
    background: linear-gradient(135deg, #d4a017, #eab308);
    color: white;
    border: none;
    padding: 15px 34px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(234,179,8,.25);
}

    .btn-gold:hover {
        transform: translateY(-4px);
        color: white;
    }

.btn-outline-hero {
    border: 1px solid rgba(255,255,255,.4);
    color: white;
    padding: 15px 34px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

    .btn-outline-hero:hover {
        background: white;
        color: var(--primary);
    }

.hero-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(16px);
    border-radius: 28px;
    padding: 40px;
    color: white;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

    .hero-card h2 {
        font-size: 2.5rem;
        font-weight: 800;
    }

    .hero-card p {
        opacity: .8;
    }

/* ========================= */
/* CARDS */
/* ========================= */

.section-padding {
    padding: 100px 0;
}

.school-card {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    background: white;
    transition: all .35s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    height: 100%;
}

    .school-card img {
        height: 260px;
        width: 100%;
        object-fit: cover;
    }

.school-card-body {
    padding: 30px;
}

.school-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #0b1f3a;
}

.school-card-text {
    color: #64748b;
    line-height: 1.8;
}

.feature-box {
    background: white;
    border-radius: 24px;
    padding: 35px;
    height: 100%;
    transition: all .35s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
}

    .feature-box:hover {
        transform: translateY(-10px);
    }

.feature-icon {
    width: 75px;
    height: 75px;
    border-radius: 20px;
    background: rgba(23,78,166,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #174ea6;
    margin-bottom: 25px;
}

.cta-section {
    background: linear-gradient(rgba(11,31,58,.9), rgba(11,31,58,.9)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    overflow: hidden;
}

/* ========================= */
/* STATS */
/* ========================= */

.stats-section {
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow);
    margin-top: -70px;
    position: relative;
    z-index: 10;
}

.stat-box h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary);
}

.stat-box p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .85rem;
    font-weight: 600;
}



/* ========================= */
/* FOOTER */
/* ========================= */

footer {
    background: #071426;
    color: rgba(255,255,255,.75);
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-link {
    display: block;
    color: rgba(255,255,255,.7);
    margin-bottom: 12px;
    transition: var(--transition);
}

    .footer-link:hover {
        color: white;
        padding-left: 5px;
    }

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

    .social-btn:hover {
        background: var(--gold);
        transform: translateY(-4px);
        color: white;
    }

.modern-card {
    background: white;
    border: none;
    border-radius: 32px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow);
}

    .modern-card:hover {
        transform: translateY(-10px);
    }

    .modern-card img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        transition: .5s;
    }

    .modern-card:hover img {
        transform: scale(1.05);
    }

.modern-card-body {
    padding: 30px;
}

/* ========================= */
/* NOTICE BOARD SECTION */
/* ========================= */

.notice-board {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
}

.notice-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 22px 28px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .3px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 28px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

    .notice-item:last-child {
        border-bottom: none;
    }

    .notice-item:hover {
        background: rgba(23,78,166,.03);
        transform: translateX(4px);
    }

.notice-date {
    min-width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(23,78,166,.08);
    color: var(--secondary);
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-shrink: 0;
}

.notice-item h6 {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.notice-item p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: .92rem;
}

/* ========================= */
/* EVENT CARD */
/* ========================= */

.modern-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

    .modern-card:hover {
        transform: translateY(-8px);
    }

    .modern-card img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        transition: .5s ease;
    }

    .modern-card:hover img {
        transform: scale(1.05);
    }

.modern-card-body {
    padding: 40px;
}

.modern-card h2 {
    color: var(--primary);
    font-size: 2rem;
    line-height: 1.3;
}

.modern-card .badge {
    background: rgba(23,78,166,.1) !important;
    color: var(--secondary);
    font-weight: 700;
    font-size: .8rem;
}

.modern-card p {
    color: var(--text-muted);
}

.modern-card h3 {
    font-size: 2.2rem;
    font-weight: 800;
}

/* ========================= */
/* SCHOOL LOGO BRAND */
/* ========================= */

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary) !important;
    line-height: 1.1;
}

.school-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 14px;
    background: white;
    padding: 4px;
    transition: var(--transition);
}

.navbar-brand:hover .school-logo {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: .5px;
}

    .brand-text span {
        color: var(--secondary);
        font-size: 1.15rem;
        font-weight: 900;
    }

/* MOBILE */

@media(max-width:768px) {

    .school-logo {
        width: 48px;
        height: 48px;
    }

    .brand-text {
        font-size: .78rem;
    }

        .brand-text span {
            font-size: .9rem;
        }
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media(max-width:768px) {

    .notice-item {
        padding: 18px 20px;
    }

    .notice-header {
        padding: 18px 20px;
    }

    .notice-date {
        min-width: 58px;
        height: 58px;
        font-size: .8rem;
        border-radius: 14px;
    }

    .modern-card-body {
        padding: 25px;
    }

    .modern-card h2 {
        font-size: 1.5rem;
    }

    .modern-card img {
        height: 240px;
    }
}


/* ========================= */
/* MOBILE */
/* ========================= */

@@media(max-width:992px) {

    .hero-title {
        font-size: 3rem;
    }

    .hero-section {
        text-align: center;
        padding: 120px 0;
    }

    .hero-subtitle {
        margin-inline: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .stats-section {
        margin-top: 50px;
    }
}

@@media(max-width:768px) {

    .section-padding {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .hero-card {
        margin-top: 40px;
    }

    .stat-box h2 {
        font-size: 2rem;
    }
}
