:root {
    --navy: #0a192f;
    --gold: #D4AF37;
    --bg: #ffffff;
    --text: #1a1a1a;
    --card: #f8f9fa;
}

[data-theme="dark"] {
    --bg: #0a192f;
    --text: #f4f4f4;
    --card: #112240;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Arial', sans-serif;
    margin: 0;
    text-align: center;
}

/* Profile Image Fix */
.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--gold);
    margin-top: 20px;
}

/* Navbar Flexbox */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 1rem 5%;
    background: var(--navy);
    color: white;
    align-items: center;
}

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

/* Skills Flexbox - This fixes the plain list */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.skill-group {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    min-width: 300px;
}

.flex-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.flex-skills li {
    background: var(--navy);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.flex-skills li:hover {
    background: var(--gold);
    transform: scale(1.1);
}

/* Animation */
.fade-in {
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
