﻿:root {
    --maroon: #7A1F2B;
    --maroon-deep: #59141C;
    --gold: #D9A441;
    --gold-soft: #F0D9A6;
    --green: #2F5233;
    --ivory: #F8F3E7;
    --card: #FFFDF8;
    --ink: #2B1E1A;
    --ink-soft: #5B4A3F;
    --line: #E4D6BC;
}

.infra-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.infra-page {
    background: radial-gradient(ellipse at 10% 0%, rgba(217,164,65,.10), transparent 45%), radial-gradient(ellipse at 90% 15%, rgba(47,82,51,.06), transparent 40%), radial-gradient(ellipse at 50% 100%, rgba(122,31,43,.06), transparent 50%), var(--ivory);
    color: var(--ink);
    font-family: 'Mukta', sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

    .infra-page h1,
    .infra-page h2,
    .infra-page h3 {
        font-family: 'Yatra One', cursive;
        font-weight: 400;
        color: var(--maroon-deep);
    }

    .infra-page .eyebrow {
        font-family: 'Rajdhani', sans-serif;
        font-weight: 600;
        letter-spacing: .22em;
        text-transform: uppercase;
        font-size: .78rem;
        color: var(--green);
    }

    /* ================= HERO ================= */
    .infra-page .hero {
        position: relative;
        background: radial-gradient(ellipse at 15% -10%, rgba(217,164,65,.35), transparent 55%), radial-gradient(ellipse at 100% 0%, rgba(47,82,51,.25), transparent 50%), linear-gradient(180deg, var(--maroon-deep) 0%, var(--maroon) 100%);
        color: var(--ivory);
        padding: 90px 8vw 70px;
        overflow: hidden;
    }

        .infra-page .hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 26px);
            pointer-events: none;
        }

    .infra-page .hero-inner {
        position: relative;
        max-width: 1080px;
        margin: 0 auto;
        text-align: center;
    }

    .infra-page .seal {
        width: 92px;
        height: 92px;
        margin: 0 auto 26px;
        border-radius: 50%;
        border: 2px solid var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Yatra One', cursive;
        font-size: 1.5rem;
        color: var(--gold);
        background: rgba(255,255,255,.04);
        position: relative;
    }

        .infra-page .seal::before {
            content: "";
            position: absolute;
            inset: -9px;
            border: 1px dashed rgba(217,164,65,.5);
            border-radius: 50%;
        }

    .infra-page .hero .eyebrow {
        color: var(--gold-soft);
    }

    .infra-page .hero h1 {
        font-size: clamp(2.1rem, 4.6vw, 3.4rem);
        margin: 16px 0 10px;
        line-height: 1.15;
        color: var(--ivory);
    }

    .infra-page .hero .sub {
        max-width: 640px;
        margin: 0 auto;
        font-size: 1.08rem;
        color: #EFE4D2;
    }

/* ================= CONTAINER & SECTIONS ================= */
.infra-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 70px 8vw 20px;
}

.infra-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px dashed var(--line);
}

    .infra-section:last-child {
        border-bottom: none;
    }

.infra-page .section-head {
    max-width: 700px;
    margin-bottom: 32px;
}

    .infra-page .section-head h2 {
        font-size: clamp(1.6rem, 3vw, 2.1rem);
        margin-top: 8px;
    }

        .infra-page .section-head h2 span {
            color: var(--ink-soft);
            font-family: 'Mukta', sans-serif;
            font-size: .55em;
            display: block;
            margin-top: 4px;
            letter-spacing: .02em;
        }

.infra-page .section-desc {
    color: var(--ink-soft);
    margin-top: 12px;
    font-size: .98rem;
}

/* ================= STATS STRIP ================= */
.infra-page .stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 10px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 40px -24px rgba(89,20,28,.35);
}

.infra-page .stat {
    padding: 24px 12px;
    text-align: center;
    border-right: 1px solid var(--line);
}

    .infra-page .stat:last-child {
        border-right: none;
    }

    .infra-page .stat .num {
        font-family: 'Yatra One', cursive;
        font-size: 1.4rem;
        color: var(--maroon);
        display: block;
    }

    .infra-page .stat .label {
        font-family: 'Rajdhani', sans-serif;
        font-size: .72rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--ink-soft);
    }

/* ================= FACILITY CARDS ================= */
.infra-page .facility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 10px;
}

.infra-page .facility-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px 24px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .infra-page .facility-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 34px -20px rgba(89,20,28,.4);
        border-color: var(--gold);
    }

.infra-page .facility-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--maroon);
    color: var(--gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Yatra One', cursive;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.infra-page .facility-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.infra-page .facility-card p {
    font-size: .9rem;
    color: var(--ink-soft);
}

/* ================= RULES CARDS ================= */
.infra-page .rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.infra-page .rules-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px 26px 22px;
    position: relative;
}

    .infra-page .rules-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 26px;
        width: 46px;
        height: 3px;
        background: var(--gold);
        border-radius: 3px;
    }

    .infra-page .rules-card h3 {
        font-size: 1.15rem;
        margin-bottom: 14px;
        padding-top: 8px;
    }

.infra-page .rules-list {
    list-style: none;
    padding-left: 0;
}

    .infra-page .rules-list li {
        position: relative;
        padding-left: 24px;
        margin-bottom: 10px;
        font-size: .92rem;
        color: var(--ink-soft);
        line-height: 1.6;
    }

        .infra-page .rules-list li::before {
            content: "❖";
            position: absolute;
            left: 0;
            color: var(--gold);
            font-size: .85rem;
        }

/* ================= FOOTER NOTE ================= */
.infra-footer-note {
    text-align: center;
    padding: 40px 8vw 60px;
    color: var(--ink-soft);
    font-size: .88rem;
    border-top: 1px solid var(--line);
    max-width: 1080px;
    margin: 0 auto;
}

    .infra-footer-note .school-name {
        font-family: 'Yatra One', cursive;
        font-size: 1.2rem;
        color: var(--maroon);
        display: block;
        margin-bottom: 6px;
    }

/* ================= RESPONSIVE ================= */
@media (max-width: 820px) {
    .infra-page .hero h1 {
        font-size: 1.8rem;
    }

    .infra-page .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .infra-page .stat:nth-child(2) {
        border-right: none;
    }

    .infra-page .facility-grid,
    .infra-page .rules-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .infra-page .facility-card {
        transition: none;
    }
}
