/* ================= BASE ================= */

body {
    background: #f5f7fb;
    overflow-x: hidden;
}

.main-section {
    padding-top: 30px;
    padding-bottom: 30px;
    /* same as navbar min-height */
}

/* Safety for larger nav height on wrap/zoom */
@media (min-width: 992px) {
    .main-section {
        padding-top: 30px;
    }
}

/* ================= HEADER ================= */

.logo-header {
    background: #ffffff;
    padding: 0 15px;
    text-align: center;
    border-bottom: 3px solid #0d6efd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logo-header img {
    max-width: 100%;
    height: auto;
}

/* ================= NAVBAR ================= */

.navbar {
    background: #0d2a4a;
    position: sticky;
    top: 0;
    z-index: 1050;
    overflow: visible;
    /* 🔑 CRITICAL FIX */
    min-height: 56px;
}

.navbar-toggler {
    border: none;
    font-size: 22px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 10px 14px;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}

/* ================= DESKTOP DROPDOWN SYSTEM ================= */
/* Hover dropdowns ONLY when fine pointer (mouse) exists */

@media (hover: hover) and (pointer: fine) {
    .navbar .dropdown:hover>.dropdown-menu {
        display: block;
    }
}

/* ================= DROPDOWN ================= */

.dropdown-menu {
    background: #123b6d;
    border: none;
    min-width: 260px;
    padding: 0;
    margin: 0;
    z-index: 2000;
    max-height: 75vh;
    /* 🔑 Prevent zoom cut */
    overflow-y: auto;
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu>li>a {
    color: #ffffff;
    padding: 8px 14px;
    font-size: 14px;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.dropdown-menu>li>a:hover {
    background: #ffffff;
    color: #0d2a4a;
}

/* ================= MULTI LEVEL FLYOUT ================= */

.dropdown-menu li .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
    min-width: 220px;
    background: #0d2a4a;
}

.dropdown-menu li:hover>.dropdown-menu {
    display: block;
}

/* Right-side auto flip */

.navbar-nav>li:nth-last-child(-n+3) .dropdown-menu li>.dropdown-menu {
    left: auto;
    right: 100%;
}

/* Arrow icon */

.dropdown-menu i {
    float: right;
    margin-top: 4px;
}

/* ================= MEGA MENU ================= */

.mega-menu-custom {
    width: min(600px, 90vw);
    /* 🔑 Zoom safe */
    padding: 0;
    border: none;
    background: transparent;
}

.mega-left {
    background: #123b6d;
}

.mega-right {
    background: #0d2a4a;
}

.mega-left a,
.mega-right a {
    display: block;
    padding: 12px 15px;
    color: #ffffff;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-left a:hover,
.mega-left .active {
    background: #ffffff;
    color: #0d2a4a;
}

.mega-right a:hover {
    background: #0d6efd;
}

/* ================= CENTER NAVBAR ================= */

@media (min-width: 992px) {

    .navbar-collapse {
        justify-content: center;
    }

    .navbar-nav {
        margin: 0 auto;
        flex-wrap: wrap;
        /* 🔑 Zoom wrap */
    }

    .navbar-nav>li {
        margin: 0 6px;
    }
}

/* ================= CAROUSEL + ANNOUNCEMENTS (CLEAN & RESPONSIVE) ================= */

/* Shared layout behavior */
.main-section .row {
    align-items: stretch;
}

/* ================= HERO SECTION ENHANCEMENT ================= */

/* Make carousel a hero container */
#collegeCarousel {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}

/* Dark gradient overlay */
#collegeCarousel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(360deg,
            rgba(13, 42, 74, 0.7) 0%,
            rgba(13, 42, 74, 0.3) 20%,
            rgba(13, 42, 74, 0.05) 30%,
            rgba(13, 42, 74, 0.02) 100%);
    z-index: 1;
}

/* Ensure controls appear above overlay */
.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
}

.carousel img {
    width: 100%;
    height: clamp(260px, 38vw, 460px);
    object-fit: cover;
    object-position: center center;
    /* 👈 important */
}

/* ================= HERO TEXT (BOTTOM CENTER - REFINED) ================= */

.hero-content {
    position: absolute;
    bottom: 3%;
    /* ⬇ moved slightly lower (was 7%) */
    left: 70%;
    transform: translateX(-50%);
    z-index: 2;
    max-width: 400px;
    /* ⬅ slightly narrower */
    width: calc(100% - 48px);
    padding: 13px 20px;
    /* ⬅ reduced height */
    text-align: center;
    color: #ffffff;
    background: rgba(13, 42, 74, 0.50);
    backdrop-filter: blur(5px);
    border-radius: 14px;
}

/* Title */
.hero-content h1 {
    font-size: clamp(18px, 2.6vw, 10px);
    /* ⬅ slightly smaller */
    font-weight: 700;
    margin-bottom: 6px;
    /* ⬅ tighter */
}

/* Description */
.hero-content p {
    font-size: clamp(13px, 1.05vw, 10px);
    opacity: 0.92;
    margin-bottom: 10px;
    /* ⬅ reduced */
}

/* Button */
.hero-content a {
    display: inline-block;
    background: linear-gradient(#cdd70b, #ffc107);
    color: #000000;
    padding: 8px 20px;
    /* ⬅ reduced height */
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.hero-content a:hover {
    background: #ffe28c;
    color: #0d2a4a;
}

/* ---------- ANNOUNCEMENTS  ---------- */

.announcement-box {
    margin-top: 30px;
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(13, 42, 74, 0.08);
    display: flex;
    flex-direction: column;
    height: 400px;
    border-left: 6px solid #0d6efd;
    position: relative;
}
.announcement-box::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 16px;
    right: 16px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    pointer-events: none;
}

/* Title */
.announcement-title {
    background: linear-gradient(135deg, #cdd70b, #ffc107);
    color: #000;
    padding: 10px 12px;
    font-size: 15px;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ===== ANNOUNCEMENTS ===== */
.announcement-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
}

.announcement-link {
    font-weight: 500;
    text-decoration: none;
    color: #0d2a4a;
}

.announcement-link:hover {
    text-decoration: underline;
}

.announcement-date {
    color: #6c757d;
    font-size: 13px;
}

/* NEW badge */
.badge-new {
    margin-left: auto;
    /* pushes NEW to the end */
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    background: #dc3545;
    color: #fff;

    animation: pulseNew 2.2s ease-in-out infinite;
}

/* Slow pulse animation */
@keyframes pulseNew {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.6);
    }

    50% {
        transform: scale(1.08);
        opacity: 0.85;
        box-shadow: 0 0 0 6px rgba(220, 53, 69, 0);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.announcement-list {
    margin-top: 14px;
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    position: relative;
}
.announcement-list::after {
    content: "";
    position: sticky;
    bottom: 0;
    display: block;
    height: 40px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.85),
            #ffffff);
    pointer-events: none;
}
/* Individual announcement */
.announcement-list li {
    position: relative;
    background: #f8faff;
    margin-bottom: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #0d2a4a;
    border: 1px solid rgba(13, 42, 74, 0.08);
    transition: all 0.25s ease;
}

.announcement-list li:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 42, 74, 0.12);
    transform: translateY(-2px);
}


/* Remove last spacing */
.announcement-list li:last-child {
    margin-bottom: 0;
}


/* Scrollbar */
.announcement-list::-webkit-scrollbar {
    width: 8px;
}

.announcement-list::-webkit-scrollbar-track {
    background: #eef3ff;
    border-radius: 10px;
}

.announcement-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0d6efd, #ffc107);
    border-radius: 10px;
}

/* ---------- MOBILE ---------- */

/* Desktop */
@media (min-width: 992px) {
    .announcement-list {
        max-height: 280px;
    }
}

/* Tablet & Mobile */
@media (max-width: 991px) {
    .announcement-list {
        max-height: 240px;
    }
}

@media (max-width: 991px) {
    .announcement-box {
        min-height: auto;
        margin-top: 20px;
    }

    .announcement-list {
        max-height: 260px;
    }
}

@media (max-width: 767px) {
    #collegeCarousel {
        border-radius: 10px;
    }

    .carousel img {
        height: 200px;
    }

    .announcement-box {
        margin-top: 20px;
        height: 380px;

    }

    .hero-content {
        bottom: 5%;
        padding: 14px 16px;
        max-width: 92%;
    }

}

/* Auto-scroll animation */
.auto-scroll {
    scroll-behavior: smooth;
}

/* Disable scrollbar jump while auto-scrolling */
.auto-scroll::-webkit-scrollbar {
    display: none;
}



/* ================= MOBILE OFFCANVAS ================= */

.offcanvas {
    width: 75%;
    max-width: 320px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Header */

.offcanvas-header {
    background: rgba(13, 42, 74, 0.95);
    backdrop-filter: blur(6px);
}


.offcanvas-title {
    color: #ffffff;

}

/* Close Button */

.offcanvas-header .btn-close {
    filter: invert(1);
    opacity: 1;
}

/* Body */

.offcanvas-body {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
}

/* Mobile Links */

.offcanvas-body .nav-link {
    color: #0d2a4a !important;
    font-weight: 600;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.offcanvas-body .nav-link:hover {
    background: #0d6efd;
    color: #ffffff !important;
    transform: translateX(5px);
    transition: 0.3s;
}

/* Overlay */

.offcanvas-backdrop.show {
    opacity: 0.6;
    background-color: #000000;
}


/* Force offcanvas menu items to align left */
.offcanvas-body .navbar-nav {
    align-items: stretch !important;
    /* undo center alignment */
}

/* Make nav items full width */
.offcanvas-body .nav-item {
    width: 100%;
}

/* Nav links should fill container */
.offcanvas-body .nav-link {
    width: 100%;
    text-align: left;
}

/* Submenu links also full width */
.offcanvas-body .mobile-sub-link {
    width: 100%;
    text-align: left;
}

/* Optional: reduce card look on mobile */
@media (max-width: 991px) {
    .offcanvas-body .nav-link {
        border-radius: 10px;
    }
}



/* ===== MOBILE SUBMENU ===== */

.mobile-sub-link {
    display: block;
    padding: 10px 15px;
    margin-bottom: 6px;
    border-radius: 6px;
    background: #ffffff;
    color: #0d2a4a;
    font-weight: 500;
    text-decoration: none;
}

.mobile-sub-link:hover {
    background: #0d6efd;
    color: white;
}

/* Chevron icon size */

.offcanvas-body i {
    font-size: 14px;
}

/* ================= FIX: SECOND & THIRD LEVEL DROPDOWN ================= */

/* Ensure all dropdown menus can overlap safely */
.navbar,
.navbar-nav,
.dropdown-menu {
    overflow: visible !important;
    z-index: 1000;
}

/* Give base dropdown proper stacking */
.dropdown-menu {
    position: absolute;
    z-index: 3000;
}

/* SECOND LEVEL */
.dropdown-menu li>.dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 0;
    display: none;
    z-index: 4000;
    /* 🔑 higher than parent */
}

/* Show 2nd level on hover */
.dropdown-menu li:hover>.dropdown-menu {
    display: block;
}

/* THIRD LEVEL */
.dropdown-menu li>.dropdown-menu li>.dropdown-menu {
    left: 100%;
    top: 0;
    z-index: 5000;
}

/* RIGHT-SIDE AUTO FLIP (critical for AQAR / IQAC / RTI-ACT) */
.navbar-nav>li:nth-last-child(-n+3) .dropdown-menu li>.dropdown-menu {
    left: auto;
    right: 100%;
}

/* Prevent hover gap (menu closing issue) */
.dropdown-menu li>a {
    position: relative;
    z-index: 1;
}

/* Arrow alignment fix */
.dropdown-menu i {
    float: right;
    margin-top: 4px;
    pointer-events: none;
}




/* ===== ABOUT SECTION ===== */

.about-section {
    background: #ffffff;
}

.about-tag {
    color: #ffb703;
    font-weight: 700;
    border-bottom: 3px solid #ffb703;
    padding-bottom: 3px;
}

.about-title {
    font-weight: 800;
    color: #0d2a4a;
    margin-bottom: 12px;
}

.about-text {
    color: #444;
    line-height: 1.7;
    font-size: 14px;
}

/* Founder Card */
.founder-card {
    background: #f8faff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Vision / Mission */
.vm-box {
    background: #f8faff;
    padding: 14px 16px;
    border-left: 4px solid #0d6efd;
    border-radius: 8px;
    margin-bottom: 15px;
}

.vm-box h5 {
    font-size: 15px;
    font-weight: 700;
    color: #0d2a4a;
}

.vm-box p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Message Cards */
.message-card {
    display: flex;
    gap: 12px;
    background: #f8faff;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 14px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.message-card img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.message-card h6 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.message-card p {
    font-size: 13px;
    margin-bottom: 4px;
    color: #555;
}

.message-card a {
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #0d6efd;
}

/* Mobile */
@media (max-width: 767px) {
    .about-title {
        font-size: 20px;
    }
}



/* ===== IMPORTANT INFO - Section ===== */

.important-info-enhanced {
    background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%);
}

.info-header h3 {
    font-weight: 700;
    color: #0d2a4a;
}

.info-header p {
    margin-top: 4px;
    color: #6b7a90;
    max-width: 520px;
    font-size: 14px;
}

/* Panel */
.info-panel {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 18px 22px;
    height: 100%;
    position: relative;
    box-shadow: 0 10px 28px rgba(13, 42, 74, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

/* Accent bar */
.info-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #0d6efd, #4da3ff);
}

.info-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(13, 42, 74, 0.15);
}

/* Title */
.panel-title {
    font-weight: 600;
    color: #0d2a4a;
    margin-bottom: 14px;
    font-size: 15px;
}

/* List */
.info-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-panel li {
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
}

/* Icon bullet */
.info-panel li::before {
    content: "➤";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 12px;
    color: #0d6efd;
}

/* Link */
.info-panel a {
    text-decoration: none;
    color: #1a2e4a;
    font-weight: 500;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.info-panel a:hover {
    color: #0d6efd;
    padding-left: 4px;
}

/* Mobile polish */
@media (max-width: 767px) {
    .panel-title {
        font-size: 14px;
    }
}



/* ===== NEWS / EVENTS SECTION ===== */

/* ================= ROOT ================= */
.vsm-tabs-section {
    background: #1f2933;
    color: #e5e7eb;
    padding: 24px 16px;
    border-radius: 50px;
    margin-bottom: 30px;
}

/* ================= TAB HEADER ================= */
.vsm-tab-head {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    background: #111827;
    border-radius: 12px;
    padding: 6px;
    scrollbar-width: none;
}

.vsm-tab-head::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex: 0 0 auto;
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #cbd5f5;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(20, 184, 166, 0.15);
}

.tab-btn.active {
    background: #14b8a6;
    color: #022c22;
}

/* ================= TAB BODY ================= */
.vsm-tab-body {
    margin-top: 22px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= NEWS SECTION ================= */
.news-columns {
    display: grid;
    gap: 20px;
}

.news-column {
    background: #111827;
    border-radius: 14px;
    padding: 16px;
}

.news-column h4 {
    color: #14b8a6;
    font-size: 16px;
    margin-bottom: 12px;
}

.news-scroll {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 6px;
}

.news-scroll::-webkit-scrollbar {
    width: 5px;
}

.news-scroll::-webkit-scrollbar-thumb {
    background: #14b8a6;
    border-radius: 10px;
}

.news-item {
    background: #ffffff;
    color: #0f172a;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    font-size: 14px;
}

.news-item .date {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 4px;
}

.news-item a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
}

.news-item a:hover {
    color: #14b8a6;
}

/* ================= HORIZONTAL SCROLL ================= */
.horizontal-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

.horizontal-scroll::-webkit-scrollbar {
    height: 6px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
    background: #14b8a6;
    border-radius: 20px;
}

/* ================= CARD ================= */
.card {
    min-width: 260px;
    max-width: 280px;
    background: #ffffff;
    color: #0f172a;
    padding: 18px;
    border-radius: 16px;
    scroll-snap-align: start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #0f172a;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

.card a {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #14b8a6;
    text-decoration: none;
}

.card a:hover {
    color: #f59e0b;
}

/* ================= ELT BOX ================= */
.elt-box {
    background: linear-gradient(145deg, #14b8a6, #0f766e);
    border-radius: 18px;
    padding: 22px;
    color: #ecfeff;
}

.elt-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.elt-box p {
    font-size: 15px;
    line-height: 1.6;
}

.elt-box ul {
    margin: 14px 0;
    padding-left: 18px;
}

.elt-box li {
    margin-bottom: 6px;
}

.elt-box a {
    display: inline-block;
    margin-top: 12px;
    font-weight: 700;
    color: #fef3c7;
    text-decoration: none;
}

/* ================= DESKTOP BREAKPOINT ================= */
@media (min-width: 768px) {
    .vsm-tabs-section {
        padding: 50px 60px;
    }

    .news-columns {
        grid-template-columns: repeat(3, 1fr);
    }

    .card {
        min-width: 300px;
    }
}



/* ===== GALLERY SECTION ===== */

.vsm-gallery-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8faff, #eef3ff);
}

/* Header */
.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0d2a4a;
    margin-top: 10px;
}

.gallery-line {
    display: inline-block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #ffc107);
    border-radius: 20px;
}

/* Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Card */
.gallery-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

/* Hover overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(13, 42, 74, 0.85),
            rgba(13, 42, 74, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: opacity .3s ease;
    text-align: center;
}

.gallery-overlay i {
    font-size: 26px;
    background: #ffc107;
    color: #000;
    padding: 14px;
    border-radius: 50%;
    margin-bottom: 12px;
}

.gallery-overlay h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* Hover effects */
.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* ===== GALLERY SHUFFLE ANIMATION ===== */

/* ===== GALLERY GRID ===== */
.gallery-grid {
    position: relative;
}

/* CARD */
/* ===== SMOOTH SLOW SHUFFLE ===== */

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    will-change: transform;

    transition:
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Optional depth while moving */
.gallery-card.moving {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1199px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-card img {
        height: 190px;
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card img {
        height: 220px;
    }

    .gallery-header h2 {
        font-size: 26px;
    }
}


/* PLACEMENT & INDUSTRY HIGHLIGHTS section */


.vsm-stats-section {
    background: #ffffff;
    padding: 60px 20px;
}

.vsm-stats-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.vsm-stat {
    padding: 24px;
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.vsm-stat h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0d2a4a;
    margin-bottom: 6px;
}

.vsm-stat p {
    font-size: 14px;
    color: #555;
}

.vsm-stat h3 {
    transition: transform 0.3s ease;
}

.vsm-stat h3.counting {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 991px) {
    .vsm-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 575px) {
    .vsm-stats-container {
        grid-template-columns: 1fr;
    }
}



/* WHY CHOOSE VSM */

.vsm-why-section {
    background: #f5f8fc;
    padding: 70px 20px;
}

.vsm-why-container {
    max-width: 1100px;
    margin: auto;
}

.vsm-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #0d2a4a;
}

.vsm-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background: #ffffff;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(13, 42, 74, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(13, 42, 74, 0.15);
}

.why-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #0d6efd;
}

.why-card p {
    font-size: 14px;
    color: #555;
}

/* Responsive */
@media (max-width: 991px) {
    .vsm-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .vsm-why-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */

/* ===== CTA SECTION ===== */
.vsm-cta-section {
    background: linear-gradient(135deg, #0d2a4a, #123d6b);
    padding: 70px 20px;
    color: #ffffff;
    border-radius: 50px;
}

.vsm-cta-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

/* LEFT CONTENT */
.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 14px;
}

.cta-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #dbe7ff;
    max-width: 520px;
}

/* BUTTONS */
.cta-actions {
    margin-top: 26px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 14px 32px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Primary */
.cta-btn.primary {
    background: linear-gradient(135deg, #ffc107, #ffdb4d);
    color: #000;
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(255, 193, 7, 0.4);
}

/* Outline */
.cta-btn.outline {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.cta-btn.outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* RIGHT HIGHLIGHT BOX */
.cta-highlight {
    display: flex;
    justify-content: flex-end;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 28px 30px;
    border-radius: 16px;
    max-width: 360px;
}

.highlight-box h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: #ffc107;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-box li {
    font-size: 14px;
    margin-bottom: 10px;
    color: #eef3ff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .vsm-cta-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-highlight {
        justify-content: center;
        margin-top: 30px;
    }

    .cta-content p {
        margin: auto;
    }

    .cta-actions {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .cta-content h2 {
        font-size: 28px;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }
}


/* ===== Key Initiatives / Support Cells INFO SECTION ===== */
.vsm-info-section {
    background: #f6f9ff;
    padding: 70px 20px;
}

.vsm-info-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* CARD */
.vsm-info-card {
    background: #ffffff;
    padding: 34px 30px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(13, 42, 74, 0.08);
    transition: all 0.35s ease;
    position: relative;
}

/* Hover lift */
.vsm-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(13, 42, 74, 0.14);
}

/* ICON */
.info-icon {
    font-size: 44px;
    margin-bottom: 16px;
}

/* TITLE */
.vsm-info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0d2a4a;
    margin-bottom: 12px;
}

/* TEXT */
.vsm-info-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.65;
    margin-bottom: 18px;
}

/* LINK */
.info-link {
    font-weight: 600;
    font-size: 14px;
    color: #0d6efd;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.info-link:hover {
    color: #ffc107;
    gap: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .vsm-info-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 575px) {
    .vsm-info-container {
        grid-template-columns: 1fr;
    }

    .vsm-info-card {
        text-align: center;
    }

    .info-link {
        justify-content: center;
    }
}



/* ===== RECRUITERS SECTION ===== */
.recruiters-section {
    background: #ffffff;
    padding: 70px 20px;
    overflow: hidden;
}

.recruiters-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-line {
    display: block;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #ff4b5c, #ffc107);
    margin: 0 auto 14px;
    border-radius: 10px;
}

.recruiters-header h2 {
    font-size: 30px;
    font-weight: 800;
    color: #0d2a4a;
}

/* ===== MARQUEE WRAPPER ===== */
.recruiters-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ===== TRACK BASE ===== */
.recruiters-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: scrollRecruiters 35s linear infinite;
}

/* PAUSE ON HOVER */
.recruiters-marquee:hover .recruiters-track {
    animation-play-state: paused;
}

/* ===== LOGO ===== */
.recruiter-logo {
    flex-shrink: 0;
}

.recruiter-logo img {
    max-height: 80px;
    max-width: 200px;
    object-fit: contain;
}

/* ===== GRAYSCALE LAYER ===== */
.recruiters-track.grayscale {
    filter: grayscale(100%);
    opacity: 0.6;
}

/* ===== COLOR SPOTLIGHT LAYER ===== */
.recruiters-track.color {
    position: absolute;
    inset: 0;
    filter: none;
    pointer-events: none;

    /* CENTER VIGNETTE MASK */
    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.3) 18%,
            rgba(0, 0, 0, 1) 45%,
            rgba(0, 0, 0, 1) 55%,
            rgba(0, 0, 0, 0.3) 82%,
            rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.3) 18%,
            rgba(0, 0, 0, 1) 45%,
            rgba(0, 0, 0, 1) 55%,
            rgba(0, 0, 0, 0.3) 82%,
            rgba(0, 0, 0, 0) 100%);
}

/* ===== ANIMATION ===== */
@keyframes scrollRecruiters {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .recruiters-track {
        gap: 60px;
        animation-duration: 30s;
    }

    .recruiter-logo img {
        max-height: 70px;
        max-width: 160px;
    }
}

@media (max-width: 575px) {
    .recruiters-track {
        gap: 40px;
        animation-duration: 26s;
    }

    .recruiter-logo img {
        max-height: 55px;
        max-width: 130px;
    }
}


/* =====  FOOTER SECTION ===== */
.vsm-footer {
    background: linear-gradient(180deg, #041d36, #021325);
    color: #e2ecff;
    font-size: 14px;
    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
    margin-bottom: 0px !important;
}

/* TOP */
.footer-top {
    padding: 60px 20px;
}

.footer-grid {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* CARD */
.footer-card h4 {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 700;
    color: #ffc107;
}

.footer-card p {
    line-height: 1.6;
    color: #cbd9f4;
}

/* TESTIMONIAL */
/* TESTIMONIAL AUTO SCROLL */
.testimonial-slider {
    height: 140px;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    flex-direction: column;
    gap: 28px;
    animation: testimonialScroll 18s linear infinite;
}

.testimonial-item p {
    font-style: italic;
    color: #dbe7ff;
    line-height: 1.6;
}

.testimonial-item span {
    display: block;
    margin-top: 8px;
    font-weight: 600;
    color: #ffffff;
}

/* Pause on hover */
.testimonial-slider:hover .testimonial-track {
    animation-play-state: paused;
}

@keyframes testimonialScroll {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd9f4;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffc107;
    padding-left: 6px;
}

/* SOCIAL */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.35s ease;
}

.footer-social a:hover {
    background: #ffc107;
    color: #041d36;
    transform: translateY(-4px);
}
/* MAP */
.footer-card iframe {
    width: 100%;
    height: 160px;
    border: 0;
    border-radius: 12px;
    margin-bottom: 12px;
}

.reach-btn {
    display: inline-block;
    background: #ffc107;
    color: #041d36;
    padding: 10px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
}

/* BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #a9bbdf;
    font-size: 13px;
}

.contact-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: #ffc107;
    text-decoration: underline;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        text-align: center;
        gap: 10px;
    }
}



/* ================= MODERN ADMISSION POPUP ================= */

.modal-content.popup-design {
    border-radius: 22px;
    overflow: hidden;
    border: none;
    background: #ffffff;
    box-shadow: 0 25px 70px rgba(13, 42, 74, .25);
    animation: popupFade 0.45s ease;
}

/* Fade animation */
@keyframes popupFade {
    from {
        transform: translateY(20px) scale(.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* IMAGE */
.popup-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    position: relative;
}

/* subtle overlay gradient */
.popup-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(13, 42, 74, .55),
            transparent 60%);
}

/* ===== POPUP MAIN ===== */

/* POPUP MAIN */
.popup-design {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: none;
}

/* IMAGE WRAPPER */
.popup-img-wrap {
    width: 100%;
    max-height: 70vh;
    /* responsive height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

/* UNIVERSAL IMAGE FIT */
.popup-img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    display: block;
}

/* CLOSE BUTTON */
.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    z-index: 10;
}

.popup-close:hover {
    background: #ffc107;
    color: #000;
}

/* MOBILE FIX */
@media(max-width:768px) {
    .popup-img-wrap {
        max-height: 60vh;
    }
}

/* CONTENT */
.popup-content {
    padding: 28px;
    background: #fff;
}

/* TITLE */
.popup-content h3 {
    font-weight: 800;
    color: #0d2a4a;
    margin-bottom: 8px;
}

/* TEXT */
.popup-content p {
    color: #555;
    font-size: 15px;
    margin-bottom: 20px;
}

/* BUTTON */
.popup-content .btn-primary {
    background: linear-gradient(135deg, #ffc107, #ffe28c);
    border: none;
    color: #000;
    font-weight: 700;
    border-radius: 40px;
}

/* MOBILE */
@media(max-width:768px) {
    .popup-img-wrap {
        height: 200px;
    }
}

/* CONTENT */
.popup-content {
    padding: 30px 28px;
    text-align: center;
}

/* TITLE */
.popup-content h3 {
    font-weight: 800;
    color: #0d2a4a;
    margin-bottom: 10px;
    font-size: 24px;
}

/* DESCRIPTION */
.popup-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

/* BUTTON */
.popup-content .btn-primary {
    background: linear-gradient(135deg, #ffc107, #ffe28c);
    border: none;
    color: #000;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(255, 193, 7, .4);
    transition: all .3s ease;
}

.popup-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 193, 7, .55);
}

/* BACKDROP BLUR */
.modal-backdrop.show {
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, .55);
}

/* MOBILE */
@media(max-width:768px) {
    .popup-img {
        height: 200px;
    }

    .popup-content h3 {
        font-size: 20px;
    }

    .popup-content p {
        font-size: 14px;
    }
}




/* ===============================
   PREMIUM WHITE LOADER
=============================== */

#pageLoader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#pageLoader.hide {
    opacity: 0;
    visibility: hidden;
}

/* Glass Card - White Edition */
.loader-content {
    text-align: center;
    padding: 50px 60px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.05);
    animation: fadeUp 0.6s ease;
}

/* Subtle entrance */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.loader-logo {
    width: 85px;
    margin-bottom: 20px;
    animation: float 2.5s ease-in-out infinite;
}

/* Floating effect */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Text */
.loader-text {
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    font-size: 22px;
}

/* Progress Wrapper */
.loader-bar {
    width: 240px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 30px;
    overflow: hidden;
    margin: auto;
}

/* Modern Gradient Fill */
.loader-progress {
    height: 100%;
    width: 0%;
    border-radius: 30px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    animation: loadBar 2.2s ease forwards;
    position: relative;
}

/* Subtle shine effect */
.loader-progress::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    transform: skewX(-20deg);
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% {
        left: -40%;
    }

    100% {
        left: 120%;
    }
}

@keyframes loadBar {
    to {
        width: 100%;
    }
}