:root {
    --background-color: #f8fafc;
    --background-color-inverted: #25282f;
    --text-color: #25282f;
    --text-color-inverted: #ffffff;
    --secondary-color: #25282f;
    --menu-background-color: #37EFBACC;
    --menu-background-dark: #0c9a71CC;
    --primary-color: #37EFBA;
    --primary-color-dark: #7ef5d2;
    --secondary-background-color: #f9f9f9;
}

.dark-mode {
    --background-color: #25282f;
    --background-color-inverted: #f8fafc;
    --text-color: #ffffff;
    --text-color-inverted: #25282f;
    --secondary-background-color: #1e293b;
    --primary-color-dark: #0c9a71;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    color: var(--text-color);
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.profile-title {
    margin: 15px 0 5px;
    font-size: 2.5em;
    font-weight: bold;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.profile-subtitle {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    color: var(--secondary-color);
}

.contact-info div {
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 8px;
    font-size: 1.5em;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #37EFBA;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.container {
    width: 85%;
    margin: auto;
    padding: 20px 0;
}

section {
    margin-bottom: 20px;
    padding: 0px 25px 10px 25px;
    background-color: var(--secondary-background-color);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: justify;
}

h1, h2 {
    color: var(--primary-color);
}

h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.skills-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.skill-category {
    flex: 1;
    min-width: 300px;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    background-color: rgba(55, 239, 186, 0.1);
    border-radius: 5px;
}

.star-rating {
    color: var(--primary-color);
    font-size: 32px;
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 33px;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -40px;
    top: 33px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.timeline-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 1px;
    padding-bottom: 15px;
    background-color: rgba(55, 239, 186, 0.1);
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--primary-color);
}

ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 8px;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.chip {
    background-color: rgba(55, 239, 186, 0.2);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.chip:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(55, 239, 186, 0.4);
}

.languages-section {
    background-color: var(--secondary-background-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-item {
    margin-bottom: 20px;
}

.language-label {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.language-label i {
    margin-right: 10px;
    color: var(--primary-color);
}

.language-progress-container {
    width: 100%;
    background-color: rgba(55, 239, 186, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.language-progress {
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.language-level {
    margin-left: auto;
    font-size: 0.9em;
    color: var(--primary-color);
    font-weight: bold;
}

.language-item:nth-child(1) .language-progress {
    width: 100%; /* C2 */
}

.language-item:nth-child(2) .language-progress {
    width: 50%; /* B1 */
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f9f9f9;
}

.social-link {
    display: inline-flex;
    align-items: center;
    margin: 0 10px;
    color: inherit;
}

.social-link i {
    margin-right: 5px;
}

.experience-summary {
    font-style: italic;
    margin-bottom: 10px;
    color: var(--text-color);
}

.mission-card {
    color: var(--text-color);
}
.mission-card .info-line {    
    margin: 10px 0;
}

.mission-card p {
    margin: 10px 0;
}
.mission-card .location {
    margin-left: 8px;
}
.mission-card i {
    margin-right: 8px;
}

.title-experience {
  font-size: 1.5rem; /* Taille adaptée pour attirer l'attention */
  font-weight: 700;
  background: linear-gradient(90deg,var(--background-color-inverted) 0%, #12e1a5 50%); /* Effet dégradé technologique */
  background-clip: text;
  -webkit-text-fill-color: transparent; /* Effet de texte innovant */
  letter-spacing: 1.2px;
  text-align: left;
  position: relative;
  animation: fadeInSvc 1s ease-in-out;  
}

.title-section {
  font-size: 2rem; /* Taille adaptée pour attirer l'attention */
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg,#12e1a5 0%, var(--background-color-inverted) 50%); /* Effet dégradé technologique */
  background-clip: text;
  -webkit-text-fill-color: transparent; /* Effet de texte innovant */
  letter-spacing: 1.2px;
  text-align: left;
  position: relative;
  animation: fadeInSvc 1s ease-in-out;  
  padding-top: 10px;

}
.floating-menu-button {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--menu-background-color), var(--menu-background-dark));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0px 4px 8px var(--background-color);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-menu-button:hover {
    background-color: var(--primary-color);
}

.floating-menu-options {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: none;
}

.floating-menu-options button:hover {
    background-color: var(--primary-color);
}

.floating-menu-options a {
    position: absolute;
    width: 35px;
    height: 35px;
    background-color: var(--background-color-inverted);
    color: var(--text-color-inverted);
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 2px 2px var(--background-color-inverted);
    transition: all 0.3s ease;
    font-size: 15px;
}

.floating-menu-options a:hover {
    background-color: var(--primary-color);
}

/* Responsive / Burger menu pour mobile */
@media (max-width: 1024px) {
        .star-rating {
        font-size: 16px;
    }
    .title-experience {
        font-size: 1.2rem;
    }
    .title-section {
        font-size: 1.5rem;
    }

    .timeline-item:before {
        top:26px;
    }
}

/* Responsive / Burger menu pour mobile */
@media (max-width: 480px) {
    .timeline {
        position: relative;
        padding-left: 40px;
    }
    .timeline:before {
        left: 10px;
    }
    section {
        margin-bottom: 10px;
        padding: 0px 10px 10px 10px;
    }

    .container {
        width: 95%;
    }
}

