* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        "Segoe UI",
        system-ui,
        -apple-system,
        sans-serif;
    background: #020617;
    color: white;
    overflow-x: hidden;
}

:root {
    --purple: #b100ff;
    --blue: #00aaff;
    --yellow: #ffbf00;
    --dark: #08111f;
    --light: #f1f5f9;
}

html {
    scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
    background-color: transparent !important;
    backdrop-filter: blur(10px);
    padding: 15px 0;
}

.navbar-brand img {
    height: 65px;
}

.nav-link {
    color: white !important;
    margin: 0 12px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--yellow) !important;
}

.btn-main {
    background: linear-gradient(45deg, var(--purple), var(--blue));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.4s;
    box-shadow: 0 0 20px rgba(177, 0, 255, 0.4);
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.6);
}

/* HERO */
.hero {
    min-height: 100vh;
    padding: 110px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(var(--purple), transparent 70%);
    top: -150px;
    left: -100px;
    opacity: 0.4;
    animation: float 6s infinite alternate;
}

.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(var(--blue), transparent 70%);
    bottom: -200px;
    right: -100px;
    opacity: 0.4;
    animation: float2 6s infinite alternate;
    z-index: -1;
}

@keyframes float {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(40px);
    }
}

@keyframes float2 {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-40px);
    }
}

.hero h1 {
    font-size: 65px;
    font-weight: 800;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(
        45deg,
        var(--purple),
        var(--yellow),
        var(--blue)
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: #cbd5e1;
    margin: 25px 0;
}

.hero-img {
    animation: updown 4s infinite ease-in-out;
}

@keyframes updown {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* SECTIONS */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 45px;
    font-weight: 700;
}

.section-title p {
    color: #94a3b8;
}

/* COURSE CARD */
.course-card {
    background: linear-gradient(145deg, #0f172a, #111827);
    border-radius: 25px;
    padding: 35px;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--blue);
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.2);
}

.course-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--purple), var(--blue));
    font-size: 32px;
    margin-bottom: 25px;
}

/* FEATURES */
.feature-box {
    text-align: center;
    padding: 40px 25px;
    border-radius: 25px;
    background: #0f172a;
    transition: 0.4s;
    height: 100%;
}

.feature-box:hover {
    transform: scale(1.05);
    background: linear-gradient(145deg, #111827, #172554);
}

.feature-box i {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--yellow);
}

/* COUNTER */
.counter {
    text-align: center;
}

.counter h2 {
    font-size: 60px;
    font-weight: 800;
    color: var(--yellow);
}

/* TESTIMONIAL */
.testimonial {
    background: #111827;
    border-radius: 25px;
    padding: 35px;
    height: 100%;
}

.testimonial img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

/* CTA */
.cta {
    background: linear-gradient(45deg, var(--purple), var(--blue));
    border-radius: 30px;
    padding: 70px 40px;
    text-align: center;
}

/* FOOTER */
footer {
    background: #01040f;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social a {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: white;
    border-radius: 50%;
    margin: 0 8px;
    transition: 0.4s;
    text-decoration: none;
}

.social a:hover {
    background: linear-gradient(45deg, var(--purple), var(--blue));
    transform: translateY(-5px);
}

/* Toggle in home */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(241, 241, 241, 0.8)' stroke-linecap='round' stroke-miterlimit='12' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .hero-img {
        margin-top: 50px;
    }
}
