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

body {
    background: #f5f7fa;
    font-family: 'Poppins', sans-serif;
    color: #222222;
    margin: 0;
    padding: 0;
}

header {
    background: #4a90e2;
    color: white;
    text-align: center;
    padding: 60px 20px 30px;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    font-weight: 700;
    margin: 0;
}

.subtitle {
    font-size: 1.3em;
    font-weight: 500;
    margin-top: 10px;
    opacity: 0.9;
    letter-spacing: 1px;
}

nav {
    display: flex;
    justify-content: center;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
}

nav ul li a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #4a90e2;
    font-weight:600;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

nav ul li a:hover {
    background: #4a90e2;
    color: white;
    font-weight: 600;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    font-weight: 700;
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.skills {
    margin-top: 40px;
}

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

.skill-category {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.skill-category h3 {
    margin-bottom: 10px;
    color: #4a90e2;
    font-size: 1.1em;
}

.skill-category p {
    line-height: 1.6;
    font-size: 0.95em;
}


.footer {
    background-color: #111;
    color: #ccc;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-link:hover {
    color: #58a6ff;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li a {
        padding: 12px 20px;
    }

    header h1 {
        font-size: 2em;
    }
}