:root {
    --bg: #0B1F4B;
    --card: #212434;
    --accent: #4f8cff;
    --text: #e6e8f2;
    --muted: #9aa3c7;
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: #CBD5E1;
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
}


header {
    padding: 90px 20px;
    text-align: center;
    background: linear-gradient(135deg, #2B3558, #1E3A8A);
}

header img {
    width: 300px;
    height: 300px;
    border-radius: 100%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--accent);
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: var(--text);
}

header p {
    max-width: 720px;
    margin: 0 auto 25px;
    color: var(--muted);
    font-size: 1.05rem;
}

.socials a {
    margin: 0 12px;
    font-weight: 600;
}

section {
    padding: 70px 20px;
    max-width: 1100px;
    margin: auto;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.about p {
    max-width: 800px;
    color: var(--muted);
}

ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
    color: var(--muted);
}


.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.skill {
    background: var(--card);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--text);
}


.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}


.project-card {
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.project-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #1c2240;
}

.project-content {
    padding: 22px;
}

.project-content h3 {
    margin-top: 0;
    color: var(--text);
}

.project-content p {
    margin: 6px 0;
    color: var(--muted);
}

.project-content em {
    color: #A5B4FC;
}

.project-content a {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
}


section ul li strong {
    color: var(--text);
}


section p strong {
    font-weight: 700;
}

footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid #1c2240;
    color: var(--muted);
}


@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }

    header img {
        width: 220px;
        height: 220px;
    }

    section {
        padding: 55px 18px;
    }
}

@media (max-width: 480px) {
    header img {
        width: 180px;
        height: 180px;
    }

    header p {
        font-size: 1rem;
    }
}