body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #3498db, #2980b9);
    background-size: 200% 200%;
    animation: gradientAnimation 10s ease infinite;
    line-height: 1.6;
    scroll-behavior: smooth;
}
nav {
    background-color: #3498db;
    padding: 10px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: #2980b9;
}
.menu-icon {
    display: none;
    font-size: 32px;
    color: #f39c12;
    cursor: pointer;
    position: absolute;
    right: 30px;
    top: 3px;
    width: 70px; /* Increased width */
    text-align: center;
}
.logo {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
}

header {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
    /* color: #3498db; */
    padding: 100px 20px 20px;
    border-radius: 5px;
    margin-top: 60px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/courage/files/images/3Y9C6593-1.jpg') no-repeat center center/cover;
    opacity: 0.5;
    transform: translateY(-20px);
    animation: fadeInUp 1s ease forwards;
}

.section-title {
    color: #3498db; /* Sky blue color */
}
section {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 5px;
    margin: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}
section:nth-child(even) {
    animation-delay: 0.2s;
}
section:nth-child(odd) {
    animation-delay: 0.4s;
}
ul {
    list-style-type: none;
    padding: 0;
}
ul li {
    margin-bottom: 10px;
}
.profile-picture {
    max-width: 100%;
    border-radius: 50%;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease forwards;
}
.contact-info {
    margin-top: 20px;
}

.project {
    background-color: #fff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.project img {
    max-width: 100%;
    border-radius: 5px;
    margin-top: 15px;
}

.logo a {
    text-decoration: none;
    color: #fff;
}


@media only screen and (max-width: 600px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
        background-color: #3498db;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    .nav-links a {
        padding: 15px 0;
        margin: 0;
        text-align: center;
        width: 100%;
        border: none;
    }
    .menu-icon {
        display: block;
    }
    .nav-active {
        height: auto;
    }
    header {
        padding: 40px 10px;
    }
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 20px;
    }
    .profile-picture {
        max-width: 70%;
    }
}

/* Background Animation */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}