
.labs-section {
    background: #18181b;
    color: #d1d5db;
    padding: 4rem 0 3rem 0;
}
.labs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.labs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2rem;
}
.lab-card {
    background: #232326;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    padding: 2rem 1.5rem;
    flex: 1 1 320px;
    min-width: 260px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: box-shadow 0.2s;
}
.lab-card:hover {
    box-shadow: 0 4px 24px 0 rgba(239,68,68,0.15);
    border-color: #ef4444;
}
.lab-icon {
    font-size: 2.5rem;
    color: #ef4444;
    margin-bottom: 1rem;
}
.lab-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.lab-desc {
    font-size: 1rem;
    margin-bottom: 1rem;
}
.lab-difficulty {
    background: #ef4444;
    color: #fff;
    font-size: 0.95rem;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    margin-bottom: 1.2rem;
    font-weight: 500;
}
.start-lab-btn {
    width: 100%;
    padding: 0.9rem;
    border-radius: 6px;
    background: #ef4444;
    color: #fff;
    font-weight: 600;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: auto;
}
.start-lab-btn:hover {
    background: #dc2626;
}
@media (max-width: 900px) {
    .labs-grid {
        flex-direction: column;
        gap: 2rem;
    }
}

/* About Us Section */
.about-section {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.02) 0%, rgba(239, 68, 68, 0.05) 100%);
    z-index: 1;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.about-text {
    max-width: 100%;
}

.about-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.about-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--gradient-cyber);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.about-text ul li {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.2rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.about-image {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: rotate(2deg);
    transition: all 0.3s ease;
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1.5rem;
    filter: grayscale(20%) contrast(1.1);
    transition: all 0.3s ease;
}

.about-image:hover img {
    filter: grayscale(0%) contrast(1);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-radius: 1.5rem;
    transition: opacity 0.3s ease;
}

.about-image:hover::after {
    opacity: 0;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(220,38,38,0.05)"/><circle cx="90" cy="30" r="1.5" fill="rgba(220,38,38,0.03)"/><circle cx="30" cy="80" r="0.8" fill="rgba(220,38,38,0.04)"/><circle cx="70" cy="60" r="1.2" fill="rgba(220,38,38,0.03)"/></svg>');
    animation: contactFloat 15s ease-in-out infinite;
}

@keyframes contactFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: start;
}

.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-cyber);
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-light);
    font-weight: 500;
}

.contact-form textarea {
    min-height: 120px;
    font-family: inherit;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1.25rem 2rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.contact-form .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.contact-form .btn:hover::after {
    width: 300px;
    height: 300px;
}

.contact-info {
    background: var(--bg-card);
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-cyber);
    border-radius: 2px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(220, 38, 38, 0.02);
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-info p:hover {
    background: rgba(220, 38, 38, 0.05);
    transform: translateX(5px);
}

.contact-info p i {
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.contact-info a:hover {
    color: var(--primary-dark);
}

.contact-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.contact-info a:hover::after {
    width: 100%;
}

/* Form Status Messages */
#contactStatus {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    text-align: center;
    font-weight: 600;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
        transform: rotate(0deg);
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .about-section,
    .contact-section {
        padding: 4rem 0;
    }
    
    .about-container,
    .contact-container {
        padding: 0 1.5rem;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .about-text p,
    .about-text ul li {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-info p {
        font-size: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-info p i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-section,
    .contact-section {
        padding: 3rem 0;
    }
    
    .about-container,
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .about-text ul li {
        padding-left: 1.5rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 0.875rem 1rem;
    }
}


/* Hero Two-Column Layout */
.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem 2rem 2rem;
    gap: 2.5rem;
}
.hero-col {
    flex: 1 1 0;
    min-width: 0;
}
.hero-content {
    max-width: 540px;
}
.hero-main {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    display: block;
}
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-terminal-demo { display: none; }
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 0.5rem 1.5rem 0.5rem;
    }
    .hero-content { max-width: 100%; }
    .hero-visual { width: 100%; }
}
/* Hero Terminal Demo Styling */
.hero-terminal-demo {
    margin: 2.5rem auto 0 auto;
    max-width: 420px;
    width: 100%;
}
.terminal {
    background: #111;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 0.5rem 0 1.5rem 0;
    margin: 0 auto;
}
.terminal-controls {
    height: 2.2rem;
    display: flex;
    align-items: center;
    padding: 0 1.2rem;
}
.terminal-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    display: inline-block;
}
.terminal-control.close { background: #ff5f56; }
.terminal-control.minimize { background: #ffbd2e; }
.terminal-control.maximize { background: #27c93f; }
.terminal-content {
    background: none;
    color: #3cff3c;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    margin: 0;
    padding: 0 1.2rem;
}
.terminal-line { line-height: 1.5; }
.cursor { background: #3cff3c; color: #111; border-radius: 2px; }

@media (max-width: 700px) {
    .hero-terminal-demo { max-width: 98vw; }
    .terminal-content { font-size: 0.95rem; }
}

/* Fix mobile menu overlap */
.nav-links {
    background: var(--bg-primary);
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    z-index: 100;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 1rem 2rem;
}
.nav-links li { margin: 0.5rem 0; }
.nav-links.show { display: flex !important; }
@media (min-width: 900px) {
    .nav-links {
        position: static;
        display: flex !important;
        flex-direction: row;
        background: none;
        box-shadow: none;
        padding: 0;
        align-items: center;
    }
    .logo span{
        white-space: nowrap; /* Prevent text wrapping */
        color: #ffffff;
        size: 0.11rem;
    }
    .nav-links li { margin: 0 0.7rem; }
}
/* Modal Overlay and Auth Modal Styling */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
.modal-content {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    min-width: 340px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
}
.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}
.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}
.auth-tab {
    background: none;
    border: none;
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    transition: border 0.2s, color 0.2s;
}
.auth-tab.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}
.auth-form {
    margin-bottom: 1rem;
}
.auth-form h2 {
    margin-bottom: 1rem;
    text-align: center;
}
.btn.btn-google {
    background: #fff;
    color: #222;
    border: 1px solid #ddd;
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.divider {
    text-align: center;
    margin: 1rem 0;
    color: var(--text-light);
    position: relative;
}
.divider span {
    background: var(--bg-card);
    padding: 0 0.7em;
    position: relative;
    z-index: 2;
}
.divider:before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 1px;
    background: var(--border-color);
    z-index: 1;
}
.auth-form form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    padding: 0.7rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
}
.auth-form button[type="submit"] {
    margin-top: 0.5rem;
}
#authMessage {
    color: var(--error-color);
    text-align: center;
    margin-top: 0.5rem;
}
    :root {
            --primary-color: #dc2626;
            --primary-dark: #991b1b;
            --secondary-color: #1f2937;
            --accent-color: #f59e0b;
            --success-color: #059669;
            --warning-color: #d97706;
            --error-color: #dc2626;
            --text-primary: #111827;
            --text-secondary: #6b7280;
            --text-light: #9ca3af;
            --bg-primary: #ffffff;
            --bg-secondary: #f9fafb;
            --bg-dark: #111827;
            --bg-card: #ffffff;
            --border-color: #e5e7eb;
            --border-dark: #374151;
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
            --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
            --gradient-cyber: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #7f1d1d 100%);
            --gradient-dark: linear-gradient(135deg, #1f2937 0%, #111827 100%);
            --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        }

        [data-theme="dark"] {
            --text-primary: #f9fafb;
            --text-secondary: #d1d5db;
            --text-light: #9ca3af;
            --bg-primary: #111827;
            --bg-secondary: #1f2937;
            --bg-card: #1f2937;
            --border-color: #374151;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background-color: var(--bg-primary);
            overflow-x: hidden;
            transition: all 0.3s ease;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(17, 24, 39, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-dark);
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            background: rgba(17, 24, 39, 0.98);
            box-shadow: var(--shadow-lg);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 70px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 700;
            font-size: 1.5rem;
            color: #ffffff;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .logo i {
            font-size: 2rem;
            color: var(--primary-color);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .nav-links {
            display: flex;
            list-style: none;
           
            align-items: center;
        }

        .nav-links a {
            color: #d1d5db;
            text-decoration: none;
            font-weight: 500;
            position: relative;
            transition: all 0.3s ease;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: #ffffff;
            background: rgba(220, 38, 38, 0.1);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 80%;
        }

        .theme-toggle {
            background: none;
            border: none;
            color: #d1d5db;
            font-size: 1.2rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 0.5rem;
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            color: #ffffff;
            background: rgba(220, 38, 38, 0.1);
        }

        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: #ffffff;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Hero Section */
    /* Ultra-Attractive Hero Section CSS */
/* Clean Light Hero Section with Red Primary Colors */
/* Clean Light Hero Section with Red Primary Colors - Responsive */
.hero {
    min-height: 100vh;
    max-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 25%, #e2e8f0 50%, #cbd5e1 75%, #f8fafc 100%);
    background-size: 400% 400%;
    animation: subtleGradientFlow 20s ease infinite;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
    margin-top: 40px;
}

@keyframes subtleGradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Subtle overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(148, 163, 184, 0.02) 0%, transparent 50%);
    animation: subtleMeshMove 15s ease-in-out infinite alternate;
}

@keyframes subtleMeshMove {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.05) rotate(2deg); }
}

/* Clean floating shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(220, 38, 38, 0.03));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.shape-1 {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 8%;
    animation: floatShape 25s ease-in-out infinite;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 65%;
    right: 10%;
    animation: floatShape 30s ease-in-out infinite reverse;
}

.shape-3 {
    width: 40px;
    height: 40px;
    bottom: 25%;
    left: 15%;
    animation: floatShape 22s ease-in-out infinite;
    animation-delay: 8s;
}

.shape-4 {
    width: 70px;
    height: 70px;
    top: 8%;
    right: 20%;
    animation: floatShape 28s ease-in-out infinite reverse;
    animation-delay: 5s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-15px) translateX(8px) rotate(45deg); }
    50% { transform: translateY(-3px) translateX(-10px) rotate(90deg); }
    75% { transform: translateY(10px) translateX(3px) rotate(135deg); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    height: 100%;
    max-height: calc(100vh - 2rem);
}

/* Clean text styling */
.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-content .hero-main {
    display: block;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -1px;
    color: #0f172a;
    animation: subtleTextShimmer 4s ease-in-out infinite;
}

@keyframes subtleTextShimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

.hero-content .highlight {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #7f1d1d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -1px;
    position: relative;
}

.hero-content .highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    border-radius: 2px;
    animation: underlineGlow 3s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { opacity: 0.6; transform: scaleX(1); }
    50% { opacity: 0.9; transform: scaleX(1.05); }
}

.hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.typing-text {
    font-weight: 600;
    color: #dc2626;
    position: relative;
}

.typing-text::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dc2626;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Clean button styling */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: #ffffff;
    box-shadow: 0 8px 12px -2px rgba(220, 38, 38, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -5px rgba(220, 38, 38, 0.35);
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
}

.btn-secondary {
    background: #ffffff;
    color: #dc2626;
    border: 2px solid #dc2626;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.1);
}

.btn-secondary:hover {
    background: #dc2626;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -2px rgba(220, 38, 38, 0.25);
}

/* Keep the amazing image animations */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
}

.cyber-image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(220, 38, 38, 0.2);
    box-shadow: 
        0 20px 40px rgba(220, 38, 38, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 0 20px rgba(220, 38, 38, 0.05);
    animation: morphShape 15s ease-in-out infinite;
    transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
    transition: all 0.6s ease;
}

.cyber-image-container:hover {
    transform: perspective(1000px) rotateY(3deg) rotateX(-3deg) scale(1.03);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 
        0 30px 60px rgba(220, 38, 38, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.7),
        inset 0 0 30px rgba(220, 38, 38, 0.08);
}

@keyframes morphShape {
    0%, 100% { 
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
    }
    25% { 
        border-radius: 70% 30% 50% 50% / 50% 70% 30% 50%;
        transform: perspective(1000px) rotateY(-4deg) rotateX(1deg);
    }
    50% { 
        border-radius: 50% 50% 30% 70% / 70% 50% 50% 30%;
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }
    75% { 
        border-radius: 30% 70% 50% 50% / 50% 30% 70% 50%;
        transform: perspective(1000px) rotateY(4deg) rotateX(-1deg);
    }
}

.cyber-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) saturate(1.1) brightness(1.05);
    transition: filter 0.6s ease;
}

.cyber-image-container:hover .cyber-image {
    filter: contrast(1.15) saturate(1.15) brightness(1.08);
}

/* Clean glowing particles */
.image-particles {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.7) 0%, transparent 70%);
    border-radius: 50%;
    animation: particleFloat 10s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    top: 70%;
    left: 80%;
    animation-delay: 3s;
    animation-duration: 12s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 10%;
    animation-delay: 6s;
    animation-duration: 10s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 60%;
    animation-delay: 2s;
    animation-duration: 14s;
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1); 
        opacity: 0; 
    }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    50% { 
        transform: translateY(-25px) translateX(12px) scale(1.2); 
    }
}

/* Clean data streams */
.data-stream {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(220, 38, 38, 0.5), transparent);
    animation: dataFlow 4s linear infinite;
    opacity: 0.6;
}

.data-stream:nth-child(1) {
    left: 15%;
    animation-delay: 0s;
}

.data-stream:nth-child(2) {
    left: 35%;
    animation-delay: 1.5s;
}

.data-stream:nth-child(3) {
    left: 65%;
    animation-delay: 0.8s;
}

.data-stream:nth-child(4) {
    left: 85%;
    animation-delay: 2.2s;
}

@keyframes dataFlow {
    0% { transform: translateY(-80px); opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .hero {
        min-height: 100vh;
        max-height: none;
    }
    
    .hero-container {
        gap: 2rem;
        padding: 1rem;
    }
    
    .cyber-image-container {
        max-width: 400px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        max-height: none;
        background-size: 300% 300%;
        padding: 0.5rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 1rem;
        max-height: none;
        margin-top: 4;
        margin-top: 40px;
    }
    
    .hero-visual {
        order: -1;
        height: auto;
    }
    
    .cyber-image-container {
        max-width: 280px;
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }
    
    .cyber-image-container:hover {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 7vw, 3.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-content .hero-main {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    .hero-content p {
        font-size: clamp(1rem, 3vw, 1.15rem);
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        min-width: 140px;
    }
    
    .hero-shapes .shape {
        opacity: 0.4;
    }
    
    .shape-1, .shape-2, .shape-3, .shape-4 {
        width: 30px;
        height: 30px;
    }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
    .hero {
        padding: 0.5rem 0;
        
    }
    
    .hero-container {
        padding: 0.5rem;
        gap: 1.5rem;
        margin-top: 40px;
    }
    
    .cyber-image-container {
        max-width: 250px;
    }
    
    .hero-content h1 {
        margin-bottom: 0.75rem;
    }
    
    .hero-content p {
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .btn {
        width: 100%;
        padding: 1rem 1.25rem;
        justify-content: center;
    }
    
    .hero-shapes .shape {
        opacity: 0.3;
    }
    
    .particle {
        width: 3px;
        height: 3px;
    }
    
    .data-stream {
        height: 40px;
        opacity: 0.4;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    .cyber-image-container {
        max-width: 220px;
    }
    
    .hero-content h1 {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }
    
    .hero-content .hero-main {
        font-size: clamp(1.4rem, 7vw, 2.2rem);
    }
    
    .btn {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }
}
        /* Stats Section */
        .stats {
            padding: 4rem 0;
            background: var(--bg-secondary);
        }

        .stats-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .stat-card {
            text-align: center;
            padding: 2rem;
            background: var(--bg-card);
            border-radius: 1rem;
            box-shadow: var(--shadow-md);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-cyber);
        }

        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }

        .stat-card i {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            counter-reset: number 0;
            animation: countUp 2s ease-out forwards;
        }

        .stat-label {
            font-size: 1.1rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        /* Courses Section */
        .courses {
            padding: 6rem 0;
            background: var(--bg-primary);
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        .section-subtitle {
            font-size: 1.25rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
        }

        .courses-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .course-filters {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 0.75rem 1.5rem;
            background: var(--bg-card);
            border: 2px solid var(--border-color);
            border-radius: 2rem;
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .filter-btn.active,
        .filter-btn:hover {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: #ffffff;
            transform: translateY(-2px);
        }

        .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        .course-card {
            background: var(--bg-card);
            border-radius: 1.5rem;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: all 0.4s ease;
            position: relative;
            border: 1px solid var(--border-color);
        }

        .course-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-xl);
        }

        .course-image {
            height: 200px;
            background: var(--gradient-cyber);
            position: relative;
            overflow: hidden;
        }

        .course-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }

        .course-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 4rem;
            color: rgba(255, 255, 255, 0.9);
        }

        .course-content {
            padding: 2rem;
        }

        .course-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .difficulty-badge {
            padding: 0.25rem 0.75rem;
            border-radius: 1rem;
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .difficulty-beginner {
            background: rgba(34, 197, 94, 0.1);
            color: #059669;
        }

        .difficulty-intermediate {
            background: rgba(251, 191, 36, 0.1);
            color: #d97706;
        }

        .difficulty-advanced {
            background: rgba(239, 68, 68, 0.1);
            color: #dc2626;
        }

        .course-duration {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-secondary);
            font-size: 0.875rem;
        }

        .course-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .course-description {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .course-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border-color);
        }

        .course-stat {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-secondary);
            font-size: 0.875rem;
        }

        .course-actions {
            display: flex;
            gap: 1rem;
        }

        .btn-outline {
            padding: 0.75rem 1.5rem;
            background: transparent;
            border: 2px solid var(--primary-color);
            border-radius: 0.5rem;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            flex: 1;
            text-align: center;
        }

        .btn-outline:hover {
            background: var(--primary-color);
            color: #ffffff;
            transform: translateY(-2px);
        }

        /* Features Section */
        .features {
            padding: 6rem 0;
            background: var(--bg-secondary);
        }

        .features-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            margin-top: 4rem;
        }

        .feature-card {
            background: var(--bg-card);
            padding: 3rem 2rem;
            border-radius: 1.5rem;
            text-align: center;
            box-shadow: var(--shadow-md);
            transition: all 0.3s ease;
            position: relative;
            border: 1px solid var(--border-color);
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: var(--gradient-cyber);
            border-radius: 0 0 4px 4px;
        }

        .feature-icon {
            font-size: 4rem;
            color: var(--primary-color);
            margin-bottom: 2rem;
            display: block;
        }

        .feature-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .feature-description {
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* Footer */
        .footer {
            background: var(--bg-dark);
            color: #d1d5db;
            padding: 4rem 0 2rem;
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-brand h3 {
            color: #ffffff;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-brand i {
            color: var(--primary-color);
            font-size: 2rem;
        }

        .footer-brand p {
            line-height: 1.7;
            margin-bottom: 2rem;
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            width: 45px;
            height: 45px;
            background: rgba(220, 38, 38, 0.1);
            border: 1px solid var(--primary-color);
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: var(--primary-color);
            color: #ffffff;
            transform: translateY(-3px);
        }

        .footer-section h4 {
            color: #ffffff;
            font-weight: 600;
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: #9ca3af;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--primary-color);
        }

        .footer-bottom {
            border-top: 1px solid #374151;
            padding-top: 2rem;
            text-align: center;
            color: #9ca3af;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .mobile-menu-toggle {
                display: block;
            }

            .hero-container {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 2rem;
            }

            .cta-buttons {
                justify-content: center;
            }

            .stats-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .courses-grid {
                grid-template-columns: 1fr;
            }

            .course-filters {
                gap: 0.5rem;
            }

            .filter-btn {
                padding: 0.5rem 1rem;
                font-size: 0.875rem;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }

        /* Loading Animation */
        .loading {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s ease;
        }

        .loading.loaded {
            opacity: 1;
            transform: translateY(0);
        }

        /* Particles Background */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: var(--primary-color);
            border-radius: 50%;
            opacity: 0.3;
            animation: particleFloat 8s linear infinite;
        }

        @keyframes particleFloat {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.3;
            }
            90% {
                opacity: 0.3;
            }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }

