body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1em 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header nav ul, header nav ul li{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

header nav ul li a, header nav ul .dropdown .dropbtn {
    color: #333;
    text-decoration: none;
    font-style: 'Segoe UI';
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: transparent;
    border-radius: 25px;
    background-color: transparent;
    transition: all 0.3s ease;
}

header nav ul li a:hover, header nav ul .dropdown .dropbtn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.dropdown {
    position: relative;
    display: inline-block;
    align-self: center;
}

.dropbtn {
    font-size:x-large;
}   

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    border-radius: 25px;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

main {
    padding: 40px 20px;
    width: 90%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    flex: 1;
    margin-top: 20px;
    margin-bottom: 20px;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.home-content img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.home-content img:hover {
    transform: scale(1.05);
}

.home-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 1200px;
    color: #555;
}

.education-content, .experience-content, .projet-content {
    display: flex;
    gap: 30px;
    min-height: 400px;
}

.education-list, .experience-list, .projet-list {
    flex: 1;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.education-list ul, .experience-list ul, .projet-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.education-list ul li, .experience-list ul li, .projet-list ul li {
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 10px;
    margin-bottom: 10px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    font-weight: 500;
}

.education-list ul li:hover, .experience-list ul li:hover, .projet-list ul li:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.education-detail, .experience-detail , .projet-detail {
    flex: 2;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.detail-item h2 {
    color: #333;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detail-item p {
    margin-bottom: 0px;
    line-height: 1.6;
}

.detail-item ul {
    margin-top: 0px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #333;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
}

.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-links a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.social-links img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%);
    transition: filter 0.3s ease;
}

.social-links a:hover img {
    filter: brightness(0) saturate(100%) invert(1);
}

@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    main {
        margin: 10px;
        padding: 20px;
    }

    h1 {
        font-size: 2rem;
    }

    .education-content, .experience-content {
        flex-direction: column;
        gap: 20px;
    }

    .home-content img {
        width: 150px;
        height: 150px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }
}

