/* =========================================
   GOOGLE FONT
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7fc;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}


/* =========================================
   NAVBAR
========================================= */
header {
    width: 100%;
    background: #0f172a;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.navbar {
    width: 90%;
    max-width: 1200px;
    min-height: 86px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.logo {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    transition: 0.25s ease;
}

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

.register-btn {
    display: inline-block;
    background: #38bdf8;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 25px;
}

.register-btn:hover {
    background: #0284c7;
    color: #ffffff !important;
}


/* =========================================
   HERO
========================================= */
.hero {
    min-height: 100vh;
    padding: 150px 20px 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.96),
            rgba(14, 165, 233, 0.94)
        );
}

.hero-content {
    width: 100%;
    max-width: 900px;
    margin: auto;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 58px);
    line-height: 1.2;
    margin-bottom: 22px;
}

.hero p {
    max-width: 780px;
    margin: 0 auto 32px;

    font-size: 19px;
    line-height: 1.8;
}

.btn {
    display: inline-block;

    background: #ffffff;
    color: #2563eb;

    text-decoration: none;
    font-weight: 600;

    padding: 14px 32px;
    border-radius: 8px;

    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-4px);
    background: #0f172a;
    color: #ffffff;
}


/* =========================================
   FEATURES
========================================= */
.features {
    padding: 90px 8%;
    text-align: center;
    background: #f4f7fc;
}

.features > h2 {
    font-size: 40px;
    color: #1e293b;
    margin-bottom: 55px;
}

.feature-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: #ffffff;

    padding: 32px 28px;

    border-radius: 16px;
    border: 1px solid #e2e8f0;

    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.07);

    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
}

.card h3 {
    color: #2563eb;
    font-size: 20px;
    margin-bottom: 12px;
}

.card p {
    color: #64748b;
    font-size: 15px;
}


/* =========================================
   ABOUT
========================================= */
.about {
    padding: 100px 20px;
    background: #ffffff;
    text-align: center;
}

.about-text {
    width: 90%;
    max-width: 900px;
    margin: auto;
}

.about h2 {
    font-size: 40px;
    color: #1e293b;
    margin-bottom: 22px;
}

.about p {
    color: #64748b;
    font-size: 17px;
    line-height: 1.9;
}


/* =========================================
   STATS
========================================= */
.stats {
    padding: 75px 8%;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;

    background: #2563eb;
    color: #ffffff;

    text-align: center;
}

.stat {
    padding: 20px;
}

.stat h2 {
    font-size: 42px;
    margin-bottom: 8px;
}

.stat p {
    font-size: 16px;
    opacity: 0.9;
}


/* =========================================
   CALL TO ACTION
========================================= */
.cta {
    padding: 95px 20px;
    text-align: center;
    background: #f4f7fc;
}

.cta h2 {
    max-width: 800px;
    margin: 0 auto 18px;

    font-size: 40px;
    line-height: 1.3;
    color: #1e293b;
}

.cta p {
    max-width: 650px;
    margin: 0 auto 32px;

    color: #64748b;
    font-size: 17px;
}


/* =========================================
   FOOTER
========================================= */
footer {
    background: #0f172a;
    color: #ffffff;

    text-align: center;
    padding: 45px 20px;
}

.footer-content {
    max-width: 800px;
    margin: auto;
}

footer h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

footer p {
    margin: 7px 0;
    color: #cbd5e1;
    font-size: 14px;
}


/* =========================================
   TABLET RESPONSIVE
========================================= */
@media (max-width: 900px) {

    .navbar {
        width: 92%;
        min-height: 80px;
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .nav-links {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .feature-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .features > h2,
    .about h2,
    .cta h2 {
        font-size: 34px;
    }
}


/* =========================================
   MOBILE RESPONSIVE
========================================= */
@media (max-width: 768px) {

    /* Navbar */
    .navbar {
        width: 100%;
        padding: 15px 20px;

        flex-direction: column;
        justify-content: center;
        gap: 14px;
    }

    .logo {
        font-size: 28px;
    }

    .nav-links {
        width: 100%;

        display: flex;
        flex-wrap: wrap;
        justify-content: center;

        gap: 12px 18px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .register-btn {
        padding: 9px 16px;
    }


    /* Hero */
    .hero {
        min-height: auto;
        padding: 190px 20px 80px;
    }

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

    .hero p {
        font-size: 16px;
        line-height: 1.7;
    }


    /* Features */
    .features {
        padding: 70px 20px;
    }

    .feature-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features > h2 {
        font-size: 32px;
        margin-bottom: 35px;
    }


    /* About */
    .about {
        padding: 75px 20px;
    }

    .about h2 {
        font-size: 32px;
    }

    .about p {
        font-size: 16px;
    }


    /* Stats */
    .stats {
        padding: 60px 20px;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat h2 {
        font-size: 36px;
    }


    /* CTA */
    .cta {
        padding: 75px 20px;
    }

    .cta h2 {
        font-size: 32px;
    }

    .cta p {
        font-size: 16px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */
@media (max-width: 480px) {

    .navbar {
        padding: 14px 12px;
    }

    .logo {
        font-size: 26px;
    }

    .nav-links {
        gap: 10px 13px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .register-btn {
        padding: 8px 14px;
        border-radius: 20px;
    }


    /* Hero */
    .hero {
        padding: 185px 16px 65px;
    }

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

    .hero p {
        font-size: 15px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }


    /* Sections */
    .features,
    .about,
    .cta {
        padding-left: 16px;
        padding-right: 16px;
    }

    .features > h2,
    .about h2,
    .cta h2 {
        font-size: 28px;
    }

    .card {
        padding: 25px 20px;
    }

    .card h3 {
        font-size: 18px;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        padding: 50px 12px;
    }

    .stat {
        padding: 15px 8px;
    }

    .stat h2 {
        font-size: 30px;
    }

    .stat p {
        font-size: 14px;
    }

    footer {
        padding: 35px 15px;
    }

    footer h2 {
        font-size: 23px;
    }
}