﻿


/* ===============================
   GITAM-STYLE SLIM BLACK SCROLLBAR
   =============================== */
/* Chrome, Edge, Safari */
html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background-color: #0a0a0a; /* deep black background */
}

html::-webkit-scrollbar-thumb {
    background-color: #444; /* medium-dark gray thumb */
    border-radius: 6px;
}

    html::-webkit-scrollbar-thumb:hover {
        background-color: #666; /* lighter gray on hover */
    }

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #444 #0a0a0a;
}


.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

    .cta-buttons a {
        flex: 1 1 200px; /* equal size buttons */
        max-width: 250px;
        height: 60px; /* consistent height */
        border-radius: 50px; /* pill shape */
        display: flex; /* ✅ ensures perfect centering */
        align-items: center; /* vertically center */
        justify-content: center; /* horizontally center */
        text-decoration: none;
        font-size: 1rem;
        font-weight: 600;
        box-sizing: border-box;
        transition: all 0.3s ease;
    }




/* mobile full width */
@media (max-width: 600px) {
    .cta-buttons a {
        flex: 1 1 100%;
        max-width: none;
    }
}


/* ================= HEADER WRAPPER ================= */
.header-wrapper {
    background: #000;
    color: #fff;
    width: 100%;
}

/* ========== DESKTOP LAYOUT ========== */
.header-container {
    display: grid;
    grid-template-columns: 300px auto;
    align-items: center;
}

.header-left {
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 40px;
}

.header-logo img {
    max-height: 80px;
    width: auto;
}

/* Right side */
.header-right {
    display: grid;
    grid-template-rows: auto auto;
    justify-items: end;
    padding-right: 40px;
}

.header-topbar {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 5px 0 0 0;
}

.topbar-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

/* ========== MOBILE LAYOUT (Perfect alignment) ========== */
@media (max-width: 991px) {
    .header-container {
        display: flex; /* ✅ simpler for centering */
        align-items: center; /* ✅ vertical centering */
        justify-content: space-between; /* ✅ left logo, right toggle */
        padding: 10px 20px;
        height: 64px; /* ✅ fixed visual height */
    }

    .header-left {
        padding: 0;
        display: flex;
        align-items: center;
    }

    .header-logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .header-logo img {
            max-height: 56px; /* ✅ consistent mobile logo height */
            height: auto;
            display: block;
        }

    /* Hide topbar */
    .header-topbar {
        display: none;
    }

    /* ===== Toggle Button ===== */
    #navToggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        color: #fff;
        height: 100%;
        width: 46px;
        cursor: pointer;
        z-index: 10001;
    }

        #navToggle i {
            display: flex;
            align-items: center;
            justify-content: center;
        }

    /* ===== Mobile Nav Menu ===== */
    .nav-menu {
        position: fixed;
        top: 54px; /* same as header height */
        right: -100%;
        flex-direction: column;
        width: min(320px, 85vw);
        height: calc(100vh - 54px);
        background: #111;
        padding: 20px;
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 10000;
        gap: 18px;
    }

        .nav-menu.active {
            right: 0;
        }

        .nav-menu > li > a {
            padding: 14px 0;
            display: flex;
            justify-content: space-between;
            color: #fff;
            text-decoration: none;
        }
}




.nav-toggle {
    display: none;
}

@media (max-width: 991px) {
    .nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        color: #fff;
        height: var(--navbar-h);
        padding: 0 12px;
        cursor: pointer;
        z-index: 99999;
    }

        .nav-toggle i {
            display: flex;
            align-items: center;
            justify-content: center;
        }
}

@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: var(--navbar-h);
        right: -100%;
        flex-direction: column;
        width: min(320px, 85vw);
        height: calc(100vh - var(--navbar-h));
        background: #111;
        padding: 20px;
        gap: 0;
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 9999;
    }

        .nav-menu.active {
            right: 0;
        }
}
/* ======================= TOGGLE BUTTON ======================= */
.nav-toggle {
    display: none;
}

@media (max-width: 991px) {
    .nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        color: #fff;
        height: var(--navbar-h);
        padding: 0 12px;
        top: 15px;
        cursor: pointer;
        position: relative;
        z-index: 10001;
    }

        .nav-toggle i {
            display: flex;
            align-items: center;
            justify-content: center;
        }
}

/* ======================= NAV MENU ======================= */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 38px;
}

@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: var(--navbar-h);
        right: -100%;
        flex-direction: column;
        width: min(320px, 85vw);
        height: calc(100vh - var(--navbar-h));
        background: #111;
        padding: 20px;
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 10000;
        gap: 18px;
    }

        .nav-menu.active {
            right: 0;
        }

        .nav-menu > li > a {
            padding: 14px 0;
            display: flex;
            justify-content: space-between;
            color: #fff;
            text-decoration: none;
        }
}


.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: none; /* Prevent any jump animation */
    will-change: transform;
}

body {
    padding-top: 64px; /* Reserve space equal to header height */
}


/* ====================== MOBILE HEADER (≤991px) ====================== */
@media (max-width: 991px) {

    /* ===== HEADER WRAPPER ===== */
    .header-wrapper {
        position: fixed; /* ✅ stays visible while scrolling */
        top: 0; /* ✅ anchored to top edge */
        left: 0;
        width: 100%; /* full width */
        background: #000; /* fills top gap */
        border-radius: 0; /* no rounded corners */
        z-index: 9999;
        box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    }

    /* reserve space below header to prevent layout jump */
    body {
        padding-top: 88px; /* roughly header height (adjust if needed) */
        background: #000;
    }

    /* ===== HEADER CONTAINER ===== */
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 16px 10px; /* ✅ 20px top padding for logo/toggle */
        height: auto;
        min-height: 72px;
    }

    /* ===== LOGO ===== */
    .header-logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .header-logo img {
            max-height: 68px;
            height: auto;
            display: block;
            object-fit: contain;
        }

    /* ===== TOGGLE BUTTON ===== */
    #navToggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        color: #fff;
        width: 44px;
        height: 44px;
        cursor: pointer;
        z-index: 10001;
    }

        #navToggle i {
            display: flex;
            align-items: center;
            justify-content: center;
        }

    /* ===== HIDE DESKTOP TOPBAR ===== */
    .header-topbar {
        display: none;
    }

    /* ===== MOBILE NAV MENU ===== */
    .nav-menu {
        position: fixed;
        top: 88px; /* ✅ exactly below header */
        right: -100%;
        flex-direction: column;
        width: min(320px, 85vw);
        height: calc(100vh - 88px);
        background: #111;
        padding: 20px;
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 10000;
        gap: 18px;
    }

        .nav-menu.active {
            right: 0;
        }

        .nav-menu > li > a {
            padding: 14px 0;
            display: flex;
            justify-content: space-between;
            color: #fff;
            text-decoration: none;
        }

            .nav-menu > li > a:hover {
                color: #ffae00;
            }
}

/* ================= MOBILE HEADER (≤991px) ================= */
@media (max-width: 991px) {

    :root {
        --m-side: 16px;
        --m-topPad: 20px;
    }
    /* side & top padding inside header */

    /* Sticky full-width black header */
    .header-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #000;
        color: #fff;
        border-radius: 0;
        z-index: 9999;
        box-shadow: 0 4px 12px rgba(0,0,0,.35);
    }

    /* Reserve space below header so content doesn't jump */
    body {
        padding-top: 88px;
        background: #000;
    }
    /* JS below will correct this value */

    /* Row with logo (left) and actions (right) */
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--m-topPad) var(--m-side) 10px;
        min-height: 72px;
        height: auto;
        gap: 12px;
    }

    /* Logo sizing—stays inside header */
    .header-logo {
        display: flex;
        align-items: center;
    }

        .header-logo img {
            max-height: 68px;
            height: auto;
            display: block;
            object-fit: contain;
        }

    /* Hide the desktop topbar on mobile */
    .header-topbar {
        display: none;
    }

    /* === Right-side action buttons (search + toggle) === */
    /* Make the icons identical squares so they align perfectly */
    #mobileSearchBtn, #navToggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px; /* equal hit area */
        margin: 0;
        padding: 0;
        cursor: pointer;
        color: #fff;
        background: transparent;
        border: 0;
    }

        #mobileSearchBtn i, #navToggle i {
            display: block;
            line-height: 1;
            font-size: 22px; /* same visual size */
        }

    /* Mobile slide-in menu sits exactly under the header */
    .nav-menu {
        position: fixed;
        top: 88px; /* JS below will sync this */
        right: -100%;
        width: min(320px, 85vw);
        height: calc(100vh - 88px);
        background: #111;
        padding: 20px;
        overflow-y: auto;
        transition: right .3s ease;
        z-index: 10000;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

        .nav-menu.active {
            right: 0;
        }

        .nav-menu > li > a {
            padding: 14px 0;
            display: flex;
            justify-content: space-between;
            color: #fff;
            text-decoration: none;
        }

            .nav-menu > li > a:hover {
                color: #ffae00;
            }
}


@media (max-width: 991px) {

    .header-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #000;
        z-index: 9999;
        box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    }

    body {
        padding-top: 88px;
        background: #000;
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 25px 16px 10px; /* 20px top padding */
        min-height: 72px;
    }

    .header-logo img {
        max-height: 68px;
        height: auto;
        display: block;
        object-fit: contain;
    }

    /* ✅ Move icons slightly down */
    #mobileSearchBtn,
    #navToggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        font-size: 32px;
        color: #fff;
        margin-top: 30px; /* 👈 adjust this (4–10px) to control how far down */
        cursor: pointer;
    }

        #mobileSearchBtn i,
        #navToggle i {
            display: block;
            line-height: 1;
        }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100px !important; /* ✅ Moves the WHOLE menu panel 24px lower */
        left: 0;
        width: 100%;
        height: calc(100vh - 120px); /* ✅ Adjusts height automatically */
        background: #111;
        padding: 20px 24px;
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 10000;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

        .nav-menu.active {
            right: 0;
        }

        .nav-menu > li > a {
            padding: 14px 0;
            display: flex;
            justify-content: space-between;
            color: #fff;
            text-decoration: none;
            font-size: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

            .nav-menu > li > a:hover {
                color: #ffae00;
            }
}

@media (max-width: 768px) {
    .hero-heading {
       
        color: #fff !important; 
    }
}

@media (min-width: 992px) {
    /* ===== Topbar Quick Links (Careers, Alumni, etc.) ===== */
    .header-topbar .topbar-menu {
        gap: 3rem; /* 🔹 increase this value for more spacing */
    }

    /* optional - vertical centering tweak */
    .header-topbar {
        gap: 2.5rem; /* space between menu and search icon */
    }

}


/*load*/
body.loading {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
}

/* Overlay */
#pageLoader {
    position: fixed;
    inset: 0;
    background: #0b0b0b;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

    #pageLoader.hide {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

/* Loader card */
.loader-card {
    background: #111;
    border-radius: 18px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    padding: 40px 60px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    font-family: "Poppins", sans-serif;
    color: #fff;
}

/* Logo animation */
.loader-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #00b4ff, #ffae00);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: pulseLogo 2.5s ease-in-out infinite alternate;
}

    .loader-logo img {
        width: 70%;
        height: auto;
        object-fit: contain;
        filter: brightness(1.05) contrast(1.05);
    }

@keyframes pulseLogo {
    from {
        transform: scale(1);
        filter: brightness(1);
    }

    to {
        transform: scale(1.08);
        filter: brightness(1.3);
    }
}

.loader-card h3 {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fff !important;
}

.loader-card p {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 18px;
}

/* Gradient progress bar */
.loader-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

#loaderBar {
    width: 0%;
    height: 100%;
    border-radius: 6px;
    /* background: linear-gradient(90deg, #00b4ff 10%, #ffd84d 40%, #ffae00 100%);*/
    background: linear-gradient(90deg, #00b4ff, #ffae00);
    background-size: 200% 100%;
    animation: moveGrad 3s linear infinite;
    transition: width 0.35s ease;
}

@keyframes moveGrad {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

#loaderPercent {
    font-size: 0.95rem;
    color: #ddd;
    font-weight: 500;
}

#skipLoader {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #bbb;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    margin-top: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    #skipLoader:hover {
        color: #fff;
        border-color: #fff;
    }

@media (max-width: 768px) {
    .loader-card {
        padding: 32px 40px;
    }

    .loader-logo {
        width: 120px;
        height: 120px;
    }

    .loader-card h3 {
        font-size: 1.05rem;
    }

    .loader-card p {
        font-size: 0.85rem;
    }
}

/* Small Phones (≤480px) */
@media (max-width: 480px) {
    .loader-card {
        padding: 28px 24px;
    }

    .loader-logo {
        width: 90px;
        height: 90px;
    }

    .loader-card h3 {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .loader-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}



.chat-footer {
    display: flex;
    flex-direction: column; /* << forces vertical layout */
    padding: 12px;
    background: #fff;
    border-top: 1px solid #ddd;
}

.input-wrapper {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%; /* << input row expands */
}

.helpdesk-link {
    text-align: center;
    width: 100%; /* << full width so it appears center */
    margin-top: 6px;
    font-size: 11px;
}

    .helpdesk-link a {
        color: #666;
        text-decoration: none;
    }

        .helpdesk-link a:hover {
            color: #000;
            text-decoration: underline;
        }


        /* about */


.about-premium {
    background: #ffffff; /* Full white section */
    color: #000;
    padding: 100px 0;
    position: relative;
}

/* Frame box */
.about-box {
    background: #ffffff; /* White inside */
    border: 12px solid #000; /* Thick black frame */
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

/* Heading with gradient highlight */
.about-title {
    font-weight: 700;
    color: #000;
    position: relative;
}

    .about-title .highlight {
        background: linear-gradient(90deg, #00b4ff 0%, #ffae00 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .about-title::after {
        content: "";
        display: block;
        width: 60px;
        height: 4px;
        margin-top: 12px;
        background: linear-gradient(90deg, #00b4ff 0%, #ffae00 100%);
    }

/* Gradient text inside */
.about-box strong,
.about-box .highlight {
    background: linear-gradient(90deg, #00b4ff 0%, #ffae00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Paragraph text */
.about-box p {
    color: #333;
    line-height: 1.6;
}

/* CTA button */
.about-box .btn-warning {
    background: transparent;
    border: 2px solid #D4AF37;
    color: #D4AF37;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .about-box .btn-warning:hover {
        background: #D4AF37;
        color: #000;
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    }

/* Image styling */
.about-img-wrapper {
    border: 4px solid #000; /* optional: thin black outline for image */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .about-img-wrapper:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.25);
    }

/* Responsive */
@media (max-width: 992px) {
    .about-box {
        padding: 30px;
        border: 8px solid #000;
    }

    .about-title {
        font-size: 2rem;
    }
}

.about-box {
    background: #ffffff; /* inside area stays white */
    border: 30px solid #000; /* increased border thickness — looks like ~1 inch */
    border-radius: 20px;
    padding: 50px; /* keep good spacing inside */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}
/* Section */
.about-premium {
    background: #ffffff; /* White background for full section */
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center; /* centers vertically (optional) */
    padding: 80px 0;
}

/* Description box */
.about-box {
    background: #ffffff; /* White inside */
    border: 35px solid #000; /* thick black border like MU example */
    border-radius: 20px;
    max-width: 1100px; /* wider width for center box */
    width: 90%; /* responsive on smaller screens */
    padding: 40px 60px; /* reduced padding to control height */
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.2);
    text-align: left;
}

/* Heading */
.about-title {
    font-weight: 700;
    color: #000;
    position: relative;
    font-size: 2.4rem;
}

    .about-title .highlight {
        background: linear-gradient(90deg, #00b4ff 0%, #ffae00 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .about-title::after {
        content: "";
        display: block;
        width: 70px;
        height: 4px;
        margin-top: 14px;
        background: linear-gradient(90deg, #00b4ff 0%, #ffae00 100%);
    }

/* Paragraphs */
.about-box p {
    color: #333;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Gradient text inside */
.about-box strong,
.about-box .highlight {
    background: linear-gradient(90deg, #00b4ff 0%, #ffae00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* CTA button */
.about-box .btn-warning {
    background: transparent;
    border: 2px solid #D4AF37;
    color: #D4AF37;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

    .about-box .btn-warning:hover {
        background: #D4AF37;
        color: #000;
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    }

/* Responsive */
@media (max-width: 992px) {
    .about-box {
        border: 25px solid #000;
        padding: 30px;
    }

    .about-title {
        font-size: 2rem;
    }
}



/* search */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.3s ease;
    opacity: 0;
}

    .search-overlay.active {
        display: flex;
        opacity: 1;
    }

.search-box {
    width: 90%;
    max-width: 600px;
    text-align: center;
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.search-overlay.active .search-box {
    transform: translateY(0);
    opacity: 1;
}

/* Search Input */
.search-box input {
    width: 100%;
    padding: 16px 20px;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(30, 30, 30, 0.85);
    color: #fff;
    border-radius: 6px;
    backdrop-filter: blur(3px);
    outline: none;
    transition: all 0.3s ease;
}

    .search-box input:focus {
        border-color: #ffae00;
        box-shadow: 0 0 12px rgba(255, 174, 0, 0.4);
    }

/* Close button */
.search-box .close-btn {
    position: absolute;
    right: -10px;
    top: 0;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .search-box .close-btn:hover {
        transform: translateY(-50%) rotate(90deg);
    }

/* Suggestions */
#searchSuggestions {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
    background: rgba(20, 20, 20, 0.9);
    border-radius: 6px;
    text-align: left;
}

    #searchSuggestions li {
        padding: 12px 16px;
        color: #cfcfcf;
        cursor: pointer;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        #searchSuggestions li:first-child {
            border-top: none;
        }

        #searchSuggestions li:hover,
        #searchSuggestions li.active {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
        }

/* Category labels (optional) */
.suggestion-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #ffae00;
    font-weight: 500;
    margin-left: 10px;
}


#searchSuggestions li {
    opacity: 0;
    transform: translateY(10px);
    animation: suggestionFadeIn 0.35s ease forwards;
}

    #searchSuggestions li:nth-child(1) {
        animation-delay: 0.05s;
    }

    #searchSuggestions li:nth-child(2) {
        animation-delay: 0.1s;
    }

    #searchSuggestions li:nth-child(3) {
        animation-delay: 0.15s;
    }

    #searchSuggestions li:nth-child(4) {
        animation-delay: 0.2s;
    }

    #searchSuggestions li:nth-child(5) {
        animation-delay: 0.25s;
    }

@keyframes suggestionFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close button – position directly on top-right of input box */
.search-box .close-btn {
    position: absolute !important;
    top: 20px !important; /* 🔹 aligns vertically inside box area */
    right: 12px !important; /* 🔹 keeps it inside input padding area */
    background: none !important;
    border: none !important;
    color: #fff !important;
    font-size: 22px !important;
    cursor: pointer !important;
    transition: transform 0.3s ease, color 0.2s ease !important;
    z-index: 10 !important;
}

    .search-box .close-btn:hover {
        color: #ffae00 !important;
        transform: rotate(90deg) !important;
    }

/* ✅ Mobile tweak — reduce size slightly */
@media (max-width: 600px) {
    .search-box .close-btn {
        top: 20px !important;
        right: 10px !important;
        font-size: 20px !important;
    }
}

/* footer*/

@media (max-width: 768px) {
    .site-footer .footer-main .col-md-6,
    .site-footer .footer-main .col-lg-4,
    .site-footer .footer-main .col-lg-2 {
        text-align: left !important;
    }

    /* Ensure links and headings also align left */
    .site-footer h5,
    .site-footer a,
    .site-footer p,
    .site-footer .footer-campus strong {
        text-align: left !important;
        margin-left: 0 !important;
    }

    /* Remove unintended centering or auto margins */
    .site-footer .footer-campus {
        margin: 8px 0;
    }

    /* Newsletter input full width on mobile */
    .newsletter-group {
        flex-direction: column;
        align-items: flex-start;
    }

        .newsletter-group input {
            width: 100%;
            margin-bottom: 8px;
        }

        .newsletter-group button {
            width: auto;
        }
}
/* ==============================
   FIX: Left-align footer heading underline in mobile
   ============================== */
@media (max-width: 768px) {
    .site-footer h5 {
        text-align: left !important;
        margin-left: 0 !important;
    }

        /* left-align the gradient underline */
        .site-footer h5::after {
            left: 0 !important;
            right: auto !important;
            margin: 0 !important;
            transform: none !important;
        }
}

.text-danger {
    color: #ff4d4d;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

/* ===== MOBILE FIX: Lift hero content up ===== */
@media (max-width: 600px) {
    .hero-section {
        padding-top: 40px; /* more top breathing space */
        padding-bottom: 40px; /* reduce bottom pressure */
    }

    .hero-content {
        margin-top: -40px; /* Lifts content upward */
        transform: translateY(-20px); /* extra lifting */
    }

    .hero-heading {
        font-size: 26px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .cta-buttons {
        gap: 10px;
        margin-top: 12px;
    }
}


/* enquire*/


.enquire-floating {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 35px;
    background: #4B1D69;
    color: #fff;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    z-index: 9999;
    animation: pulseGlow 2s infinite;
}

/* SAME animation you used in announcement bar */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0,0,0,0.6);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(0,0,0,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0,0,0,0);
    }
}

/* hover */
.enquire-floating:hover {
    animation: none;
    background: #222;
}

/* MOBILE POSITION */
@media(max-width:768px) {
    .enquire-floating {
        left: auto;
        right: 20px;
        transform: none;
        bottom: 80px;
    }
}

.enquire-floating {
    position: fixed;
    right: 20px;
    bottom: 140px; /* IMPORTANT — push above scroll + chatbot */
    background: #000;
    color: #fff;
    padding: 12px 22px;
    border-radius: 28px;
    font-weight: 600;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* Desktop center placement */
@media(min-width:769px) {
    .enquire-floating {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 30px;
    }
}


.facilities-section {
    background: radial-gradient(circle at top left, #f8f9fb 0%, #f2f4f6 100%);
    position: relative;
    overflow: hidden;
}

/* heading */
.section-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    color: #002147;
    letter-spacing: 0.5px;
    position: relative;
}

.section-subtitle {
    color: #555;
    font-size: 1.05rem;
    font-weight: 500;
}

.section-underline {
    width: 80px;
    height: 4px;
    background-color: #D4AF37;
    border-radius: 3px;
    margin-top: 12px;
}

/* Cards */
.facility-card {
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

    .facility-card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 15px 28px rgba(0,0,0,0.18);
    }

/* image styling */
.img-wrapper {
    position: relative;
    overflow: hidden;
    height: 230px;
}

    .img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.facility-card:hover img {
    transform: scale(1.1);
}

/* text */
.content {
    padding: 1rem;
    text-align: left;
}

    .content h5 {
        font-weight: 700;
        color: #1D4E89;
        margin-bottom: 0.3rem;
    }

    .content p {
        font-size: 0.9rem;
        color: #555;
        margin-bottom: 0;
    }

/* button */
.btn-facilities {
    display: inline-block;
    background: linear-gradient(90deg, #002147, #1D4E89);
    color: #fff;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

    .btn-facilities:hover {
        background: #D4AF37;
        color: #002147;
        box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    }

/* hover glow */
.facility-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.facility-card:hover::after {
    border-color: #D4AF37;
    box-shadow: 0 0 12px rgba(212,175,55,0.6);
}

/* Equal height cards fix */
.facility-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* ensure full equal height in Bootstrap grid */
}

.facilities-section .row > div {
    display: flex;
}

.img-wrapper {
    flex-shrink: 0;
    height: 230px;
}

.content {
    flex-grow: 1; /* fill remaining space so all cards align */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* responsive */
@media (max-width: 992px) {
    .img-wrapper {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 1.8rem;
    }

    .img-wrapper {
        height: 160px;
    }
}

@media (max-width: 992px) {
    .img-wrapper {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .img-wrapper {
        height: 160px;
    }
}


/* ====== FACILITIES: KEEP BOOTSTRAP ROW ====== */

/* Force equal height & width cards */
.facilities-section .facility-card {
    width: 100%;
    aspect-ratio: 1 / 1; /* same width and height */
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .facilities-section .facility-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.2);
    }

/* Image wrapper covers top area */
.facilities-section .img-wrapper {
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
}

    .facilities-section .img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.facilities-section .facility-card:hover img {
    transform: scale(1.08);
}

/* Text area at bottom */
.facilities-section .content {
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.8) 100%);
    color: #fff;
    padding: 0.8rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

    .facilities-section .content h5 {
        font-weight: 700;
        color: #D4AF37;
        margin-bottom: 0.2rem;
    }

    .facilities-section .content p {
        font-size: 0.85rem;
        color: rgba(255,255,255,0.85);
        margin: 0;
    }

/* Responsive fixes */
@media (max-width: 992px) {
    .facilities-section .facility-card {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 768px) {
    .facilities-section .facility-card {
        aspect-ratio: 1 / 1;
    }
}


