﻿
/*courses*/
#coursesSection {
    background: #fff;
    color: #000
}

    #coursesSection .grad-accent {
        color: #ffae00
    }

    /* Tabs container like Recruiters */
    #coursesSection .courses-nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        background: #000;
        border-radius: 2rem;
        padding: .8rem 1.2rem
    }

        #coursesSection .courses-nav .nav-link {
            background: none;
            color: #aaa;
            font-size: 1rem;
            font-weight: 500;
            position: relative;
            transition: color .3s ease
        }

            #coursesSection .courses-nav .nav-link:hover {
                color: #fff
            }

            #coursesSection .courses-nav .nav-link.active {
                color: #ffae00;
                font-weight: 600
            }

                #coursesSection .courses-nav .nav-link.active::after {
                    content: "";
                    position: absolute;
                    left: 0;
                    bottom: -6px;
                    width: 100%;
                    height: 2px;
                    background: linear-gradient(90deg,#ffae00 0%,#ffd84d 50%,#ffae00 100%);
                    animation: underlineSlide .35s ease
                }

@keyframes underlineSlide {
    0% {
        width: 0;
        opacity: 0
    }

    100% {
        width: 100%;
        opacity: 1
    }
}

.txt {
    color: #aaa;
    /*color: transparent !important;*/
    /* gold gradient text */
    /*background-image: linear-gradient(90deg,#06B6D4 0%,#5EEAD4 10%,#F9C80E 55%,#E89C00 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;*/ /* Safari/Chrome */
}
/* Accordion */
#coursesSection .accordion-item {
    background: #111;
    border: none;
    margin-bottom: 8px;
    border-radius: 6px;
    overflow: hidden
}

#coursesSection .accordion-button {
    background: #111;
    color: #fff;
    font-weight: 500
}

    #coursesSection .accordion-button:not(.collapsed) {
        background: #1a1a1a;
        color: #fff
    }

#coursesSection .accordion-body {
    background: #1a1a1a
}

#coursesSection .campus-list {
    list-style: none;
    margin: 0;
    padding: 0
}

    #coursesSection .campus-list li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #333;
        padding: 10px 0
    }

        #coursesSection .campus-list li:last-child {
            border-bottom: none
        }

#coursesSection .visit-btn {
    background: #ffae00;
    color: #000;
    padding: 4px 10px;
    font-size: .85rem;
    border-radius: 4px;
    text-decoration: none;
    transition: .25s
}

    #coursesSection .visit-btn:hover {
        background: #fff;
        color: #000
    }

@media (max-width:768px) {
    #coursesSection .courses-nav {
        gap: 1rem;
        padding: .6rem
    }

        #coursesSection .courses-nav .nav-link {
            font-size: .9rem
        }

    #coursesSection .campus-list li {
        flex-direction: column;
        align-items: flex-start
    }

    #coursesSection .visit-btn {
        margin-top: 6px
    }
}

/* ====== Horizontal Scroll for Tabs on Mobile ====== */
@media (max-width: 768px) {
    #coursesSection .courses-nav {
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap; /* prevent wrapping */
        justify-content: flex-start;
        scrollbar-color: #000 #000; /* scrollbar thumb + track */
        scrollbar-width: thin;
    }

        /* WebKit (Chrome, Safari) */
        #coursesSection .courses-nav::-webkit-scrollbar {
            height: 4px; /* thin scrollbar */
        }

        #coursesSection .courses-nav::-webkit-scrollbar-track {
            background: #000;
        }

        #coursesSection .courses-nav::-webkit-scrollbar-thumb {
            background: #222;
            border-radius: 2px;
        }

        #coursesSection .courses-nav .nav-item {
            display: inline-block;
            flex: 0 0 auto; /* keep tabs in one line */
        }

        #coursesSection .courses-nav .nav-link {
            font-size: 0.9rem;
            padding: 0.4rem 0.8rem;
        }
}
/* ================= MOBILE POLISH FOR COURSES ================= */
@media (max-width: 768px) {
    /* --- Tabs: single row, horizontal scroll, thin black scrollbar --- */
    #coursesSection .courses-nav {
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: .8rem;
        padding: .6rem .75rem;
        scrollbar-width: thin;
        scrollbar-color: #111 #000; /* thumb, track */
        scroll-snap-type: x mandatory;
        border-radius: 20px;
    }

        #coursesSection .courses-nav::-webkit-scrollbar {
            height: 4px
        }

        #coursesSection .courses-nav::-webkit-scrollbar-track {
            background: #000
        }

        #coursesSection .courses-nav::-webkit-scrollbar-thumb {
            background: #111;
            border-radius: 2px
        }

        #coursesSection .courses-nav .nav-item {
            display: inline-block;
            flex: 0 0 auto;
            scroll-snap-align: center
        }

        #coursesSection .courses-nav .nav-link {
            font-size: .85rem;
            padding: .35rem .55rem;
            line-height: 1.1;
        }

            #coursesSection .courses-nav .nav-link.active::after {
                bottom: -4px;
                height: 2px
            }

    /* OPTIONAL: sticky tabs on mobile (uncomment to enable) */
    /* 
  #coursesSection .courses-nav{
    position: sticky;
    top: 0; 
    z-index: 4;
  } 
  */

    /* --- Accordion cards: tighter, cleaner --- */
    #coursesSection .accordion-item {
        border-radius: 12px;
        margin-bottom: 10px;
        background: #121212;
    }

    #coursesSection .accordion-button {
        padding: .85rem .9rem;
        font-size: 0.85rem; /* smaller header text */
        line-height: 1.3;
        border-radius: 12px !important;
        background: #161616;
    }

        #coursesSection .accordion-button:not(.collapsed) {
            background: #1d1d1d;
            color: #fff ;
        }
        /* Reduce chevron size */
        #coursesSection .accordion-button::after {
            transform: scale(.85);
            margin-left: .75rem;
            filter: brightness(0.9);
        }

    #coursesSection .accordion-body {
        padding: .65rem .9rem .8rem;
        font-size: .85rem;
        line-height: 1.45;
        background: #111;
    }

    /* --- Campus list rows: stack neatly, reduce weight --- */
    #coursesSection .campus-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: .35rem;
        padding: .6rem 0;
        border-bottom: 1px solid #262626;
    }

        #coursesSection .campus-list li div {
            font-size: .85rem;
            color: #aaa;
        }

    #coursesSection .visit-btn {
        align-self: flex-start;
        padding: .3rem .65rem;
        font-size: .85rem;
        border-radius: 6px;
    }
}

/* Even smaller phones */
@media (max-width: 400px) {
    #coursesSection .courses-nav .nav-link {
        font-size: .85rem;
        padding: .3rem .5rem
    }

    #coursesSection .accordion-button {
        font-size: .85rem;
        padding: .75rem .8rem
    }

    #coursesSection .accordion-body {
        font-size: .85rem
    }
}

/* ===== Active tab: gradient text, no underline ===== */
#coursesSection .courses-nav .nav-link.active {
    /* remove any solid color */
    color: transparent !important;
    /* gold gradient text */
    background-image: linear-gradient(90deg,#06B6D4 0%,#5EEAD4 10%,#F9C80E 55%,#E89C00 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; /* Safari/Chrome */
    font-weight: 700;
}

    /* kill the underline completely */
    #coursesSection .courses-nav .nav-link.active::after {
        content: none !important;
    }

/* optional: nicer hover for non-active tabs (keeps them white, not orange) */
#coursesSection .courses-nav .nav-link:not(.active):hover {
    color: #ffffff;
}

/* ✅ Fix hidden text inside accordion body */
#coursesSection .accordion-body {
    color: #aaa !important; /* ensure text is visible on black bg */
    background-color: #111 !important; /* solid dark background */
}

/* Optional — make campus names slightly dimmer than titles */
#coursesSection .campus-list li div {
    color: #aaa; /* light gray text for better contrast */
    font-weight: 500;
}

/* Optional — thin subtle separator lines */
#coursesSection .campus-list li {
    border-bottom: 1px solid #2a2a2a;
}

#career-guidance .cg-nav-pills .nav-link.active {
    color: white;
    border-left: 3px solid #fff; /* changed from var(--blue) to white */
}


/* 🟡 Default (collapsed) state — visible arrow */
#coursesSection .accordion-button::after {
    background-image: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    content: "\f078" !important; /* Font Awesome chevron-down */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 0.9rem;
    color: #fff !important; /* 👈 visible when collapsed too */
    transition: transform 0.25s ease, color 0.25s ease;
    margin-left: 8px;
}

/* 🔼 Expanded (active) state — rotate + keep color */
#coursesSection .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    /*color: #ffae00 !important;*/ /* or #fff if you prefer */

    color: #fff !important; /* or #fff if you prefer */
}


/* ✅ Right align arrow inside accordion button */
#coursesSection .accordion-button {
    display: flex;
    justify-content: space-between; /* pushes arrow to the right */
    align-items: center;
}

    /* ✅ Replace default Bootstrap chevron */
    #coursesSection .accordion-button::after {
        background-image: none !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        content: "\f078" !important; /* fa-chevron-down */
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 0.85rem;
        color: #fff;
        margin-left: auto; /* push to far right */
        margin-right: 0; /* ensure it's flush with right edge */
        transition: transform 0.25s ease, color 0.25s ease;
    }

    /* 🔼 Rotate when expanded */
    #coursesSection .accordion-button:not(.collapsed)::after {
        transform: rotate(180deg);
        color: #fff;
    }

/* 🔹 Optional — spacing tweak for tighter look */
#coursesSection .accordion-button {
    padding-right: 1.2rem; /* adjust as needed */
}


/* ======================================================
   FIX: Keep "Visit" button on right side in mobile view
   ====================================================== */
@media (max-width: 768px) {
    #coursesSection .campus-list li {
        flex-direction: row !important; /* side-by-side */
        align-items: center !important; /* vertical centering */
        justify-content: space-between !important; /* push button to right */
        gap: .5rem; /* small space between text & button */
    }

        #coursesSection .campus-list li div {
            flex: 1; /* allow text to take remaining width */
            font-size: .8rem; /* keep text readable */
            color: #aaa;
        }

    #coursesSection .visit-btn {
        margin-top: 0 !important;
        align-self: center !important;
        flex-shrink: 0; /* prevent shrinking */
    }
}


/* ============================================================
   FIX: Remove inner button look from course tabs (keep design)
   ============================================================ */
#coursesSection .courses-nav {
    background: #000 !important; /* keep your bar */
    border-radius: 2rem !important; /* keep capsule shape */
    padding: .8rem 1.2rem !important; /* keep spacing */
    box-shadow: none !important;
}

    /* remove box appearance from each tab */
    #coursesSection .courses-nav .nav-item {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* make tabs flat text links, no inner box borders */
    #coursesSection .courses-nav .nav-link {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

        /* active tab stays same gradient text */
        #coursesSection .courses-nav .nav-link.active {
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
        }

        /* remove accidental inset or outline on focus */
        #coursesSection .courses-nav .nav-link:focus,
        #coursesSection .courses-nav .nav-link:active {
            box-shadow: none !important;
            outline: none !important;
        }
        /* ==========================================================
   FINAL FIX — FORCE GRADIENT TEXT FOR ACTIVE TAB
   ========================================================== */
        #coursesSection .courses-nav > .nav-item > .nav-link.active,
        #coursesSection .courses-nav .nav-link.active,
        #coursesSection .courses-nav .nav-link.show {
            background: linear-gradient(90deg, #00b4ff 0%, #00ffa3 15%, #ffd84d 40%, #ffc300 70%, #ffae00 100%) !important;
            -webkit-background-clip: text !important;
            background-clip: text !important;
            color: transparent !important;
            -webkit-text-fill-color: transparent !important;
            font-weight: 700 !important;
            text-shadow: none !important;
            border: none !important;
            outline: none !important;
            box-shadow: none !important;
        }

        /* make sure inactive tabs stay gray */
        #coursesSection .courses-nav .nav-link:not(.active) {
            color: #aaa !important;
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
        }

            /* optional hover for inactive tabs */
            #coursesSection .courses-nav .nav-link:not(.active):hover {
                color: #fff !important;
            }

        /* remove underline completely if still showing */
        #coursesSection .courses-nav .nav-link.active::after {
            content: none !important;
        }

/* === FIX: prevent left cutoff of tabs on mobile === */
#coursesSection .courses-nav {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-left: 16px; /*  ensures first tab isn’t clipped */
    padding-right: 16px; /*  optional for right spacing */
    scroll-behavior: smooth;
    flex-wrap: nowrap; /*  keep tabs in a single line */
}

    #coursesSection .courses-nav::-webkit-scrollbar {
        display: none; /* hide scrollbar for cleaner look */
    }


/* ==========================================================
   FIX: Extra line / shifting underline in mobile tabs
   ========================================================== */

#coursesSection .courses-nav {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-left: 16px;
    padding-right: 16px;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    position: relative;
}

    /* Hide Bootstrap default underline that causes the ghost line */
    #coursesSection .courses-nav::after {
        content: none !important;
    }

    /* Ensure the tab underline inside stays stable */
    #coursesSection .courses-nav .nav-link {
        position: relative;
        flex: 0 0 auto;
        white-space: nowrap;
    }

        /* Stop ghost line movement on scroll */
        #coursesSection .courses-nav .nav-link::after {
            transform: translateZ(0);
            backface-visibility: hidden;
        }

/* Optional – smooth scrolling correction for mobile */
@media (max-width: 768px) {
    #coursesSection .courses-nav {
        scroll-snap-type: x mandatory;
    }

        #coursesSection .courses-nav .nav-link {
            scroll-snap-align: start;
        }
}

/* ✅ FINAL FIX — Remove ghost underline and lock scroll */
#coursesSection .courses-nav {
    border-bottom: none !important; /* remove Bootstrap underline */
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    flex-wrap: nowrap !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    scroll-behavior: smooth !important;
    position: relative !important;
}

    /* hide scrollbar for mobile */
    #coursesSection .courses-nav::-webkit-scrollbar {
        display: none !important;
    }

    /* fix nav-items alignment */
    #coursesSection .courses-nav .nav-item {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    /* completely remove Bootstrap’s default underline pseudo-element */
    #coursesSection .courses-nav::after {
        content: none !important;
        display: none !important;
    }

    /* ensure no moving underline inside links */
    #coursesSection .courses-nav .nav-link::after {
        content: none !important;
    }

/* make sure first tab never clipped */
@media (max-width: 768px) {
    #coursesSection .courses-nav {
        justify-content: flex-start !important;
        scroll-snap-type: x mandatory !important;
    }

        #coursesSection .courses-nav .nav-link {
            scroll-snap-align: start !important;
        }
}

/* 🧩 PERMANENT FIX: kill Bootstrap underline even before render */
#coursesSection .courses-nav {
    border-bottom: none !important;
    box-shadow: none !important;
    position: relative !important;
}

    /* also remove pseudo underline that appears during initial render */
    #coursesSection .courses-nav::before,
    #coursesSection .courses-nav::after {
        content: none !important;
        display: none !important;
        border: none !important;
    }

    /* stabilize tabs so underline never flashes on load */
    #coursesSection .courses-nav .nav-item,
    #coursesSection .courses-nav .nav-link {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

/* ===============================
   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 */
    }

}

#flipStack {
    --page-height: 50vh; /* ⬅️ Reduced height */
    position: relative;
    background: #0b0b0b;
    z-index: 5000;
}

#flipStack .flip-scroll {
    height: calc(100vh * 3); /* adjusts dynamically via JS too */
    position: relative;
    overflow: visible !important;
}

#flipStack .flip-container {
    position: sticky;
    top: 0; /* stays below header cleanly */
    height: 100vh;
    display: flex;
    align-items: center; /* center vertically */
    justify-content: center;
    overflow: hidden;
    z-index: 10;
}

#flipStack .flip-page {
    position: absolute;
    width: min(900px, 90vw); /* ⬅️ smaller width too */
    height: var(--page-height);
    border-radius: 20px;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    opacity: 1;
    transform-origin: center center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

#flipStack .flip-inner {
    display: flex;
    gap: 20px;
    padding: clamp(15px, 3vw, 40px);
    width: 100%;
}

#flipStack .flip-img {
    flex: 1 1 45%;
    border-radius: 15px;
    overflow: hidden;
}

    #flipStack .flip-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

#flipStack .flip-content {
    flex: 1 1 50%;
}

#flipStack .flip-title em {
    color: #f4a300;
    font-style: italic;
    font-family: "Playfair Display", serif;
}

@media (max-width: 768px) {
    #flipStack .flip-inner {
        flex-direction: column;
        text-align: center;
    }

    #flipStack .flip-page {
        width: 90%;
        height: auto;
        min-height: 85vh;
    }
}


#flipStack .flip-container {
    position: sticky;
    top: calc(80px + 70px);
    height: 70vh; /* ✅ exact match with card height */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    z-index: 10;
}




#flipStack .flip-page {
    position: absolute;
    width: min(950px, 92vw);
    height: 70vh; /* ✅ same as container height */
    border-radius: 20px;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    opacity: 1;
    transform-origin: center center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

@media (max-width: 768px) {
    #flipStack .flip-page {
        height: auto;
        min-height: 85vh;
    }
}


/* tighten the gap above the first card */
#flipStack .mu-page-container {
    align-items: flex-start; /* was flex-end */
    padding-top: clamp(12px, 1.5vh, 24px);
    padding-bottom: 0;
}

/* make the card taller so it fills more of the viewport */
#flipStack .mu-page {
    height: min(70vh, 760px); /* adjust 84vh to taste: 82–88vh works well */
}

/* keep mobile comfortable */
@media (max-width: 768px) {
    #flipStack .mu-page {
        height: auto;
        min-height: 85vh;
    }
}

/* 🧭 HEADER ALWAYS ON TOP */
.header-wrapper {
    position: fixed; /* 👈 keeps header always visible on top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* 👈 very high priority over bookflip */
}

#flipStack,
#flipStack .mu-page-container {
    position: relative;
    z-index: 1; /* 👈 lower than 9999 of header */
}


#flipStack {
    padding-top: 0px; /* 👈 adjust this to your actual header height */
}

#flipStack {
    background: #0b0b0b;
    isolation: isolate; /* new: creates a clean stacking context */
}

    #flipStack .flip-container {
        z-index: 2; /* was 10 — no need to be very high */
    }

/* keep your header on top */
.header-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.flip-spacer {
    height: calc( (100vh - 100px) * 2 );
}
/* 2 = pages - 1 */

#flipStack {
    background: #0b0b0b;
    isolation: isolate; /* ✅ creates separate stacking context */
}

    #flipStack .flip-container {
        z-index: 2; /* not too high */
    }

.header-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999; /* always above everything */
}

/* =============================
   Spacer after FlipStack Section
============================= */
.flip-end-spacer {
    height: 120px; /* adjust as needed */
    background: transparent;
}


:root {
    --black: #000;
    --white: #fff;
    --gold: #f4a300;
    --grad: linear-gradient(90deg, #00b4ff, #00ffa3 25%, #ffd84d 55%, #ffae00 90%);
    --text-dark: #111;
    --text-muted: #666;
    --border-light: #e2e2e2;
}

/* Section */
#flipStack {
    background: var(--black);
    color: var(--text-dark);
    padding-top: 0;
    isolation: isolate;
}

.flip-scroll {
    position: relative;
}

.flip-container {
    position: sticky;
    top: 90px; /* space below header */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    background: var(--black);
}

/* Each Page */
.flip-page {
    position: absolute;
    width: min(1000px, 92vw);
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    top: 0;
}

.flip-inner {
    display: grid;
    grid-template-columns: 45% 55%;
    padding: 2.5rem;
    align-items: center;
    gap: 1.5rem;
}

/* Image */
.flip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content */
.flip-content {
    max-width: 480px;
}

.flip-tag {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.flip-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

    .flip-title em {
        background: var(--grad);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-style: normal;
    }

.flip-desc {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

/* Bullets */
.flip-bullets {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    margin: 0 0 1rem 0;
}

    .flip-bullets li {
        font-size: 15px;
        display: flex;
        align-items: flex-start; /* aligns icon/text vertically at top */
        justify-content: flex-start; /* ensures full left alignment */
        gap: 0.3rem;
        color: var(--text-muted);
        text-align: left; /* ensures text wraps aligned left */
    }


/* Facts */
.flip-facts {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-light);
}

    .flip-facts h3 {
        font-size: 20px;
        color: var(--text-dark);
        margin: 0;
        text-align: center;
    }

    .flip-facts span {
        font-size: 13px;
        color: var(--text-muted);
        text-align: center;
    }

/* Remove peeking shadows at top/bottom */
.flip-container {
    overflow: hidden;
}

.flip-page {
    transform: translateZ(0);
    backface-visibility: hidden;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .flip-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.8rem;
    }

    .flip-img {
        display: none;
    }

    .flip-content {
        max-width: 100%;
    }

    .flip-bullets {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .flip-desc {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    .flip-bullets {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .flip-facts {
        gap: 1.5rem;
    }
}

/* Spacer after flip section */
.flip-end-spacer {
    height: 200px;
    background: var(--black);
}

/* ✅ MOBILE — Show smaller image on top */
@media (max-width: 992px) {
    .flip-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem;
    }

    .flip-img {
        display: block; /* 👈 make it visible */
        width: 100%;
        max-height: 220px; /* 👈 keep it small */
        overflow: hidden;
        border-radius: 15px;
        margin-bottom: 1rem;
    }

        .flip-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .flip-content {
        max-width: 100%;
    }

    .flip-bullets {
        justify-content: center;
    }
}

/* 📱 For very small screens */
@media (max-width: 576px) {
    .flip-img {
        max-height: 180px; /* 👈 even smaller for phones */
        margin-bottom: 0.8rem;
    }

    .flip-desc {
        font-size: 14px;
        line-height: 1.4;
    }

    .flip-bullets {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .flip-facts {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .flip-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem;
    }

    .flip-img {
        display: block;
        width: 100%;
        max-width: 400px; /* ✅ optional, keeps it centered and neat */
        margin: 0 auto 1rem;
    }

        .flip-img img {
            width: 100%;
            height: auto; /* ✅ preserve aspect ratio */
            object-fit: contain; /* ✅ show full image */
        }

    .flip-content {
        max-width: 100%;
    }

    .flip-bullets {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .flip-img {
        max-width: 300px;
        margin-bottom: 0.8rem;
    }

    .flip-desc {
        font-size: 14px;
        line-height: 1.4;
    }
}


@media (max-width: 768px) {
    #flipStack .flip-page {
        height: auto;
        min-height: 70vh; /* fills more screen */
    }
}


@media (max-width: 768px) {
    #flipStack .flip-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Hide left image */
    #flipStack .flip-img {
        display: none !important;
    }

    /* Expand text content full width */
    #flipStack .flip-content {
        flex: 1 1 100%;
        width: 100%;
        text-align: center;
        padding: 0 1rem;
    }

        #flipStack .flip-content .flip-facts {
            justify-content: center;
        }
}
@media (max-width: 768px) {
    #flipStack .flip-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    /* Hide the image and remove its space */
    #flipStack .flip-img {
        display: none !important;
        flex: 0 !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Make content full width */
    #flipStack .flip-content {
        flex: 1 1 100%;
        width: 100%;
        padding: 0 !important;
        text-align: center;
    }

    /* Optional: Center facts/bullets neatly */
    #flipStack .flip-bullets {
        justify-content: left !important;

    }
    #flipStack .flip-facts {
        justify-content: center;
    }

    #flipStack .flip-facts11 {
        height:1000px !important;
    }
}

@media (max-width: 992px) {
    #flipStack .flip-facts11 {
        height: 0px !important;
    }
}
        /*new*/
        /*new*/







        #learls-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px;
}

#ls-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 350;
}

/* recruitment*/



.facts-sec {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://res.cloudinary.com/dc3ijuowd/image/upload/v1763547999/plc_vsw1ya.jpg') center center / cover fixed no-repeat !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding-left: 6%;
    padding-right: 6%;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
}

.facts-heading h2 {
    font-weight: 800;
    font-size: 2.2rem;
}

.facts-subtitle {
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.facts-underline {
    width: 140px;
    height: 3px;
    background-color: #D4AF37;
    border-radius: 2px;
}

.facts-box {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

    .facts-box:hover {
        background: rgba(255,255,255,0.2);
        transform: translateY(-6px);
    }

    .facts-box h3 {
        font-size: 2.3rem;
        font-weight: 700;
        color: #D4AF37;
        margin-bottom: 8px;
    }

    .facts-box p {
        color: #f1f1f1;
    }

.facts-video {
    max-width: 520px;
}

.video-thumb {
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.facts-play {
    width: 70px;
    height: 70px;
    background: #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #002147;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

    .facts-play:hover {
        background: #fff;
        color: #002147;
        transform: scale(1.1);
    }

.facts-play {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #00d4ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    transition: transform .2s ease;
    box-shadow: 0 10px 22px rgba(0,212,255,.35);
    position: relative;
}

    .facts-play::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: rgba(0,212,255,.4);
        animation: factsPulse 1.6s infinite;
        z-index: -1;
    }

@keyframes factsPulse {
    0% {
        transform: scale(1);
        opacity: .8;
    }

    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

.facts-play:hover {
    transform: scale(1.07);
}


.facts-video {
    max-width: 520px;
    border-radius: 14px;
    overflow: hidden;
}

    .facts-video .video-thumb {
        width: 100%;
        border-radius: 14px;
        aspect-ratio: 16/9;
        object-fit: cover;
        max-height: 320px;
    }

#factsVideoWrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    border-radius: 14px;
}

#closeVideo {
    font-size: 14px;
    line-height: 1;
    padding: 4px 8px;
    z-index: 10;
}

.recruiters-sec {
    background: #fff;
    position: relative;
    border-top: 4px solid #D4AF37;
    overflow: hidden;
}

.recruiters-marquee {
    overflow: hidden;
    position: relative;
}

.recruiters-track {
    display: flex;
    gap: 80px;
    align-items: center;
    width: max-content;
}

    .recruiters-track img {
        height: 80px;
        width: auto;
        filter: none; /* Show color by default */
        opacity: 1;
        transition: all 0.4s ease;
    }

        .recruiters-track img:hover {
            filter: grayscale(100%) brightness(0.9); /* Turn black & white on hover */
            opacity: 0.8;
            transform: scale(1.05);
        }




@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.track-left {
    animation: scrollLeft 45s linear infinite;
}

.track-right {
    animation: scrollRight 45s linear infinite;
}


.gold-wave-divider {
    width: 100%;
    height: 120px;
    display: block;
    background: transparent;
}


@media (max-width: 768px) {
    .facts-sec {
        text-align: center;
    }

    .facts-box {
        margin-bottom: 20px;
    }

    .recruiters-track {
        gap: 50px;
    }

        .recruiters-track img {
            height: 60px;
        }
}

@media (max-width: 768px) {
    .facts-sec {
        text-align: center;
        padding-left: 4%;
        padding-right: 4%;
    }

    .facts-box {
        margin-bottom: 20px;
    }

    /* Stack all four cards vertically on small screens */
    .facts-sec .row.g-4 > [class^="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Optional: Reduce text and number size slightly for better fit */
    .facts-box h3 {
        font-size: 1.8rem;
    }

    .facts-box p {
        font-size: 0.95rem;
    }

    /* Adjust video width for smaller screens */
    .facts-video {
        max-width: 100%;
    }

        .facts-video .video-thumb {
            max-height: 220px;
        }
}


/* vision*/


:root {
    --vm-header-h: 70px;
    --vm-grad: linear-gradient(90deg,#00b4ff 0%,#00ffa3 25%,#ffd84d 65%,#ffae00 100%);
}

#vm-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    font-family: "Poppins", system-ui, Arial, sans-serif;
}

/* Remove the tab bar completely */
.vm-tabs {
    display: none !important;
}

#vm-visionMission {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 100vh;
    min-height: 380px;
    margin-top: var(--vm-header-h);
}

.vm-wrapper {
    display: flex;
    width: 200%;
    height: 100%;
    transform: translateX(0);
    will-change: transform;
}

.vm-panel {
    flex: 0 0 50%;
    max-width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6%;
    box-sizing: border-box;
}

.vm-vision {
    background: #fff;
    color: #000;
}

.vm-mission {
    background: #000;
    color: #fff;
}

.vm-inner {
    max-width: 820px;
    text-align: center;
}

    .vm-inner h1 {
        font-size: clamp(20px, 5vw, 36px);
        font-weight: 600;
        line-height: 1.4;
        margin: 0;
    }

        .vm-inner h1 strong {
            background: var(--vm-grad);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 800;
        }

.vm-heading {
    font-size: clamp(18px, 4vw, 28px);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    /* background: var(--vm-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
    text-transform: uppercase;
}

@media (max-width: 768px) {
    #vm-visionMission {
        height: 70svh;
        min-height: 420px;
    }
}


:root {
    --vm-grad: linear-gradient(90deg,#00b4ff 0%,#00ffa3 25%,#ffd84d 65%,#ffae00 100%);
}

.vm-heading {
    font-size: clamp(22px, 5vw, 42px);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    /* background: var(--vm-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
    text-shadow: 0px 2px 8px rgba(255, 174, 0, 0.2);
    opacity: 0; /* for animation */
    transform: translateY(30px);
}



    /* Add some subtle glow for the gradient */
    .vm-heading::after {
        content: "";
        display: block;
        height: 3px;
        width: 60px;
        margin: 10px auto 0;
        /* background: var(--vm-grad);*/
        border-radius: 2px;
        box-shadow: 0 0 15px rgba(255, 174, 0, 0.6);
    }


:root {
    --black: #000;
    --white: #fff;
    --gold: #ffae00; /* for underline accent */
}

.vm-heading {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    display: inline-block;
}

    .vm-heading::after {
        content: "";
        display: block;
        height: 3px;
        width: 80px;
        margin: 12px auto 0;
        background: var(--gold);
        border-radius: 2px;
        box-shadow: 0 0 15px rgba(255, 174, 0, 0.6);
        opacity: 0;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.6s ease, opacity 0.4s ease;
    }

.vm-body {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 600;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(40px);
}

/* White background panel (Vision) */
.vm-panel.vm-vision .vm-heading {
    color: var(--black);
}

.vm-panel.vm-vision .vm-body {
    color: var(--black);
}

/* Black background panel (Mission) */
.vm-panel.vm-mission .vm-heading {
    color: var(--white);
}

.vm-panel.vm-mission .vm-body {
    color: var(--white);
}
/* Heading base */
.vm-heading {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: 0; /* animated in */
    transform: translateY(30px); /* animated in */
}

/* Solid colors per panel */
.vm-panel.vm-vision .vm-heading {
    color: #000;
}
/* white bg */
.vm-panel.vm-mission .vm-heading {
    color: #fff;
}
/* black bg */

/* Underline (hidden initially) */
.vm-heading::after {
    content: "";
    display: block;
    width: 80px; /* tweak width if you want */
    height: 3px;
    margin: 12px auto 0; /* centers under the text */
    background: #ffae00; /* gold accent */
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255,174,0,.6);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .6s ease, opacity .35s ease;
}

/* When revealed -> show/grow underline */
.vm-heading.underline-on::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Body copy (just for completeness) */
.vm-body {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(18px,3vw,26px);
    font-weight: 600;
    line-height: 1.5;
    color: inherit; /* black on white / white on black */
    opacity: 0;
    transform: translateY(40px);
}



/*new*/

/* ✅ Mobile fix */
@media (max-width: 768px) {
    #vm-visionMission {
        
       
        margin-top: 0;
        display: block;
        padding-top: 5rem; /* visual breathing space below header */
       
        height: 100vh;
       
    }

   
}


/*milestones*/


:root {
    --deep-navy: #061B3A;
    --royal: #1D4E89;
    --gold: #D4AF37;
    --light: #fff;
}

/* =================== TIMELINE SECTION =================== */
.milestones-timeline {
    position: relative;
    /* Parallax image + dark overlay */
    /*      background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/gray.jpg') center center / cover fixed no-repeat !important ;
*/

    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://res.cloudinary.com/dc3ijuowd/image/upload/v1763546972/build_cbence.jpg') center center / cover fixed no-repeat !important;
    /*background:
    linear-gradient(180deg, rgba(6,27,58,0.88) 0%, rgba(29,78,137,0.88) 100%),
    url("img/mile.jpg") center / cover fixed no-repeat;*/ /* ← change path if needed */
    color: var(--light);
    font-family: 'Poppins',sans-serif;
    overflow: hidden;
}
    /* ensure all text respects original casing (fixes 2010s vs 2010S everywhere) */
    .milestones-timeline,
    .milestones-timeline * {
        text-transform: none !important;
    }

/* top heading styles */
.mt-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    position: relative;
}

    .mt-title::after {
        content: "";
        display: block;
        width: 80px;
        height: 3px;
        background: var(--gold);
        margin: 10px auto 0;
    }

.mt-sub {
    font-size: 1.1rem;
    opacity: .9;
}

.mt-quote {
    font-style: italic;
    color: #ccc;
}

/* Golden particles overlay */
.milestones-timeline::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: .15;
    animation: moveStars 60s linear infinite;
    z-index: 0;
}

@keyframes moveStars {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 1000px 1000px;
    }
}

.milestones-timeline .container {
    position: relative;
    z-index: 1;
}
/* content above particles */

/* =================== LEFT STICKY DECADE SIDEBAR =================== */
.decade-indicator {
    position: fixed;
    top: 30%;
    left: 20px;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
    background: black;
    backdrop-filter: blur(4px);
    padding: 10px 15px;
    border-radius: 8px;
}

    .decade-indicator.visible {
        opacity: 1;
        pointer-events: auto;
    }

    .decade-indicator ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .decade-indicator li {
        font-size: 1rem;
        font-weight: 600;
        color: rgba(255,255,255,.6);
        margin: 10px 0;
        cursor: pointer;
        transition: color .3s, transform .3s;
    }

        .decade-indicator li:hover,
        .decade-indicator li.active {
            color: var(--gold);
        }

        .decade-indicator li.active {
            transform: scale(1.15);
        }

@media (max-width:768px) {
    .decade-indicator {
        display: none;
    }
}

/* =================== TIMELINE SPINE =================== */
@keyframes glowLine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.timeline {
    position: relative;
    margin: 40px auto;
    padding: 20px 0;
    width: 90%;
}

    .timeline::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 3px;
        margin-left: -1.5px;
        background: linear-gradient(90deg,#FFD966,var(--gold),#FFD966);
        background-size: 200% 200%;
        animation: glowLine 6s linear infinite;
    }

/* =================== TIMELINE ITEMS / CARDS =================== */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 30px;
    opacity: 0;
    transform: translateY(50px);
    transition: all .8s ease;
}

    .timeline-item.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .timeline-item.left {
        left: 0;
    }

    .timeline-item.right {
        left: 50%;
    }

/* floating card */
@keyframes floatCard {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.timeline-item .content {
    position: relative;
    z-index: 1;
    padding: 20px;
    background: white;
    backdrop-filter: blur(8px);
    color: black;
    border: 1px solid rgba(212,175,55,.3);
    border-radius: 12px;
    animation: floatCard 6s ease-in-out infinite;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .timeline-item .content:hover {
        animation: none;
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 0 25px rgba(212,175,55,.6);
    }

/* dots (real elements injected by JS) */
@keyframes pulse {
    0% {
        box-shadow: 0 0 6px rgba(212,175,55,.6);
    }

    50% {
        box-shadow: 0 0 20px rgba(212,175,55,1);
    }

    100% {
        box-shadow: 0 0 6px rgba(212,175,55,.6);
    }
}

.timeline-item::before {
    content: none !important;
}
/* disable legacy pseudo pin */
.timeline-item .dot {
    position: absolute;
    top: 25px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--deep-navy);
    box-shadow: 0 0 10px rgba(212,175,55,.7);
    animation: pulse 2s infinite;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    z-index: 3;
    will-change: transform, box-shadow;
}

.timeline-item.left .dot {
    right: -10px;
}

.timeline-item.right .dot {
    left: -10px;
}
/* .timeline-item.active .dot{
  transform:scale(1.3); background:#FFD966; box-shadow:0 0 20px rgba(212,175,55,.8);
} */
.timeline-item.active .dot {
    transform: scale(2.5);
    background: #FFD966;
    box-shadow: 0 0 8px rgba(212,175,55,0.9), 0 0 20px rgba(212,175,55,0.8), 0 0 40px rgba(212,175,55,0.6);
}



/* decade heading in card */
.decade {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    font-variant-numeric: lining-nums; /* crisp digits */
}

    .decade::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 40%;
        height: 2px;
        background: var(--gold);
    }

/* year list */
.year {
    font-weight: 600;
    color: var(--gold);
}

.timeline-item ul {
    margin: 0;
    padding-left: 15px;
}

.timeline-item li {
    margin-bottom: 6px;
    position: relative;
}

    .timeline-item li::before {
        content: "•";
        position: absolute;
        left: -12px;
        color: var(--gold);
    }

/* disable big shimmer watermarks (you had them hidden) */
.timeline-item .watermark {
    display: none !important;
}

/* latest highlight */
.timeline-item.latest .content {
    border: 2px solid var(--gold);
    box-shadow: 0 0 25px rgba(212,175,55,.7);
}

/* staggered entrance */
.timeline-item:nth-child(1) {
    transition-delay: .2s;
}

.timeline-item:nth-child(2) {
    transition-delay: .4s;
}

.timeline-item:nth-child(3) {
    transition-delay: .6s;
}

.timeline-item:nth-child(4) {
    transition-delay: .8s;
}

.timeline-item:nth-child(5) {
    transition-delay: 1s;
}

.timeline-item:nth-child(6) {
    transition-delay: 1.2s;
}

/* =================== RESPONSIVE =================== */
@media (max-width:768px) {
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 20px;
    }

        .timeline-item.right {
            left: 0;
        }

        .timeline-item .dot {
            left: 10px !important;
            right: auto !important;
        }

        .timeline-item .content {
            animation: none;
        }
    /* smoother on mobile */
}
/* Fade in animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 8s ease forwards;
}

    .fade-in.delay {
        animation-delay: 2s; /* start after the subtitle */
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .timeline-item .content {
        text-align: left;
        color: black; /* keep everything left-aligned */
        padding-left: 20px; /* same padding for all sides */
        padding-right: 20px;
    }

    .timeline-item ul {
        margin: 0;
        padding-left: 20px; /* standard bullet padding */
        list-style-position: inside; /* align bullets with text neatly */
    }

    .timeline-item li {
        margin-bottom: 8px;
        padding-left: 0; /* remove custom offsets */
    }

        .timeline-item li::before {
            display: none; /* remove custom pseudo bullets */
        }
}

@media (max-width: 768px) {
    .timeline-item .content {
        padding: 16px;
    }
}


.timeline-item .dot {
    position: absolute;
    top: 25px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid transparent;
    /* black ring + gold center */
    background: radial-gradient(circle, #FFD966 60%, #FFD966 60%) padding-box, black border-box;
    box-shadow: 0 0 10px rgba(212,175,55,.7);
    animation: pulse 2s infinite;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    z-index: 3;
    will-change: transform, box-shadow;
}

.timeline-item.left .dot {
    right: -10px;
}

.timeline-item.right .dot {
    left: -10px;
}

.timeline-item.active .dot {
    transform: scale(2.5);
    background: radial-gradient(circle, #FFD966 60%, #FFD966 60%) padding-box, black border-box;
    box-shadow: 0 0 8px rgba(212,175,55,0.9), 0 0 20px rgba(212,175,55,0.8), 0 0 40px rgba(212,175,55,0.6);
}


.decade-indicator {
    position: fixed;
    top: 30%;
    left: 20px;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
    /* Black background fill */
    background: black;
    /* Gradient border (same as your button) */
    border: 2px solid transparent;
    background-image: linear-gradient(black, black), linear-gradient(90deg, #06B6D4 0%, #5EEAD4 10%, #F9C80E 55%, #E89C00 90%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    padding: 10px 15px;
    border-radius: 8px;
}


/* change to white card */
.timeline-item .content {
    background: rgba(0, 0, 0, 0.45); /* translucent black */
    color: #fff;
    border: 1px solid rgba(212, 175, 55, 0.6); /* gold border */
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

    .timeline-item .content h3,
    .timeline-item .content .decade,
    .timeline-item .content .year {
        color: #FFD966; /* bright gold */
    }

.timeline-item li {
    color: #fff;
}

.decade {
    background: linear-gradient(90deg, #FFD966, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/*dashboard*/

/* ============================
   📊 ALWARDAS DASHBOARD SECTION
   ============================ */
#dashboardSection {
    background: #000;
    color: #fff;
    padding: clamp(50px, 6vw, 80px) 0;
    margin: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

    #dashboardSection .dashboard-heading {
        text-align: center;
        margin-bottom: clamp(20px, 4vw, 40px);
        position: relative;
        padding-inline: 12px;
    }

        #dashboardSection .dashboard-heading .top-label {
            display: inline-block;
            background: #111;
            color: #fff;
            text-transform: uppercase;
            font-weight: 700;
            letter-spacing: .08em;
            padding: 8px 18px;
            border-radius: 999px;
            line-height: 1;
            font-size: clamp(.7rem, 1.5vw, .95rem);
            margin-bottom: 10px;
        }

        #dashboardSection .dashboard-heading h2 {
            margin: 0;
            font-weight: 800;
            line-height: 1.2;
            font-size: clamp(1.8rem, 3vw + .5rem, 2.6rem);
            color: #fff;
            letter-spacing: -0.3px;
            font-family: "Outfit", sans-serif;
            position: relative;
        }

            #dashboardSection .dashboard-heading h2::after {
                content: "";
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                width: 180%;
                height: 100%;
                background: radial-gradient(circle at center, rgba(255, 174, 0, 0.08), transparent 70%);
                z-index: -1;
            }

        #dashboardSection .dashboard-heading .grad-accent {
            background: linear-gradient(90deg, #00b4ff 0%, #00ffa3 25%, #ffd84d 65%, #ffae00 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        #dashboardSection .dashboard-heading .subtext {
            color: #bbb;
            font-size: 0.95rem;
            margin-top: 8px;
            font-weight: 400;
        }

    /* === DASHBOARD GRID === */
    #dashboardSection .dashboard {
        display: grid;
        grid-template-columns: repeat(3, minmax(260px,1fr));
        gap: 20px;
        max-width: 1300px;
        margin: auto;
        padding: 20px;
        box-sizing: border-box;
    }

@media (max-width:1024px) {
    #dashboardSection .dashboard {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:700px) {
    #dashboardSection .dashboard {
        grid-template-columns: 1fr;
        padding: 10px 16px;
    }
}


    /* === Chart Boxes === */
    #dashboardSection .chart-box {
        background: #0b0b0b;
        padding: 25px 25px 30px;
        border-radius: 15px;
        border: 1px solid #1a1a1a;
        box-shadow: 0 0 25px rgba(255, 174, 0, 0.05);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

        #dashboardSection .chart-box:hover {
            transform: translateY(-4px);
        }

    /* Canvas sizing — force sane heights */
    #dashboardSection .chart-box {
        min-width: 0;
    }
    /* allow grid to shrink without overflow */

    #dashboardSection canvas {
        display: block;
        width: 100% !important;
        height: 320px !important; /* fixed, predictable height on desktop */
        max-width: 100%;
        background: transparent; /* avoid white fills from global resets */
    }

@media (max-width: 1024px) {
    #dashboardSection canvas {
        height: 280px !important;
    }
}

@media (max-width: 768px) {
    #dashboardSection canvas {
        height: 240px !important;
    }
}


    /* === Chart Header === */
    #dashboardSection .chart-header {
        width: 100%;
        text-align: left;
        margin-bottom: 12px;
    }

        #dashboardSection .chart-header .count {
            font-size: 40px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 4px;
        }

        #dashboardSection .chart-header .label {
            font-size: 15px;
            color: #aaa;
        }

/* === MOBILE RESPONSIVE === */
@media (max-width: 1024px) {
    #dashboardSection .chart-header .count {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    #dashboardSection .dashboard-heading h2 {
        font-size: 1.9rem;
        line-height: 1.25;
    }

   

    #dashboardSection .chart-header {
        text-align: center;
    }

        #dashboardSection .chart-header .count {
            font-size: 32px;
        }

  
}

/* === Section Spacing Fix === */
#dashboardSection + section {
    margin-top: 0;
}


/*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;
    }
}




.mu-section {
    background: var(--white);
    padding: 120px 0;
    display: flex;
    justify-content: center;
}

.mu-black-box {
    position: relative;
    background: var(--black);
    width: 90%;
    max-width: 1150px;
    min-height: 280px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.mu-content-box {
    background: var(--white);
    padding: 40px 55px;
    border-radius: 12px;
    max-width: 700px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    z-index: 1;
}

.mu-video-frame {
    position: absolute;
    left: 40px;
    top: -50px;
    bottom: -50px;
    width: 300px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.5);
    background: #000;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.mu-video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

    .mu-video-slide.active {
        opacity: 1;
    }

    .mu-video-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.mu-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 14px 20px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0,0,0,0.25);
    transition: 0.3s;
}

    .mu-play i {
        font-size: 32px;
        color: var(--black);
    }

    .mu-play:hover {
        background: var(--black);
    }

        .mu-play:hover i {
            color: var(--white);
        }

.mu-text-box h3 {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--black);
}

.mu-text-box p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 400;
}

.mu-btn {
    background: var(--black);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    display: inline-block;
}

    .mu-btn:hover {
        background: #444;
    }

.typing::after {
    content: '▍';
    margin-left: 2px;
    animation: blink 1s steps(1, end) infinite;
    opacity: .8;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

#mu-typed-body {
    max-width: 62ch;
}

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 900px) {
    .mu-black-box {
        flex-direction: column;
        padding: 20px;
        align-items: center;
    }

    .mu-video-frame {
        position: relative;
        left: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        max-width: 450px;
        height: auto;
        margin-bottom: 20px;
        aspect-ratio: 9 / 16;
    }

    .mu-content-box {
        max-width: 100%;
        padding: 25px 20px;
        text-align: center;
    }

    .mu-text-box h3 {
        font-size: 1.6rem;
    }

    .mu-text-box p {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .mu-content-box {
        padding: 20px 18px;
        text-align: center;
    }

    .mu-text-box h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .mu-text-box p {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .mu-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin-top: 10px;
    }
}

/* 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;
    }
}


/* CAREER MAIN SECTION */
#career-guidance {
    background: #000;
    color: #fff;
  
    padding-top: 75px !important; /* FIX TOP GAP */
    padding-bottom: 75px !important; /* FIX TOP GAP */

    font-family: "Poppins", sans-serif;
}

/* HEADER */
.cg-header-sticky {
    position: sticky;
    top: 90px; /* adjust if you have a fixed navbar (try 80–120px) */
    z-index: 20; /* keep it above cards */
    background: #000; /* so text is readable while it overlaps content */
    padding-bottom: 15px;
}

.cg-header h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.cg-header h2 {
    font-size: 18px;
    padding: 15px !important; /* FIX TOP GAP */
    font-weight: 530;
    margin: 0;
}

/* LEFT MENU */
.cg-menu-wrapper {
    position: sticky !important;
    top: 240px; /* DESKTOP STICKY SAFE ZONE */
    padding-left: 20px;
}

.cg-active-bar {
    position: absolute;
    left: -6px;
    width: 3px;
    height: 28px;
    background: #fff;
    border-radius: 5px;
    transition: 0.3s ease;
}

.cg-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .cg-menu li {
        font-size: 18px;
        font-weight: 300;
        color: #ccc;
        padding: 14px 0;
        cursor: pointer;
        opacity: 0;
        transform: translateX(-20px);
    }

        .cg-menu li.active {
            color: #fff;
            font-weight: 600;
        }

        .cg-menu li:hover {
            color: #fff;
        }

/* RIGHT CONTENT CARDS */
.cg-section {
    background: #1c1c1c;
    border-radius: 20px;
    padding: 25px 32px;
    top: 100px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.25);
}

    .cg-section h3 {
        font-size: 24px;
        font-weight: 700;
    }

    .cg-section img,
    .cg-section video {
        width: 100%;
        margin-top: 15px;
        border-radius: 12px;
    }

/* ======================================================
      MOBILE FIXES
====================================================== */





@media (max-width: 991px) {
    #career-guidance .col-lg-4,
    .cg-menu-wrapper 
    {
        display: none !important;
    }

    #career-guidance .col-lg-8 {
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}



/* DISABLE STICKY HEADER ON MOBILE */
@media (max-width: 991px) {
    .cg-header-sticky {
        position: static !important;
        padding: 10px 0 !important;
    }

    .cg-menu-wrapper {
        position: static !important;
        top: 0 !important;
        padding: 0 !important;
        margin-bottom: 20px;
    }
}

/* MOBILE HEADING FONT SIZE */
@media (max-width: 991px) {

    .cg-header h2
     {
        font-size: 16px !important;
        line-height: 1.3;
    }

    .cg-header h4
    {
        font-size: 14px !important;
        line-height: 1.4;
    }
}
@media (min-width: 992px) {
    .cg-header-sticky {
        margin-bottom: 30px !important;
    }
}

.cg-header h2 {
    font-family: "Outfit", sans-serif;
    letter-spacing: 0.2rem;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
}

.cg-header h2 {
    padding: 0 !important;
    margin-bottom: 6px !important;
}

.cg-header h4 {
    font-family: 'Playfair Display', serif;
    font-size: 34px !important;
    font-weight: 600;
    color: #ffffff !important;
}




@media (max-width: 991px) {
    #career-guidance .col-lg-4,
    .cg-menu-wrapper {
        display: none !important;
    }

    #career-guidance .col-lg-8 {
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}



/* DISABLE STICKY HEADER ON MOBILE */
@media (max-width: 991px) {
    .cg-header-sticky {
        position: static !important;
        padding: 10px 0 !important;
    }

    .cg-menu-wrapper {
        position: static !important;
        top: 0 !important;
        padding: 0 !important;
        margin-bottom: 20px;
    }
}

/* MOBILE HEADING FONT SIZE */
@media (max-width: 991px) {

    .cg-header h2 {
        font-size: 16px !important;
        line-height: 1.3;
    }

    .cg-header h4 {
        font-size: 14px !important;
        line-height: 1.4;
    }
}
/* DESKTOP – sticky on */
.cg-header-sticky {
    position: sticky;
    top: 100px; /* adjust if needed thiru */
    z-index: 20;
    background: #000;
}

/* MOBILE – disable sticky */
@media (max-width: 991px) {
    .cg-header-sticky {
        position: static !important;
        top: unset !important;
    }
}


/* REMOVE DEFAULT BULLETS */
#career-guidance .cg-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 18px;
}

    /* EACH BULLET ITEM */
    #career-guidance .cg-section ul li {
        position: relative;
        padding-left: 32px; /* space for tick */
        margin-bottom: 16px; /* spacing between points */
        font-size: 16px;
        line-height: 1.6;
        color: #e6e6e6;
    }

        /* TICK MARK ICON */
        #career-guidance .cg-section ul li::before {
            content: "✔"; /* TICK MARK */
            position: absolute;
            left: 0;
            top: 4px;
            font-size: 18px;
            font-weight: 700;
            background: #fff;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

#career-guidance .cg-section p {
    font-size: 15.5px;
    color: #ccc;
    line-height: 1.65;
    margin-bottom: 18px;
}

#career-guidance .cg-section h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}

#career-guidance .cg-section {
    padding: 35px 40px;
}

    #career-guidance .cg-section h3 {
        position: relative;
    }

        #career-guidance .cg-section h3::after {
            content: "";
            display: block;
            width: 60px;
            height: 3px;
            margin-top: 8px;
            background: linear-gradient(90deg, #00b4ff 0%, #00ffa3 15%, #ffd84d 40%, #ffc300 70%, #ffae00 100%);
            border-radius: 6px;
        }

.cg-menu-wrapper {
    position: relative;
}

.cg-menu {
    position: relative;
}

.cg-active-bar {
    position: absolute;
    left: -12px;
    width: 4px;
    height: 24px;
    background: #fff;
    border-radius: 4px;
    top: 0;
    transform: translateY(0);
    transition: top 0.25s ease, height 0.25s ease;
}

