/* Global 3D Perspective Tilt Class & Keyframes */
        .tilt-3d {
            transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            transform-style: preserve-3d;
            perspective: 1000px;
        }

        .tilt-3d:hover {
            transform: translateY(-8px) rotateX(4deg) rotateY(-2deg) scale(1.02);
            box-shadow: 0 20px 40px rgba(99, 102, 241, 0.25), 0 10px 25px rgba(0, 0, 0, 0.1) !important;
        }

        @keyframes float3d {

            0%,
            100% {
                transform: translateY(0px) rotateX(0deg) rotateY(0deg);
            }

            50% {
                transform: translateY(-12px) rotateX(4deg) rotateY(-4deg);
            }
        }

        @keyframes pulseGlow3d {

            0%,
            100% {
                opacity: 0.6;
                filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.4));
            }

            50% {
                opacity: 0.9;
                filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.8));
            }
        }

        @keyframes spin3dAxis {
            from {
                transform: rotateY(0deg);
            }

            to {
                transform: rotateY(360deg);
            }
        }

        :root {
            --primary: #6366f1;
            --primary-hover: #4f46e5;
            --primary-accent: #8b5cf6;
            --secondary-cyan: #06b6d4;
            --glow-magenta: #d946ef;
            --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
            --primary-gradient-hover: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #c084fc 100%);
            --cyan-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
            --text-dark: #0f172a;
            --text-muted: #64748b;
            --bg-footer: #070b14;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        html,
        body {
            max-width: 100%;
            overflow-x: clip;
            width: 100%;
        }

        body {
            background-color: #ffffff;
            color: var(--text-dark);
            line-height: 1.6;
            position: relative;
        }

        main {
            overflow-x: clip;
            width: 100%;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .container {
            max-width: 1440px;
            width: 96%;
            margin: 0 auto;
            padding: 0 0.85rem;
        }

        /* White Header matching Image 1 - Compact height */
        /* Dark Cyber Header matching Banner (Top State) with Smooth White Scroll Switch */
        .header-white {
            background: rgba(9, 13, 22, 0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(99, 102, 241, 0.25);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
            transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
        }

        .navbar-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 72px;
            padding: 4px 0;
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .brand-logo-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
            transition: transform 0.3s ease;
        }

        .brand-logo-img:hover {
            transform: scale(1.05);
        }

        .nav-links-light {
            display: flex;
            align-items: center;
            gap: 1.25rem;
            list-style: none;
        }

        .nav-link-light {
            font-size: 0.9rem;
            font-weight: 600;
            color: #cbd5e1;
            transition: color 0.25s ease;
        }

        .nav-link-light:hover,
        .nav-link-light.active {
            color: #38bdf8;
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .site-title-text {
            font-family: 'Outfit', sans-serif;
            font-size: 1.05rem;
            font-weight: 700;
            color: #ffffff;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: color 0.35s ease;
        }

        /* Scrolled Header State: White Theme */
        .header-white.scrolled-white {
            background: rgba(255, 255, 255, 0.96) !important;
            border-bottom-color: #f1f5f9 !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
        }

        .header-white.scrolled-white .nav-link-light {
            color: #475569 !important;
        }

        .header-white.scrolled-white .nav-link-light:hover,
        .header-white.scrolled-white .nav-link-light.active {
            color: #6366f1 !important;
        }

        .header-white.scrolled-white .site-title-text {
            color: #0f172a !important;
        }

        .site-title-icon {
            width: 20px;
            height: 20px;
            object-fit: contain;
        }

        .btn-pink-pill {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
            color: #ffffff;
            padding: 0.5rem 1.6rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            border: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
        }

        .btn-pink-pill:hover {
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #c084fc 100%);
            transform: translateY(-2px);
            box-shadow: 0 8px 22px rgba(99, 102, 241, 0.5);
            color: #fff;
        }

        /* Logged In User Dropdown in Header */
        .user-dropdown {
            position: relative;
            display: inline-block;
        }

        .user-badge-btn {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
            border: none;
            padding: 0.45rem 1.25rem;
            border-radius: 50px;
            color: #ffffff;
            font-weight: 800;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
            transition: all 0.3s ease;
        }

        .user-badge-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
        }

        .user-avatar {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: #ffffff;
            color: #6366f1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 0.8rem;
        }

        .dropdown-menu-custom {
            position: absolute;
            right: 0;
            top: 110%;
            width: 200px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            padding: 6px 0;
            display: none;
            z-index: 1100;
        }

        .user-dropdown:hover .dropdown-menu-custom {
            display: block;
        }

        .dropdown-item-custom {
            padding: 8px 14px;
            color: #334155;
            font-weight: 600;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background 0.2s ease;
        }

        .dropdown-item-custom:hover {
            background: #fdf2f8;
            color: #e83e8c;
        }

        /* Notifications / Alerts */
        .alert-toast {
            position: fixed;
            top: 75px;
            right: 20px;
            z-index: 9999;
            background: #10b981;
            color: white;
            padding: 0.75rem 1.25rem;
            border-radius: 10px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Footer matching Image 4 - Compact Padding */
        .site-footer-dark {
            background: var(--bg-footer);
            color: #94a3b8;
            padding: 2.25rem 0 0;
            font-size: 0.825rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .footer-grid-4 {
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr 1fr;
            gap: 1.5rem;
            padding-bottom: 1.75rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .footer-col-title {
            color: #ffffff;
            font-family: 'Outfit', sans-serif;
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 1.25rem;
        }

        .footer-links-list {
            list-style: none;
        }

        .footer-links-list li {
            margin-bottom: 0.6rem;
        }

        .footer-links-list a {
            color: #cbd5e1;
            transition: color 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .footer-links-list a:hover {
            color: #6366f1;
        }

        .footer-subrow {
            padding: 1.5rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .footer-subrow-title {
            color: #ffffff;
            font-weight: 700;
            font-size: 0.95rem;
            margin-bottom: 0.5rem;
        }

        .inline-links {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 14px;
            color: #94a3b8;
            font-size: 0.825rem;
        }

        .inline-links a {
            color: #94a3b8;
        }

        .inline-links a:hover {
            color: #e83e8c;
        }

        .footer-disclaimer {
            font-size: 0.775rem;
            color: #64748b;
            line-height: 1.6;
            margin: 1.5rem 0;
        }

        .footer-bottom-bar {
            display: none;
        }

        /* Dedicated Full-Width Black Bottom Strip matching screenshot */
        .footer-black-bottom-strip {
            background: #000000;
            padding: 1.1rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            margin-top: 2rem;
            width: 100%;
        }

        .footer-strip-flex {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .strip-items-right {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 2.25rem;
            color: #ffffff;
            font-size: 0.9rem;
            font-weight: 500;
            flex-wrap: wrap;
        }

        .strip-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: inherit;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        a.strip-item:hover {
            color: #818cf8;
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .footer-grid-4 {
                grid-template-columns: 1fr !important;
                gap: 2.2rem;
            }

            .footer-strip-flex {
                justify-content: center;
            }

            .strip-items-right {
                flex-direction: column;
                gap: 0.6rem;
                text-align: center;
            }
        }

        @media (max-width: 1024px) {
            .nav-links-light {
                display: none;
            }

            .site-title-text {
                display: none;
            }

            .footer-grid-4 {
                grid-template-columns: 1fr 1fr;
            }
        }

        /* Global Pagination Styling */
        .pagination-wrapper {
            padding: 1.25rem 1.5rem;
            background: #ffffff;
            border-top: 1px solid #f1f5f9;
        }

        .pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            list-style: none;
            padding: 0;
            margin: 0;
            gap: 6px;
            flex-wrap: wrap;
        }

        .pagination .page-item {
            display: inline-block;
        }

        .pagination .page-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 38px;
            height: 38px;
            padding: 0 14px;
            border-radius: 8px;
            background: #ffffff;
            border: 1px solid #cbd5e1;
            color: #334155;
            font-weight: 700;
            font-size: 0.88rem;
            text-decoration: none;
            transition: all 0.2s ease;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
        }

        .pagination .page-link:hover {
            background: #f1f5f9;
            border-color: #0284c7;
            color: #0284c7;
        }

        .pagination .page-item.active .page-link {
            background: linear-gradient(135deg, #e83e8c 0%, #ec4899 100%);
            color: #ffffff;
            border-color: #e83e8c;
            box-shadow: 0 4px 12px rgba(232, 62, 140, 0.3);
        }

        .pagination .page-item.disabled .page-link {
            background: #f8fafc;
            border-color: #e2e8f0;
            color: #94a3b8;
            cursor: not-allowed;
            box-shadow: none;
        }

        nav[role="navigation"] svg {
            width: 18px !important;
            height: 18px !important;
            vertical-align: middle;
        }

        /* Floating Action Buttons: Live Chat & Scroll to Top */
        .fixed-floating-actions {
            position: fixed;
            bottom: 25px;
            right: 25px;
            z-index: 10000;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .floating-chat-btn {
            position: relative;
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: #10b981;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            text-decoration: none;
        }

        .floating-chat-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 12px 30px rgba(16, 185, 129, 0.55);
            color: #ffffff;
        }

        .chat-notification-badge {
            position: absolute;
            top: -2px;
            right: -2px;
            background: #dc2626;
            color: #ffffff;
            font-size: 0.72rem;
            font-weight: 800;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #ffffff;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        }

        .scroll-to-top-btn {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
            color: #ffffff;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
            cursor: pointer;
            transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
            opacity: 0;
            pointer-events: none;
        }

        .scroll-to-top-btn.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .scroll-to-top-btn:hover {
            transform: translateY(-4px) scale(1.06);
            box-shadow: 0 14px 35px rgba(99, 102, 241, 0.6);
            color: #ffffff;
        }

        /* Student Login Modal Popup Styles */
        .student-auth-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(15, 23, 42, 0.75);
            backdrop-filter: blur(10px);
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }

        .student-auth-modal-card {
            background: rgba(15, 23, 42, 0.95);
            border: 1px solid rgba(236, 72, 153, 0.35);
            border-radius: 24px;
            max-width: 430px;
            width: 100%;
            padding: 1.5rem 1.65rem;
            max-height: 92vh;
            overflow-y: auto;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(236, 72, 153, 0.25);
            position: relative;
            animation: modalFadeIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
            color: #ffffff;
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: scale(0.92) translateY(20px);
            }

            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .modal-close-btn {
            position: absolute;
            top: 16px;
            right: 18px;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: #cbd5e1;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            font-size: 1.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .modal-close-btn:hover {
            background: #e83e8c;
            color: #ffffff;
        }

        .modal-logo-circle {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #e83e8c 0%, #ec4899 100%);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.75rem;
            margin: 0 auto 0.75rem auto;
            box-shadow: 0 0 20px rgba(232, 62, 140, 0.4);
        }

        .modal-auth-title {
            font-family: 'Outfit', sans-serif;
            font-size: 1.7rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 0.25rem;
        }

        .modal-auth-subtitle {
            color: #94a3b8;
            font-size: 0.85rem;
        }

        /* Mobile Hamburger & Drawer Navigation Styles */
        .mobile-menu-btn {
            display: none;
            background: #f1f5f9;
            border: 1px solid #cbd5e1;
            color: #0f172a;
            width: 40px;
            height: 40px;
            border-radius: 10px;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .mobile-menu-btn:hover {
            background: #fdf2f8;
            border-color: #e83e8c;
            color: #e83e8c;
        }

        @media (max-width: 1024px) {
            .mobile-menu-btn {
                display: flex;
            }
        }

        .mobile-nav-drawer {
            position: fixed;
            top: 0;
            left: -300px;
            width: 280px;
            height: 100vh;
            background: #0f172a;
            color: #ffffff;
            z-index: 10005;
            padding: 1.5rem;
            transition: left 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
            box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
        }

        .mobile-nav-drawer.open {
            left: 0;
        }

        .mobile-nav-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(4px);
            z-index: 10004;
            display: none;
        }

        .mobile-nav-backdrop.open {
            display: block;
        }

        .mobile-nav-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mobile-nav-close {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: #ffffff;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            font-size: 1.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .mobile-nav-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .mobile-nav-links li {
            margin-bottom: 0.5rem;
        }

        .mobile-nav-links a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 0.85rem 1rem;
            border-radius: 12px;
            color: #cbd5e1;
            font-weight: 700;
            font-size: 0.95rem;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .mobile-nav-links a:hover,
        .mobile-nav-links a.active {
            background: linear-gradient(135deg, #e83e8c 0%, #ec4899 100%);
            color: #ffffff;
        }

        .user-name-initials {
            display: none;
        }

        @media (max-width: 768px) {
            .user-name-full {
                display: none;
            }

            .user-name-initials {
                display: inline;
                font-weight: 800;
                font-size: 0.925rem;
            }

            .user-badge-btn {
                padding: 0.4rem 0.8rem;
            }
        }
