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

html {
    overflow-x: hidden;
}

body {
    font-family: "Outfit", sans-serif !important;
    overflow-x: hidden;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #f5f5f5;
    z-index: 11111111;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 80px;
    height: 80px;
    display: inline-block;
    position: relative;
}

.loader::after,
.loader::before {
    content: "";
    box-sizing: border-box;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid #cc829a;
    position: absolute;
    left: 0;
    top: 0;
    animation: animloader 2s linear infinite;
}

.loader::after {
    animation-delay: 1s;
}

@keyframes animloader {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* SIDE MENU START */
#sidebarMenu {
    height: 100dvh;
    position: absolute;
    right: 0;
    top: 95px;
    width: 250px;
    transform: translateX(250px);
    transition: all 250ms ease-in-out;
    background-color: #002261;
    z-index: 12;
}

.sidebarMenuInner {
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebarMenuInner li {
    list-style: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    padding: 20px;
    /* cursor: pointer; */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebarMenuInner li span {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

input[type="checkbox"]:checked ~ #sidebarMenu {
    transform: translateX(0);

    @media screen and (max-width: 500px) {
        width: 100%;
        height: max-content;
    }
}

input[type="checkbox"] {
    transition: all 0.3s;
    box-sizing: border-box;
    display: none;
}

.sidebarIconToggle {
    transition: all 0.3s;
    box-sizing: border-box;
    cursor: pointer;
    position: absolute;
    z-index: 99;
    height: 100%;
    width: 100%;
    top: 35px;
    right: 23px;
    /* height: 78px;
    width: 22px; */
    height: max-content;
    width: 30px;
    background-color: #092363;
    padding: 5px;
}

.spinner {
    transition: all 0.3s;
    box-sizing: border-box;
    position: absolute;
    height: 4px;
    width: 100%;
    background-color: #fff;
}

.horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 4px;
}

.diagonal.part-1 {
    position: relative;
    transition: all 0.3s;
    box-sizing: border-box;
    float: left;
}

.diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 4px;
}

input[type="checkbox"]:checked ~ .sidebarIconToggle > .horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    opacity: 0;
    margin-top: 3px;
}

input[type="checkbox"]:checked ~ .sidebarIconToggle > .diagonal.part-1 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(135deg);
    margin-top: 8px;
}

input[type="checkbox"]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(-138deg);
    margin-top: -11px;
}

/* SIDE MENU END */



.header {
    background-color: #f7f5f5;
    height: 6rem;
    z-index: 10;
    position: relative;

    & .header-content {
        padding-left: 1rem;
        padding-right: 4.5rem;
        display: flex;
        align-items: center;
        height: inherit;
        gap: 25px;

        & .logo img {
            width: 12.5rem;
        }

        & .phone {
            display: flex;
            align-items: center;

            & svg {
                width: 40px;
                height: 40px;
                color: white;
                background-color: #002261;
                padding: 10px;
                border-radius: 50%;
                z-index: 1;
            }

            & a {
                text-decoration: none;
                color: #002261;
                font-size: 0.85rem;
                font-weight: bold;
                background-color: #09236336;
                padding: 10px 10px 10px 40px;
                border-radius: 15px;
                margin-left: -27px;
            }
        }

        & .side-options {
            display: flex;
            gap: 20px;
            margin-left: auto;
            align-items: center;

            & a {
                background-color: #002261;
                color: white;
                text-decoration: none;
                position: relative;
                z-index: 2242;
                font-weight: bold;
                font-size: 1rem;
                padding: 8px;
                border: 1px solid #002261;
                border-radius: 15px;
                overflow: hidden;
                transition: all 0.2s;

                &:hover {
                    background-color: #002261b1;
                }

                &:first-of-type {
                    display: none;
                    background-color: white;
                    transition: all 0.2s;
                    color: #002261;

                    &:hover {
                        background-color: #002261;
                        color: white;
                    }
                }

                &:nth-of-type(2) {
                    background-color: white;
                    transition: all 0.2s;
                    color: #002261;

                    &:hover {
                        background-color: #002261;
                        color: white;
                    }
                }

                & > svg {
                    margin-bottom: -6px;
                }

                & :first-child {
                    color: red;
                }


            }

            & .search__container {
                & > input {
                    width: 1rem;
                    padding: 9px 21px;
                    background-color: transparent;
                    transition: transform 250ms ease-in-out;
                    font-size: 14px;
                    line-height: 18px;
                    color: #575756;
                    background-color: transparent;
                    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
                    background-repeat: no-repeat;
                    /* background-size: 18px 18px; */
                    background-position: 58% center;
                    border-radius: 50px;
                    border: 2px solid #002261;
                    transition: all 250ms ease-in-out;
                    backface-visibility: hidden;
                    transform-style: preserve-3d;

                    &::placeholder {
                        color: gray;
                        letter-spacing: 1px;
                        font-size: 0.8rem;
                        font-weight: 600;
                    }

                    &:hover,
                    &:focus {
                        width: 20rem;
                        padding: 12px 0;
                        outline: 0;
                        border: 1px solid transparent;
                        border-bottom: 1px solid #575756;
                        border-radius: 0;
                        background-position: 100% center;
                    }
                }
            }
        }
    }
}

.main {
    & .main-header {

        & .prix-ex {
            @media screen and (max-width: 900px) {
                height: 45rem !important;
            }

            @media screen and (max-width: 600px) {
                height: auto !important;
            }

            .head--left {
                img {
                    display: none;
                }

                background-image: linear-gradient(
                        to left,
                        rgba(0, 0, 0, 0.262),
                        rgba(0, 0, 0, 0.262)
                ),
                url('img/prix1.webp') !important;
                background-repeat: no-repeat;
                background-position: left !important;
                background-position-y: 75% !important;
                flex: auto;

                @media screen and (max-width: 1452px) {
                    background-position: center center !important;
                }

                @media screen and (max-width: 900px) {
                    height: 80% !important;
                }

                @media screen and (max-width: 600px) {
                    height: 100% !important;
                    background-image: none !important;

                    img {
                        display: block;
                        width: 100%;
                    }
                }
            }

            .head--right {
                justify-content: unset !important;
                flex-direction: column !important;
                flex: 1 !important;
                background-color: #ca983c !important;
                gap: 3rem !important;

                @media screen and (max-width: 1452px) {
                    gap: 5rem !important;
                }



                .top {
                    width: 100% !important;
                    display: flex;
                    align-items: center;
                    flex-direction: row-reverse;

                    @media screen and (max-width: 900px) {
                        display: none;
                    }

                    justify-content: space-between !important;

                    img {
                        width: 6rem;
                    }
                }

                .mid {
                    @media screen and (max-width: 900px) {
                        padding: 1rem 0;
                    }

                    @media screen and (max-width: 600px) {
                        height: auto !important;
                        padding: 0 0;
                    }

                    h2 {
                        font-size: 80px;
                        line-height: 1;

                        @media screen and (max-width: 1650px) {
                            font-size: 70px;
                        }

                        @media screen and (max-width: 1452px) {
                            font-size: 60px;
                        }

                        @media screen and (max-width: 1250px) {
                            font-size: 50px;
                        }

                        @media screen and (max-width: 1050px) {
                            font-size: 40px;
                        }

                        @media screen and (max-width: 600px) {
                            font-size: 28px;
                            margin-bottom: 5px;
                        }

                        @media screen and (max-width: 420px) {
                            font-size: 20px;
                        }
                    }

                    h3 {
                        font-size: 2rem;

                        @media screen and (max-width: 1250px) {
                            font-size: 1.6rem;
                        }

                        @media screen and (max-width: 600px) {
                            font-size: 1.2rem;
                        }

                        @media screen and (max-width: 420px) {
                            font-size: 1rem;
                        }
                    }
                }
            }
        }

        & .prix-ex2 {
            .head--left {
                background-image: linear-gradient(
                        to left,
                        rgba(0, 0, 0, 0.262),
                        rgba(0, 0, 0, 0.262)
                ),
                url('img/prix-excellence3.webp') !important;
            }

            .head--right {
                @media screen and (max-width: 1302px) {
                    gap: 3rem !important;
                }

                .top {
                    img {
                        width: 4rem !important;
                    }
                }

                .head--title {
                    font-size: 50px !important;

                    @media screen and (max-width: 1447px) {
                        font-size: 40px !important;
                    }

                    @media screen and (max-width: 600px) {
                        font-size: 28px !important;
                        margin-bottom: 15px !important;
                    }
                }

                h3 {
                    font-size: 28px !important;

                    @media screen and (max-width: 1302px) {
                        font-size: 22px !important;
                    }

                    @media screen and (max-width: 600px) {
                        font-size: 16px !important;
                    }
                }

                .mid {
                    @media screen and (max-width: 600px) {
                        padding: 10px 0 !important;
                    }
                }
            }
        }

        & .th2 {
            flex-direction: row-reverse;

            & .head--left {
                background-image: linear-gradient(
                        to left,
                        rgba(0, 0, 0, 0.262),
                        rgba(0, 0, 0, 0.262)
                ),
                url('img/formation.webp') !important;

                /* & a {
                  background-color: #5d522d !important;
                } */

                @media screen and (max-width: 900px) {
                    background-position: center !important;
                }
            }

            & .head--right {
                background-color: #182439 !important;

                & a {
                    background-color: green !important;
                }
            }
        }

        & .header-theme {
            display: flex;
            height: 30rem;

            @media screen and (max-width: 1300px) {
                height: 30rem;
            }

            @media screen and (max-width: 900px) {
                flex-direction: column;
                height: 38rem;
            }

            @media screen and (max-width: 600px) {
                height: 34rem;
            }

            & > div {
                flex: 0 0 50%;
            }

            & .head--left {
                background-image: linear-gradient(
                        to left,
                        rgba(0, 0, 0, 0.262),
                        rgba(0, 0, 0, 0.262)
                ),
                url('img/pic.webp');
                background-size: cover;
                background-position: center;

                @media screen and (max-width: 900px) {
                    background-position: unset;
                }

                @media screen and (max-width: 600px) {
                    flex: 0 0 40%;
                }

                & a {
                    background-color: #c22b2b;
                }
            }

            & .head--right {
                background-color: #182439;
                display: flex;
                justify-content: center;
                align-items: center;
                text-align: center;
                padding: 1rem;
                color: white;

                @media screen and (max-width: 600px) {
                    flex: 1;
                }

                & h2 {
                    padding-left: 1rem;
                    text-align: center;
                    font-size:2.8rem;

                    @media screen and (max-width: 900px) {
                        padding-left: 0;
                    }
                }

                & p {
                    font-size: 1.2rem;
                    padding: 0 1.5rem;
                    text-align: left;

                    @media screen and (max-width: 1300px) {
                        font-size: 1.1rem;
                    }

                    @media screen and (max-width: 600px) {
                        font-size: 1rem;
                        padding: 0 0.5rem;
                    }
                }

                & div div {
                    margin-top: 4rem;
                    transition: all 0.2s;

                    @media screen and (max-width: 900px) {
                        margin-top: 2rem;
                    }

                    &:hover {
                        transform: scale(1.1);
                    }
                }
            }
        }

        & .th3 {
            text-align: center;
            justify-content: center;
            align-items: center;
            color: white;
            background-image: linear-gradient(
                    to left,
                    rgba(0, 0, 0, 0.262),
                    rgba(0, 0, 0, 0.262)
            ),
            url('img/bglog.webp');
            background-size: cover;

            @media screen and (max-width: 900px) {
                flex-direction: row;
            }

            & > div {
                flex: 0 0 90%;
            }

            & h2 {
                margin-bottom: 3rem !important;
                text-align: center;

                @media screen and (max-width: 1300px) {
                    font-size: 2.5rem;
                }

                @media screen and (max-width: 900px) {
                    font-size: 2rem;
                }

                @media screen and (max-width: 550px) {
                    font-size: 1.5rem;
                }
            }

            & .head--link {
                background-color: #d75a00;
                transition: all 0.5s !important;

                &:hover {
                    transform: scale(1.1) !important;
                }
            }
        }
    }

    & .services {
        padding: 100px 15px;
        position: relative;

        background-image: linear-gradient(
                to left,
                rgba(255, 255, 255, 0.97),
                rgba(255, 255, 255, 0.97)
        ),
        url('img/serv1.webp');

        @media screen and (max-width: 600px) {
            background-size: contain;
            background-image: linear-gradient(
                    to left,
                    rgba(255, 255, 255, 0.94),
                    rgba(255, 255, 255, 0.94)
            ),
            url('img/serv1.webp');
        }

        & > .des {
            text-align: center;
            margin-bottom: 2.8rem;

            & > h1 {
                font-size: 2.5rem;

                @media screen and (max-width: 900px) {
                    font-size: 2rem;
                }

                @media screen and (max-width: 600px) {
                    line-height: 1.1;
                    margin-bottom: 0.8rem;
                    font-size: 1.8rem;
                }
            }

            & p {
                font-size: 1.2rem;

                @media screen and (max-width: 900px) {
                    font-size: 1.05rem;
                }
            }
        }
    }

    & .services-cards {
        display: grid;
        grid-template-areas:
      "n1 n2"
      "n3 n4";
        justify-content: center;
        gap: 2rem;
        padding: 1rem;

        @media screen and (max-width: 900px) {
            grid-template-areas:
        "n1"
        "n2"
        "n3"
        "n4";

            grid-template-columns: 80%;
        }

        @media screen and (max-width: 600px) {
            grid-template-columns: 100%;
        }

        & .service-card {
            padding: 16px 20px 6px;
            background: #e1d8d8;
            border-radius: 20px;
            box-shadow: 7px 7px 12px rgb(217 212 212 / 49%),
            -7px -7px 12px rgb(254 254 254 / 91%);
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: all 0.2s;

            &:hover {
                transform: scale(1.1);
                background-color: #002261;
                color: white;
            }

            & .title {
                margin-bottom: 20px;
                text-align: center;


            }
        }

        & a {
            text-decoration: none;
            color: #002261;

            &:first-child {
                grid-area: n1;
            }

            &:nth-child(2) {
                grid-area: n2;
            }

            &:nth-child(3) {
                grid-area: n3;
            }

            &:nth-child(4) {
                grid-area: n4;
            }


        }
    }

}


.head--link {
    text-decoration: none;
    background-color: #c22b2b;
    color: white;
    padding: 8px 30px;
    margin-top: 1rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.3rem;
    filter: drop-shadow(0 4.53px 4.53px rgba(0, 0, 0, 0.25));
    box-shadow: 0 1rem 2rem hsl(0 0% 0% / 20%);

    @media screen and (max-width: 600px) {
        font-size: 1rem;
    }

    & svg {
        margin-bottom: -5px;
        color: darkgray;
    }
}

.head--title {
    text-align: left;
    line-height: 48px;
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 4.53px 4.53px rgba(0, 0, 0, 0.25));

    @media screen and (max-width: 1300px) {
        font-size: 2rem;
        /* line-height: 38px; */
    }

    @media screen and (max-width: 600px) {
        /* line-height: 28px; */
        font-size: 1.5rem;
    }
}

.custom-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5em;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);

    &:not(:first-child) {
        margin-left: 1rem;
    }

    &:before,
    &:after {
        position: absolute;
        content: "";
        border-bottom: 3px solid white;
        border-radius: 1em;
        bottom: 0.3em;
        transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    }

    &:before {
        width: 1em;
        transform-origin: left;
    }

    &:after {
        width: 82%;
        left: 1em;
        transform: translateX(110%);
    }

    &:hover:before {
        transform: scaleX(0.3);
    }

    &:hover:after {
        transform: translateX(0);
    }
}


.footer {
    background-color: white;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    & .footer-links {
        & ul {
            align-self: center;
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 3rem;
            
            @media screen and (max-width: 501px) {
                flex-direction: column;
                align-items: center;
            }

            & li:last-child {
                & > a {
                    color: #d75a00;

                    &::after,
                    &::before {
                        border-bottom: 3px solid #d75a00;
                    }
                }
            }

            .custom-link {
                color: #002261;

                &::after,
                &::before {
                    border-bottom: 3px solid #002261;
                }
            }

            & a {
                text-decoration: none;
                font-size: 1.1rem;
            }
        }
    }

    & .logo img {
        width: 12rem;
    }
}


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

@media screen and (max-width: 1260px) {
    .footer {
        flex-direction: column;
        gap: 1rem;

        & .footer-links {
            margin-bottom: 2rem;
        }
    }
}

@media screen and (max-width: 990px) {
    .side-options {
        .search__container {
            display: none;
        }

        & a {
            display: none;

            &:first-of-type {
                display: block !important;
            }
        }
    }
}

@media screen and (max-width: 770px) {
    .footer {
        & .footer-links {
            & ul {
                flex-wrap: wrap;
            }
        }
    }

    .questions {
        & ul {
            grid-template-columns: 300px;
            list-style: none;
        }
    }
}

@media screen and (max-width: 700px) {
    .header {
        & .header-content {
            & .phone {
                display: none;
            }

            & .logo img {
                width: 10rem;
            }
        }
    }
}

/* NOTIFICATIONS EVENT */

.affiche-container {
    display: none;
    position: fixed;
    bottom: 3%;
    right: 10px;
    z-index: 222;
}

.aff-content {
    .card {
        max-width: 320px;
        border-width: 1px;
        border-color: rgba(219, 234, 254, 1);
        border-radius: 1rem;
        background-color: rgb(243 243 243);
        padding: 1rem;
    }

    .head {
        display: flex;
        align-items: center;
        grid-gap: 1rem;
        gap: 1rem;
    }

    .icon {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 9999px;
        background-color: rgb(9 35 99);
        padding: 0.5rem 1rem;
        gap: 1rem;
        color: rgba(255, 255, 255, 1);
        font-weight: 700;
    }
    .closeButton {
        border: none;
        margin-left: auto;
        border-radius: 50%;
        font-size: 1rem;
        height: 2rem;
        width: 2rem;
        line-height: 3px;
        background-color: rgba(230, 25, 25, 1);
        color: white;
        transition: background-color ease 0.25s;
        cursor: pointer;
    }
    .closeButton:hover {
        background-color: rgb(159, 35, 35);
        color: white;
    }
    .icon i {
        font-size: 1.5rem;
    }

    .message {
        margin-top: 1rem;
        color: rgba(107, 114, 128, 1);

        .bold {
            margin-top: 5px;
            font-weight: bold;
        }
    }

    .actions {
        margin-top: 1.5rem;
        text-align: center;
    }

    .read {
        display: inline-block;
        border-radius: 0.5rem;
        width: 100%;
        padding: 0.75rem 1.25rem;
        text-align: center;
        font-size: 0.875rem;
        line-height: 1.25rem;
        font-weight: 600;
        text-decoration: none;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        transition: all 0.2s;
    }

    .read:hover {
        background-color: rgb(38, 68, 115);
        color: white;
    }

    .actions {
        display: none;
    }
}

/* STICKY HEAD*/
.fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    background-color: #f7f7f7;
    z-index: 2;
    width: 100%;
    transition: all .3s ease-in;
}