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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}


/* HEADER */

.header {
    background: white;
    border-bottom: 1px solid #e2e8f0;

    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    max-width: 1100px;
    margin: auto;

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

    padding: 18px 20px;
}

.logo {
    width: 42px;
    height: 42px;

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

    background: #6366f1;
    color: white;

    border-radius: 12px;

    font-weight: bold;
}

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

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
}

.nav-links a:hover {
    color: #6366f1;
}


/* HERO */

.hero {
    max-width: 1100px;
    margin: auto;

    min-height: 650px;

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

    gap: 50px;

    padding: 80px 20px;
}

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

.hello {
    color: #6366f1;
    font-weight: bold;
}

.hero h1 {
    font-size: 55px;
    line-height: 1.1;

    margin: 15px 0;
}

.hero h1 span {
    color: #6366f1;
}

.hero h2 {
    font-size: 24px;
    color: #64748b;
}

.description {
    margin-top: 20px;
    font-size: 18px;
    color: #64748b;
}

.buttons {
    margin-top: 30px;

    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 22px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: bold;
}

.primary {
    background: #6366f1;
    color: white;
}

.secondary {
    border: 1px solid #6366f1;
    color: #6366f1;
}


/* PROFILE CARD */

.profile-card {
    width: 300px;

    padding: 35px;

    background: white;

    border-radius: 25px;

    text-align: center;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.08);
}

.avatar {
    width: 150px;
    height: 150px;

    margin: auto;

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

    border-radius: 50%;

    background: #6366f1;
    color: white;

    font-size: 45px;
    font-weight: bold;
}

.profile-card h3 {
    margin-top: 20px;
}

.profile-card p {
    color: #64748b;
}


/* SECTION */

.section {
    max-width: 1000px;

    margin: auto;

    padding: 80px 20px;
}

.section h2 {
    font-size: 35px;

    margin-bottom: 25px;
}


/* SKILLS */

.skills {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;
}

.skill {
    background: white;

    border: 1px solid #e2e8f0;

    padding: 10px 18px;

    border-radius: 10px;
}


/* PROJECTS */

.projects {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.project-card {
    background: white;

    padding: 25px;

    border-radius: 15px;

    border: 1px solid #e2e8f0;
}

.project-card h3 {
    margin-bottom: 10px;
}

.project-card p {
    color: #64748b;
}

.project-card span {
    display: block;

    margin-top: 15px;

    color: #6366f1;

    font-size: 14px;
}


/* CONTACT */

.contact a {
    color: #6366f1;
}


/* FOOTER */

footer {
    text-align: center;

    padding: 30px;

    background: #0f172a;

    color: white;
}


/* MOBILE */

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .hero {
        flex-direction: column;

        text-align: center;

        padding-top: 50px;
    }

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

    .buttons {
        justify-content: center;
    }

    .projects {
        grid-template-columns: 1fr;
    }

    .profile-card {
        width: 100%;
        max-width: 300px;
    }
}