body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #1e1e2f;
    margin: 0;
    padding: 0;
    color: #e0e0e0;
}
.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
}
.profile-pic:hover {
    transform: scale(1.05);
}

header {
    background: #3a3a5a;
    color: white;
    padding: 20px 10px;
    text-align: center;
    transition: background 0.3s;
    justify-content: space-evenly;
}

header:hover {
    background: #2a2a4a;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    padding: 10px 15px;
    display: inline-block;
}

nav ul li a:hover {
    color: #ffcc00;
}

section {
    padding: 40px 20px;
    text-align: center;
    animation: fadeIn 1.5s ease-in;
}

.project, .achievement {
    background-color: #29294a;
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 800px;
}

.project:hover, .achievement:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}


.button {
    display: inline-block;
    padding: 10px 20px;
    background: #ffcc00;
    color: #1e1e2f;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
    margin-top: 10px;
}

.button:hover {
    background: #ff9900;
    transform: scale(1.1);
}

footer {
    background: #3a3a5a;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* === Responsive Design === */
@media screen and (max-width: 1024px) {
    nav ul {
        gap: 20px;
    }

    .project,
    .achievement {
        margin: 15px auto;
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    header {
        padding: 15px;
    }

    .project,
    .achievement {
        width: 100%;
        margin: 10px 0;
    }

    section {
        padding: 20px 15px;
    }

    h1, h2 {
        font-size: 1.5em;
    }

    .button {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    .project img,
    .achievement img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    nav ul {
        gap: 10px;
    }

    h1, h2 {
        font-size: 1.3em;
    }

    p {
        font-size: 0.9em;
    }

    .button {
        width: 90%;
        padding: 10px;
        display: block;
        margin: 10px auto;
    }

    footer {
        font-size: 0.85em;
        padding: 15px 0;
    }
}
