/***
=============================================
   Top section
=============================================
***/
.breadcrumb{
    margin-top:-70px;
}
.imageWithAnimation {
    width: 43%;
    display: flex;
    justify-content: center;
    position: relative;
    top: -210px;
}
.imageWithAnimation img{
    width: 100%;
}
.imageWithAnimation.certif img{
    width: 75%;
}
.imageWithAnimation svg {
    position: absolute;
    top: -142px;
}
.imageWithAnimation .svg1 {
    width: 600px;
    height: 656px;
    z-index: 3;
}
.imageWithAnimation .svg2 {
    width: 760px;
    height: 660px;
    z-index: 1;
}
.imageWithAnimation .bigImgTop,
.imageWithAnimation .bigImgBottom {
    position: absolute;
    width: 100%;
    top: -74px;
}
.imageWithAnimation .bigImgTop {
    z-index: 3;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}
.imageWithAnimation .bigImgBottom {
    z-index: 1;
    clip-path: polygon(0 50%, 100% 30%, 100% 100%, 0 100%);
}

.thm-btn.hero {
    margin-left: 45px;
}
.containerB.topsection {
    margin-bottom: 0px;
    /* padding: 127px 0; */
}
.topSection.home .image {
    position: relative;
    width: 84%;
    text-align: right;
    height: 295px;
}
.topSection.home {
    padding: 83px 0 96px 0;
}
.topSection {
    width: var(--rn-width1);
    margin: auto;
    display: flex;
    align-items: center;
    gap: 42px;
    padding: 75px 0 69px 0;
    overflow: hidden;
    position: relative;
}
.topSection .image img {
    width: 100%;
}
.topSection .titleAndBtn {
    width: 43%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}
.topSection .image {
    width: 45%;
}
.topSection .titleTopSection {
    font-size: 38px;
    font-family: "PoppinsBold";
    /* text-transform: uppercase; */
    line-height: 50px;
    margin-bottom: -25px;
    margin-top: -10px;
}
.topSection .titleTopSection span {
    color: var(--red);
}
.topSection .underTitle {
    font-family: "PoppinsRegular";
    font-size: 20px;
    text-align: left;
}
.topSection .titleTopSection{
    text-align: left;
}
.container .underTitle {
    font-family: "PoppinsRegular";
    font-size: 20px;
}

@media (max-width: 1300px) {
    /*+++++++++++++++++++++++++++++++++++++++++++
    topSection
    ++++++++++++++++++++++++++++++++++++++++++++*/
    .topSection .titleTopSection {
        font-size: 38px;
        line-height: 55px;
    }
    .topSection {
        padding: 75px 0 55px 0;
    }
    .topSection.home .image {
        height: 266px;
    }
    .topSection .titleAndBtn {
        gap: 10px;
    }

    .topSection.contact {
        padding: 79px 0 42px 0;
    }
}
@media (max-width: 900px) {
    /*+++++++++++++++++++++++++++++++++++++++++++
    topSection
    ++++++++++++++++++++++++++++++++++++++++++++*/
    .topSection {
        padding: 118px 0 128px 0;
                padding: 118px 0 128px 0;
        display: flex
;
        gap: 22px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .topSection .image {
        width: 45%;
    }
    .topSection .titleAndBtn {
        width: 50%;
    }
    .topSection .titleTopSection {
        font-size: 40px;
        line-height: 50px;
    }
}
@media (max-width: 700px) {
    .topSection .titleTopSection{
    text-align: center;
}
    /*+++++++++++++++++++++++++++++++++++++++++++
    topSection
    ++++++++++++++++++++++++++++++++++++++++++++*/
        .titleAndBtn .btn-box .thm-btn.red.w {

        top: 56px;
        width: 165px;
    }
    .topSection {
        flex-direction: column;
        padding: 118px 0 275px 0;
    }
    .topSection .titleAndBtn {
        align-items: center;
        width: 100%;
    }
    .topSection .image {
        width: 100%;
    }
    .topSection.home .image {
        height: 22px;
        width: 100%;
    }
    .certif img {
        width: 109px;
    }
    .thm-btn.home {
        bottom: -56px;
    }
    .topSection .titleTopSection {
        font-size: 35px;
        line-height: 40px;
    }
}
.section-communication-maroc {
    padding: 60px 20px;

    text-align: center;
}

.content-wrapper-maroc {
    max-width: 1100px;
    margin: 0 auto;
}

.slogan-maroc {
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #020000;
    margin-bottom: 10px;
}

.main-title-maroc {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
}

.sub-title-maroc {
    font-style: italic;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #000000;
}

.fadeWord {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.5s ease;
}
.fade-out {
  opacity: 0;
}

.description-maroc {
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 50px;
}

.features-container-maroc {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .features-container-maroc {
        flex-direction: row;
        justify-content: space-between;
    }
}

.feature-maroc {
    flex: 1;
    padding: 0 20px;
    border-right: 1px solid #1f2e43;
}

.feature-maroc:last-child {
    border-right: none;
}

.icon-maroc {
    font-size: 4.5rem;
    color: #e63946;
    margin-bottom: 10px;
}

.feature-title-maroc {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature-text-maroc {
    font-size: 0.95rem;
    color: #110404;
}

.about {
    margin: auto;
    color: #1e1e1e;
    background-color: #ffffff;
}

.about-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;

    margin-bottom: 3rem;
}

.intro-card {
    flex: 1;
    background-color: #000000;
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    min-width: 300px;
    max-width: 500px;
}

.intro-card h2 {
    font-style: italic;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.intro-card .logo {
    margin-top: 1rem;
    height: 40px;
}

.vision-mission {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 300px;
}

.vision,
.mission {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.09);
}

.vision h3,
.mission h3 {
    color: #00112b;
}

.history {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 15px 0;
}

.history h2 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.history h3 {
    font-style: italic;
    margin-bottom: 1rem;
}

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

    .vision-mission {
        flex-direction: column;
    }
    .topSection .underTitle {

    text-align: left;
}
}

@media (max-width: 500px) {

    .topSection .titleTopSection {
        font-size: 28px;
        line-height: 34px;
    }
    .topSection.home {
        padding: 120px 0 170px 0;
    }

}


/***louhab buttons**/
@media (max-width: 700px) {
    .topSection .underTitle {

    text-align: center;
}
     .section-subtitleleft{
        align-items: center;
    }
    .btn-box {
    display: flex;
    gap: 23px;
    /* width: 240px; */
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: center;
    }
    .titleAndBtn .btn-box {
        margin-bottom: 20px;
    }


    .thm-btn {
         display: flex;
        gap: 10px;
        width: 61%;
        box-sizing: border-box;
    }
}



@media(max-width: 1300px){
    /*------------pourquoi atirao-------------*/
    .imageWithAnimation .svg1 {
        width: 445px;
    }
    .imageWithAnimation .svg2 {
        width: 510px;
    }
    .imageWithAnimation .bigImgTop, .imageWithAnimation .bigImgBottom {
        top: 90px;
    }
    .left-column h2 {
        font-size: 30px;
    }
    .imageWithAnimation  {
        top: -100px;
    }    
}
