:root {
    --bg: #0f172a;
    --muted: #94a3b8;
    --accent: #38bdf8;
    --card: #0b1220;
    --glass: rgba(255, 255, 255, 0.04);
    --radius: 12px;
}

@font-face {
    font-family: 'Poppins';
    src: url(./fonts/Poppins-Bold.ttf);
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url(./fonts/Poppins-BoldItalic.ttf);
    font-weight: 700;
    font-style: italic;
}
@font-face {
    font-family: 'Poppins';
    src: url(./fonts/Poppins-Medium.ttf);
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url(./fonts/Poppins-MediumItalic.ttf);
    font-weight: 500;
    font-style: italic;
}
@font-face {
    font-family: 'Poppins';
    src: url(./fonts/Poppins-Regular.ttf);
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url(./fonts/Poppins-Italic.ttf);
    font-weight: 400;
    font-style: italic;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.normal-bold {
    font-style: normal;
    font-weight: 700;
}
.italic-bold {
    font-style: italic;
    font-weight: 700;
}
.normal-medium {
    font-style: normal;
    font-weight: 500;
}
.italic-medium {
    font-style: italic;
    font-weight: 500;
}
.normal-regular {
    font-style: normal;
    font-weight: 400;
}
.italic-regular {
    font-style: italic;
    font-weight: 400;
}
html,
body {
    height: 100%
}

body {
    background: linear-gradient(180deg, var(--bg), #071025 120%);
    color: #e6eef8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* Container */
.container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 0
}

/* NAV */
.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(6px);
    background: linear-gradient(180deg, rgba(6, 10, 20, 0.65), rgba(6, 10, 20, 0.25));
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0
}

.brand {
    font-size: 20px
}

.brand span {
    color: var(--accent)
}

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

.nav-links a {
    color: #dbeafe;
    text-decoration: none;
    padding: 8px 6px;
    border-radius: 6px
}

.nav-links a:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.02)
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: #cfe9ff;
    font-size: 22px
}

/* HERO */
.hero {
    padding: 80px 0 40px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: center
}

.hero-left h1 {
    font-size: 40px;
    margin: 0 0 12px
}

.hero-left h1 span {
    color: var(--accent)
}

.lead {
    color: var(--muted);
    max-width: 620px
}

.hero-cta {
    margin-top: 18px
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
}

.btn.primary {
    background: var(--accent);
    color: #071025
}

.btn.outline {
    border: 2px solid rgba(255, 255, 255, 0.06);
    color: #dbeafe;
    background: transparent
}

.btn.small {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 8px
}

/* skills list */
.hero-skills {
    display: flex;
    gap: 10px;
    list-style: none;
    margin-top: 20px;
    padding: 0;
    flex-wrap: wrap
}

.hero-skills li {
    background: var(--glass);
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px
}

/* avatar */
.avatar {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: linear-gradient(180deg, #071025, #0b1220);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px
}

.avatar img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover
}

/* SECTION TITLES */
.section-title {
    font-size: 22px;
    margin-bottom: 18px;
    color: #f1f9ff
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
    align-items: start
}

.about-text p {
    color: var(--muted);
    margin-bottom: 12px
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.stat {
    background: var(--card);
    padding: 18px;
    border-radius: 12px;
    text-align: center
}

.stat .num {
    font-weight: 700;
    font-size: 20px;
    color: var(--accent)
}

.stat .label {
    color: var(--muted);
    font-size: 13px
}

/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.6)
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block
}

.card-body {
    padding: 14px
}

.card-body h3 {
    margin: 0 0 8px;
    font-size: 16px
}

.card-body p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 10px
}

.card-tags {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px
}

.card-actions {
    display: flex;
    gap: 8px
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.service {
    background: var(--card);
    padding: 18px;
    border-radius: 12px
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start
}

.contact-form {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 18px;
    border-radius: 12px
}

.contact-form label {
    display: block;
    margin-bottom: 12px
}

.contact-form span {
    display: block;
    margin-bottom: 6px;
    font-weight: 600
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    color: inherit
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px
}

.feedback {
    margin-top: 12px;
    color: #baf7d0
}

/* FOOTER */
.footer {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    margin-top: 40px
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--muted)
}

/* RESPONSIVE */
@media (max-width:900px) {
    .hero-grid {
        grid-template-columns: 1fr 260px
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .about-grid {
        grid-template-columns: 1fr
    }

    .contact-grid {
        grid-template-columns: 1fr
    }

    .nav-toggle {
        display: block
    }

    .nav-links {
        display: none;
        position: absolute;
        right: 6%;
        top: 64px;
        background: rgba(2, 6, 23, 0.95);
        padding: 12px;
        border-radius: 10px;
        flex-direction: column
    }

    .nav-links a {
        display: block;
        margin: 6px 0
    }
}

@media (max-width:480px) {
    .hero-left h1 {
        font-size: 28px
    }

    .container {
        padding: 40px 0
    }

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

    .services-grid {
        grid-template-columns: 1fr
    }
}