
/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #0a0a2a;
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* === ANIMATED TECH BACKGROUND === */
.tech-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 70% 30%, #0a0a2a, #000033);
    opacity: 0.9;
}

.tech-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, #000033 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(#000033 1px, transparent 1px) 0 0 / 20px 20px;
    opacity: 0.1;
}

/* === NAVBAR === */
nav {
    position: fixed;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 42, 0.7);
    border-bottom: 1px solid rgba(100, 149, 237, 0.2);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #a8d8ff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #00f2fe;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00f2fe;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

/* === HERO SECTION === */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: rgba(168, 216, 255, 0.8);
}

/* === TECH STACK SECTION === */
#tech-stack {
    padding: 100px 10%;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tech-card {
    background: rgba(0, 15, 60, 0.3);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 149, 237, 0.2);
    transition: 0.3s;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #00f2fe;
}

/* === NEW COURSES SECTION === */
#new-courses {
    padding: 100px 10%;
    text-align: center;
}

.courses-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.course-card {
    min-width: 300px;
    background: rgba(0, 15, 60, 0.3);
    border-radius: 15px;
    padding: 30px;
    scroll-snap-align: start;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.course-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: #00f2fe;
}

.course-desc {
    margin-bottom: 20px;
    color: #a8d8ff;
}

.course-date {
    font-size: 0.9rem;
    color: #4facfe;
}

/* === MISSION SECTION === */
#mission {
    padding: 100px 10%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.code-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
    font-family: monospace;
    font-size: 14px;
    color: #00f2fe;
    pointer-events: none;
}

.highlight {
    color: #00f2fe;
    font-weight: 600;
}

.challenge-box {
    max-width: 600px;
    margin: 30px auto 0;
    text-align: left;
}

.challenge-box h3 {
    color: #00f2fe;
    margin-bottom: 15px;
}

pre {
    background: rgba(0, 15, 60, 0.5);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

code {
    font-family: monospace;
    color: #4facfe;
    display: block;
}

/* === UNIQUE ADVANTAGE SECTION === */
#unique {
    padding: 100px 10%;
    background: rgba(0, 10, 40, 0.5);
}

.advantage-content {
    max-width: 800px;
    margin: 0 auto;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background: rgba(0, 20, 80, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.advantage-card i {
    font-size: 2.5rem;
    color: #00f2fe;
    margin-bottom: 20px;
}

/* === CONTACT SECTION === */
#contact {
    padding: 100px 10%;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    margin-top: 40px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* === FOOTER === */
footer {
    padding: 50px 10%;
    text-align: center;
    background: rgba(0, 5, 20, 0.5);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-links a {
    color: #a8d8ff;
    font-size: 1.5rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: #00f2fe;
    transform: translateY(-5px);
}

.copyright {
    margin-top: 30px;
    color: #4facfe;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tech-grid,
    .advantage-grid {
        grid-template-columns: 1fr;
    }
}
