.profile {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    animation: moveToTop 1s ease forwards;
    margin-top: 300px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.profile img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    transition: transform 0.3s ease;
    max-width: 100%;
}

.title {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.desc {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s; 
    color: white;
    text-align: center;
    margin-top: 6px; 
}

@keyframes moveToTop {
    from {
        top: 50%;
        transform: translateY(-50%);
    }
    to {
        top: 10%;
        transform: translateY(0);
    }
}

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

body {
    background-color: #09008b;
    margin: 0;
    overflow-x: hidden;
    color: white; 
    font-family: Arial, sans-serif;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
    padding: 20px; 
}

.job-description {
    color: white;
    text-align: center;
    max-width: 80%;
}

#hr {
    margin-top: 0px;
    width: 100px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.description {
    max-width: 90%;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
}

.navbar {
    background-color: #333;
    padding: 10px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.navbar li {
    display: inline;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 15px;
    transition: 0.3s;
}

.navbar a:hover {
    background-color: #555;
    border-radius: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .profile {
        margin-top: 200px;
    }

    .profile img {
        width: 90px;
        height: 90px;
    }

    .title {
        font-size: 20px;
    }

    .desc {
        margin-top: 4vh;
        font-size: 16px;
    }

    .container {
        height: auto;
        padding: 40px 20px;
    }

    .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .navbar a {
        font-size: 16px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .profile {
        margin-top: 150px;
    }

    .profile img {
        width: 75px;
        height: 75px;
    }

    .title {
        font-size: 18px;
    }

    .desc {
        font-size: 14px;
    }

    .container {
        padding: 20px;
    }
}
