﻿/* ============================================================
   LAXMIPATI GROUP - PREMIUM NAVY & CHAMPAGNE GOLD THEME
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
    --navy: #101D3A;
    --navy-soft: #16264A;
    --gold: #D5AD62;
    --gold-light: #E8C98D;
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --primary: #101D3A;
    --primary-light: #D5AD62;
    --secondary: #D5AD62;
    --accent: #D5AD62;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 4px 12px rgba(16, 29, 58, .06);
    --shadow-md: 0 14px 32px rgba(16, 29, 58, .10);
    --shadow-3d: 0 25px 55px rgba(16, 29, 58, .18);
    --transition: all .4s cubic-bezier(.25, 1, .5, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    margin: 0;
    padding-top: 80px;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -.02em;
}

    h1 span, h2 span, h3 span {
        color: var(--gold);
    }

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy-soft) 100%);
    padding: 9px 0;
    font-size: 0.86rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
    border-bottom: 1px solid rgba(213, 173, 98, .25);
}

.top-bar-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

    .top-bar-info a {
        color: rgba(255, 255, 255, .82);
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: color .25s ease;
    }

        .top-bar-info a:hover {
            color: var(--gold);
        }

    .top-bar-info i {
        color: var(--gold);
        font-size: 0.9rem;
    }

.top-bar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .85);
    font-size: 0.9rem;
    transition: all .3s ease;
}

    .top-bar-social a:hover {
        background: var(--gold);
        color: var(--navy);
        transform: translateY(-2px);
    }

/* ============================================================
   MAIN NAVBAR — BIG LOGO + BIG MENU
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 2px 20px rgba(16, 29, 58, .08);
}

.navbar-main {
    background: #fff !important;
    padding: 10px 0;
    transition: padding .35s ease, box-shadow .35s ease;
    border-bottom: 1px solid rgba(16, 29, 58, .06);
}

/* LOGO — BIG & SHARP */
.navbar-brand img {
    max-height: 75px;
    width: auto;
    transition: max-height .35s ease, transform .35s ease;
}

.navbar-brand:hover img {
    transform: scale(1.04);
}

/* MENU LINKS — BIGGER + BETTER */
.navbar-nav .nav-link {
    color: var(--navy) !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 15px !important;
    position: relative;
    letter-spacing: .01em;
    transition: color .3s ease;
}

    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        bottom: 6px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        border-radius: 99px;
        background: linear-gradient(90deg, var(--gold), var(--gold-light));
        transition: width .35s cubic-bezier(.25, 1, .5, 1);
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 60%;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--gold) !important;
    }

/* CTA Button "Apply Now" */
.nav-link.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
    color: var(--navy) !important;
    border-radius: 99px;
    padding: 10px 22px !important;
    margin-left: 8px;
    box-shadow: 0 6px 18px rgba(213, 173, 98, .35);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
}

    .nav-link.nav-cta::after {
        display: none !important;
    }

    .nav-link.nav-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(213, 173, 98, .5);
        color: var(--navy) !important;
    }

/* DROPDOWN — PREMIUM */
.dropdown-menu {
    background: #fff;
    border: 1px solid rgba(16, 29, 58, .06);
    border-top: 3px solid var(--gold);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 18px 40px rgba(16, 29, 58, .14);
    padding: 8px 0;
    min-width: 230px;
    animation: fadeSlideDown .3s ease;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: var(--navy);
    font-weight: 600;
    font-size: .93rem;
    padding: 9px 20px;
    transition: all .25s ease;
}

    .dropdown-item:hover {
        background: rgba(213, 173, 98, .1);
        color: var(--gold);
        padding-left: 26px;
    }

/* ============================================================
   BODY PADDING (top bar + navbar height)
   ============================================================ */
body {
    padding-top: 145px; /* top-bar ~42px + navbar ~95px */
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 991.98px) {
    body {
        padding-top: 92px;
    }

    .top-bar {
        display: none;
    }

    .navbar-main {
        padding: 10px 0;
    }

    .navbar-brand img {
        max-height: 58px;
    }

    .navbar-collapse {
        background: #fff;
        padding: 18px;
        border-radius: 14px;
        margin-top: 12px;
        box-shadow: 0 15px 35px rgba(16, 29, 58, .12);
    }

    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 11px 12px !important;
    }

        .navbar-nav .nav-link::after {
            display: none;
        }

    .nav-link.nav-cta {
        margin: 10px 0 0;
        justify-content: center;
        width: 100%;
    }
}
/* ================= HERO SLIDER ================= */
.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider {
    position: relative;
    height: 88vh;
    min-height: 560px;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #101D3A;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

    .slider::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(100deg, rgba(16, 29, 58, .95) 0%, rgba(16, 29, 58, .78) 45%, rgba(16, 29, 58, .28) 100%);
    }

    .slider .container {
        position: relative;
        z-index: 2;
        width: 100%;
    }

.slider-text {
    position: relative;
    max-width: 720px;
    padding: 2rem 0;
    text-align: left;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    transform: none;
    animation: none;
}

    .slider-text h1 {
        color: var(--white);
        font-size: clamp(2.2rem, 5vw, 4rem);
        line-height: 1.08;
        margin-bottom: 1.2rem;
        text-shadow: 0 12px 35px rgba(0, 0, 0, .35);
    }

        .slider-text h1::after {
            content: "";
            display: block;
            width: 95px;
            height: 4px;
            margin-top: 1.2rem;
            border-radius: 99px;
            background: linear-gradient(90deg, var(--gold), transparent);
        }

    .slider-text p {
        color: rgba(255, 255, 255, .9);
        font-size: clamp(1rem, 1.35vw, 1.15rem);
        max-width: 640px;
        margin-bottom: 2rem;
    }

.slider-button {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .95rem 2.1rem;
    border-radius: 99px;
    color: var(--navy) !important;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: 0;
    box-shadow: 0 15px 32px rgba(213, 173, 98, .38);
}

    .slider-button:hover {
        color: var(--navy) !important;
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 22px 45px rgba(213, 173, 98, .48);
    }

    .slider-button i {
        transition: transform .3s ease;
    }

    .slider-button:hover i {
        transform: translateX(5px);
    }

.hero-animate {
    opacity: 0;
    transform: translateY(35px);
    animation: heroIn 1s cubic-bezier(.22, .61, .36, 1) forwards;
}

.hero-animate-delay {
    animation-delay: .25s;
}

.hero-animate-delay-2 {
    animation-delay: .5s;
}

@keyframes heroIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-wrapper .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1.4rem;
    margin: 0 !important;
    z-index: 5;
    pointer-events: none;
}

    .slider-wrapper .owl-nav button {
        pointer-events: auto;
        width: 52px !important;
        height: 52px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, .15) !important;
        border: 1px solid rgba(255, 255, 255, .28) !important;
        color: var(--white) !important;
        font-size: 1.45rem !important;
        backdrop-filter: blur(6px);
        transition: var(--transition);
    }

        .slider-wrapper .owl-nav button:hover {
            background: var(--gold) !important;
            border-color: var(--gold) !important;
            color: var(--navy) !important;
            transform: scale(1.08);
        }

.slider-wrapper .owl-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 !important;
    z-index: 5;
}

    .slider-wrapper .owl-dots .owl-dot span {
        width: 10px !important;
        height: 10px !important;
        background: rgba(255, 255, 255, .45) !important;
        transition: var(--transition);
    }

    .slider-wrapper .owl-dots .owl-dot.active span {
        width: 34px !important;
        border-radius: 99px !important;
        background: var(--gold) !important;
    }

/* ================= SECTIONS ================= */
.home-section,
.section-welcome,
.section-institutions,
.dept-section,
.section-highlights,
.section-news,
.section-gallery,
.section-accreditations {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2.4rem, 5vw, 3.8rem);
}

    .section-header h1,
    .section-header h2 {
        position: relative;
        display: inline-block;
        padding-bottom: 1rem;
    }

        .section-header h1::after,
        .section-header h2::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 78px;
            height: 4px;
            border-radius: 99px;
            background: linear-gradient(90deg, var(--gold), rgba(213, 173, 98, .15));
        }

.section-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.9rem;
    border-radius: 99px;
    font-weight: 700;
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    border: 1px solid rgba(213, 173, 98, .38);
    box-shadow: 0 12px 28px rgba(16, 29, 58, .2);
}

    .section-btn:hover {
        color: var(--navy) !important;
        background: linear-gradient(135deg, var(--gold), var(--gold-light));
        border-color: var(--gold);
        transform: translateY(-4px);
        box-shadow: 0 18px 38px rgba(213, 173, 98, .35);
    }

/* ============================================================
   SCROLL REVEAL — SMOOTHER & MORE PREMIUM
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px) scale(.97);
    transition: opacity 1s cubic-bezier(.22, 1, .36, 1), transform 1s cubic-bezier(.22, 1, .36, 1);
    will-change: opacity, transform;
}

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

.reveal-delay-1 {
    transition-delay: .12s;
}

.reveal-delay-2 {
    transition-delay: .24s;
}

.reveal-delay-3 {
    transition-delay: .36s;
}

.reveal-delay-4 {
    transition-delay: .48s;
}

/* ============================================================
   CARD HOVER — 3D & GLOW
   ============================================================ */
.institution-card,
.gallery-card,
.news-item,
.highlight-card,
.facility-box,
.accreditation-logo {
    transition: transform .5s cubic-bezier(.25, 1, .5, 1), box-shadow .5s cubic-bezier(.25, 1, .5, 1), border-color .4s ease;
}

    .institution-card:hover,
    .gallery-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 30px 60px rgba(16, 29, 58, .22), 0 0 0 1px rgba(213, 173, 98, .4);
    }

    .news-item:hover {
        transform: translateY(-6px) translateX(4px);
        box-shadow: 0 20px 40px rgba(16, 29, 58, .15);
    }

    .highlight-card:hover {
        transform: translateY(-10px) scale(1.02);
        border-color: rgba(213, 173, 98, .8);
        box-shadow: 0 25px 50px rgba(0, 0, 0, .3), 0 0 40px rgba(213, 173, 98, .25);
    }

    /* Image zoom smoothness */
    .institution-card .thumb img,
    .gallery-card .bg,
    .dept-image-wrap img,
    .news-featured .bg {
        transition: transform .9s cubic-bezier(.22, 1, .36, 1);
    }

/* Section header underline animation */
.section-header h1::after,
.section-header h2::after {
    animation: goldPulse 3s ease-in-out infinite;
}

@keyframes goldPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(213, 173, 98, .4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(213, 173, 98, 0);
    }
}/* ================= 3D IMAGE HOVER ================= */
.img-hover,
.img-hover-3d {
    transition: var(--transition);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transform-style: preserve-3d;
}

    .img-hover:hover,
    .img-hover-3d:hover {
        transform: perspective(1100px) translateY(-8px) rotateX(3deg) rotateY(-3deg);
        box-shadow: var(--shadow-3d);
    }

/* ============================================================
   WELCOME SECTION - CLEAN EDITORIAL STYLE
   ============================================================ */
.section-welcome {
    padding: 85px 0 70px;
    background: var(--bg-white, #ffffff);
}

.welcome-intro {
    max-width: 860px;
    margin: 0 auto 45px;
    text-align: center;
}

.welcome-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary, #4f46e5);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.welcome-heading {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.18;
    color: var(--heading-color, #10233f);
    margin-bottom: 18px;
}

    .welcome-heading span {
        color: var(--primary, #4f46e5);
    }

.welcome-subtext {
    max-width: 720px;
    margin: 0 auto 26px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-muted, #5b6b81);
}

.welcome-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

    .welcome-tags span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 9px 16px;
        border-radius: 50px;
        background: var(--bg-light, #f5f7fb);
        border: 1px solid rgba(15, 35, 63, 0.08);
        font-size: 14px;
        font-weight: 600;
        color: var(--heading-color, #10233f);
    }

    .welcome-tags i {
        color: var(--primary, #4f46e5);
        font-size: 15px;
    }

/* Wide Campus Banner */
.welcome-banner {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 25px 65px rgba(15, 30, 70, 0.18);
}

    .welcome-banner img {
        width: 100%;
        height: 480px;
        object-fit: cover;
        display: block;
        transition: transform 0.7s ease;
    }

    .welcome-banner:hover img {
        transform: scale(1.04);
    }

.welcome-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    padding: 40px 45px;
    background: linear-gradient( 180deg, rgba(6, 18, 40, 0) 35%, rgba(6, 18, 40, 0.82) 100% );
}

.welcome-banner-text h3 {
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.welcome-banner-text p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin: 0;
    font-size: 15.5px;
    line-height: 1.6;
}

.welcome-banner-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    background: var(--accent, #f5b942);
    color: #10233f;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .welcome-banner-btn:hover {
        transform: translateY(-3px);
        color: #10233f;
        box-shadow: 0 15px 35px rgba(245, 185, 66, 0.35);
    }

/* Responsive */
@media (max-width: 767px) {
    .section-welcome {
        padding: 55px 0 45px;
    }

    .welcome-banner img {
        height: 340px;
    }

    .welcome-banner-overlay {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 22px;
    }
}

/* ================= COLLEGE GLIMPSES ================= */
.glimpses-section {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
    background: var(--bg-light);
}

.glimpses-frame {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px;
    border-radius: 26px;
    background: var(--white);
    border: 1px solid rgba(16, 29, 58, .08);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

    .glimpses-frame:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-3d);
    }

    .glimpses-frame img {
        width: 100%;
        border-radius: 18px;
        display: block;
        transition: transform .8s ease;
    }

    .glimpses-frame:hover img {
        transform: scale(1.02);
    }

/* ================= INSTITUTION CARDS ================= */
.section-institutions {
    background: var(--white);
}

.institution-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid rgba(16, 29, 58, .08);
    box-shadow: var(--shadow-sm);
    transform-style: preserve-3d;
    transition: var(--transition);
}

    .institution-card:hover {
        transform: perspective(1000px) translateY(-12px) rotateX(3deg);
        border-color: rgba(213, 173, 98, .65);
        box-shadow: var(--shadow-3d);
    }

    .institution-card .thumb {
        position: relative;
        height: 205px;
        overflow: hidden;
    }

        .institution-card .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .8s cubic-bezier(.22, .61, .36, 1);
        }

    .institution-card:hover .thumb img {
        transform: scale(1.12);
    }

    .institution-card .thumb::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(16, 29, 58, .65), transparent 60%);
    }

    .institution-card .body {
        flex: 1;
        padding: 1.6rem;
        border-top: 3px solid transparent;
        transition: border-color .4s ease;
    }

    .institution-card:hover .body {
        border-top-color: var(--gold);
    }

    .institution-card .body p {
        margin: 0 0 .7rem;
        font-weight: 800;
        color: var(--navy);
        font-size: 1.08rem;
    }

    .institution-card .desc {
        font-size: .94rem;
        color: var(--text-muted);
    }

/* ================= DEPARTMENTS ================= */
.dept-section {
    background: var(--white);
}

    .dept-section.alt {
        background: var(--bg-light);
    }

.dept-image-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-3d);
}

    .dept-image-wrap img {
        width: 100%;
        min-height: 330px;
        object-fit: cover;
        transition: transform .8s ease;
    }

    .dept-image-wrap:hover img {
        transform: scale(1.07);
    }

.dept-section h2 {
    position: relative;
    margin-bottom: 1.2rem;
    padding-bottom: .8rem;
}

    .dept-section h2::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 68px;
        height: 4px;
        border-radius: 99px;
        background: linear-gradient(90deg, var(--gold), rgba(213, 173, 98, .15));
    }

.dept-section ul {
    padding-left: 0;
    list-style: none;
    margin: 1rem 0 1.7rem;
}

    .dept-section ul li {
        position: relative;
        padding-left: 1.7rem;
        margin-bottom: .55rem;
        font-weight: 700;
        color: var(--navy);
    }

        .dept-section ul li::before {
            content: "";
            position: absolute;
            left: 0;
            top: .55em;
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--gold);
            box-shadow: 0 0 0 4px rgba(213, 173, 98, .18);
        }

/* ================= FLIP BOXES ================= */
.flip-box {
    display: block;
    text-align: center;
    margin-bottom: 20px;
    perspective: 1500px;
}

.flip-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

    .flip-wrapper:hover {
        box-shadow: var(--shadow-3d);
    }

.flip-inner {
    position: absolute;
    inset: 0;
    transition: transform .8s cubic-bezier(.175, .885, .32, 1.275);
    transform-style: preserve-3d;
}

.flip-wrapper:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 18px;
    overflow: hidden;
}

    .flip-front img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.flip-back {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    transform: rotateY(180deg);
}

.flip-box p {
    margin-top: 15px;
    font-weight: 800;
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

/* ================= WHY CHOOSE US ================= */
.section-highlights,
.highlights {
    background: linear-gradient(135deg, rgba(16, 29, 58, .98), rgba(22, 38, 74, .98));
    overflow: hidden;
}

    .section-highlights::before,
    .highlights::before {
        content: "";
        position: absolute;
        top: -140px;
        right: -110px;
        width: 430px;
        height: 430px;
        border-radius: 50%;
        background: var(--gold);
        filter: blur(80px);
        opacity: .25;
    }

    .section-highlights::after,
    .highlights::after {
        content: "";
        position: absolute;
        bottom: -140px;
        left: -110px;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        background: #3A5BA0;
        filter: blur(80px);
        opacity: .3;
    }

    .section-highlights .section-header h1,
    .highlights .section-header h1 {
        color: var(--white);
    }

.highlight-card,
.highlight {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 2.2rem 1.5rem;
    text-align: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px);
    transform-style: preserve-3d;
    transition: var(--transition);
}

    .highlight-card:hover,
    .highlight:hover {
        transform: perspective(900px) translateY(-12px) rotateX(4deg);
        border-color: rgba(213, 173, 98, .75);
        box-shadow: 0 25px 55px rgba(0, 0, 0, .3);
    }

    .highlight-card .icon-wrap,
    .highlight img {
        transition: var(--transition);
    }

    .highlight-card .icon-wrap {
        width: 78px;
        height: 78px;
        margin: 0 auto 1.2rem;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: rgba(213, 173, 98, .15);
        border: 1px solid rgba(213, 173, 98, .4);
    }

        .highlight-card .icon-wrap img {
            max-width: 42px;
            max-height: 42px;
            filter: brightness(0) invert(1);
        }

    .highlight-card:hover .icon-wrap,
    .highlight:hover img {
        transform: scale(1.1) rotate(-5deg);
    }

    .highlight-card .count,
    .highlight span.count {
        font-size: clamp(2.3rem, 4vw, 3rem);
        font-weight: 900;
        color: var(--gold);
        line-height: 1;
    }

    .highlight-card .plus,
    .highlight span.plus {
        font-size: 1.6rem;
        font-weight: 800;
        color: var(--gold);
    }

    .highlight-card p,
    .highlight p {
        margin: .8rem 0 0;
        color: rgba(255, 255, 255, .85);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .08em;
        font-size: .82rem;
    }

/* ================= NEWS ================= */
.section-news {
    background: var(--bg-light);
}

.news-featured,
.news-item,
.news-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.news-featured {
    height: 100%;
    min-height: 520px;
}

    .news-featured:hover,
    .news-item:hover,
    .news-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-3d);
    }

    .news-featured .bg,
    .news-item .thumb {
        background-size: cover;
        background-position: center;
        transition: transform .8s cubic-bezier(.22, .61, .36, 1);
    }

    .news-featured .bg {
        position: absolute;
        inset: 0;
    }

    .news-featured:hover .bg,
    .news-item:hover .thumb,
    .news-card:hover img {
        transform: scale(1.09);
    }

    .news-featured .overlay {
        position: relative;
        z-index: 2;
        height: 100%;
        min-height: 520px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 2rem;
        background: linear-gradient(to top, rgba(16, 29, 58, .95), rgba(16, 29, 58, .38) 58%, rgba(16, 29, 58, .08));
    }

    .news-featured .badge {
        align-self: flex-start;
        margin-bottom: 1rem;
        padding: .4rem 1rem;
        border-radius: 99px;
        font-size: .74rem;
        font-weight: 800;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--navy);
        background: var(--gold);
    }

    .news-featured h3 {
        color: var(--white);
        font-size: clamp(1.5rem, 2.5vw, 2.1rem);
        margin-bottom: .7rem;
    }

    .news-featured .date,
    .news-item .date {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        font-size: .88rem;
        font-weight: 700;
        color: var(--gold);
    }

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: .9rem;
    background: var(--white);
    border: 1px solid rgba(16, 29, 58, .07);
}

    .news-item .thumb {
        flex: 0 0 115px;
        width: 115px;
        height: 92px;
        border-radius: 13px;
    }

    .news-item .content h5 {
        margin: 0 0 .4rem;
        font-size: 1rem;
        line-height: 1.4;
        transition: color .3s ease;
    }

    .news-item:hover .content h5 {
        color: var(--gold);
    }

/* ================= GALLERY ================= */
.section-gallery {
    background: var(--white);
}

.gallery-card {
    position: relative;
    display: block;
    height: 250px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    transform-style: preserve-3d;
    transition: var(--transition);
}

    .gallery-card:hover {
        transform: perspective(1000px) translateY(-10px) rotateX(3deg);
        box-shadow: var(--shadow-3d);
    }

    .gallery-card .bg {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        transition: transform .8s cubic-bezier(.22, .61, .36, 1);
    }

    .gallery-card:hover .bg {
        transform: scale(1.12);
    }

    .gallery-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(16, 29, 58, .9), rgba(16, 29, 58, .15) 60%, transparent);
    }

    .gallery-card .label {
        position: absolute;
        left: 1.4rem;
        right: 1.4rem;
        bottom: 1.4rem;
        z-index: 2;
        color: var(--white);
        font-weight: 800;
        font-size: 1.08rem;
        transform: translateY(8px);
        opacity: .92;
        transition: var(--transition);
    }

    .gallery-card:hover .label {
        transform: translateY(0);
        opacity: 1;
    }

    .gallery-card .label::after {
        content: "";
        display: block;
        width: 42px;
        height: 3px;
        margin-top: .55rem;
        border-radius: 99px;
        background: var(--gold);
        transition: width .4s ease;
    }

    .gallery-card:hover .label::after {
        width: 74px;
    }

/* ================= ACCREDITATIONS ================= */
.section-accreditations {
    background: var(--bg-light);
}

.accreditation-logo {
    display: grid;
    place-items: center;
    height: 125px;
    padding: 1.1rem;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid rgba(16, 29, 58, .07);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

    .accreditation-logo img {
        max-width: 100%;
        max-height: 78px;
        object-fit: contain;
        filter: grayscale(15%);
        transition: var(--transition);
    }

    .accreditation-logo:hover {
        transform: translateY(-7px);
        border-color: rgba(213, 173, 98, .65);
        box-shadow: var(--shadow-3d);
    }

        .accreditation-logo:hover img {
            filter: grayscale(0);
            transform: scale(1.06);
        }

/* ================= TABLES / MODALS / BUTTONS ================= */
.table-hover tbody tr:hover {
    background-color: rgba(213, 173, 98, .1);
}

.modal-content {
    border: 0;
    border-radius: 20px;
    box-shadow: var(--shadow-3d);
}

.modal-header {
    background: var(--bg-light);
    border-bottom: 1px solid rgba(16, 29, 58, .07);
    border-radius: 20px 20px 0 0;
}

    .modal-header .modal-title {
        color: var(--navy);
        font-weight: 800;
    }

.modal-footer {
    border-top: 1px solid rgba(16, 29, 58, .07);
}

.btn-primary {
    background: var(--navy);
    border: 0;
    padding: 10px 25px;
    border-radius: 99px;
    font-weight: 700;
    transition: var(--transition);
}

    .btn-primary:hover {
        background: var(--gold);
        color: var(--navy);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(213, 173, 98, .4);
    }

/* ================= FOOTER ================= */
footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .78);
    padding: 80px 0 30px;
    border-top: 4px solid var(--gold);
}

    footer h5 {
        color: var(--white);
        font-family: var(--font-heading);
        font-size: 1.3rem;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 10px;
    }

        footer h5::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 42px;
            height: 3px;
            border-radius: 99px;
            background: var(--gold);
        }

    footer address {
        font-size: .95rem;
        margin-top: 15px;
        line-height: 1.8;
    }

    footer .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, .1);
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 50%;
        color: var(--white) !important;
        margin: 0 5px;
        transition: var(--transition);
    }

        footer .social-icons a:hover {
            background: var(--gold);
            border-color: var(--gold);
            color: var(--navy) !important;
            transform: translateY(-5px) rotate(8deg);
        }

    footer .footer-links a {
        display: block;
        color: rgba(255, 255, 255, .78);
        margin-bottom: 12px;
        font-size: .95rem;
        font-weight: 600;
    }

        footer .footer-links a:hover {
            color: var(--gold);
            padding-left: 8px;
        }

/* ================= RESPONSIVE ================= */
@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }

    .slider {
        height: 72vh;
        min-height: 520px;
    }

    .news-featured,
    .news-featured .overlay {
        min-height: 420px;
    }

    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        box-shadow: var(--shadow-md);
    }

    .navbar-nav .nav-link::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .slider {
        height: 78vh;
        min-height: 540px;
    }

        .slider::before {
            background: linear-gradient(to top, rgba(16, 29, 58, .97), rgba(16, 29, 58, .72) 65%, rgba(16, 29, 58, .45));
        }

    .slider-text {
        text-align: center;
        padding: 1.5rem 0 4.5rem;
    }

        .slider-text h1::after,
        .slider-text p {
            margin-left: auto;
            margin-right: auto;
        }

    .slider-wrapper .owl-nav {
        display: none;
    }

    .news-item .thumb {
        flex-basis: 90px;
        width: 90px;
        height: 78px;
    }

    .gallery-card {
        height: 210px;
    }
}

/* ================= ACCREDITATIONS SLIDER ================= */
.accred-slider {
    padding: 15px 0; /* ताकि hover पर shadow कटे नहीं */
}

    .accred-slider .item {
        padding: 10px; /* हर लोगो के चारों तरफ थोड़ी जगह */
    }

/* Logo Box Design */
.accreditation-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    padding: 15px;
    background: var(--white);
    border: 1px solid rgba(16, 29, 58, 0.08);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

    /* Hover Effect - Premium Gold Glow & Popup */
    .accreditation-logo:hover {
        transform: translateY(-8px) scale(1.02);
        border-color: var(--gold);
        box-shadow: 0 15px 30px rgba(213, 173, 98, 0.25);
    }

    /* Logo Image */
    .accreditation-logo img {
        max-width: 100%;
        max-height: 70px;
        object-fit: contain;
        filter: grayscale(100%); /* डिफ़ॉल्ट रूप से ब्लैक एंड व्हाइट */
        opacity: 0.7;
        transition: all 0.4s ease;
    }

    /* Hover पर लोगो Colorful और Clear हो जायेगा */
    .accreditation-logo:hover img {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.08);
    }

/* Slider Dots Design (नीचे के बिंदु) */
.accred-slider .owl-dots {
    margin-top: 20px !important;
}

    .accred-slider .owl-dots .owl-dot span {
        width: 10px !important;
        height: 10px !important;
        background: #ccc !important;
        transition: all 0.3s ease;
    }

    .accred-slider .owl-dots .owl-dot.active span {
        background: var(--gold) !important;
        width: 25px !important;
        border-radius: 10px !important;
    }



    /* ================= INNER PAGE STYLES ================= */
.page-hero-inner {
    background: linear-gradient(100deg, rgba(16, 29, 58, .95) 0%, rgba(16, 29, 58, .85) 100%), url('../images/College-Cover.jpg') center/cover no-repeat;
    padding: 100px 0 80px;
    margin-top: -80px; /* नेवबार के नीचे लाने के लिए */
    padding-top: 150px; 
}

.page-hero-inner h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.content-panel {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(16, 29, 58, 0.05);
}

.highlight-quote {
    background: rgba(213, 173, 98, 0.08);
    border-left: 4px solid var(--gold);
    padding: 1.5rem 2rem;
    border-radius: 0 15px 15px 0;
    font-style: italic;
    color: var(--navy);
    font-weight: 500;
    font-size: 1.1rem;
}

.text-gold {
    color: var(--gold) !important;
}

/* Facilities List Styling */
.facilities-list {
    list-style: none;
    padding-left: 0;
}

.facilities-list li {
    position: relative;
    padding: 15px 15px 15px 40px;
    background: var(--bg-light);
    border-radius: 10px;
    border: 1px solid rgba(16, 29, 58, 0.05);
    font-size: 0.95rem;
    transition: var(--transition);
}

.facilities-list li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(213, 173, 98, 0.4);
}

.facilities-list li::before {
    content: "\F26A"; /* Bootstrap Icon for check-circle */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 15px;
    top: 16px;
    color: var(--gold);
    font-size: 1.1rem;
}

.facilities-list li strong {
    color: var(--navy);
}

/* Mobile Adjustments */
@media (max-width: 767.98px) {
    .page-hero-inner {
        padding: 120px 0 60px;
    }
    .content-panel {
        padding: 1.5rem;
    }
}
@media (max-width: 575.98px) {
    .welcome-image img,
    .dept-image-wrap img {
        height: auto;
    }


    .institution-card {
        min-height: 0;
    }

    .news-featured,
    .news-featured .overlay {
        min-height: 360px;
    }
}

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .hero-animate,
    .hero-animate-delay,
    .hero-animate-delay-2 {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}


/* ================= UNIQUE ABOUT PAGE STYLES ================= */
.unique-about-page {
    background-color: var(--bg-light);
}

/* -- Hero Section -- */
.page-hero-modern {
    position: relative;
    background: linear-gradient(135deg, rgba(16, 29, 58, 0.95) 0%, rgba(16, 29, 58, 0.75) 100%), url('../images/College-Cover.jpg') center/cover no-repeat;
    padding: 160px 0 120px;
    margin-top: -80px; /* Header overlap fix */
    overflow: hidden;
}
.relative-z {
    position: relative;
    z-index: 2;
}

.max-w-600 {
    max-width: 600px;
}

.badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(213, 173, 98, 0.15);
    color: var(--gold);
    border: 1px solid rgba(213, 173, 98, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Decorative background pattern for hero */
.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: radial-gradient(var(--gold) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    z-index: 1;
}

/* -- Typography -- */

.section-title {
    font-size: 2.2rem; /* पहले यह बहुत बड़ा हो रहा था, अब फिक्स कर दिया */
    color: var(--navy);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
}



.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

/* Drop Cap (पहला अक्षर बड़ा करने वाला) */
.drop-cap::first-letter {
    float: left;
    font-size: 3.5rem; /* पहले से थोड़ा छोटा किया गया है */
    line-height: 0.9;
    padding-top: 4px;
    padding-right: 10px;
    padding-left: 3px;
    font-family: var(--font-heading);
    color: var(--gold);
    font-weight: bold;
}

/* पैराग्राफ का साइज़ नॉर्मल करने के लिए */
.section-intro p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}
/* -- Affiliation Box -- */
.affiliation-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(16, 29, 58, 0.05);
    position: relative;
    overflow: hidden;
}

    .affiliation-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--gold), var(--gold-light));
    }

.affil-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

    .affil-item:hover {
        background: rgba(213, 173, 98, 0.08);
        transform: translateX(5px);
    }

    .affil-item i {
        color: var(--gold);
        font-size: 1.5rem;
        line-height: 1;
    }

    .affil-item h6 {
        color: var(--navy);
        font-weight: 700;
        margin-bottom: 2px;
    }

    .affil-item small {
        color: var(--text-muted);
        font-weight: 500;
    }

/* -- Facilities Section (Bento Grid) -- */
.section-facilities {
    background: var(--white);
}

.facility-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(16, 29, 58, 0.05);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 1;
}

    .facility-box::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, var(--white), transparent);
        border-radius: 16px;
        z-index: -1;
        opacity: 0;
        transition: var(--transition);
    }

    .facility-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(16, 29, 58, 0.08);
        border-color: rgba(213, 173, 98, 0.4);
        background: var(--white);
    }

        .facility-box:hover::after {
            opacity: 1;
        }

    .facility-box .icon-wrap {
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(213, 173, 98, 0.15);
        color: var(--gold);
        font-size: 1.8rem;
        border-radius: 14px;
        margin-bottom: 1.5rem;
        transition: var(--transition);
    }

    .facility-box:hover .icon-wrap {
        background: var(--gold);
        color: var(--navy);
        transform: rotate(-5deg) scale(1.05);
    }

    .facility-box h5 {
        font-family: var(--font-heading);
        color: var(--navy);
        font-weight: 700;
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .facility-box p {
        color: var(--text-muted);
        font-size: 0.95rem;
        margin-bottom: 0;
        line-height: 1.6;
    }

/* Mobile Adjustments */
@media (max-width: 767.98px) {
    .page-hero-modern {
        padding: 130px 0 80px;
    }

    .facility-box {
        padding: 1.5rem;
    }
}
/* Scrolled state — navbar shrinks, topbar hides */
.top-bar {
    max-height: 60px;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
}

    .top-bar.top-bar-hidden {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        border: 0;
    }

.site-header.header-scrolled .navbar-main {
    padding: 6px 0;
}

.site-header.header-scrolled .navbar-brand img {
    max-height: 55px;
}

.site-header.header-scrolled {
    box-shadow: 0 6px 24px rgba(16, 29, 58, .14);
}

@media (max-width: 991.98px) {
    body {
        padding-top: 92px;
    }
        /* mobile pe scroll pe body padding adjust */
        body.nav-scrolled {
            padding-top: 78px;
        }
}

/* ============================================================
   SECTION BACKGROUND RHYTHM — creates visual variety
   ============================================================ */

/* 1. WELCOME — warm cream instead of white */
.section-welcome {
    background: #FAF6EF;
    position: relative;
}

    .section-welcome::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(213,173,98,.4), transparent);
    }

/* 2. GLIMPSES — dramatic dark navy section */
.glimpses-section {
    background: linear-gradient(135deg, #0A1428 0%, #101D3A 50%, #16264A 100%);
    position: relative;
    overflow: hidden;
}

    .glimpses-section::before {
        content: "";
        position: absolute;
        top: -100px;
        right: -100px;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(213,173,98,.15), transparent 70%);
        pointer-events: none;
    }

    .glimpses-section .section-header h2 {
        color: #fff;
    }

    .glimpses-section .glimpses-frame {
        border: 2px solid rgba(213,173,98,.3);
        box-shadow: 0 30px 80px rgba(0,0,0,.5);
    }

/* 3. INSTITUTIONS — pure white */
.section-institutions {
    background: #fff;
}

/* 4. NEWS — warm cream again for alternation */
.section-news {
    background: #FAF6EF;
}

/* 5. GALLERY — white */
.section-gallery {
    background: #fff;
}

/* 6. ACCREDITATIONS — subtle warm */
.section-accreditations {
    background: #F5F0E8;
    border-top: 1px solid rgba(213,173,98,.2);
    border-bottom: 1px solid rgba(213,173,98,.2);
}/* ============================================================
   TYPOGRAPHY — dramatic hierarchy
   ============================================================ */

/* Section headers — MASSIVE + editorial */
.section-header {
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header h1,
.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--navy);
    margin-bottom: 0;
}

/* Gold + italic accent on spans */
.section-header h1 span,
.section-header h2 span {
    color: var(--gold);
    font-style: italic;
    font-weight: 700;
    position: relative;
}

/* Small "kicker" label ABOVE section heading */
.section-header::before {
    content: "✦  OUR  EXCELLENCE  ✦";
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    color: var(--gold);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

/* Vary kicker per section — using nth or specific overrides */
.section-institutions .section-header::before { content: "✦  FOUR  INSTITUTES  ✦"; }
.section-news .section-header::before { content: "✦  LATEST  UPDATES  ✦"; }
.section-gallery .section-header::before { content: "✦  LIFE  AT  LGI  ✦"; }
.section-highlights .section-header::before { content: "✦  BY  THE  NUMBERS  ✦"; color: var(--gold); }
.section-welcome .section-header::before,
.glimpses-section .section-header::before { content: "✦  DISCOVER  ✦"; }

/* Underline — longer, more elegant */
.section-header h1::after,
.section-header h2::after {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
    border-radius: 0;
    margin-top: 1.2rem;
}

/* Body text — more refined */
p, .lead {
    line-height: 1.8;
    font-size: 1.02rem;
    color: #334155;
}




/* ============================================================
   HOMEPAGE ADDITIONS — DEPARTMENTS GRID & MINOR POLISH
   (Only new rules. Does not modify existing styles.)
   ============================================================ */

/* --- Welcome heading gold span (override var(--primary) fallback) --- */
.section-welcome .welcome-heading span {
    color: var(--gold);
}

.section-welcome .welcome-tag {
    background: rgba(213, 173, 98, .12);
    color: var(--gold);
    border: 1px solid rgba(213, 173, 98, .3);
}

/* --- Departments section (new) --- */
.section-departments {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
    background: var(--bg-light);
    position: relative;
}

    .section-departments .section-header::before {
        content: "✦  ACADEMIC  PROGRAMS  ✦";
    }

.section-header .section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 620px;
    margin: 1rem auto 0;
    text-align: center;
}

/* --- Department grid + card --- */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
}

.dept-card {
    display: block;
    padding: 30px 22px;
    background: #fff;
    border: 1px solid rgba(16, 29, 58, .07);
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

    .dept-card::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--gold), var(--gold-light));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .4s ease;
    }

    .dept-card:hover {
        transform: translateY(-8px);
        border-color: rgba(213, 173, 98, .45);
        box-shadow: 0 20px 45px rgba(16, 29, 58, .12);
    }

        .dept-card:hover::after {
            transform: scaleX(1);
        }

    .dept-card i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 64px;
        height: 64px;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(16,29,58,.08), rgba(213,173,98,.15));
        color: var(--navy);
        font-size: 1.6rem;
        margin-bottom: 16px;
        transition: var(--transition);
    }

    .dept-card:hover i {
        background: linear-gradient(135deg, var(--navy), var(--navy-soft));
        color: var(--gold);
        transform: rotate(-6deg) scale(1.06);
    }

    .dept-card h4 {
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--navy);
        margin: 0 0 6px;
        font-family: var(--font-heading);
    }

    .dept-card p {
        font-size: .87rem;
        color: var(--text-muted);
        margin: 0;
    }

/* --- Highlight card icons (Bootstrap icon instead of <img>) --- */
.highlight-card .icon-wrap i {
    font-size: 2rem;
    color: var(--gold);
    transition: var(--transition);
}

/* --- Accreditation text-badge variant --- */
.accreditation-logo.acc-text {
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

    .accreditation-logo.acc-text i {
        font-size: 1.9rem;
        color: var(--gold);
        transition: var(--transition);
    }

    .accreditation-logo.acc-text span {
        font-weight: 800;
        color: var(--navy);
        font-size: .82rem;
        letter-spacing: .02em;
    }

    .accreditation-logo.acc-text:hover i {
        color: var(--navy);
        transform: scale(1.1);
    }

/* --- Accreditations kicker override --- */
.section-accreditations .section-header::before {
    content: "✦  OUR  APPROVALS  ✦";
}

/* --- Responsive --- */
@media (max-width: 767.98px) {
    .dept-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .dept-card {
        padding: 20px 14px;
    }

        .dept-card i {
            width: 52px;
            height: 52px;
            font-size: 1.35rem;
            margin-bottom: 12px;
        }

        .dept-card h4 {
            font-size: .92rem;
        }

        .dept-card p {
            font-size: .78rem;
        }
}

@media (max-width: 400px) {
    .dept-grid {
        grid-template-columns: 1fr;
    }
}