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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f5f5f5;
}

header{
    background-color: #698bb7;
    width:100%;
    display:flex;
    justify-content: center;
}

#section_homepage {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-top:12vh;
}

h1 {
    width: 100%;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

figure {
    flex: 1;
    margin-right: 20px;
}

figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

#article_homepage {
    flex: 1;
    min-width: 300px;
    background-color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
}

h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

#article_homepage a {
    display: inline-block;
    background-color: #f0f0f0;
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

@media (max-width: 768px) {
    #section_homepage {
        flex-direction: column;
    }
    
    figure, #article_homepage {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
}


/* séction services --------- */

#section_services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    margin-top:13vh;
}

#section_services h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

#section_services article {
    flex: 1;
    min-width: 200px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#section_services article p:first-child {
    font-size: 2em;
    margin-bottom: 10px;
}

#section_services h3 {
    margin: 10px 0;
}

#section_services article p:last-child {
    flex: 1;
    display: flex;
    align-items: center;
}

/* ------------------------- */

#mission-statement {
    background-color: #f0f8ff; /* Bleu clair */
    padding: 60px 0;
    margin-top: 40px;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

#mission-statement h2 {
    color: #3268AE;
    font-size: 28px;
    margin-bottom: 20px;
}

#mission-statement p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

@media (max-width: 768px) {
    #mission-statement {
        padding: 40px 0;
    }

    #mission-statement h2 {
        font-size: 24px;
    }

    #mission-statement p {
        font-size: 14px;
    }
}



/* avis ----------------------- */



#section_avis {
    max-width: 80%;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top:200px;
}

#section_avis h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

/* Style des articles (témoignages) */
#section_avis article {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

#section_avis article figure {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    margin-bottom: 0;
}

#section_avis article img {
    width: 78px;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #ddd; /* Pour simuler une image */
}

#section_avis article h3 {
    margin: 0 0 10px 0;
    color: #444;
    width:203px;
}

#section_avis article p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* Media query pour les écrans plus petits */
@media (max-width: 600px) {
    #section_avis article {
        flex-direction: column;
        text-align: center;
    }

    #section_avis article figure {
        margin-right: 0;
        margin-bottom: 15px;
    }
}



/* --------------------------- */
#application-process, #faq {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#application-process h2, #faq h2 {
    color: #3268AE;
    text-align: center;
    margin-bottom: 30px;
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    margin: 10px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
}

.step h3 {
    color: #3268AE;
    margin-bottom: 10px;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

.faq-question {
    cursor: pointer;
    color: #3268AE;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .steps {
        flex-direction: column;
    }
}







/* footer------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

#h2wrapper{
    color: #B84BD6;
    font-size: 80px;
    font-family: var(--font-family-title);
}

footer {
    background-color: #3268AE;
    color: #ECF0F1;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    margin-top: 200px;
    width:100%;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background-color: #2d5484;
    transform: skewY(-3deg);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-section {
    flex: 1 1 100px;
    margin: 0 15px 30px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

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

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

.footer-section a {
    color: #ECF0F1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498DB;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #34495E;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: #ECF0F1;
}

address a {
    color: #ffffff;
    text-decoration: underline;
}

.social-links a:hover {
    background-color: #3498DB;
}

#map {
    height: 200px;
    width: 100%;
    border-radius: 8px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d5484;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    .footer-section {
        margin-bottom: 30px;
    }
}
