* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Section Témoignages */
.testimonials {
    display: flex;
    justify-content: center;
    padding: 60px 30px;
    background-color: #f4f6f7;
    position: relative;
    min-height: 400px;
    gap: 20px;
}

.left-panel {
    flex: 0 0 30%;
    padding-right: 40px;
}

.left-panel h2 {
    font-size: 2.2rem;
    color: #0d223a;
    margin-bottom: 5px;
}

.left-panel hr {
    width: 60%;
    border: none;
    border-top: 3px solid #0d223a;
    margin-bottom: 20px;
}

.left-panel p {
    font-size: 1.2rem;
    color: #626d79;
    margin-bottom: 30px;
}

.controls {
    display: flex;
}

.controls button {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    padding: 8px;
}

.controls button:active {
    transform: scale(0.95);
}

.controls button img {
    width: 40px;
    height: 40px;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.controls button img:hover {
    transform: scale(1.15);
}

.testimonials-container {
    flex: 0 0 38%;
    position: relative;
    height: 350px;
    overflow: hidden;
    display: flex;
    gap: 20px;
}

.testimonial-card {
    flex: 0 0 calc(50% - 10px);
    background-color: #e8e8e8;
    border-radius: 20px;
    padding: 30px 25px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    height: calc(100% - 0px);
    width: calc(50% - 10px);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    position: relative;
}

.testimonial-card.active:first-child {
    left: 0;
}

.testimonial-card.active:nth-child(2) {
    right: 0;
}

.testimonial-card.slide-out-left {
    opacity: 0;
    transform: translateX(-100%) scale(0.9);
}

.testimonial-card.slide-out-right {
    opacity: 0;
    transform: translateX(100%) scale(0.9);
}

.testimonial-card.slide-in-left {
    opacity: 1;
    transform: translateX(0) scale(1);
    animation: slideInLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card.slide-in-right {
    opacity: 1;
    transform: translateX(0) scale(1);
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.testimonial-content {
    flex: 1;
    display: flex;
    align-items: center;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.author-info h3 {
    font-size: 0.95rem;
    color: #2d3748;
    margin-bottom: 3px;
    font-weight: 600;
}

.author-info p {
    font-size: 0.8rem;
    color: #718096;
    margin: 0;
}

#contain_triangle {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

#triangle1,
#triangle2 {
    width: 12%;
    height: 20%;
    opacity: 0.7;
}


body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "header"
        "main"
        "footer";
    height: 100vh;
    background-color: #f4f6f7;
    font-family: system-ui;
}

.header {
    grid-area: header;
    background-color: white;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    color: #626d79;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 70px;
    width: 82.6px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #626d79;
    font-size: 1rem;
    transition:
        color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        font-weight 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: #626d79;
    font-weight: 700;
    transform: scale(1.08);
}


.navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #626d79;
    cursor: pointer;
}

.lang-icon {
    height: 30px;
    width: 30px;
    object-fit: contain;
}

/******************************dropdownlist***************************************/
.language-dropdown {
    position: absolute;
    top: 55px;
    right: 3px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1001;
    width: 150px;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
}

.language-option:hover {
    background-color: #f0f0f0;
}

/*********************************************************************/

.menu-icon {
    display: none;
    height: 45px;
    width: 45px;
    cursor: pointer;
}

.main {
    grid-area: main;
    background-color: #f4f6f7;
}

/* Section À PROPOS */
.apropos-section {
    background-image: url('../images/apropos_img.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5%;
    position: relative;
}

.apropos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.apropos-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 500px;
}

.apropos-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.apropos-content .divider {
    width: 80px;
    height: 3px;
    background-color: white;
    margin: 1.5rem 0;
}

.apropos-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Section Nos Missions */
.missions-section {
    background-color: white;
    position: relative;
    padding: 80px 5%;
    min-height: 400px;
}

/* Section titles */
.section-title {
    opacity: 1;
    transform: scale(1);
}

.missions-section::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/logo_without_background_background.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.035;
    z-index: 1;
}

.missions-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.missions-content h2 {
    font-size: 2.5rem;
    color: #202e4e;
    margin-bottom: 2rem;
    font-weight: bold;
    position: relative;
}

.missions-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #202e4e;
}

.missions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.mission-item {
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-item p {
    color: #555;
    line-height: 1.6;
    word-spacing: 1px;
    font-size: 1rem;
    margin: 0;
}

.footer {
    grid-area: main;
    background-color: #f4f6f7;
}

/* Section Étapes d'accompagnement */
.etapes-section {
    background-color: #f8f9fa;
    position: relative;
    padding: 80px 5%;
    min-height: 600px;
}

.etapes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/logo_without_background_background.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.03;
    z-index: 1;
}

.etapes-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.etapes-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 600;
}

/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #ddd;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    z-index: 1;
}

/* Container around content */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 40px;
    opacity: 1;
    transform: translateY(0);
}

/* Place the container to the left */
.timeline-item:nth-child(odd) {
    left: 0;
}

/* Place the container to the right */
.timeline-item:nth-child(even) {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.timeline-item:nth-child(odd)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.timeline-item:nth-child(even)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* The circles with numbers on the timeline */
.timeline-number {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #2c3e50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 3;
    top: 15px;
    opacity: 1;
    transform: scale(1);
}

.timeline-item:nth-child(odd) .timeline-number {
    right: 3px;
}

.timeline-item:nth-child(even) .timeline-number {
    left: 3px;
}

/* The actual content */
.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: translateX(0);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}



.engagements-section {
    background-color: white;
    padding: 80px 5% 0px 5%;
    position: relative;
}

.engagements-content {
    max-width: 1200px;
    margin: 0 auto;
}

.engagements-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 600;
    position: relative;
}

.engagements-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2c3e50;
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.engagement-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.engagement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.engagement-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.engagement-item h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.engagement-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Section Nos Valeurs */
.valeurs-section {
    background-color: white;
    padding: 0px 5% 0px 5%;
    position: relative;
}

.valeurs-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.valeurs-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    width: 500px;
    height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.1));
}

.valeurs-right h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 600;
    position: relative;
}

.valeurs-right h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #2c3e50;
}

.valeurs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.valeur-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #2c3e50;
}

.checkmark {
    color: #27ae60;
    font-size: 1.3rem;
    font-weight: bold;
    width: 25px;
    height: 25px;
    background-color: #e8f5e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer {
    grid-area: footer;
    background-color: #f4f6f7;
    padding: 40px 20px 20px 20px;
    font-size: 0.9rem;
    border-top: 1px solid #ddd;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-section {
    background-color: #efefef;
    border-radius: 15px;
    padding: 15px;
    flex: 1;
    min-width: 280px;
}

.logo-section {
    text-align: center;
}

.footer-logo {
    width: 100%;
    height: 90%;

}


.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #626d79;
}

.contact-item .icon {
    font-size: 1.2rem;
    width: 25px;
}

.footer-section h4 {
    color: #0d223a;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    padding-left: 15px;
}

.footer-section h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #000000;
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #626d79;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: #0d223a;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.hours-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-info p {
    color: #626d79;
    margin: 0;
    font-size: 0.85rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.footer-bottom p {
    color: #626d79;
    margin: 0;
    font-size: 0.85rem;
}


@media only screen and (max-width: 480px) {

    .language-dropdown {
        top: 402%;
        left: 4%;
    }

    .lang-text {
        position: relative;
        padding-left: 7px;
        bottom: 10px;
    }

    .nav-links li {
        margin-top: 10px;
    }

    .navbar-right {
        display: none;
        background-color: white;
        position: absolute;
        top: 245px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .slide img {
        height: 350px;
    }

    .nav-links {
        display: none;
        background-color: white;
        gap: 20px;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .nav-links.active,
    .navbar-right.active {
        display: block;
        z-index: 10;
    }

    .menu-icon {
        display: block;
    }

    .navbar {
        position: relative;
    }

    .apropos-content {
        max-width: 400px;
    }

    .apropos-content h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .apropos-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }


    .missions-section {
        padding: 40px 3%;
        min-height: 300px;
    }

    .missions-content h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .missions-content h2::after {
        width: 60px;
        height: 2px;
    }

    .missions-grid {
        gap: 20px;
        margin-top: 30px;
    }

    .mission-item {
        padding: 10px;
    }

    .mission-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Étapes d'accompagnement pour mobile */
    .etapes-section {
        padding: 40px 3%;
    }

    .etapes-content h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .timeline-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .timeline-content {
        padding: 15px 20px;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }

    .engagements-section {
        padding: 40px 3%;
    }

    .engagements-content h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .engagements-content h2::after {
        width: 60px;
        height: 2px;
    }

    .engagements-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }

    .engagement-item {
        padding: 25px 15px;
    }

    .engagement-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .engagement-icon svg {
        width: 30px;
        height: 30px;
    }

    .engagement-item h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .engagement-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }


    .valeurs-content {
        grid-template-columns: 1fr;
        gap: 0px;
        text-align: center;
    }

    .logo-image {
        width: 150px;
        height: 150px;
        margin-bottom: 15px;
    }



    .valeurs-right h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
        text-align: center;
    }

    .valeurs-right h2::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 2px;
    }

    .valeurs-list {
        gap: 15px;
    }

    .valeur-item {
        font-size: 1rem;
        justify-content: center;
    }

    .checkmark {
        width: 20px;
        height: 20px;
        font-size: 1.1rem;
    }

    .testimonials {
        flex-direction: column;
        padding: 30px 15px 0px 15px;
        gap: 10px;
    }

    #contain_triangle {
        display: none;
    }

    .left-panel {
        flex: 0 0 auto;
        padding-right: 0;
        margin-bottom: 5px;
        text-align: center;
    }

    .left-panel h2 {
        font-size: 1.8rem;
    }

    .left-panel p {
        font-size: 1rem;
    }

    .left-panel hr {
        margin: 15px auto;
        width: 80%;
    }

    .controls {
        justify-content: center;
        margin-bottom: 20px;
    }

    .controls button img {
        width: 35px;
        height: 35px;
    }

    .testimonials-container {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        min-height: 250px;
        flex-direction: column;
        gap: 15px;
        position: static;
    }

    .testimonial-card {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        min-height: 200px;
        position: static !important;
        margin-bottom: 15px;
        padding: 20px 15px;
        left: auto !important;
        right: auto !important;
        display: none;
    }

    .testimonial-card.active {
        position: static !important;
        opacity: 1;
        transform: none;
        display: flex;
    }

    .testimonial-content p {
        font-size: 0.9rem;
    }

    .author-img {
        width: 40px;
        height: 40px;
    }

    .author-info h3 {
        font-size: 0.9rem;
    }

    .author-info p {
        font-size: 0.75rem;
    }


    .language-dropdown {
        top: 402%;
        left: 4%;
    }

    .lang-text {
        position: relative;
        padding-left: 7px;
        bottom: 10px;
    }

    .nav-links li {
        margin-top: 10px;
    }

    .navbar-right {
        display: none;
        background-color: white;
        position: absolute;
        top: 245px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .slide img {
        height: 350px;
    }

    .nav-links {
        display: none;
        background-color: white;
        gap: 20px;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .nav-links.active,
    .navbar-right.active {
        display: block;
        z-index: 10;
    }

    .menu-icon {
        display: block;
    }

    .navbar {
        position: relative;
    }
}

@media only screen and (max-width: 652px) {
  .language-dropdown {
        top: 402%;
        left: 2%;
    }

    .lang-text {
        position: relative;
        padding-left: 7px;
        bottom: 10px;
    }

    .nav-links li {
        margin-top: 10px;
    }

    .navbar-right {
        display: none;
        background-color: white;
        position: absolute;
        top: 245px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .slide img {
        height: 350px;
    }

    .nav-links {
        display: none;
        background-color: white;
        gap: 20px;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;
    }
    
    .nav-links.active,
    .navbar-right.active {
        display: block;
        z-index: 10;
    }

    .menu-icon {
        display: block;
    }

    .navbar {
        position: relative;
    }

    .valeurs-content {
        text-align: center;
        padding: 10px 0px 0px 0px;
    }

    .logo-image {
        width: 250px;
        height: 250px;
    }

    .valeurs-right h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
        text-align: center;
    }

    .valeurs-right h2::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 2px;
    }

    .valeurs-list {
        gap: 15px;
        font-size: 1.4rem;
        padding-bottom: 40px;
    }

    .valeur-item {
        font-size: 1rem;
        justify-content: center;
    }

    .checkmark {
        width: 20px;
        height: 20px;
        font-size: 1.1rem;
    }


    .lang-text {
        position: relative;
        padding-left: 7px;
        bottom: 10px;
    }

    .nav-links li {
        margin-top: 10px;
    }

    .navbar-right {
        display: none;
        background-color: white;
        position: absolute;
        top: 245px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .slide img {
        height: 350px;
    }

    .nav-links {
        display: none;
        background-color: white;
        gap: 20px;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .nav-links.active,
    .navbar-right.active {
        display: block;
        z-index: 10;
    }

    .menu-icon {
        display: block;
    }

    .navbar {
        position: relative;
    }



}

@media only screen and (max-width: 600px) {
    .apropos-content {
        max-width: 400px;
    }

    .apropos-content h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .apropos-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .valeurs-content {
        text-align: center;
        gap: 0px;
    }

    .logo-image {
        width: 250px;
        height: 250px;
    }

    .valeurs-right h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
        text-align: center;
    }

    .valeurs-right h2::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 2px;
    }

    .valeurs-list {
        gap: 15px;
        font-size: 1.4rem;
        padding-bottom: 40px;
    }

    .valeur-item {
        font-size: 1rem;
        justify-content: center;
    }

    .checkmark {
        width: 20px;
        height: 20px;
        font-size: 1.1rem;
    }


    /* Place the timeline to the left */
    .timeline::after {
        left: 31px;
    }


    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }


    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }


    .timeline-item:nth-child(odd) .timeline-number,
    .timeline-item:nth-child(even) .timeline-number {
        left: 25px;
        top: 15px;
    }


    .timeline-item:nth-child(even) {
        left: 0%;
    }


    .engagements-section {
        padding: 60px 5%;
    }

    .engagements-content h2 {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .engagements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .engagement-item {
        padding: 25px 20px;
    }

    .engagement-icon {
        width: 70px;
        height: 70px;
    }

    .engagement-icon svg {
        width: 35px;
        height: 35px;
    }




    .valeurs-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo-image {
        width: 180px;
        height: 180px;
    }

    .valeurs-right h2 {
        font-size: 2.2rem;
        text-align: center;
    }

    .valeurs-right h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .etapes-section {
        padding: 60px 5%;
    }

    .etapes-content h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .timeline {
        max-width: 100%;
        padding: 0 10px;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

}



@media only screen and (min-width: 652px) and (max-width: 768px) {
    .language-dropdown {
        top: 402%;
        left: 2%;
    }

    .lang-text {
        position: relative;
        padding-left: 7px;
        bottom: 10px;
    }

    .nav-links li {
        margin-top: 10px;
    }

    .navbar-right {
        display: none;
        background-color: white;
        position: absolute;
        top: 245px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .slide img {
        height: 350px;
    }

    .nav-links {
        display: none;
        background-color: white;
        gap: 20px;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .nav-links.active,
    .navbar-right.active {
        display: block;
        z-index: 10;
    }

    .menu-icon {
        display: block;
    }

    .navbar {
        position: relative;
    }



}

@media only screen and (min-width: 481px) and (max-width: 1024px) {
    .testimonials {
        flex-direction: column;
        justify-content: center;
        padding: 30px 20px 0px 20px;
        gap: 15px;
    }

    #contain_triangle {
        display: none;
    }

    .left-panel {
        flex: 0 0 auto;
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .left-panel h2 {
        font-size: 2rem;
    }

    .left-panel hr {
        margin: 15px auto;
        width: 70%;
    }

    .valeurs-content {
        text-align: center;
    }

    .logo-image {
        width: 250px;
        height: 250px;
    }

    .valeurs-right h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
        text-align: center;
    }

    .valeurs-right h2::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 2px;
    }

    .valeurs-list {
        gap: 15px;
        font-size: 1.4rem;
        padding-bottom: 40px;
    }

    .valeur-item {
        font-size: 1rem;
        justify-content: center;
    }

    .checkmark {
        width: 20px;
        height: 20px;
        font-size: 1.1rem;
    }

    .controls {
        justify-content: center;
    }

    .testimonials-container {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        min-height: 400px;
        flex-direction: row;
        gap: 15px;
        position: relative;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 7.5px);
        width: calc(50% - 7.5px);
        height: auto;
        min-height: 250px;
        position: absolute;
    }

    .testimonial-card.active {
        position: absolute;
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .testimonial-card.active:first-child {
        left: 0;
    }

    .testimonial-card.active:nth-child(2) {
        right: 0;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1381px) {
    .testimonials {
        padding: 60px 50px;
        gap: 30px;
        max-width: 1180px;
        margin: 0 auto;
        justify-content: space-between;
        align-items: flex-start;
    }

    .left-panel {
        flex: 0 0 35%;
        padding-right: 40px;
    }

    .left-panel h2 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .left-panel p {
        font-size: 1.15rem;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .left-panel hr {
        width: 65%;
        margin-bottom: 25px;
    }

    .controls button img {
        width: 42px;
        height: 42px;
    }

    .testimonials-container {
        flex: 0 0 58%;
        height: 370px;
        gap: 20px;
    }

    .testimonial-card {
        padding: 32px 28px;
        width: calc(50% - 10px);
        border-radius: 22px;
    }

    .testimonial-content p {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .author-img {
        width: 52px;
        height: 52px;
    }

    .author-info h3 {
        font-size: 1.02rem;
    }

    .author-info p {
        font-size: 0.88rem;
    }

    #contain_triangle {
        gap: 35px;
    }

    #triangle1 {
        width: 14%;
        height: 18%;
        margin-top: 32px;
    }
}

@media only screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-section {
        min-width: 100%;
    }

    .footer {
        padding: 30px 15px 15px 15px;
    }

    .footer-logo {
        width: 50%;
        height: 50%;
    }

}