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

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: white;
}

/* Navbar */

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(17,24,39,0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo{
    color: #38bdf8;
    font-size: 32px;
    font-weight: 700;
}

.nav-links{
    display: flex;
    list-style: none;
}

.nav-links li{
    margin-left: 25px;
}

.nav-links a{
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.nav-links a:hover{
    color: #38bdf8;
}

/* Hero */

.hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 90px 8%;
    min-height: 100vh;
    gap: 50px;
}

.hero-text{
    max-width: 600px;
}

.hero-text h1{
    font-size: 65px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p{
    color: #cbd5e1;
    margin-bottom: 30px;
    font-size: 18px;
}

.hero-buttons{
    display: flex;
    gap: 20px;
}

.btn,
.btn-secondary{
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn{
    background: #38bdf8;
    color: black;
}

.btn-secondary{
    border: 2px solid #38bdf8;
    color: white;
}

.btn:hover,
.btn-secondary:hover{
    transform: translateY(-5px);
}

.hero-image img{
    width: 420px;
    border-radius: 20px;
    box-shadow: 0 0 35px rgba(56,189,248,0.5);
}

/* Stats */

.stats{
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 8%;
    flex-wrap: wrap;
}

.stat-box{
    background: #1e293b;
    padding: 30px 50px;
    border-radius: 15px;
    text-align: center;
}

.stat-box h2{
    color: #38bdf8;
    margin-bottom: 10px;
}

/* Sections */

section{
    padding: 80px 8%;
}

section h2{
    text-align: center;
    margin-bottom: 50px;
    font-size: 42px;
    color: #38bdf8;
}

/* Features */

.feature-container,
.course-container{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card,
.course-card{
    background: #1e293b;
    padding: 35px;
    width: 320px;
    border-radius: 18px;
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover,
.course-card:hover{
    transform: translateY(-10px);
    background: #38bdf8;
    color: black;
}

.feature-card:hover p,
.course-card:hover p{
    color: black;
}

.feature-card i{
    font-size: 45px;
    color: #38bdf8;
    margin-bottom: 20px;
}

.feature-card p,
.course-card p{
    color: #cbd5e1;
    margin-top: 15px;
}

.course-card button{
    margin-top: 20px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #38bdf8;
    font-weight: 600;
    cursor: pointer;
}

/* About */

.about-box{
    background: #1e293b;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.about-box p{
    color: #cbd5e1;
    margin-top: 20px;
}

/* Contact */

.contact{
    text-align: center;
}

.contact p{
    margin: 20px 0;
}

.contact i{
    color: #38bdf8;
    margin-right: 10px;
}

.contact a{
    color: #cbd5e1;
    text-decoration: none;
}

.contact a:hover{
    color: #38bdf8;
}

/* Footer */

footer{
    background: #111827;
    text-align: center;
    padding: 25px;
    color: #94a3b8;
}

/* Responsive */

@media(max-width: 900px){

    .hero{
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1{
        font-size: 45px;
    }

    .hero-buttons{
        justify-content: center;
    }

    .hero-image img{
        width: 300px;
    }

    .nav-links{
        display: none;
    }
}
/* Smooth Card Glow */

.feature-card,
.course-card,
.stat-box,
.about-box{
    box-shadow: 0 0 15px rgba(56,189,248,0.08);
}

/* Hero Image Animation */

.hero-image img{
    animation: float 3s ease-in-out infinite;
}

@keyframes float{

    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(-15px);
    }

    100%{
        transform: translateY(0px);
    }
}

/* Button Hover Glow */

.btn:hover,
.btn-secondary:hover{
    box-shadow: 0 0 20px rgba(56,189,248,0.5);
}

/* Scrollbar Design */

::-webkit-scrollbar{
    width: 8px;
}

::-webkit-scrollbar-track{
    background: #0f172a;
}

::-webkit-scrollbar-thumb{
    background: #38bdf8;
    border-radius: 10px;
}
