* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.5;
    padding: 15px;
    max-width: 900px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px 0;
    border-bottom: 2px solid #1565C0;
}

.photo-container {
    margin-bottom: 10px;
}

.profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1565C0;
    margin: 0 auto;
    display: block;
}

h1 {
    font-size: 2em;
    color: #2c3e50;
}

.subtitle {
    font-size: 1.2em;
    color: #1565C0;
    font-weight: 500;
}

section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
    font-size: 1.3em;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.profile-list {
    list-style: none;
}

.profile-list li {
    margin-bottom: 10px;
}

#about p {
    margin-bottom: 10px;
}

#about ul {
    padding-left: 20px;
    margin: 5px 0;
}

.clients-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.client-logo {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: #1565C0;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
}

.articles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.article-card {
    text-decoration: none;
    color: inherit;
    width: 180px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.article-title {
    padding: 10px;
    color: #2c3e50;
    font-size: 0.9em;
    text-align: center;
}

.certifications-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.certification-logo {
    width: 115px;
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f4ff;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.certification-logo:hover {
    transform: scale(1.05);
}

.certification-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    color: #555555;
    font-size: 0.9em;
}

.sub-section-title {
    font-size: 1.1em;
    color: #2c3e50;
    margin: 20px 0 10px 0;
    text-align: center;
}

.diplomas-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.diploma-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.diploma-row:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.diploma-logo {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.diploma-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.diploma-details h4 {
    color: #2c3e50;
    font-size: 1em;
}

.diploma-details p {
    margin: 0;
    color: #555555;
    font-size: 0.9em;
}

.formations-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.formation-row {
    flex: 1 1 calc(50% - 15px);
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.formation-row:hover {
    transform: translateX(3px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.formation-icon {
    font-size: 1.2em;
    min-width: 24px;
    text-align: center;
}

.formation-details h4 {
    margin-bottom: 3px;
    color: #2c3e50;
    font-size: 0.9em;
    line-height: 1.2;
}

.formation-details p {
    margin: 0;
    color: #555555;
    font-size: 0.8em;
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    display: block;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    h1 {
        font-size: 2em;
    }
    .profile-photo {
        width: 120px;
        height: 120px;
    }
    .formation-row {
        flex: 1 1 100%;
    }
}