* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 35%),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.10), transparent 35%),
        linear-gradient(135deg, #0f172a 0%, #111827 45%, #0b1120 100%);
    color: #e5e7eb;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background-color: #020617;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    color: #38bdf8;
    font-size: 24px;
}

nav a {
    color: #e5e7eb;
    text-decoration: none;
    margin-left: 20px;
    font-size: 15px;
}

nav a:hover {
    color: #38bdf8;
}

section {
    padding: 70px 8%;
}

.section-title {
    font-size: 32px;
    color: #38bdf8;
    margin-bottom: 25px;
    text-align: center;
}

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    max-width: 650px;
}

.hero-text h2 {
    font-size: 44px;
    margin-bottom: 15px;
}

.hero-text h2 span {
    color: #38bdf8;
}

.hero-text p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.hero-card,
.about-box,
.cv-box,
.contact-box,
.project-card,
.skill-card {
    background-color: rgba(30, 41, 59, 0.92);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(56, 189, 248, 0.08);
}

.profile-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    color: white;
}

.btn {
    display: inline-block;
    background-color: #38bdf8;
    color: #020617;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    margin: 6px;
}

.btn:hover {
    background-color: #0ea5e9;
}

.btn-outline {
    background-color: transparent;
    color: #38bdf8;
    border: 1px solid #38bdf8;
}

.project-grid,
.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.project-card h3,
.skill-card h3 {
    color: #38bdf8;
    margin-bottom: 10px;
}

.cv-box {
    text-align: center;
}

.contact-box a {
    color: #38bdf8;
    text-decoration: none;
}

footer {
    background-color: #020617;
    text-align: center;
    padding: 20px;
    color: #94a3b8;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        display: inline-block;
        margin: 5px 8px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 34px;
    }
}
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 18px 5%;
    }

    nav {
        text-align: center;
    }

    nav a {
        display: inline-block;
        margin: 6px 8px;
        font-size: 14px;
    }

    section {
        padding: 50px 5%;
    }

    .hero {
        min-height: auto;
        padding-top: 60px;
    }

    .hero-text h2 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .project-grid,
    .skill-grid {
        grid-template-columns: 1fr;
    }

    .about-box,
    .cv-box,
    .contact-box,
    .project-card,
    .skill-card {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 20px;
    }

    nav a {
        font-size: 13px;
        margin: 5px;
    }

    .hero-text h2 {
        font-size: 27px;
    }

    .profile-circle {
        width: 120px;
        height: 120px;
        font-size: 38px;
    }

    .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .section-title {
        font-size: 24px;
    }
}