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

:root {
    --primary-color: #38bdf8;
    --primary-background: #1e293b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0f172a;
    color: white;
    line-height: 1.6;
}

.container {
    width: min(90%, 1100px);
    margin: auto;
}

.header {
    padding: 20px 0;
}

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

.logo {
    color: var(--primary-color);
    font-size: 28px;
}

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

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

.nav-links a:hover {
    color: var(--primary-color);
}

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

.hero-content {
    flex: 1;
}

.hello {
    color: var(--primary-color);
    font-size: 20px;
}

.hero h1 {
    font-size: 55px;
    margin: 10px 0;
}

.hero h2 {
    color: #94a3b8;
    font-size: 30px;
}

.description {
    margin: 20px 0;
    max-width: 500px;
    color: #cbd5e1;
}

.hero-image img {
    width: 330px;
    height: 330px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
}

.buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    transition: .3s;
}

.primary {
    background: var(--primary-color);
    color: #0f172a;
}

.secondary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-3px);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 35px;
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card {
    background: var(--primary-background);
    padding: 25px;
    border-radius: 15px;
}

.card h3 {
    color: var(--primary-color);
}

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


.skills span {
    background: var(--primary-background);
    padding: 15px 25px;
    border-radius: 30px;
}


.contact-box {
    background: var(--primary-background);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.contact-box a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Tablet */
@media(max-width:900px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        min-height: 60vh;
    }

    .description {
        margin: 20px auto;
    }

    .buttons {
        justify-content: center;
    }

    .hero-image img {
        width: 280px;
        height: 280px;
    }
}

/* Mobile */
@media(max-width:600px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        gap: 15px;
    }
    
    .hero {
        min-height: 50vh;
    }

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

    .hero h2 {
        font-size: 24px;
    }

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

    .hero-image img {
        width: 230px;
        height: 230px;
    }
}