/* Madrasah Digital Center (MDC) - Styles */
/* Theme: Technology + Madrasah | Developed by IAS 2026 */

/* =========================================================
           MADRASAH DIGITAL CENTER (MDC)
           Premium Technology + Education Theme
           Developed by IAS - 2026
           ========================================================= */

        /* ---------- CSS Variables ---------- */
        :root {
            --bg-deep: #020617;
            --bg-dark: #0f172a;
            --bg-card: rgba(15, 23, 42, 0.62);
            --bg-card-hover: rgba(15, 23, 42, 0.85);
            --border-subtle: rgba(255, 255, 255, 0.07);
            --border-light: rgba(255, 255, 255, 0.12);

            --text-white: #f8fafc;
            --text-light: #e2e8f0;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;

            --orange: #f97316;
            --orange-light: #fb923c;
            --orange-dark: #c2410c;
            --orange-glow: rgba(249, 115, 22, 0.45);

            --blue: #3b82f6;
            --blue-light: #60a5fa;
            --blue-dark: #1d4ed8;
            --blue-glow: rgba(59, 130, 246, 0.45);

            --green: #22c55e;
            --green-light: #4ade80;
            --green-dark: #15803d;
            --green-glow: rgba(34, 197, 94, 0.45);

            --cyan: #22d3ee;
            --cyan-glow: rgba(34, 211, 238, 0.35);
            --purple: #a855f7;

            --radius-lg: 24px;
            --radius-md: 16px;
            --radius-sm: 12px;
            --transition: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
            --shadow-deep: 0 25px 50px rgba(0, 0, 0, 0.45);
        }

        /* ---------- Reset & Base ---------- */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            min-height: 100vh;
            background-color: #022c22;
            color: var(--text-white);
            overflow-x: hidden;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        img {
            max-width: 100%;
            display: block;
        }

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

        /* ---------- Background System ---------- */
        
        /* ---------- BACKGROUND SYSTEM (MADRASAH THEME) ---------- */
        .bg-system {
            position: fixed;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            overflow: hidden;
            background:
                linear-gradient(165deg, #022c22 0%, #064e3b 25%, #0f172a 55%, #020617 100%);
        }

        /* Islamic geometric pattern - visible */
        .bg-pattern {
            position: absolute;
            inset: 0;
            opacity: 0.12;
            background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%234ade80' stroke-width='0.8'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z'/%3E%3Cpath d='M40 15 L65 40 L40 65 L15 40 Z'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E");
            background-size: 80px 80px;
            animation: patternDrift 40s linear infinite;
        }

        @keyframes patternDrift {
            0% { transform: translate(0, 0); }
            100% { transform: translate(80px, 80px); }
        }

        /* Soft light from top (like mosque lighting) */
        .bg-light {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 70% 45% at 50% 0%, rgba(74, 222, 128, 0.18) 0%, transparent 60%),
                radial-gradient(ellipse 50% 40% at 20% 80%, rgba(234, 179, 8, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse 50% 40% at 80% 70%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
        }

        /* Mosque silhouette - more visible */
        .bg-mosque {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 280px;
            opacity: 0.14;
            background:
                /* Main dome center */
                radial-gradient(ellipse 160px 120px at 50% 100%, rgba(255,255,255,0.95) 0%, transparent 68%),
                /* Left dome */
                radial-gradient(ellipse 100px 140px at 30% 100%, rgba(255,255,255,0.75) 0%, transparent 68%),
                /* Right dome */
                radial-gradient(ellipse 100px 140px at 70% 100%, rgba(255,255,255,0.75) 0%, transparent 68%),
                /* Far left minaret top */
                radial-gradient(ellipse 36px 70px at 14% 100%, rgba(255,255,255,0.55) 0%, transparent 70%),
                /* Far right minaret top */
                radial-gradient(ellipse 36px 70px at 86% 100%, rgba(255,255,255,0.55) 0%, transparent 70%),
                /* Base building line */
                linear-gradient(to top, rgba(255,255,255,0.2) 0%, transparent 40%);
            background-size: 100% 100%;
            pointer-events: none;
        }

        /* Crescent + star subtle decoration */
        .bg-crescent {
            position: absolute;
            top: 12%;
            right: 8%;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            box-shadow: -12px 0 0 0 rgba(234, 179, 8, 0.15);
            opacity: 0.5;
            animation: crescentGlow 6s ease-in-out infinite;
        }

        @keyframes crescentGlow {
            0%, 100% { opacity: 0.35; }
            50% { opacity: 0.6; }
        }

        /* Floating particles */
        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(74, 222, 128, 0.6);
            border-radius: 50%;
            opacity: 0;
            animation: particleRise linear infinite;
        }

        .particle:nth-child(1)  { left: 6%;  animation-duration: 11s; animation-delay: 0s; }
        .particle:nth-child(2)  { left: 18%; animation-duration: 14s; animation-delay: 1.5s; }
        .particle:nth-child(3)  { left: 32%; animation-duration: 12s; animation-delay: 3s; }
        .particle:nth-child(4)  { left: 48%; animation-duration: 16s; animation-delay: 0.8s; }
        .particle:nth-child(5)  { left: 62%; animation-duration: 13s; animation-delay: 2.2s; }
        .particle:nth-child(6)  { left: 75%; animation-duration: 15s; animation-delay: 4s; }
        .particle:nth-child(7)  { left: 88%; animation-duration: 11s; animation-delay: 1s; }
        .particle:nth-child(8)  { left: 12%; animation-duration: 17s; animation-delay: 5s; }
        .particle:nth-child(9)  { left: 40%; animation-duration: 14s; animation-delay: 2.8s; }
        .particle:nth-child(10) { left: 55%; animation-duration: 12s; animation-delay: 3.5s; }
        .particle:nth-child(11) { left: 70%; animation-duration: 16s; animation-delay: 0.5s; }
        .particle:nth-child(12) { left: 92%; animation-duration: 13s; animation-delay: 4.5s; }

        @keyframes particleRise {
            0%   { transform: translateY(100vh) scale(0); opacity: 0; }
            12%  { opacity: 0.55; }
            80%  { opacity: 0.25; }
            100% { transform: translateY(-8vh) scale(1); opacity: 0; }
        }

        /* Floating madrasah icons */
        .float-edu {
            position: absolute;
            font-size: 22px;
            color: rgba(74, 222, 128, 0.12);
            animation: floatEdu 14s ease-in-out infinite;
            pointer-events: none;
        }

        .float-edu:nth-child(1) { top: 12%; left: 5%;  animation-delay: 0s; }
        .float-edu:nth-child(2) { top: 28%; right: 7%; animation-delay: 2s; }
        .float-edu:nth-child(3) { top: 55%; left: 8%;  animation-delay: 4s; }
        .float-edu:nth-child(4) { top: 70%; right: 10%; animation-delay: 1s; }
        .float-edu:nth-child(5) { top: 18%; left: 42%; animation-delay: 3s; }
        .float-edu:nth-child(6) { top: 80%; left: 30%; animation-delay: 5s; }

        @keyframes floatEdu {
            0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
            50% { transform: translateY(-22px) rotate(10deg); opacity: 0.22; }
        }

        /* ---------- HEADER ---------- */
        .header {
            position: relative;
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 40px;
            background: rgba(2, 6, 23, 0.78);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            animation: headerEnter 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        @keyframes headerEnter {
            from { transform: translateY(-100%); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .header-brand {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .logo-container {
            position: relative;
            width: 54px;
            height: 54px;
            flex-shrink: 0;
        }

        .logo-ring-outer {
            position: absolute;
            inset: -8px;
            border-radius: 50%;
            border: 1.5px solid transparent;
            border-top-color: rgba(34, 197, 94, 0.5);
            border-right-color: rgba(34, 211, 238, 0.35);
            animation: ringSpin 4s linear infinite;
        }

        .logo-ring-inner {
            position: absolute;
            inset: -3px;
            border-radius: 50%;
            border: 1.5px solid transparent;
            border-bottom-color: rgba(34, 211, 238, 0.4);
            border-left-color: rgba(34, 197, 94, 0.3);
            animation: ringSpin 3s linear infinite reverse;
        }

        @keyframes ringSpin {
            to { transform: rotate(360deg); }
        }

        .logo-img {
            width: 54px;
            height: 54px;
            object-fit: contain;
            position: relative;
            z-index: 2;
            filter: drop-shadow(0 0 14px rgba(34, 197, 94, 0.35));
            transition: transform 0.35s ease;
        }

        .logo-img:hover {
            transform: scale(1.1) rotate(-6deg);
        }

        .brand-text h1 {
            font-size: 1.18rem;
            font-weight: 800;
            letter-spacing: 0.4px;
            color: var(--text-white);
            line-height: 1.3;
        }

        .brand-text h1 .accent {
            color: var(--green);
        }

        .brand-text h1 .divider {
            color: var(--text-muted);
            font-weight: 400;
            margin: 0 6px;
        }

        .brand-text p {
            font-size: 0.76rem;
            color: var(--text-secondary);
            margin-top: 2px;
            font-weight: 500;
            letter-spacing: 0.3px;
        }

        .header-status {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 18px;
            background: rgba(34, 197, 94, 0.08);
            border: 1px solid rgba(34, 197, 94, 0.22);
            border-radius: 50px;
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--green);
        }

        .header-status .pulse-dot {
            width: 8px;
            height: 8px;
            background: var(--green);
            border-radius: 50%;
            box-shadow: 0 0 12px var(--green);
            animation: pulseDot 1.8s ease-in-out infinite;
        }

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

        /* ---------- HERO SECTION ---------- */
        .hero {
            position: relative;
            z-index: 10;
            text-align: center;
            padding: 28px 20px 8px;
            animation: sectionFade 0.9s ease-out 0.2s both;
        }

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

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 7px 18px;
            background: rgba(34, 211, 238, 0.07);
            border: 1px solid rgba(34, 211, 238, 0.18);
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--cyan);
            letter-spacing: 1.2px;
            text-transform: uppercase;
            margin-bottom: 22px;
        }

        .hero-badge i {
            font-size: 0.85rem;
        }

        .hero-title {
            font-family: 'Orbitron', 'Plus Jakarta Sans', sans-serif;
            font-size: clamp(1.5rem, 4vw, 2.35rem);
            font-weight: 700;
            letter-spacing: 2.5px;
            line-height: 1.25;
            background: linear-gradient(135deg, #ffffff 0%, #94a3b8 25%, #22d3ee 55%, #4ade80 75%, #ffffff 100%);
            background-size: 300% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: titleShine 6s linear infinite;
        }

        @keyframes titleShine {
            0% { background-position: 0% center; }
            100% { background-position: 300% center; }
        }

        .hero-title .platform {
            display: block;
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 0.9rem;
            font-weight: 500;
            letter-spacing: 4px;
            color: var(--text-secondary);
            -webkit-text-fill-color: var(--text-secondary);
            margin-top: 10px;
        }

        .hero-desc {
            font-size: 1.02rem;
            color: var(--text-secondary);
            margin-top: 16px;
            font-weight: 500;
            max-width: 520px;
            margin-left: auto;
            margin-right: auto;
        }

        /* ---------- STATS BAR ---------- */
        
        .hero-desc {
            font-size: 1rem;
            color: var(--text-secondary);
            font-weight: 500;
            margin-top: 8px;
        }

        .hero-school-name {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--text-light);
            margin-top: 8px;
            letter-spacing: 0.3px;
        }

        .hero-badge {
            margin-bottom: 10px;
        }

        .stats-bar {
            position: relative;
            z-index: 10;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0;
            padding: 12px 20px 4px;
            animation: sectionFade 0.9s ease-out 0.35s both;
        }

        .stat-item {
            text-align: center;
            padding: 0 32px;
            position: relative;
        }

        .stat-item:not(:last-child)::after {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 1px;
            height: 32px;
            background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
        }

        .stat-number {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.55rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--cyan), var(--green));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
        }

        .stat-label {
            font-size: 0.7rem;
            color: var(--text-muted);
            margin-top: 4px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            font-weight: 600;
        }

        /* ---------- SECTION LABEL ---------- */
        .section-label {
            position: relative;
            z-index: 10;
            text-align: center;
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--text-muted);
            letter-spacing: 2.5px;
            text-transform: uppercase;
            margin-bottom: 16px;
            animation: sectionFade 0.9s ease-out 0.4s both;
        }

        .section-label span {
            display: inline-block;
            padding: 0 16px;
            position: relative;
        }

        .section-label span::before,
        .section-label span::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 40px;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(34,211,238,0.3));
        }

        .section-label span::before {
            right: 100%;
            background: linear-gradient(90deg, transparent, rgba(34,211,238,0.3));
        }

        .section-label span::after {
            left: 100%;
            background: linear-gradient(90deg, rgba(34,211,238,0.3), transparent);
        }

        
        /* ---------- CARDS CONTAINER ---------- */
        .cards-section {
            position: relative;
            z-index: 10;
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 24px 40px;
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
        }

        /* ---------- SERVICE CARD ---------- */
        .service-card {
            position: relative;
            border-radius: 20px;
            animation: cardReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
            transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        .service-card:nth-child(1) { animation-delay: 0.25s; }
        .service-card:nth-child(2) { animation-delay: 0.4s; }
        .service-card:nth-child(3) { animation-delay: 0.55s; }

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

        .service-card:hover {
            transform: translateY(-10px);
        }

        /* Colored glow behind card on hover */
        .card-border {
            position: absolute;
            inset: -1px;
            border-radius: 21px;
            z-index: 0;
            opacity: 0;
            transition: opacity 0.35s ease;
            filter: blur(12px);
        }

        .theme-orange .card-border { background: rgba(249, 115, 22, 0.45); }
        .theme-blue .card-border { background: rgba(59, 130, 246, 0.45); }
        .theme-green .card-border { background: rgba(34, 197, 94, 0.45); }

        .service-card:hover .card-border {
            opacity: 1;
        }

        /* Glass body */
        .card-glass {
            position: relative;
            z-index: 1;
            background: linear-gradient(165deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.85) 100%);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 24px 22px 20px;
            height: 100%;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
            transition: border-color 0.35s ease, box-shadow 0.35s ease;
        }

        .theme-orange:hover .card-glass {
            border-color: rgba(249, 115, 22, 0.35);
            box-shadow: 0 20px 48px rgba(249, 115, 22, 0.12), 0 16px 40px rgba(0,0,0,0.35);
        }

        .theme-blue:hover .card-glass {
            border-color: rgba(59, 130, 246, 0.35);
            box-shadow: 0 20px 48px rgba(59, 130, 246, 0.12), 0 16px 40px rgba(0,0,0,0.35);
        }

        .theme-green:hover .card-glass {
            border-color: rgba(34, 197, 94, 0.35);
            box-shadow: 0 20px 48px rgba(34, 197, 94, 0.12), 0 16px 40px rgba(0,0,0,0.35);
        }

        /* Top color bar */
        .card-accent {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            border-radius: 20px 20px 0 0;
        }

        .theme-orange .card-accent { background: linear-gradient(90deg, #f97316, #fdba74); }
        .theme-blue .card-accent { background: linear-gradient(90deg, #3b82f6, #93c5fd); }
        .theme-green .card-accent { background: linear-gradient(90deg, #22c55e, #86efac); }

        /* Hide unused decorations */
        .card-dots,
        .corner {
            display: none;
        }

        /* Icon */
        .icon-box {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #fff;
            margin-bottom: 16px;
            transition: transform 0.3s ease;
        }

        .service-card:hover .icon-box {
            transform: scale(1.08);
        }

        .theme-orange .icon-box {
            background: linear-gradient(145deg, #fb923c, #ea580c);
            box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
        }

        .theme-blue .icon-box {
            background: linear-gradient(145deg, #60a5fa, #2563eb);
            box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
        }

        .theme-green .icon-box {
            background: linear-gradient(145deg, #4ade80, #16a34a);
            box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
        }

        .card-title {
            font-size: 1.08rem;
            font-weight: 800;
            color: #f8fafc;
            margin-bottom: 2px;
            letter-spacing: -0.2px;
        }

        .card-subtitle {
            font-size: 0.75rem;
            color: #64748b;
            margin-bottom: 10px;
            font-weight: 500;
        }

        .card-description {
            font-size: 0.8rem;
            color: #94a3b8;
            line-height: 1.55;
            margin-bottom: 12px;
            flex-grow: 1;
        }

        .card-features {
            list-style: none;
            margin-bottom: 12px;
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .card-features li {
            font-size: 0.7rem;
            color: #94a3b8;
            padding: 4px 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .card-features li i {
            font-size: 0.6rem;
        }

        .theme-orange .card-features li i { color: #f97316; }
        .theme-blue .card-features li i { color: #3b82f6; }
        .theme-green .card-features li i { color: #22c55e; }

        .card-status {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.75rem;
            font-weight: 700;
            color: #22c55e;
            margin-bottom: 14px;
        }

        .card-status::before {
            content: '';
            width: 7px;
            height: 7px;
            background: #22c55e;
            border-radius: 50%;
            box-shadow: 0 0 8px #22c55e;
            animation: pulseDot 2s ease-in-out infinite;
        }

        .card-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 11px 16px;
            border-radius: 12px;
            font-size: 0.84rem;
            font-weight: 700;
            color: #fff;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 0.2px;
        }

        .theme-orange .card-btn {
            background: linear-gradient(135deg, #f97316, #ea580c);
            box-shadow: 0 6px 18px rgba(234, 88, 12, 0.3);
        }

        .theme-blue .card-btn {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
        }

        .theme-green .card-btn {
            background: linear-gradient(135deg, #22c55e, #16a34a);
            box-shadow: 0 6px 18px rgba(22, 163, 74, 0.3);
        }

        .card-btn:hover {
            filter: brightness(1.1);
            transform: translateY(-2px);
        }

        .card-btn i {
            transition: transform 0.25s ease;
            font-size: 0.8rem;
        }

        .card-btn:hover i {
            transform: translateX(4px);
        }

        

        /* ---------- FOOTER ---------- */
        .footer {
            position: relative;
            z-index: 10;
            text-align: center;
            padding: 28px 20px 44px;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
            animation: sectionFade 0.9s ease-out 0.8s both;
        }

        .footer-brand {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.82rem;
            font-weight: 600;
            letter-spacing: 3px;
            color: var(--text-secondary);
            margin-bottom: 12px;
        }

        .footer-line {
            width: 48px;
            height: 2px;
            background: linear-gradient(90deg, var(--cyan), var(--green));
            margin: 0 auto 14px;
            border-radius: 2px;
        }

        .footer-copy {
            font-size: 0.8rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .footer-copy strong {
            color: var(--text-secondary);
            font-weight: 700;
        }

        .footer-tagline {
            font-size: 0.72rem;
            color: var(--text-muted);
            margin-top: 8px;
            letter-spacing: 0.5px;
        }

        /* ---------- RESPONSIVE ---------- */
        @media (max-width: 960px) {
            .cards-grid {
                grid-template-columns: 1fr;
                max-width: 400px;
                margin: 0 auto;
            }

            .hero-title {
                font-size: 1.55rem;
                letter-spacing: 1.5px;
            }

            .header {
                padding: 14px 18px;
            }

            .stats-bar {
                gap: 0;
            }

            .stat-item {
                padding: 0 20px;
            }

            .stat-item:not(:last-child)::after {
                display: none;
            }

            .header-status {
                display: none;
            }

            
        }

        @media (max-width: 480px) {
            .hero {
                padding: 40px 16px 24px;
            }

            .hero-title {
                font-size: 1.28rem;
            }

            .hero-title .platform {
                font-size: 0.78rem;
                letter-spacing: 2px;
            }

            .brand-text h1 {
                font-size: 1.02rem;
            }

            .card-glass {
                padding: 26px 20px 24px;
            }

            .icon-box {
                width: 60px;
                height: 60px;
                font-size: 24px;
            }

            .stats-bar {
                flex-wrap: wrap;
                gap: 16px;
            }

            .stat-number {
                font-size: 1.3rem;
            }

            .float-edu {
                display: none;
            }
        }

        /* ---------- EXTRA UTILITY ANIMATIONS ---------- */
        @keyframes fadeInScale {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }

        @keyframes slideFromLeft {
            from { opacity: 0; transform: translateX(-30px); }
            to { opacity: 1; transform: translateX(0); }
        }

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

        /* Smooth scrollbar for webkit */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-deep);
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(100, 116, 139, 0.4);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: rgba(100, 116, 139, 0.6);
        }

        /* Selection color */
        ::selection {
            background: rgba(34, 211, 238, 0.3);
            color: #fff;
        }

        /* Focus visible for accessibility */
        a:focus-visible,
        button:focus-visible {
            outline: 2px solid var(--cyan);
            outline-offset: 3px;
        }

        /* Reduced motion preference */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Print styles */
        @media print {
            .bg-system,
            .float-edu,
            .particle {
                display: none !important;
            }

            body {
                background: #fff;
                color: #000;
            }
        }

        /* Additional depth layers for premium feel */
        .depth-layer {
            position: fixed;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            background:
                radial-gradient(ellipse 50% 40% at 50% 0%, rgba(34, 211, 238, 0.04) 0%, transparent 70%);
        }

        /* Noise texture overlay (subtle) */
        .noise-overlay {
            position: fixed;
            inset: 0;
            z-index: 1;
            pointer-events: none;
            opacity: 0.015;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        }

        /* ========== END OF STYLES ========== */
        /* Total styles carefully crafted for premium
           technology + education digital portal experience.
           No scanning line effects used.
           Alternative visual models:
           - Soft reflection sweep
           - Floating micro dots
           - Corner brackets
           - Holographic animated borders
           - Icon bobbing
           - Multi-layer glow
        */
