        :root {
            --primary: #0d47a1;
            --primary-dark: #083b88;
            --secondary: #1976d2;
            --accent: #f9a825;
            --light: #f5f8fc;
            --dark: #172033;

            /* Legacy Premium Colors for backward compatibility with older pages */
            --navy-deep: #0C2340;
            --navy-mid: #13306B;
            --navy-soft: #2A4B83;
            --gold: #FFC107;
            --gold-soft: #FFD54F;
            --cream: #FFFFFF;
            --cream-2: #F8FAFC;
            --ink: #0C2340;
            --slate: #64748B;
            --green: #10B981;
        }

        html {
            overflow-x: clip;
        }

        * {
            scroll-behavior: smooth;
            box-sizing: border-box;
        }

        body {
            font-family: "Noto Sans Bengali", "Poppins", sans-serif;
            color: #333;
            background: #fff;
            overflow-x: clip;
        }


        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: "Noto Sans Bengali", "Poppins", sans-serif;
        }

        a {
            text-decoration: none;
        }

        /* ===== TOP BAR ===== */
        .topbar {
            background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
            color: rgba(255,255,255,0.92);
            font-size: 13px;
            letter-spacing: 0.01em;
            transition: all 0.3s ease;
        }

        .topbar a {
            color: rgba(255,255,255,0.85);
            margin-left: 14px;
            transition: color 0.2s ease, transform 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .topbar a:hover {
            color: var(--accent) !important;
            transform: translateY(-1px);
        }

        .topbar span i {
            margin-right: 5px;
            color: var(--accent);
        }

        /* ===== FIXED STICKY SITE-HEADER WRAPPER ===== */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1050;
            width: 100%;
        }

        /* Body padding to compensate for fixed header height */
        body {
            padding-top: 105px; /* topbar (~36px) + navbar (~69px) */
        }

        @media (max-width: 991.98px) {
            body {
                padding-top: 69px; /* only navbar on mobile (topbar hidden) */
            }
        }

        /* ===== NAVBAR ===== */
        .navbar {
            background: rgba(255, 255, 255, 0.97);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 2px 24px rgba(13, 71, 161, 0.10);
            padding: 8px 0;
        }


        /* Override Tailwind's visibility: collapse on Bootstrap's collapse class */
        .collapse {
            visibility: visible !important;
        }

        /* ===== BRAND / LOGO ===== */
        .navbar-brand {
            font-weight: 800;
            color: var(--primary) !important;
            line-height: 1.1;
            transition: transform 0.3s ease;
        }

        .navbar-brand:hover {
            transform: scale(1.03);
        }

        .navbar-brand img {
            transition: max-height 0.35s cubic-bezier(.4,0,.2,1);
            max-height: 60px;
            width: auto;
        }

        .navbar.scrolled .navbar-brand img {
            max-height: 46px;
        }

        .logo-box {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            margin-right: 10px;
            box-shadow: 0 4px 12px rgba(13,71,161,0.25);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .logo-box:hover {
            transform: rotate(-5deg) scale(1.08);
            box-shadow: 0 6px 18px rgba(13,71,161,0.35);
        }

        /* ===== NAV LINKS ===== */
        .nav-link {
            color: #1a2340 !important;
            font-weight: 600;
            font-size: 0.875rem;
            margin: 0 2px;
            padding: 6px 10px !important;
            position: relative;
            transition: color 0.25s ease;
            letter-spacing: 0.015em;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%) scaleX(0);
            width: 70%;
            height: 2.5px;
            background: var(--primary);
            border-radius: 2px;
            transition: transform 0.3s cubic-bezier(.4,0,.2,1);
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--primary) !important;
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            transform: translateX(-50%) scaleX(1);
        }

        /* dropdown-toggle এর after arrow যেন underline না নেয় */
        .nav-item.dropdown .nav-link::after {
            display: none;
        }

        /* ===== DROPDOWN MENU ===== */
        .dropdown-menu {
            border: none;
            border-radius: 12px;
            box-shadow: 0 12px 40px rgba(13, 71, 161, 0.15);
            padding: 8px;
            animation: dropFadeIn 0.2s ease;
            margin-top: 6px !important;
        }

        @keyframes dropFadeIn {
            from { opacity: 0; transform: translateY(-8px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        .dropdown-item {
            border-radius: 8px;
            font-size: 0.875rem;
            font-weight: 500;
            padding: 9px 16px;
            color: #1a2340;
            transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
        }

        .dropdown-item:hover {
            background: rgba(13, 71, 161, 0.08);
            color: var(--primary);
            padding-left: 22px;
        }

        /* ===== LOGIN BUTTON ===== */
        .btn-admission {
            background: linear-gradient(135deg, var(--accent) 0%, #f5b800 100%);
            color: #111;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.84rem;
            padding: 7px 16px;
            line-height: 1.25;
            white-space: nowrap;
            flex-shrink: 0;
            border: none;
            box-shadow: 0 3px 10px rgba(249, 168, 37, 0.35);
            transition: all 0.25s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .btn-admission:hover {
            background: linear-gradient(135deg, #f5b800 0%, var(--accent) 100%);
            color: #111;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(249, 168, 37, 0.45);
        }

        /* ===== MOBILE TOGGLER ===== */
        .navbar-toggler {
            border: 2px solid rgba(13, 71, 161, 0.2);
            border-radius: 8px;
            padding: 6px 10px;
            transition: all 0.2s ease;
        }

        .navbar-toggler:focus {
            box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.15);
        }

        .navbar-toggler:hover {
            background: rgba(13, 71, 161, 0.06);
            border-color: var(--primary);
        }

        /* ===== MOBILE MENU STYLES ===== */
        @media (max-width: 991.98px) {
            .site-header .topbar {
                display: none !important;
            }

            .navbar {
                padding: 10px 0;
            }

            .navbar-collapse {
                background: #fff;
                border-radius: 12px;
                margin-top: 10px;
                padding: 12px 8px;
                box-shadow: 0 8px 30px rgba(13, 71, 161, 0.12);
                animation: mobileMenuSlide 0.25s ease;
            }

            @keyframes mobileMenuSlide {
                from { opacity: 0; transform: translateY(-10px); }
                to   { opacity: 1; transform: translateY(0); }
            }

            .nav-link {
                margin: 2px 0;
                padding: 10px 14px !important;
                border-radius: 8px;
                font-size: 0.95rem;
            }

            .nav-link:hover {
                background: rgba(13, 71, 161, 0.06);
            }

            .nav-link::after {
                display: none;
            }

            .dropdown-menu {
                box-shadow: none;
                border: none;
                background: rgba(13, 71, 161, 0.04);
                border-radius: 8px;
                padding: 4px 0;
                margin: 4px 0;
            }

            .header-action-group {
                display: flex !important;
                align-items: center !important;
                gap: 8px !important;
                width: 100% !important;
                margin-top: 10px !important;
                padding-top: 10px;
                border-top: 1px solid rgba(0, 0, 0, 0.08);
            }

            .header-action-group .btn-ai-header,
            .header-action-group .btn-admission {
                flex: 1 1 0% !important;
                width: auto !important;
                justify-content: center !important;
                padding: 9px 12px !important;
                font-size: 0.85rem !important;
                border-radius: 8px !important;
                margin: 0 !important;
                white-space: nowrap !important;
            }
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.48) 50%, rgba(0, 0, 0, 0.22) 100%);
            pointer-events: none;
            z-index: 1;
        }

        #heroSlider,
        #heroSlider .carousel-inner,
        #heroSlider .carousel-item {
            height: calc(100vh - 105px);
            min-height: 600px;
            position: relative;
        }

        #heroSlider .carousel-caption {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            padding: 0;
            padding-bottom: 60px;
            text-align: left;
            z-index: 2;
        }

        .hero-img {
            height: 100%;
            width: 100%;
            background-size: cover;
            background-position: center 20%;
            background-repeat: no-repeat;
            display: block;
        }

        .hero-content {
            max-width: 760px;
            padding-left: clamp(15px, 4vw, 50px);
            padding-right: 15px;
        }

        .hero-badge {
            background: #ffb703 !important;
            color: #111827 !important;
            font-size: 14px !important;
            font-weight: 700 !important;
            padding: 8px 18px !important;
            border-radius: 6px !important;
            display: inline-block;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
            letter-spacing: 0.2px;
            margin-bottom: 18px !important;
        }

        .hero-title {
            font-size: clamp(32px, 4.3vw, 52px);
            font-weight: 800;
            line-height: 1.25;
            color: #ffffff;
            margin-bottom: 18px;
            letter-spacing: -0.5px;
            text-shadow: 0 3px 14px rgba(0, 0, 0, 0.65);
        }

        .hero-desc {
            font-size: clamp(15px, 1.2vw, 17px);
            font-weight: 400;
            line-height: 1.75;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 26px;
            max-width: 640px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
        }

        .hero-btn-group {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 14px;
        }

        .btn-primary-custom {
            background: #0d47a1;
            border: 0;
            padding: 13px 26px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 15.5px;
            color: #fff !important;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
            text-decoration: none;
            white-space: nowrap;
            box-shadow: 0 4px 14px rgba(13, 71, 161, 0.45);
        }

        .btn-primary-custom:hover {
            background: #083b88;
            color: #fff !important;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(13, 71, 161, 0.65);
        }

        .btn-light-custom {
            background: #fff;
            color: #0d47a1 !important;
            padding: 13px 26px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 15.5px;
            border: 1px solid rgba(255, 255, 255, 0.95);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
            text-decoration: none;
            white-space: nowrap;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
        }

        .btn-light-custom:hover {
            background: #f8fafc;
            color: #083b88 !important;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        }

        #heroSlider .carousel-control-prev,
        #heroSlider .carousel-control-next {
            width: 46px;
            height: 46px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.35);
            border-radius: 50%;
            margin: 0 16px;
            opacity: 0.8;
            transition: all 0.3s ease;
            z-index: 10;
        }

        #heroSlider .carousel-control-prev:hover,
        #heroSlider .carousel-control-next:hover {
            background: rgba(13, 71, 161, 0.85);
            opacity: 1;
            transform: translateY(-50%) scale(1.08);
        }

        #heroSlider .carousel-control-prev-icon,
        #heroSlider .carousel-control-next-icon {
            width: 20px;
            height: 20px;
        }

        .quick-access {
            margin-top: -55px;
            position: relative;
            z-index: 5;
        }

        .quick-card {
            background: #fff;
            border-radius: 10px;
            padding: 25px 15px;
            text-align: center;
            box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
            transition: .3s;
            height: 100%;
        }

        .quick-card:hover {
            transform: translateY(-7px);
        }

        .quick-icon {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            background: #eaf2ff;
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: auto auto 12px;
            font-size: 24px;
        }

        .section {
            padding: 90px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-title span {
            color: var(--primary);
            font-weight: 700;
        }

        .section-title h2 {
            font-size: 36px;
            font-weight: 800;
            margin-top: 8px;
        }

        .section-title p {
            max-width: 650px;
            margin: 12px auto 0;
            color: #777;
        }

        .about-img {
            width: 100%;
            height: 500px;
            object-fit: cover;
            border-radius: 12px;
        }

        .about-list {
            list-style: none;
            padding: 0;
        }

        .about-list li {
            margin-bottom: 15px;
        }

        .about-list i {
            color: #198754;
            margin-right: 8px;
        }

        .notice-box {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, .07);
            overflow: hidden;
        }

        .notice-header {
            background: var(--primary);
            color: #fff;
            padding: 18px 22px;
        }

        .notice-item {
            display: flex;
            gap: 15px;
            padding: 18px 20px;
            border-bottom: 1px solid #eee;
        }

        .date-box {
            min-width: 58px;
            height: 60px;
            background: #edf4ff;
            color: var(--primary);
            text-align: center;
            border-radius: 7px;
            padding-top: 5px;
            font-weight: 700;
        }

        .date-box strong {
            display: block;
            font-size: 21px;
        }

        .event-card,
        .teacher-card,
        .facility-card {
            border: 0;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 25px rgba(0, 0, 0, .07);
            transition: .3s;
            height: 100%;
            background: #fff;
        }

        .event-card:hover,
        .teacher-card:hover,
        .facility-card:hover {
            transform: translateY(-7px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, .12);
        }

        .event-card img {
            width: 100%;
            height: 230px;
            object-fit: cover;
        }

        .program-card {
            background: #fff;
            padding: 35px 25px;
            border-radius: 12px;
            text-align: center;
            border: 1px solid #eee;
            height: 100%;
            transition: .3s;
        }

        .program-card:hover {
            border-color: var(--primary);
            transform: translateY(-6px);
        }

        .program-icon {
            width: 75px;
            height: 75px;
            background: #edf4ff;
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: auto auto 20px;
            border-radius: 50%;
            font-size: 32px;
        }

        .principal-img {
            width: 100%;
            height: 430px;
            object-fit: cover;
            border-radius: 12px;
        }

        .quote {
            font-size: 20px;
            line-height: 1.9;
            color: #555;
        }

        .stats {
            background: var(--primary);
            color: #fff;
        }

        .stat-box {
            text-align: center;
            padding: 20px;
        }

        .stat-box i {
            font-size: 35px;
            margin-bottom: 10px;
        }

        .stat-box h3 {
            font-size: 40px;
            font-weight: 800;
            margin: 0;
        }

        .teacher-card img {
            width: 100%;
            height: 280px;
            object-fit: cover;
        }

        .teacher-info {
            padding: 20px;
            text-align: center;
        }

        .facility-card {
            padding: 30px 20px;
            text-align: center;
        }

        .facility-icon {
            font-size: 42px;
            color: var(--primary);
            margin-bottom: 15px;
        }

        .gallery-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: 10px;
            transition: .3s;
        }

        .gallery-img:hover {
            transform: scale(1.03);
        }

        .admission-cta {
            background: linear-gradient(120deg, var(--primary), #1565c0);
            color: #fff;
            padding: 75px 0;
        }

        .contact-card {
            background: #fff;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, .07);
            height: 100%;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: #edf4ff;
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-size: 21px;
            margin-bottom: 15px;
        }

        footer {
            background: #111827;
            color: #cbd5e1;
        }

        footer h5 {
            color: #fff;
            margin-bottom: 20px;
        }

        footer a {
            color: #cbd5e1;
            display: block;
            margin-bottom: 9px;
        }

        footer a:hover {
            color: #fff;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, .1);
            padding: 20px 0;
        }

        .social-btn {
            width: 38px;
            height: 38px;
            border: 1px solid rgba(255, 255, 255, .2);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-right: 5px;
        }

        .social-btn:hover {
            background: var(--primary);
        }

        /* ==================== RESPONSIVE STYLES ==================== */

        /* Tablet landscape & small desktop */
        @media(max-width: 991px) {
            #heroSlider,
            #heroSlider .carousel-inner,
            #heroSlider .carousel-item {
                height: calc(100vh - 69px);
                min-height: 520px;
            }

            .hero-img {
                height: 100%;
                background-position: center center;
            }

            .navbar-nav {
                padding-top: 15px;
            }

            .section {
                padding: 70px 0;
            }

            .section-title h2 {
                font-size: 30px;
            }

            .about-img {
                height: 350px;
                margin-bottom: 25px;
            }

            .principal-img {
                height: 350px;
                margin-bottom: 25px;
            }

            .admission-cta {
                padding: 55px 0;
                text-align: center;
            }

            .admission-cta .display-6 {
                font-size: 1.6rem;
            }

            .stat-box h3 {
                font-size: 32px;
            }

            .teacher-card img {
                height: 230px;
            }

            .event-card img {
                height: 190px;
            }
        }

        /* Tablet portrait */
        @media(max-width: 767px) {
            .topbar {
                font-size: 12px;
                padding: 6px 0;
            }

            .topbar .d-flex {
                flex-direction: column;
                align-items: center !important;
                gap: 4px;
            }

            #heroSlider,
            #heroSlider .carousel-inner,
            #heroSlider .carousel-item {
                height: calc(100vh - 69px);
                min-height: 500px;
            }

            #heroSlider .carousel-caption {
                left: 0 !important;
                right: 0 !important;
                padding-bottom: 25px;
            }

            .hero-img {
                height: 100%;
                background-position: center center;
            }

            .hero-content {
                padding-left: 15px;
                padding-right: 15px;
                max-width: 100%;
            }

            #heroSlider .carousel-control-prev,
            #heroSlider .carousel-control-next {
                display: none;
            }

            .hero-title,
            .hero-content h1 {
                font-size: 28px;
            }

            .hero-desc,
            .hero-content p {
                font-size: 15px;
                line-height: 1.6;
            }

            .hero-btn-group {
                gap: 10px;
            }

            .btn-primary-custom,
            .btn-light-custom {
                padding: 10px 18px;
                font-size: 14px;
            }

            .quick-access {
                margin-top: 25px;
            }

            .quick-card {
                padding: 18px 12px;
            }

            .quick-icon {
                width: 45px;
                height: 45px;
                font-size: 20px;
            }

            .section {
                padding: 50px 0;
            }

            .section-title {
                margin-bottom: 35px;
            }

            .section-title h2 {
                font-size: 26px;
            }

            .section-title p {
                font-size: 14px;
            }

            .about-img {
                height: 280px;
            }

            .notice-item {
                padding: 14px 15px;
            }

            .date-box {
                min-width: 50px;
                height: 52px;
            }

            .date-box strong {
                font-size: 18px;
            }

            .program-card {
                padding: 25px 18px;
            }

            .program-icon {
                width: 60px;
                height: 60px;
                font-size: 26px;
            }

            .principal-img {
                height: 300px;
            }

            .quote {
                font-size: 16px;
                line-height: 1.7;
            }

            .stat-box {
                padding: 15px 10px;
            }

            .stat-box h3 {
                font-size: 28px;
            }

            .stat-box i {
                font-size: 28px;
            }

            .teacher-card img {
                height: 220px;
            }

            .facility-card {
                padding: 22px 15px;
            }

            .facility-icon {
                font-size: 34px;
            }

            .gallery-img {
                height: 200px;
            }

            .admission-cta {
                padding: 45px 0;
                text-align: center;
            }

            .admission-cta .display-6 {
                font-size: 1.4rem;
            }

            .contact-card {
                padding: 22px;
            }

            footer {
                text-align: center;
            }

            .footer-bottom {
                text-align: center;
            }

            .footer-bottom .d-flex {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }
        }

        /* Small mobile */
        @media(max-width: 575px) {
            .topbar {
                font-size: 11px;
                padding: 5px 0;
            }

            .navbar {
                padding: 5px 0;
            }

            .navbar-brand img {
                max-height: 60px !important;
            }

            #heroSlider,
            #heroSlider .carousel-inner,
            #heroSlider .carousel-item {
                height: calc(100vh - 69px);
                min-height: 460px;
            }

            #heroSlider .carousel-caption {
                left: 0 !important;
                right: 0 !important;
                padding-bottom: 20px;
            }

            .hero-img {
                height: 100%;
                background-position: center center;
            }

            .hero-content {
                padding-left: 12px;
                padding-right: 12px;
                max-width: 100%;
            }

            .hero-title,
            .hero-content h1 {
                font-size: 23px;
            }

            .hero-desc,
            .hero-content p {
                font-size: 13.5px;
                line-height: 1.5;
                margin-bottom: 6px;
            }

            .hero-badge,
            .hero-content .badge {
                font-size: 11px !important;
                padding: 6px 10px !important;
                margin-bottom: 8px !important;
            }

            .hero-btn-group {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                gap: 8px;
                margin-top: 12px !important;
            }

            .btn-primary-custom,
            .btn-light-custom {
                padding: 8px 14px;
                font-size: 13px;
                border-radius: 7px;
                white-space: nowrap;
            }

            .carousel-indicators {
                bottom: 8px;
            }

            .quick-access {
                margin-top: 20px;
            }

            .quick-card {
                padding: 15px 10px;
            }

            .quick-card h6 {
                font-size: 13px;
            }

            .quick-icon {
                width: 40px;
                height: 40px;
                font-size: 18px;
                margin-bottom: 8px;
            }

            .section {
                padding: 40px 0;
            }

            .section-title {
                margin-bottom: 25px;
            }

            .section-title h2 {
                font-size: 22px;
            }

            .about-img {
                height: 220px;
            }

            .notice-header {
                padding: 12px 15px;
                font-size: 14px;
            }

            .notice-item {
                padding: 12px;
                gap: 10px;
            }

            .date-box {
                min-width: 45px;
                height: 48px;
                font-size: 11px;
            }

            .date-box strong {
                font-size: 16px;
            }

            .program-card {
                padding: 20px 14px;
            }

            .principal-img {
                height: 250px;
            }

            .stat-box h3 {
                font-size: 24px;
            }

            .teacher-card img {
                height: 200px;
            }

            .gallery-img {
                height: 170px;
            }

            .admission-cta {
                padding: 35px 0;
            }

            .admission-cta .display-6 {
                font-size: 1.2rem;
            }

            .admission-cta p {
                font-size: 13px;
            }

            .contact-card {
                padding: 18px;
            }

            .contact-icon {
                width: 42px;
                height: 42px;
                font-size: 18px;
            }

            .social-btn {
                width: 34px;
                height: 34px;
            }
        }

        /* Extra small mobile */
            #heroSlider,
            #heroSlider .carousel-inner,
            #heroSlider .carousel-item {
                height: calc(100vh - 69px);
                min-height: 420px;
            }

            #heroSlider .carousel-caption {
                left: 0 !important;
                right: 0 !important;
                padding-bottom: 12px;
            }

            .hero-img {
                height: 100%;
                background-position: center center;
            }

            .hero-content {
                padding-left: 8px;
                padding-right: 8px;
            }

            .hero-content h1 {
                font-size: 20px;
            }

            .hero-content p {
                font-size: 12.5px;
            }

            .hero-btn-group {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                gap: 6px;
                margin-top: 10px !important;
            }

            .btn-primary-custom,
            .btn-light-custom {
                padding: 7px 11px !important;
                font-size: 12px !important;
                border-radius: 6px;
                white-space: nowrap;
            }

            .section-title h2 {
                font-size: 20px;
            }
        }

        /* ================= AI STUDY ASSISTANT (GEMINI AI) STYLING ================= */
        .header-action-group {
            flex-shrink: 0 !important;
        }

        .btn-ai-header {
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
            color: #ffffff !important;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.84rem !important;
            padding: 7px 14px !important;
            line-height: 1.25;
            white-space: nowrap !important;
            flex-shrink: 0 !important;
            border: none;
            box-shadow: 0 3px 10px rgba(124, 58, 237, 0.35);
            transition: all 0.25s ease;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            text-decoration: none;
        }

        .btn-ai-header i {
            color: #fbbf24;
            animation: aiSparkle 2s ease-in-out infinite;
        }

        .btn-ai-header:hover {
            background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
            color: #ffffff !important;
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);
        }

        .btn-ai-header.active {
            outline: 2px solid #a78bfa;
            outline-offset: 1px;
        }

        /* Responsive spacing for mid-size laptops */
        @media (min-width: 992px) and (max-width: 1260px) {
            .navbar-nav .nav-link {
                padding: 6px 5px !important;
                font-size: 0.81rem !important;
            }
            .btn-admission,
            .btn-ai-header {
                padding: 6px 10px !important;
                font-size: 0.8rem !important;
            }
        }

        .ai-nav-link {
            padding: 8px 10px !important;
        }

        .ai-nav-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
            color: #ffffff !important;
            font-weight: 700;
            font-size: 0.85rem;
            padding: 5px 14px;
            border-radius: 999px;
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
            transition: all 0.25s ease;
            letter-spacing: 0.3px;
        }

        .ai-nav-badge i {
            font-size: 0.95rem;
            color: #fbbf24;
            animation: aiSparkle 2s ease-in-out infinite;
        }

        .ai-nav-badge:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(124, 58, 237, 0.55);
            background: linear-gradient(135deg, #2563eb 0%, #6d28d9 100%);
            color: #ffffff !important;
        }

        @keyframes aiSparkle {
            0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
            50% { transform: scale(1.25) rotate(15deg); opacity: 0.9; }
        }

        /* Home Page AI Section - Styled to match Site Navy Blue & Gold Theme */
        .home-ai-section {
            padding: 80px 0;
            background: linear-gradient(135deg, #071933 0%, #0d2854 50%, #0d47a1 100%);
            color: #f8fafc;
            position: relative;
            overflow: hidden;
        }

        .home-ai-section::before {
            content: '';
            position: absolute;
            top: -100px;
            right: -100px;
            width: 450px;
            height: 450px;
            background: radial-gradient(circle, rgba(25, 118, 210, 0.28) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .home-ai-section::after {
            content: '';
            position: absolute;
            bottom: -100px;
            left: -100px;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(249, 168, 37, 0.16) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .ai-badge-pill {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(13, 71, 161, 0.35);
            border: 1px solid rgba(66, 165, 245, 0.45);
            color: #ffd54f;
            font-size: 0.85rem;
            font-weight: 600;
            padding: 6px 16px;
            border-radius: 999px;
            backdrop-filter: blur(8px);
        }

        .ai-card-glow {
            background: rgba(10, 31, 68, 0.82);
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 20px;
            backdrop-filter: blur(16px);
            padding: 32px;
            box-shadow: 0 20px 45px -15px rgba(7, 25, 51, 0.6), 0 0 35px rgba(13, 71, 161, 0.25);
        }

        .ai-subject-tag {
            cursor: pointer;
            padding: 6px 14px;
            font-size: 0.85rem;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.18);
            background: rgba(255, 255, 255, 0.06);
            color: #cbd5e1;
            transition: all 0.2s ease;
            user-select: none;
        }

        .ai-subject-tag:hover, .ai-subject-tag.active {
            background: #0d47a1;
            border-color: #42a5f5;
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(13, 71, 161, 0.45);
            transform: translateY(-1px);
        }

        .ai-input-box {
            position: relative;
        }

        .ai-textarea {
            background: rgba(7, 25, 51, 0.85) !important;
            border: 1.5px solid rgba(66, 165, 245, 0.35) !important;
            border-radius: 16px !important;
            color: #f8fafc !important;
            font-size: 1rem;
            padding: 16px 20px;
            resize: none;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .ai-textarea:focus {
            border-color: #2196f3 !important;
            box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.25) !important;
            outline: none;
        }

        .ai-textarea::placeholder {
            color: #94a3b8;
        }

        .ai-ask-btn {
            background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
            border: none;
            color: #ffffff;
            font-weight: 600;
            padding: 12px 24px;
            border-radius: 12px;
            box-shadow: 0 4px 14px rgba(13, 71, 161, 0.4);
            transition: all 0.25s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .ai-ask-btn:hover {
            background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(13, 71, 161, 0.6);
        }

        .ai-upload-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 18px;
            font-size: 0.88rem;
            font-weight: 600;
            color: #ffffff !important;
            background: rgba(13, 71, 161, 0.35);
            border: 1.5px solid rgba(66, 165, 245, 0.5);
            border-radius: 999px;
            cursor: pointer;
            transition: all 0.25s ease;
            user-select: none;
            margin-bottom: 0;
            text-decoration: none;
        }

        .ai-upload-btn span {
            color: #ffffff !important;
            transition: color 0.2s ease;
        }

        .ai-upload-btn:hover,
        .ai-upload-btn:focus,
        .ai-upload-btn:active {
            color: #ffffff !important;
            background: rgba(25, 118, 210, 0.65) !important;
            border-color: #90caf9 !important;
            box-shadow: 0 4px 14px rgba(25, 118, 210, 0.4);
            transform: translateY(-1px);
        }

        .ai-upload-btn:hover span,
        .ai-upload-btn:focus span,
        .ai-upload-btn:active span {
            color: #ffffff !important;
        }

        .home-ai-section .btn-outline-light:hover,
        .home-ai-section .btn-outline-light:focus,
        .home-ai-section .btn-outline-light:active {
            color: #ffffff !important;
            background: rgba(25, 118, 210, 0.5) !important;
            border-color: #64b5f6 !important;
        }

        .ai-sample-prompt {
            background: rgba(255, 255, 255, 0.08);
            border: 1px dashed rgba(255, 255, 255, 0.22);
            color: #90caf9;
            border-radius: 10px;
            padding: 6px 14px;
            font-size: 0.82rem;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-block;
            margin: 4px;
        }

        .ai-sample-prompt:hover {
            background: rgba(25, 118, 210, 0.3);
            border-color: #90caf9;
            color: #ffffff;
            transform: translateY(-1px);
        }

        .ai-result-box {
            background: rgba(7, 25, 51, 0.95);
            border: 1px solid rgba(66, 165, 245, 0.35);
            border-radius: 16px;
            padding: 24px;
            margin-top: 24px;
            display: none;
            animation: fadeInAI 0.4s ease;
        }

        @keyframes fadeInAI {
            from { opacity: 0; transform: translateY(12px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .ai-answer-content {
            color: #e2e8f0;
            line-height: 1.7;
            font-size: 0.96rem;
        }

        .ai-answer-content h3 {
            color: #ffd54f;
            font-size: 1.2rem;
            margin-bottom: 12px;
            border-bottom: 1px solid rgba(255, 213, 79, 0.25);
            padding-bottom: 6px;
        }

        .ai-answer-content p {
            margin-bottom: 12px;
        }

        .ai-answer-content ul, .ai-answer-content ol {
            padding-left: 24px;
            margin-bottom: 12px;
        }

        .ai-answer-content strong {
            color: #f8fafc;
        }

        /* Floating AI Widget Button */
        .ai-floating-widget {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 1040;
        }

        .ai-floating-btn {
            width: 58px;
            height: 58px;
            border-radius: 50%;
            background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
            border: 3px solid #ffffff;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: 0 8px 24px rgba(13, 71, 161, 0.45);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
        }

        .ai-floating-btn:hover {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 12px 30px rgba(13, 71, 161, 0.65);
        }

        .ai-floating-btn .ai-dot {
            position: absolute;
            top: 2px;
            right: 2px;
            width: 12px;
            height: 12px;
            background: #10b981;
            border: 2px solid #ffffff;
            border-radius: 50%;
            animation: pulseDot 2s infinite;
        }

        @keyframes pulseDot {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.3); opacity: 0.7; }
        }


