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

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fb;
    color: #333;
    line-height: 1.6;
}

/* HEADER */
header {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 20px 10%;
}

/* NAV */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
}

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

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

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

/* HERO */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    flex-wrap: wrap;
}

.hero-text h1 {
    font-size: 50px;
}

.hero-text span {
    color: #38bdf8;
}

.hero-text p {
    margin: 20px 0;
    max-width: 500px;
}

.btn {
    padding: 12px 20px;
    background: #38bdf8;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

/* IMAGE */
.hero-image img {
    width: 320px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* SECTIONS */
.section {
    padding: 80px 10%;
}

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

/* CARD */
.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
}

/* DARK */
.dark-section {
    background: #0f172a;
    color: white;
}

/* SKILLS */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.skill-box {
    background: #1e293b;
    padding: 20px;
    border-radius: 12px;
}

/* CONTACT */
.contact-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.social-links a {
    display: block;
    background: #1e293b;
    color: white;
    padding: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    border-radius: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 300px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border-radius: 8px;
    border: none;
}

.contact-form button {
    background: #38bdf8;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 8px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #020617;
    color: white;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 35px;
    }

    .hero-image img {
        width: 220px;
        margin-top: 20px;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }
}