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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.7;
    color: #263447;
}

/* NAVIGATION */

header {
    background: #10233f;
    padding: 15px 7%;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    color: white;
    font-size: 28px;
}

.logo span {
    color: #38a3f1;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

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

.menu-toggle {
    display: none;
    color: white;
    background: none;
    border: none;
    font-size: 27px;
    cursor: pointer;
}

/* HERO */

.hero {
    min-height: 500px;
    background: linear-gradient(
        120deg,
        #10233f,
        #1769aa
    );

    color: white;
    display: flex;
    align-items: center;
    padding: 70px 10%;
}

.hero-content {
    max-width: 750px;
}

.subtitle {
    color: #9bcaf0;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero h1 span {
    color: #69c0ff;
}

.hero h3 {
    margin-bottom: 15px;
}

.hero p {
    margin-bottom: 20px;
}

/* BUTTON */

.btn {
    display: inline-block;
    background: #ffffff;
    color: #10233f;
    padding: 12px 22px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
}

.btn:hover {
    background: #dceeff;
}

/* GENERAL SECTIONS */

.section {
    padding: 70px 10%;
    text-align: center;
}

.section h2 {
    color: #10233f;
    font-size: 30px;
    margin-bottom: 25px;
}

.section p {
    max-width: 850px;
    margin: 0 auto 18px;
    color: #596779;
}

.light {
    background: #f1f6fb;
}

/* SKILLS */

.skills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.skills div {
    background: #1769aa;
    color: white;
    padding: 12px 22px;
    border-radius: 5px;
}

/* PROJECTS */

.project-box {
    background: white;
    padding: 25px;
    margin: 20px auto;
    max-width: 750px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.project-box h3 {
    color: #1769aa;
    margin-bottom: 10px;
}

.project-box a {
    color: #1769aa;
    text-decoration: none;
    font-weight: bold;
}

/* CONTACT */

.contact {
    background: #10233f;
    color: white;
}

.contact h2 {
    color: white;
}

.contact p {
    color: #d0dbea;
}

.contact .btn {
    background: #38a3f1;
    color: white;
}

/* FOOTER */

footer {
    background: #09172a;
    color: white;
    text-align: center;
    padding: 25px 10px;
    font-size: 14px;
}

/* TABLET */

@media (max-width: 768px) {

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #10233f;
        padding: 20px 7%;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

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

}

/* MOBILE */

@media (max-width: 480px) {

    .hero {
        padding: 65px 7%;
        min-height: 430px;
    }

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

    .hero h3 {
        font-size: 17px;
    }

    .section {
        padding: 50px 7%;
    }

    .section h2 {
        font-size: 25px;
    }

    .skills div {
        width: 100%;
    }

}
