/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: rgb(168, 216, 235);
    color: #333;
    line-height: 1.6;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: right;
    padding: 20px;
    background-color:white;
    color: rgb(145, 31, 239);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 36px;
    margin: 0;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
}


/* Introduction */

.introduction {
    padding: 20px;
    background-color: #4ef5c3;
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.introduction:hover {
    background-color: #cce6ff;
}

/* Skills Section */
.skills-section {
    padding: 20px;
    background-color: #4ef5c3;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.skills-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.skills-list li {
    background-color: #0066cc;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.skills-list li:hover {
    transform: scale(1.1);
}

/* Experience Section */
.experience-section {
    padding: 20px;
    background-color: #4ef5c3;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.experience-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.experience-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.experience-list li {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f4f4f4;
    border-left: 5px solid #0066cc;
    transition: background-color 0.3s ease;
}

.experience-list li:hover {
    background-color: #e6f2ff;
}

/* Projects Section */
.projects-section {
    padding: 20px;
    background-color: #4ef5c3;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.projects-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.projects-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.projects-list li {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f4f4f4;
    border-left: 5px solid #0066cc;
    transition: background-color 0.3s ease;
}

.projects-list li:hover {
    background-color: #e6f2ff;
}

/* Contact Section */
.contact-section {
    padding: 20px;
    background-color: #4ef5c3;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 10px;
}

.contact-list a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: #004080;
}

/* Contact Form */
.contact-form {
    margin-top: 20px;
    display: block;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form button {
    padding: 10px 15px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #004080;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Text Animation */
@keyframes textLoop {
    0% { opacity: 0; transform: translateY(20px); }
    20% { opacity: 1; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(0); }
    60% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 0; transform: translateY(-20px); }
}

#role-description {
    animation: textLoop 6s infinite;
    line-height: 1.5;
    text-align: center;
}

/* Media Queries */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }

    .skills-list {
        flex-direction: column;
    }
}
