body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0A192F;
    color: #E0E0E0;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for theme toggle */
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    background: #1C1C1C;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.navbar {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.navbar h1 {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: #E0E0E0;
}

.navbar a {
    text-decoration: none;
    color: #E0E0E0;
    margin: 0 1rem;
    font-weight: 600;
}

.navbar a:hover {
    color: #007bff;
}

html, body {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

section {
    min-height: 100vh;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.5s ease-in-out;
}

section.active {
    opacity: 1;
}

.about, .projects, .cv, .contact {
    margin-top: 5rem;
}

h1, h2 {
    color: #007bff;
}

.projects-list {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.project-card {
    background: #1C1C1C;
    border: 1px solid #007bff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    color: #E0E0E0;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card ul {
    padding-left: 1rem;
}

.project-card li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #212529;
    color: #fff;
}

.cv-link {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(45deg, #007bff, #00c6ff);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

.cv-link:hover {
    background: linear-gradient(45deg, #00c6ff, #007bff);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.5);
}

.cv-link:active {
    transform: scale(0.98);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.contact i {
    font-size: 20px;
    color: #007bff;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 80%;
    object-fit: cover;
    margin-right: 15px;
    vertical-align: center;
}

.navbar h1 {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: #E0E0E0;
}

.skills-container {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.skills-column {
    flex: 1;
    min-width: 250px;
    background: #1C1C1C;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.skills-column ul {
    list-style: none;
    padding: 0;
}

.skills-column li {
    margin: 0.5rem 0;
    font-weight: 600;
    color: #E0E0E0;
}

/* Theme Toggle Button */
.theme-btn {
    background: none;
    border: none;
    color: #E0E0E0;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.theme-btn:hover {
    color: #007bff;
}
