:root {
    --lightBlue: #6dc6d4;
    --purple: #764796;
    --hoverBlue: #5ab9c3;
    --textDark: #333;
    --textGray: #555;
    --blue: #212C56;
    --gradient: linear-gradient(90deg, var(--lightBlue), var(--purple));
}

/* Don't touch */
.home {
    padding-top: 3px;
}

/* Mission Section */
.mission-section {
    background: #f9f9f9;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 50px 0;
}

.mission-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.mission-text {
    flex: 1;
    max-width: 600px;
}

.section-title {
    font-size: 2rem;
    color: var(--lightBlue);
    font-weight: bold;
    margin-bottom: 20px;
}

.section-paragraph {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.mission-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-icon {
    font-size: 4rem;
    color: var(--lightBlue);
    background: #f0f8fa;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .about-icon {
        margin-bottom: 1rem;
    }
}

/* About Section */
.about-section {
    margin: 40px 0;
}

.about-row {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-content {
    flex: 1;
    max-width: 600px;
}

.about-content h3 {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 15px;
}

.about-content p {
    font-size: 1.8rem;
    color: #555;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-section {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.services-section .section-title {
    font-size: 3rem;
}

.services-section .section-paragraph {
    font-size: 1.5rem;
}

.service-item i {
    font-size: 32px;
    color: var(--lightBlue);
    margin-bottom: 15px;
}

.service-item h4 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.5;
}

.services-container {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    background-color: #f5f5f5;
    gap: 30px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 48%;
    padding: 25px;
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.btn-container button,
.btn-container .btn-service {
    background: linear-gradient(90deg, var(--lightBlue), var(--purple));
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 15px 25px;
    margin-bottom: 10px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.btn-container a.btn-service {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-text {
    font-size: 1.5rem;
}

.btn-container button:hover {
    background-color: var(--hoverBlue);
    transform: scale(1.05);
}

/* CTA Section */
.row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.col:first-child,
.col:last-child {
    flex: 1;
    text-align: center;
}

.cta-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--blue);
    margin-bottom: 15px;
}

/* Conteneur de boutons */
.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Chaque bouton d'application */
.btn-app {
    display: inline-block;
    width: 150px;
    max-width: 100%;
    text-align: center;
}

.btn-app img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


.btn-app:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(90deg, var(--lightBlue), var(--purple));
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.btn-whatsapp:hover {
    background-color: var(--hoverBlue);
    transform: translateY(-2px);
}

/* Download Section */
#download-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--blue);
    text-align: center;
    margin-top: 20px;
}

.download-logo {
    display: flex;
    justify-content: center;
}

.btn-download {
    background: var(--gradient);
    color: white;
    margin-top: 10px;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.btn-download:hover {
    background-color: var(--hoverBlue);
    transform: scale(1.05);
}

.btn-download i {
    margin-right: 10px;
}

.legal-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
    border-radius: 8px;
    margin-top: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.legal-section .section-title {
    font-size: 2.5rem;
    color: var(--lightBlue);
    margin-bottom: 15px;
}

.legal-section .section-paragraph {
    font-size: 1.5rem;
    color: var(--textGray);
    margin-bottom: 25px;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-legal {
    background: var(--gradient);
    color: white;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.4rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-legal:hover {
    background-color: var(--hoverBlue);
    transform: scale(1.05);
}

/* --- Media Queries pour la Responsivité --- */

/* Pour les petits écrans (mobiles) */
@media (max-width: 768px) {
    .mission-content {
        flex-direction: column;
        text-align: center;
    }

    .about-row,
    .about-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .content h3 {
        color: var(--blue);
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .content p {
        color: #666;
        font-size: 1.7rem;
        padding: 1rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-container {
        flex-direction: column;
        gap: 20px;
    }

    .service-card {
        width: 100%;
        padding: 20px;
    }

    .row {
        flex-direction: column;
        gap: 20px;
    }

    .col {
        text-align: center;
    }

    .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .download-logo {
        width: 100%;
        text-align: center;
    }
}

/* Pour les écrans de taille moyenne (tablettes) */
@media (min-width: 769px) and (max-width: 1024px) {
    .mission-content {
        flex-direction: column;
        text-align: center;
    }

    .about-row,
    .about-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-container {
        flex-direction: column;
        gap: 20px;
    }

    .service-card {
        width: 100%;
    }

    .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .download-logo {
        width: 100%;
        text-align: center;
    }
}

/* Pour les écrans larges (ordinateurs de bureau) */
@media (min-width: 1025px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .services-container {
        flex-direction: row;
        gap: 30px;
    }

    .service-card {
        width: 48%;
    }

    .buttons {
        flex-direction: row;
        gap: 20px;
    }
}