:root {
    --primary: #7b001c;     /* MAROON */
    --primary-dark: #5c0015;
    --secondary: #f5b400;   /* GOLD */
    --glass: rgba(255, 255, 255, 0.095);
    --glass-border: rgba(255, 255, 255, 0.22);
}

html, body {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    background: #000;
    color: #fff;
}

/* ====================== HERO SECTION ====================== */
.hero-wrap {
    min-height: 100vh;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-wrap .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.88)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-top h1 {
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    font-weight: 900;
    text-align: center;
    color: #fff;
    letter-spacing: 1.6px;
    text-shadow:
            0 5px 20px rgba(0,0,0,0.85),
            0 0 30px rgba(245, 180, 0, 0.4);
}

.hero-top p {
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 700;
    text-align: center;
    color: var(--secondary);
    margin-top: 12px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.8);
}

/* Hero Buttons - Bottom Left */
.hero-bottom {
    position: absolute;
    bottom: 7%;
    left: 6%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* College Side Panel - Bottom Right */
.college-side-panel {
    position: absolute;
    bottom: 7%;
    right: 6%;
    z-index: 10;
    width: 260px;
}

.mini-card {
    background: var(--glass);
    backdrop-filter: blur(2px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.mini-card h6 {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.08rem;
}

.mini-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mini-card ul li {
    color: #eee;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

/* ====================== GENERAL SECTIONS ====================== */
.section {
    position: relative;
    padding: 110px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    z-index: 0;
}

.section > .container,
.section > .container-fluid {
    position: relative;
    z-index: 2;
}

.section h2 {
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: 1.2px;
    text-shadow:
            0 4px 12px rgba(0,0,0,0.85),
            0 0 20px rgba(245,180,0,0.3);
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.25));
    padding: 8px 20px;
    border-radius: 12px;
    display: inline-block;
    backdrop-filter: blur(6px);
}

.section h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, var(--secondary), transparent);
    border-radius: 3px;
}

.section-subtitle {
    color: #f0f0f0;
    max-width: 780px;
    margin: 20px auto;
    font-size: 1.08rem;
    line-height: 1.75;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* Cards */
.info-card,
.programme-card,
.post-card,
.fee-card,
.leader-card {
    background: var(--glass);
    backdrop-filter: blur(2px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #fff;
    height: 100%;
}

.info-card:hover,
.programme-card:hover,
.post-card:hover,
.fee-card:hover,
.leader-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.info-card h3,
.programme-card h4,
.leader-card h5,
.post-card h5 {
    color: var(--secondary);
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Fee Cards */
.fee-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04));
    padding: 38px 30px;
    position: relative;
    overflow: hidden;
}

.fee-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(245,180,0,0.25), transparent);
    opacity: 0;
    transition: 0.5s;
}

.fee-card:hover::before {
    opacity: 1;
}

.fee-card .price {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--secondary);
    margin: 12px 0;
}

/* Colleges Swiper */
.colleges-swiper {
    height: 82vh;
}

.colleges-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
}

.content-box {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(1px);
    border-radius: 20px;
    padding: 38px 35px;
    max-width: 620px;
    border: 1px solid rgba(255,255,255,0.1);
}

.content-box h2 {
    color: var(--secondary);
    font-weight: 900;
    font-size: clamp(1.1rem, 2.2vw, 1.55rem);
    margin-bottom: 12px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.8);
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.35s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #9a0024;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(123, 0, 28, 0.4);
}

.btn-light {
    background: rgba(255,255,255,0.95);
    color: var(--primary);
    font-weight: 700;
}

.btn-light:hover {
    background: var(--secondary);
    color: #000;
}

/* ====================== MOBILE RESPONSIVE ====================== */
@media (max-width: 992px) {
    .hero-bottom,
    .college-side-panel {
        position: static;
        margin: 40px auto 0;
    }

    .college-side-panel {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .hero-wrap {
        height: auto !important;
        min-height: 0;
        /* Zoom out + prioritize left side of image */
        background-size: contain !important;
        background-position: left center !important;
        padding: 0;
    }

    .hero-wrap .overlay {
        background: linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.55),
                rgba(0, 0, 0, 0.85)
        );
    }

    .hero-top {
        margin-top: 30px;
    }

    .hero-bottom {
        position: absolute;
        bottom: 8%;
        left: 5%;
        flex-direction: row;
        gap: 10px;
    }

    .hero-bottom .btn {
        padding: 0.55rem 1.35rem;
        font-size: 0.87rem;
        min-width: 135px;
    }

    .college-side-panel {
        position: absolute;
        bottom: 8%;
        right: 5%;
        width: 215px;
    }

    .mini-card {
        padding: 18px;
    }

    .section {
        padding: 70px 0;
        background-attachment: scroll !important;
    }

    .colleges-swiper {
        height: 58vh;
    }

    .content-box {
        padding: 22px 20px;
    }

    .info-card, .programme-card, .fee-card, .post-card {
        padding: 22px;
    }

    .fee-card .price {
        font-size: 1.85rem;
    }

    .btn {
        padding: 0.65rem 1.4rem;
        font-size: 0.9rem;
        margin: 0.1rem;
    }

    .college-side-panel {
        position: absolute;
        bottom: 0;
        right: 0;
        top: 35%;
        width: 55%;
    }

    .mini-card {
        padding: 10px;
    }

    .mini-card ul li {
        color: #eee;
        font-size: 0.52rem;
         margin-bottom: 0;
    }
    .mini-card h6 {
        color: var(--secondary);
        font-weight: 700;
        margin-bottom: 4px;
        font-size: 0.7rem;
    }

    .hero-bottom {
        position: absolute;
        bottom: 0;
        left: 0;
        top: 45%;
        flex-direction: column;
        gap: 5px;
    }

    .hero-bottom .btn {
        padding: 0.55rem 1.35rem;
        font-size: 0.6rem;
        min-width: 135px;
    }

    .hero-top {
        margin-top: 15px;
    }
    .hero-top p {
        font-size: clamp(1.15rem, 3.2vw, 1.85rem);
        font-weight: 700;
        text-align: center;
        color: var(--secondary);
        margin-top: 12px;
        text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8);
    }
    .hero-wrap .h-100 {
        height: 56.5vw !important;
    }
    .hero-top h1 {
        font-size: 1.7rem !important;
    }

}

/* Very tall narrow phones */
@media (max-aspect-ratio: 9/16) {
    .hero-wrap {
        background-size: contain !important;
        background-position: left center !important;
    }
}

/* Navbar */
.navbar.sticky-top {
    z-index: 9999 !important;
}

.navbar.nav-bg {
    background-color: rgba(128, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
}