:root {
            --bg-color: #f8fafc;
            --text-color: #0f172a;
            --text-muted: #64748b;
            --btn-outline-border: rgba(15, 23, 42, 0.2);
            --btn-outline-hover-bg: rgba(99, 102, 241, 0.1);
            --btn-glass-bg: rgba(255, 255, 255, 0.6);
            --btn-glass-border: rgba(0, 0, 0, 0.1);
            --btn-glass-text: #0f172a;
            --grid-line: rgba(0, 0, 0, 0.05);
            --title-gradient-start: #0f172a;
            --title-gradient-end: #475569;
        }

        [data-theme="dark"] {
            --bg-color: #0f172a;
            --text-color: #ffffff;
            --text-muted: #cbd5e1;
            --btn-outline-border: rgba(255, 255, 255, 0.2);
            --btn-outline-hover-bg: rgba(56, 189, 248, 0.1);
            --btn-glass-bg: rgba(255, 255, 255, 0.05);
            --btn-glass-border: rgba(255, 255, 255, 0.1);
            --btn-glass-text: #ffffff;
            --grid-line: rgba(255, 255, 255, 0.03);
            --title-gradient-start: #ffffff;
            --title-gradient-end: #94a3b8;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            transition: background-color 0.3s ease, color 0.3s ease;
            -webkit-tap-highlight-color: transparent !important;
        }

        h1, h2, h3, h4, h5, h6, .brand-text, .btn, .nav-links a {
            font-family: 'Outfit', sans-serif;
            letter-spacing: -0.02em;
        }

        body {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background: var(--bg-color);
            color: var(--text-color);
            overflow-x: hidden;
            position: relative;
            /* Hide scrollbars */
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        ::-webkit-scrollbar {
            display: none !important;
            width: 0 !important;
            height: 0 !important;
        }
        
        * {
            scrollbar-width: none;
        }

        /* Top Navigation/Logo Area */
        header.navbar {
            width: 100%;
            padding: 10px 40px; /* Reduced padding from 20px 60px */
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 20;
            border-bottom: 1px solid var(--grid-line);
            background: transparent;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 35px;
        }

        .nav-item {
            font-family: 'Outfit', sans-serif;
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--text-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .nav-item:hover {
            color: #38bdf8;
        }

        main.main-wrapper {
            flex: 1; 
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
            position: relative;
            z-index: 10;
            padding: 40px 20px;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text-color);
            letter-spacing: -0.5px;
        }

        .brand i {
            width: 36px;
            height: 36px;
            color: #38bdf8;
        }

        .login-outline {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 28px;
            border: 2px solid var(--btn-outline-border);
            border-radius: 50px;
            color: var(--text-color);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .login-outline:hover {
            border-color: #38bdf8;
            background: var(--btn-outline-hover-bg);
            color: #38bdf8;
        }

        .nav-info-btn { 
            font-size: 0.95rem; 
            color: var(--text-color); 
            background: transparent; 
            border: 1px solid var(--btn-outline-border); 
            border-radius: 50px;
            padding: 8px 18px;
            cursor: pointer; 
            text-decoration: none; 
            font-weight: 600; 
            transition: all 0.3s; 
            display: inline-flex; 
            align-items: center; 
            gap: 8px; 
            white-space: nowrap;
            margin-left: 20px; /* Moves it away from the logo */
        }
        .nav-info-btn:hover { 
            border-color: #38bdf8;
            background: var(--btn-outline-hover-bg);
            color: #38bdf8;
        }

        /* Main Content Container (No Card) */
        .hero-content {
            position: relative;
            z-index: 10;
            text-align: center;
            max-width: 900px;
            padding: 0;
        }

        .badge {
            display: inline-block;
            padding: 8px 16px;
            background: rgba(99, 102, 241, 0.15);
            border: 1px solid rgba(99, 102, 241, 0.3);
            border-radius: 50px;
            color: #818cf8;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 30px;
            animation: fadeInDown 1s ease-out;
        }

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

        h1 {
            font-size: 4.5rem; /* Slightly smaller for elegance */
            font-family: 'Outfit', sans-serif; /* Applied premium font */
            font-weight: 800;
            line-height: 1.25; /* Increased from 1.1 to prevent overlap */
            margin-bottom: 35px; /* Increased from 25px for better spacing */
            background: linear-gradient(135deg, var(--title-gradient-start) 30%, var(--title-gradient-end) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -1px; /* Improved typography readability */
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        p.subtitle {
            font-size: 1.35rem;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 55px;
            font-weight: 400;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            animation: fadeInUp 1s ease-out 0.4s both;
        }

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

        /* Action Grid */
        .action-container {
            display: flex;
            justify-content: center;
            gap: 30px;
            animation: fadeInUp 1s ease-out 0.6s both;
            flex-wrap: wrap;
        }

        .action-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 20px 45px;
            border-radius: 16px;
            font-size: 1.15rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            overflow: hidden;
        }

        .btn-glow {
            background: linear-gradient(135deg, #4f46e5, #3b82f6);
            color: white;
            border: 1px solid rgba(255,255,255,0.1);
            box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.5);
        }

        .btn-glow:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 25px 45px -5px rgba(59, 130, 246, 0.7);
        }

        .btn-glass {
            background: var(--btn-glass-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--btn-glass-border);
            color: var(--btn-glass-text);
            box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
        }

        .btn-glass:hover {
            background: var(--bg-color);
            border-color: var(--btn-glass-border);
            transform: translateY(-5px);
        }

        /* Custom Animated Login SVG */
        .action-btn .arrow-group {
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .action-btn .door {
            transition: opacity 0.3s ease;
        }
        .action-btn:active .arrow-group, .action-btn:hover .arrow-group {
            transform: translateX(4px);
        }
        
        /* Custom Animated Register School SVG */
        .action-btn .plus-group {
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            transform-origin: 19px 6px;
        }
        .action-btn .school-shape {
            transition: all 0.3s ease;
        }
        .action-btn:active .plus-group, .action-btn:hover .plus-group {
            transform: rotate(90deg) scale(1.2);
        }

        /* Dropdown CSS */
        .dropdown-menu {
            position: absolute;
            top: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%);
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 12px;
            padding: 6px 0;
            min-width: 190px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.15s ease, visibility 0.15s;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 16px -6px rgba(0, 0, 0, 0.05);
            z-index: 50;
        }

        [data-theme="dark"] .dropdown-menu {
            background: rgba(30, 41, 59, 0.75);
            border-color: rgba(255, 255, 255, 0.08);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 16px -6px rgba(0, 0, 0, 0.3);
        }

        .dropdown-wrapper.active .dropdown-menu {
            opacity: 1;
            visibility: visible;
        }

        .dropdown-menu a {
            display: block;
            padding: 10px 20px;
            color: var(--text-color);
            text-decoration: none;
            font-size: 0.95rem;
            font-family: 'Outfit', sans-serif;
            font-weight: 500;
            transition: background 0.2s, color 0.2s;
        }

        .dropdown-menu a:hover {
            background: rgba(99, 102, 241, 0.08);
            color: #6366f1;
        }

        [data-theme="dark"] .dropdown-menu a:hover {
            background: rgba(56, 189, 248, 0.08);
            color: #38bdf8;
        }

        /* Grid Background Pattern */
        .grid-pattern {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background-image: 
                linear-gradient(var(--grid-line) 1px, transparent 1px),
                linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
            background-size: 50px 50px;
            z-index: 1;
            pointer-events: none;
            mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
            -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
        }

        /* Responsive */
        @media (max-width: 900px) {
            h1 { font-size: 3.5rem; }
            p.subtitle { font-size: 1.15rem; }
            header.navbar { padding: 15px 25px; }
        }

        @media (max-width: 600px) {
            h1 { font-size: 2.5rem; letter-spacing: -1px; }
            .action-container { flex-direction: column; gap: 15px; }
            .action-btn { width: 100%; padding: 18px 30px; }
            header.navbar { flex-direction: row; gap: 0; padding: 15px 20px; justify-content: flex-start; }
            .brand { gap: 0; }
            .nav-info-btn { font-size: 0.75rem; padding: 6px 12px; margin-left: 10px; }
            .brand-logo { height: 60px !important; }
            #theme-toggle {
                top: 20px !important;
                right: 20px !important;
                bottom: auto !important;
            }
        }