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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0f172a;
    color: #ffffff;
}

/* =========================
   NAVIGATION
========================= */

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

    padding: 18px 8%;

    background: #0f172a;

    border-bottom: 1px solid #1e293b;
}

.logo {
    color: #ffffff;
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
}

.logo span {
    color: #38bdf8;
}

/* Navigation links */

.navlink {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navlink a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

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

/* Hamburger button */

.menu-btn {
    display: none;

    background: transparent;
    color: #ffffff;

    border: none;

    font-size: 28px;
    cursor: pointer;
}


/* =========================
   HERO SECTION
========================= */

.hero {
    min-height: calc(100vh - 73px);
    display: flex;
    flex-direction: column;

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

    text-align: center;

    padding: 80px 20px;

    background:
        radial-gradient(
            circle at top right,
            #1e3a5f,
            transparent 35%
        ),
        #0f172a;
           opacity: 0;
            animation: fadeIn 2s forwards;
}

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

.intro {
    color: #38bdf8;
    font-size: 14px;
    font-weight: bold;

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 80px);
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero h2 {
    color: #94a3b8;

    font-size: clamp(20px, 3vw, 30px);

    font-weight: normal;

    margin-bottom: 20px;
}

.hero-text {
    max-width: 650px;

    color: #cbd5e1;

    font-size: 17px;
    line-height: 1.7;

    margin-bottom: 30px;
}


/* =========================
   BUTTONS
========================= */

.hero-buttons {
    display: flex;
    gap: 15px;

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

.btn {
    display: inline-block;

    padding: 14px 24px;

    border-radius: 8px;

    font-weight: bold;

    text-decoration: none;

    transition: 0.3s;
}

.primary-btn {
    background: #38bdf8;
    color: #0f172a;
}

.primary-btn:hover {
    transform: translateY(-3px);
    background: #7dd3fc;
}

.secondary-btn {
    color: #ffffff;

    border: 1px solid #38bdf8;
}

.secondary-btn:hover {
    background: #38bdf8;
    color: #0f172a;

    transform: translateY(-3px);
}


/* =========================
   SOCIAL LINKS
========================= */

.social-links {
    display: flex;
    gap: 25px;

    margin-top: 35px;
}

.social-links a {
    color: #94a3b8;

    text-decoration: none;

    transition: 0.3s;
}

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


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .nav {
        padding: 15px 6%;
        position: relative;
    }

    .menu-btn {
        display: block;
    }

    .navlink {
        display: none;

        position: absolute;

        top: 100%;
        right: 0;

        width: 220px;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        padding: 25px;

        background: #1e293b;

        border-left: 1px solid #334155;
        border-bottom: 1px solid #334155;
    }

    /* JavaScript adds this class */

    .navlink.active {
        display: flex;
    }

    .hero {
        min-height: calc(100vh - 67px);
        padding: 60px 20px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .btn {
        width: 100%;
    }

}