@import url("https://fonts.googleapis.com/css2?family=Iceberg&family=Montserrat:wght@400;500&family=Raleway:wght@400;700&family=Roboto:wght@400;900&display=swap");
/* UNIVERSAL STYLES CODE CSS */
:root {
    --primary-color: #0d1b5e;
    --secondary-color: #ff7c00;
    --font-family-barlow: "Barlow", sans-serif;
    --font-family-monserrat: "Montserrat", sans-serif;
}

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

html {
    font-family: var(--font-family-barlow);
}
body {
    width: 100%;
}

.main-color {
    color: var(--primary-color) !important;
}

.bg-main-color {
    background-color: var(--primary-color) !important;
}

.second-color {
    color: var(--secondary-color);
}

.bg-second-color {
    background-color: var(--secondary-color);
}

.bg-beige {
    background-color: #fffff0;
    width: 20.1875rem;
    height: auto;
    flex-shrink: 0;
    border-radius: 1.375rem;
}

.border-second-color {
    border: 0.5px solid var(--secondary-color) !important;
}

.bg-box-program {
    background-color: #f5f2f2;
}

.content h1 {
    color: var(--primary-color);
    font-family: var(--font-family-barlow);
    font-size: 2.45rem;
    text-transform: uppercase;
    font-weight: bold;
}

.content .line {
    width: 70px;
    height: 8px;
    flex-shrink: 0;
    background: var(--secondary-color);
}

.text-banner p {
    font-family: var(--font-family-barlow);
    font-weight: 500;
    color: #474747c9;
    font-size: 0.88rem;
}

.text-banner p a {
    text-decoration: none;
    color: #0d1b5e;
}

.text-banner p span {
    display: inline;
    text-transform: capitalize;
}

/* Contact details */
.header-informations {
    padding: 27px 0;
}

.logo-container {
    width: 100%;
    max-width: 88px;
    height: auto;
    position: relative;
}

.header .header-informations .logo-container img {
    max-width: 100px;
    min-width: 50px;
    width: 100%;
    position: absolute;
    top: -44px;
}

.header-information-item p {
    padding: 0;
    margin: 0;
    color: var(--primary-color);
    font-family: var(--font-family-barlow);
}

.header-information-item p:last-child:hover {
    color: var(--secondary-color);
}

/* Navbar */
.bg-navbar {
    background: var(--primary-color);
}

.bg-navbar .nav-item {
    margin-right: 10px;
}

.bg-navbar .nav-link {
    color: #fffff0;
    text-shadow: 1px 1px 3px rgb(5, 5, 5);
    font-family: var(--font-family-barlow);
    font-weight: 400;
    font-size: 1.05rem;
}

.bg-navbar .nav-link:hover,
.bg-navbar .active,
.bg-navbar .nav-link:focus {
    color: var(--secondary-color);
    transition: color ease 0.5s;
}

.bg-navbar .navbar-brand {
    color: #fffff0;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-family: "Iceberg", cursive;
    font-size: 2.25rem;
    font-weight: 400;
    display: none;
}

.bg-navbar .navbar-toggler {
    padding: 0;
    border: 0;
}
.bg-navbar .navbar-brand span {
    color: var(--secondary-color);
}

/* Banner */
.banner {
    margin: 0 auto;
    padding: 40px 0 0;
}

.banner-content {
    width: 100%;
    min-height: 310px;
    height: 100%;
    font-family: var(--font-family-barlow);

    position: relative;
}

.banner-content h1 {
    color: var(--primary-color);
    text-shadow: 0px 0px 5px rgba(48, 48, 48, 0.34);
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 1.7px;
    font-family: var(--font-family-barlow);
}

.banner-content p {
    color: #474747;
    font-size: 0.8745rem;
    font-weight: 400;
    max-width: 330px;
    width: 100%;
    margin-bottom: 90px;
    line-height: 139.9%; /* 27.98px */
}

.banner-content .btn-banner {
    display: flex;
    gap: 9px;
    position: absolute;
    width: 300px;
}

.banner-content .btn-banner a {
    width: 100%;
    max-width: 135px;
    min-width: 135px;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    color: #fffff0;
    cursor: pointer;
}

.banner-image {
    position: relative;
    max-width: 500px;
    width: 100%;
    min-height: 310px;
    height: 100%;
}

.banner-image img {
    object-fit: cover;
    margin-top: -40px;
}

/* Buttons */
.btn-more {
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0.05, #0d1b5e),
        color-stop(1, #203380)
    );
    background: -moz-linear-gradient(top, #0d1b5e 5%, #203380 100%);
    background: -webkit-linear-gradient(top, #0d1b5e 5%, #203380 100%);
    background: -o-linear-gradient(top, #0d1b5e 5%, #203380 100%);
    background: -ms-linear-gradient(top, #0d1b5e 5%, #203380 100%);
    background: linear-gradient(to bottom, #0d1b5e 5%, #203380 100%);
    background-color: #0d1b5e;
    max-width: 150px;
    min-width: 110px;
    width: 100%;
    min-height: 20px;
    max-height: 40px;
    height: 100%;
}

.btn-more:hover {
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0.05, #203380),
        color-stop(1, #0d1b5e)
    );
    background: -moz-linear-gradient(top, #203380 5%, #0d1b5e 100%);
    background: -webkit-linear-gradient(top, #203380 5%, #0d1b5e 100%);
    background: -o-linear-gradient(top, #203380 5%, #0d1b5e 100%);
    background: -ms-linear-gradient(top, #203380 5%, #0d1b5e 100%);
    background: linear-gradient(to bottom, #203380 5%, #0d1b5e 100%);
    background-color: var(--primary-color);
    color: #fffff0;
    text-decoration: none;
}

.btn-more {
    text-decoration: none;
    font-family: var(--font-family-barlow);
    color: #fffff0;
    width: 100%;
    max-width: 135px;
    min-width: 135px;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
}

.btn-admission {
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0.05, #ff7b00),
        color-stop(1, #ed7a1d)
    );
    background: -moz-linear-gradient(top, #ff7b00 5%, #ed7a1d 100%);
    background: -webkit-linear-gradient(top, #ff7b00 5%, #ed7a1d 100%);
    background: -o-linear-gradient(top, #ff7b00 5%, #ed7a1d 100%);
    background: -ms-linear-gradient(top, #ff7b00 5%, #ed7a1d 100%);
    background: linear-gradient(to bottom, #ff7b00 5%, #ed7a1d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff7b00', endColorstr='#ed7a1d',GradientType=0);
    background-color: #ff7b00;
}

.btn-admission:hover {
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0.05, #ed7a1d),
        color-stop(1, #ff7b00)
    );
    background: -moz-linear-gradient(top, #ed7a1d 5%, #ff7b00 100%);
    background: -webkit-linear-gradient(top, #ed7a1d 5%, #ff7b00 100%);
    background: -o-linear-gradient(top, #ed7a1d 5%, #ff7b00 100%);
    background: -ms-linear-gradient(top, #ed7a1d 5%, #ff7b00 100%);
    background: linear-gradient(to bottom, #ed7a1d 5%, #ff7b00 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed7a1d', endColorstr='#ff7b00',GradientType=0);
    background-color: #ed7a1d;
    color: #fffff0;
    text-decoration: none;
}

/* Admission step */
#admission-step {
    background-color: var(--primary-color);
    font-family: inherit;
    color: #fff;
    margin-bottom: 5%;
}

.admission-content {
    padding: 1rem;
}
.admission .adm {
    padding: 1rem;
}

.admission .adm h2 {
    font-size: 2.125rem;
    font-weight: 700;
}

.admission .adm p .formular {
    font-family: var(--font-family-barlow);

    color: var(--secondary-color);
    font-weight: 600;
    font-style: normal;
    font-size: 1.2rem;
}

.admission-content .step-box div {
    width: 100%;
    margin-right: 1rem;
}

.admission div h2 {
    font-size: 3.125rem;
    font-weight: 700;
    position: relative;
}

.admission h2,
.admission span {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.admission-content .desc {
    margin-bottom: 0px;
    font-size: 0.886rem;
    font-weight: 400;
}

.admission h2 {
    font-size: 2.0023rem;
    font-weight: 400;
}

.formular {
    text-align: center;
    font-family: var(--font-family-barlow);
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.formular a {
    padding-left: 15px;
}

.admission-content span {
    width: 2px;
    height: 40px;
    background: #d9d9d9;
    margin-bottom: 0px;
}

.whatsapp {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 100%;
    position: relative;
    bottom: -50%;
}

.whatsapp a {
    color: #f5f2f2;
    background-color: var(--primary-color);
    padding: 5px;
    text-decoration: none;
}
.whatsapp a:hover {
    color: #fff;
    text-decoration: none;
}

#about .about-box .text {
    position: relative;
    width: 100%;
}

.vertical-bar {
    width: 3px;
    height: 54px;
    background-color: #ff7c00;
}

.title {
    color: var(--primary-color);
    font-family: var(--font-family-barlow);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0;
}

.contact-home,
.electronic-contact {
    text-align: center;
    font-size: 1.1rem;
    font-family: var(--font-family-barlow);
    color: #0d1b5e;
    text-align: center;
    font-weight: 600;
}

.contact-form {
    height: auto;
    width: 100%;
    margin: auto;
}

.contact-form .form-section {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    gap: 30px;
    width: 100%;
}

.contact-form .form-section div {
    margin-right: 0px;
}

.contact-home p span,
.electronic-contact p span {
    color: #0d1b5e;
    font-weight: 400;
}

.message {
    color: #0d1b5e;
    font-family: var(--font-family-barlow);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 158.4%; /* 31.68px */
    width: 39%;
}

.horizontal-line {
    width: 100%;
    height: 9px;
    flex-shrink: 0;
    background: #ed7a1d;
}

/* Programs section */
#programs,
#teachers,
#events,
#partners {
    margin-top: 7%;
}

#programs,
#about,
#events {
    padding: 5% 0;
}

#about p,
#programs p {
    font-family: var(--font-family-barlow);
    font-size: 1rem;
    line-height: 190.523%; /* 28.884px */
    margin-bottom: 1rem;
    color: #474747;
    width: 95%;
}

#programs img,
#about .container img {
    width: 44%;
    max-width: 450px;
}

.programs-content {
    font-family: var(--font-family-barlow);
    color: #474747;
    line-height: 36px;
    overflow: hidden;
}

.programs-content h2,
.programs-content h3 {
    color: var(--primary-color);
    font-family: var(--font-family-barlow);
    font-weight: 500;
}

.title-programs {
    font-family: var(--font-family-barlow);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.13125rem;
}

.items-prog li {
    font-family: var(--font-family-barlow);
    font-size: 0.9375rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.09844rem;
}

/* Teachers section */
.bg-banner {
    background-image: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.977),
            rgba(253, 252, 252, 0.372)
        ),
        url("../images/banner.png");
    width: 100%;
    object-fit: cover;
    max-height: 380px;
    min-height: 300px;
    height: 100%;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    opacity: 1.2;
}

.description {
    text-align: center;
    margin: 0 auto;
}

#teachers .description h2 {
    color: #0d1b5e;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: var(--font-family-barlow);
}

#teachers .description p {
    color: #474747;
    font-size: 0.975rem;
    font-weight: 400;
    font-family: var(--font-family-barlow);
    width: 60%;
    margin: 0 auto;
    line-height: 170.9%; /* 1.49538rem */
}

.__box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.__slide-container {
    max-width: 1120px;
    width: 100%;
    padding: 40px 0 !important;
}

.__slide-content {
    overflow: hidden;
    border-radius: 10px;
    padding: 20px;
}

.swiper-navBtn {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

.swiper-navBtn:hover {
    color: var(--secondary-color) !important;
}

@media screen and (min-width: 280px) {
    .swiper-navBtn {
        display: none !important;
    }
}

.swiper-navBtn::before,
.swiper-navBtn::after {
    font-size: 40px;
}

.swiper-pagination-bullet {
    background-color: var(--primary-color) !important;
}

.__card-wrapper .__card {
    /* border-radius: 10px; */
    background-color: #ffffff;
    box-shadow: 0px 0px 10px #efefef;
}

.__image-content,
.__card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.__image-content {
    position: relative;
    padding: 30px;
}

.__overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #0d1b5e;
    border-radius: 0px 0px 0 10px;
}

.__overlay::before,
.__overlay::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -40px;
    height: 40px;
    width: 40px;
    background-color: #0d1b5e;
    z-index: 1;
}

.__overlay::after {
    border-radius: 0 25px 0 0;
    background-color: #fff;
}
.__card-image {
    position: relative;
    height: 110px;
    width: 110px;
    border-radius: 50%;
    /* background: var(--secondary-color); */
    padding: 5px;
}
.__card-image .__card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
}

.__card-content {
    padding: 1.4545rem 0;
}
.__card-content .__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    z-index: 999;
}

.__card-content .__description {
    font-size: 0.84rem;
    color: #474747;
    text-align: center;
}

/* Events */
#events {
    width: 100%;
    height: auto;
}

#events .__events-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.25rem;
    font-weight: 700;
    font-family: var(--font-family-barlow);
    margin: 0 auto 0 auto;
}

.__box-event {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.__events-container-slide {
    max-width: 1120px;
    width: 100%;
    padding: 40px 0 !important;
}

.__event-slide {
    overflow: hidden;
    padding: 20px;
    /* border: 1px solid #000; */
}
.__events-wrapper .__events-container {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    box-shadow: 0px 0px 10px #efefef;
    max-width: 500px !important;
    width: 100%;
    min-height: 170px;
    max-height: 230px;
    height: 100%;
    position: relative;
}

.__events-wrapper .__events-container img {
    min-width: 100px;
    max-width: 150px;
    width: 100%;
    min-height: 170px;
    margin-right: 10px;
    object-fit: cover;
}

.__events-wrapper .__events-container .__events-content .__tag {
    color: var(--primary-color);
    font-size: 0.4rem;
    background-color: #fff;
    padding: 2px 4px;
    font-weight: 600;
    border-radius: 15px;
    position: absolute;
    top: 5px;
}
.__events-wrapper .__events-container .__events-content .__title {
    font-size: 0.9rem;
    text-shadow: none;
    color: #f5f2f2;
    font-family: var(--font-family-barlow);
}

.__events-wrapper .__events-container .__events-content .__events-date {
    font-size: 0.6rem;
    font-family: var(--font-family-barlow);
}

.__events-wrapper .__events-container div p {
    font-family: var(--font-family-barlow);
    font-size: 1rem;
    color: #f5f2f2;
    margin-bottom: 1.6rem;
}

.__events-wrapper .__events-container div a {
    text-decoration: none;
    color: #fffff0;
    font-size: 0.7rem;
    font-family: var(--font-family-barlow);
}
.__events-wrapper .__events-container div a:hover {
    text-decoration: underline;
}

/* PARTNERS */
#partners {
    width: 100%;
    padding-bottom: 5%;
}

#partners h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    font-family: var(--font-family-barlow);
    margin: 4% auto 7% auto;
}

#partners img {
    width: 15% !important;
    min-width: 120px;
    height: 15% !important;
    object-fit: cover;
}

/* Tesmonials */
.__testimonials {
    width: 100%;
    margin-top: 20%;
    font-family: var(--font-family-barlow);
    color: #fffff0;
}

.__testimonials .__heading h2 {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
}

.__testimonials .__heading h2 span {
    color: var(--secondary-color);
}

.__testimonials .__testimonials-content {
    background-color: var(--primary-color);
    position: relative;
    margin: 5% auto;
    padding: 80px;
}

.__testimonials .__testimonials-content p {
    font-size: 15px;
    line-height: 2;
    color: #fffff0;
    margin: 20px 0;
    padding: 0;
}

.__testimonials .__testimonials-content .carousel-inner .carousel-item .__team {
    width: 100px;
    height: 100px;
    border: 2px solid var(--secondary-color);
    border-radius: 100%;
    padding: 5px;
    margin: 50px 0 15px;
}

.__testimonials .__testimonials-content .carousel-inner .carousel-item h3 {
    font-size: 20px;
    font-weight: 600;
}

.__testimonials .__testimonials-content .carousel-inner .carousel-item h4 {
    font-size: 14px;
    font-weight: 300;
    color: #fffff0;
    margin-bottom: 20px;
}

.__testimonials
    .__testimonials-content
    .carousel-inner
    .carousel-item
    .__testimonial-date {
    margin-top: 2rem;
    margin-bottom: 4rem;
    color: #fffff0;
    font-family: var(--font-family-barlow);
    font-size: 0.834rem;
}

.__testimonials .__testimonials-content .papper-testimonials-top {
    margin-bottom: 30px;
}

.__testimonials .__testimonials-content .papper-testimonials-top img {
    width: 100%;
    height: 8%;
    object-fit: cover;
    position: absolute;
    left: 0;
    right: 0;
    transform: rotate(180deg);
    top: -2px;
}

/* ADMISSION SECTION */
#admission {
    margin-top: 10%;
    font-family: var(--font-family-barlow);
}

.admission-info {
    color: #0d1b5e;
}

.admission-info .inscription {
    font-size: 2rem;
    width: 100%;
    margin: 0 auto 80px 0;
    font-size: 2.3rem;
    text-transform: uppercase;
}

.admission-info .piece-box {
    display: flex;
    position: relative;
    margin-bottom: 20px;
    margin-top: 50px;
}

.admission-info .bullet {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: #e87100;
}

.admission-info .piece-box .piece {
    color: #0d1b5e;
    font-weight: 600;
    width: 400px;
    margin-left: -30px;
}

.admission-info .piece-box .piece.piece-subject {
    width: 300px;
    text-transform: uppercase;
}

.admission-info ul,
.admission-info ol {
    margin-left: 18px;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* FOOTER SECTION */
footer {
    background-color: #0d1b5e;
    color: #fffff0;
    margin-top: 15%;
    font-family: var(--font-family-barlow);
    position: relative;
}

footer .papper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    transform: rotate(180deg);
    top: -2px;
    margin-bottom: 1.2rem;
}

footer h3 {
    color: #fffff0;
    font-family: var(--font-family-barlow);
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 131.836%; /* 21.094px */
    margin-bottom: 1.5rem;
}

footer ul {
    padding-left: 0px;
}

footer li {
    list-style-type: none;
}

footer a,
footer p {
    text-decoration: none;
    font-family: var(--font-family-barlow);
    font-size: 0.9rem;
    font-weight: 400;
    color: #fffff0;
    font-weight: 300;
}

footer a {
    line-height: 1.9rem;
}

footer a:hover {
    color: #ed7a1d;
    transition: color 0.5s ease-in-out;
    text-decoration: underline;
}

.enst-pages ul li {
    line-height: 32px;
}

.enst-pages .info .logo img {
    width: 146px;
    height: auto;
}

.info .logo ul li a i {
    font-size: 0.3rem;
}

.info .address {
    margin-left: 2rem;
}

.info .address .contact a {
    color: var(--secondary-color);
}
.info .address p i {
    font-size: 1.2rem;
    margin-right: 0.3rem;
}
.enst-pages .info .logo ul {
    margin-top: 1rem;
}
.enst-pages .info .logo ul li a i {
    font-size: 2rem;
}

.copyright {
    text-align: center;
    font-weight: 400;
}

.copyright p {
    font-size: 12px;
    color: #fffff0c1;
}

i {
    color: #fffff0;
}

i:hover {
    color: #ffffffe7;
}

/* POPUP OVERLAY */

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px 40px;
    background-color: #061147;
    width: 70%;
    height: 80%;
    overflow-y: scroll;
    color: #efefef;
    max-width: 1100px;
    border-radius: 15px;
    line-height: 1.8;
    font-family: "Barlow", sans-serif;
}

.popup-content .popup-content-box h2 {
    margin-top: 10px;
}

.popup-content .line-hr {
    width: 100%;
    border: 0;
    height: 1px;
    background-color: #fff;
    margin-bottom: 10px;
}

.popup-content .tag_close {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-top: -20px;
    position: relative;
}
.popup-content .tags {
    display: inline-block;
    font-size: 0.5rem;
    background-color: #ffffff;
    font-weight: 400;
    border-radius: 25px;
    color: #474747;
    padding: 1px 5px;
    margin-bottom: 15px;
}
.close-btn {
    font-size: 32px;
    cursor: pointer;
    position: absolute;
    right: 1.7%;
    top: -2%;
    /* top: 3%; */
}

.popup-content .popup-content-box {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    gap: 10px;
}

.popup-content .popup-content-box img {
    max-width: 118px;
    max-height: 250px;
    min-height: 120px;
    object-fit: cover;
    width: 50%;
    height: 100%;
    border: 1px solid #474747;
}

.popup-content a {
    color: #fffff0;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 5px;
    display: inline-block;
}

.popup-content a:hover {
    text-decoration: none;
    color: var(--primary-color);
    transform: translateY(-5px);
}
/* ______________________________________________________________________ */
/* Media Queries */
/* ______________________________________________________________________ */

/* For small screens */
/* Iphone SE */
@media screen and (max-width: 767px) {
    .banner-content {
        width: 100%;
        left: 0%;
        text-align: center;
    }

    .banner-content h1 {
        font-size: 1.6rem;
    }

    .banner-content p {
        width: 100%;
    }

    .banner-content .btn-more,
    .banner-content .btn-admission {
        width: 90%;
    }

    .banner-image {
        display: none;
        /* width: 40% !important;
        margin: 0 auto; */
    }

    .bg-navbar .navbar-brand {
        display: inline-block;
    }
}

@media only screen and (max-width: 860px) {
    .text-box-announce {
        display: block;
        margin: 3em auto;
        overflow: hidden;
        position: relative;
        table-layout: fixed;
        width: 70%;
        font-size: 1rem;
    }

    .text-announce {
        display: block;
        -webkit-animation: linear marqueelike 15s infinite;
        -moz-animation: linear marqueelike 15s infinite;
        -o-animation: linear marqueelike 15s infinite;
        -ms-animation: linear marqueelike 15s infinite;
        animation: linear marqueelike 15s infinite;
        margin-left: -100%;
        padding: 0 5px;
        text-align: left;
        height: auto;
    }

    .reset-margin.container {
        margin: 0 auto;
    }
}

@media only screen and (min-width: 772px) and (max-width: 998px) {
    .header-informations {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .logo-container {
        width: 140px;
    }
    .header-information-item div p {
        font-size: 0.8125rem;
    }

    .bg-navbar .navbar-brand {
        display: inline-block;
    }

    .reset-margin.container {
        margin: 0 auto;
    }

    #about .container {
        width: 100%;
        margin: 0 auto;
    }
    #about .container div .about-text {
        font-size: 0.8rem;
    }

    .form-field {
        flex-basis: 100%; /* Les deux éléments occuperont toute la largeur */
        max-width: 100%; /* Ne dépassera pas la largeur totale du conteneur */
    }
}

@media screen and (max-width: 770px) {
    .header {
        display: none;
    }
    .bg-navbar .navbar-brand {
        display: inline-block;
    }
    .adm.container {
        margin: 0 auto;
    }
}

@media screen and (max-width: 748px) {
    .reset-margin.container {
        margin: 0;
        padding: 0 auto;
    }
    .bg-navbar .navbar-brand {
        display: inline-block;
    }
    .step-box div {
        padding: 0.6rem;
    }

    .form-field {
        flex-basis: 100%; /* Les deux éléments occuperont toute la largeur */
        max-width: 100%; /* Ne dépassera pas la largeur totale du conteneur */
    }
}

.adm.container p {
    margin-bottom: 0;
}

@media screen and (min-width: 344px) and (max-width: 669px) {
    .banner .banner-content a {
        padding: 10px 30px;
    }

    .bg-navbar .navbar-brand {
        display: inline-block;
    }

    .banner h1 {
        font-size: 2.4rem;
    }

    .adm {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .adm.container p {
        text-align: center;
        margin: 17px auto;
    }

    .admission-content {
        flex-wrap: wrap;
        width: 100%;
    }

    #about .container img,
    #programs .container img {
        display: none;
    }

    .about-text,
    #programs div div p {
        width: 100%;
        padding: 0;
        font-size: 1rem;
        text-align: justify;
    }

    .about-content.container {
        padding-right: 0;
        padding-left: 0;
        width: 100%;
    }

    .programs .container {
        padding-right: 0;
        padding-left: 0;
        width: 100%;
    }

    .programs .bg-beige {
        margin: 60px auto;
    }

    .btn-about {
        width: 100%;
        margin: auto;
    }

    .list {
        text-align: justify;
        margin: 0;
    }

    .contact.container {
        padding: 0;
        width: 100%;
    }

    .contact-form {
        width: 100% !important;
        padding: 0;
        margin: 100px auto;
    }

    .contact-form .form-section div {
        margin-right: 0;
    }

    /* .form-section.row {
        display: grid;
        grid-template-columns: max-content;
        border: 1px solid #000;
        width: 100%;
    } */

    .form-section .form-field {
        margin: 60px 0px;
        padding: 0;
    }
    #testimonials .caroussel-box .caroussel-content.container {
        width: 100%;
        margin: auto;
        padding: 4% 0;
    }

    .caroussel-content h2 {
        font-size: 1.2rem;
    }

    .caroussel-content .testimonials-text,
    .testimonials-name,
    .testimonial-date {
        font-size: 0.6rem;
        line-height: 20px;
    }

    .footer div.container {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .enst-pages .info .address {
        margin-left: 13px;
    }

    .enst-pages .info .address h3 {
        font-size: 0.7rem;
        margin-bottom: 10px;
    }

    .rs-enst {
        display: flex;
        margin: auto;
        justify-content: space-around;
    }

    .enst-menu,
    .enst-partners {
        margin-top: 20px;
    }
}

@media screen and (max-width: 280px) {
    .bg-navbar .navbar-brand {
        display: inline-block;
    }
    .banner {
        height: auto;
        background-size: cover;
        width: 100%;
        margin: 0;
    }

    .banner .banner-content h1 {
        font-size: 1.3rem;
    }
    .banner .banner-content p {
        margin-bottom: 20px;
        font-size: 0.7rem;
    }

    .banner .banner-content .btn-banner a {
        display: flex;
        flex-direction: column;
        gap: 3px;
        align-items: center;
        margin: 40px auto;
        width: 100%;
    }

    /* about */
    #about .about-box img,
    #programs div img {
        display: none;
    }

    #about .about-box .about-text,
    #programs div div p {
        width: 100%;
        padding: 0;
        font-size: 0.7rem;
        text-align: justify;
    }

    #teachers .description,
    #events .container .description {
        width: 100%;
    }

    #teachers .container .description {
        margin-top: 0;
    }

    #teachers .description h2,
    #events .container .description h2 {
        font-size: 1.6rem;
    }

    #teachers .description p {
        font-size: 0.8rem;
    }

    /* events */
    .events-box {
        display: flex;
    }

    #events .card {
        width: 80%;
        height: auto;
        margin: 40px auto;
    }

    #events .card .card-text {
        width: 40%;
        bottom: 160px;
    }

    #events .card .card-title h3 {
        font-size: 1.2rem;
    }

    #events .card .card-text p {
        font-size: 0.7rem;
    }

    /* page about */
    .about .container div {
        width: 100%;
    }

    .about .container div h2 span {
        display: none;
    }

    .about .container div {
        margin-left: 0;
    }

    /* contacts */
    .contact-info .contact-home {
        width: 100%;
        font-size: 0.5rem;
    }

    .contact-info .electronic-contact p {
        width: 100%;
        font-size: 1rem;
    }
    .contact-form h3 {
        font-size: 1rem;
        width: 100%;
    }
    .contact-box .contact-form .form-section {
        display: flex;
        flex-direction: column;
    }

    .form-field form .form-group {
        display: flex;
        flex-direction: column;
    }

    #testimonials .caroussel-box .caroussel-content.container {
        width: 100%;
        margin: auto;
        padding: 4% 0;
    }

    .caroussel-content h2 {
        font-size: 1.2rem;
    }

    .caroussel-content .testimonials-text,
    .testimonials-name,
    .testimonial-date {
        font-size: 0.6rem;
        line-height: 20px;
    }
}

.adm.container p {
    margin-bottom: 0;
}

/* For medium screens */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .bg-navbar .navbar-brand {
        display: inline-block;
    }

    .banner-content {
        width: 520px;
    }
    .banner-content h1 {
        font-size: 2.2rem;
    }

    .banner-content .btn-more,
    .banner-content .btn-admission {
        width: 150px;
    }

    .banner-image img {
        width: 100%;
        position: absolute;
        right: -10%;
        margin-right: 0;
        bottom: 0;
        top: 19%;
    }

    #about img,
    #programs img {
        display: none;
    }

    .reset-margin.container {
        margin: 0 auto;
    }

    #teachers .wrapper .description p {
        width: 100%;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        display: none !important;
    }
}

/* For larger screens */
@media screen and (min-width: 724px) and (max-width: 1136px) {
    .banner .container {
        width: 100%;
    }

    .banner-content h1 {
        font-size: 2rem;
    }
    .banner-content p {
        margin-bottom: 70px;
    }

    .banner-image {
        position: absolute;
        right: 10%;
        top: 27px;
    }
    .banner-image img {
        width: 40vw;
        height: auto;
    }
    .bg-navbar .navbar-brand {
        display: inline-block;
    }

    #testimonials .caroussel-box .caroussel-content.container {
        width: 100%;
        margin: auto;
        padding: 4% 0;
    }

    .caroussel-content h2 {
        font-size: 2rem;
    }

    .caroussel-content .testimonials-text,
    .testimonials-name,
    .testimonial-date {
        font-size: 0.8rem;
        line-height: 20px;
    }

    .caroussel-content img {
        width: 120px;
    }
}

/* Iphone SE */
@media screen and (min-width: 280px) and (max-width: 667px) {
    .banner .container {
        width: 100%;
        margin: 0 auto 50px auto;
        padding: 0;
    }

    .banner-content h1 {
        display: inline-block;
        width: 100%;
        font-size: 1.7rem;
    }

    .banner-content p {
        font-size: 0.95rem;
        margin: 15px auto 70px auto;
    }

    .banner-content .btn-banner {
        width: 100%;
        justify-content: center;
        margin: 0 auto;
    }

    .banner-content .btn-banner a {
        margin: 0;
        padding: 1% 0;
        font-size: 0.8rem;
    }

    .bg-navbar .navbar-brand {
        display: inline-block;
    }

    .admission .reset-margin {
        display: flex;
        flex-direction: column;
        display: none;
    }

    .admission .adm.container {
        width: 100%;
        margin: 0 auto;
    }

    .admission .adm h2 {
        margin-bottom: 0px;
        text-align: center;
    }

    .admission .adm .formular {
        font-size: 1rem;
        margin-top: 0;
    }

    .admission .adm p {
        text-align: center;
        line-height: 37px;
    }

    .admission-info .inscription {
        width: 100%;
        font-size: 1.7rem;
    }

    .whatsapp {
        margin: 10% auto 5% auto;
    }
    #about,
    #programs {
        margin-left: 0;
        margin-right: 0;
    }

    #about p,
    #programs p {
        font-size: 0.9rem;
        /* margin-left: 0; */
        width: 100%;
    }

    #about .btn-about,
    #programs .btn-programs {
        width: 170px;
        padding: 2.4% 0;
        font-size: 0.8rem;
    }

    #teachers .container {
        width: 100%;
        margin: 0;
    }

    #teachers .container .description p {
        width: 100%;
        margin: 8px 0 50px 0;
        font-size: 0.8rem;
    }

    #teachers .container .description h2,
    #testimonials .__heading h2,
    #partners h2 {
        font-size: 1.8rem;
    }

    #testimonials .container img {
        margin: 30px 0;
        width: 92px;
        height: 92px;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        display: none !important;
    }

    #testimonials .__testimonials-content {
        padding: 0 !important;
    }

    .__testimonials-content .container .carousel-inner .carousel-item p {
        font-size: 0.7rem !important;
    }

    /* about media */
    .about-content {
        margin-top: 20%;
    }
    .about-content div {
        width: 100%;
        margin: 0;
        font-size: 0.9rem;
    }

    .about-content p li {
        font-size: 0.9rem;
        line-height: 20px;
    }

    /* Contact */
    .contact-box h1 {
        font-size: 2.7rem;
    }
    .contact-info p {
        font-size: 1rem;
    }

    /* admission */

    /* .admission h1 {
        font-size: 2.5rem;
    } */

    .banner-content .btn-more,
    .banner-content .btn-admission {
        width: 180px;
        padding: 1.5% 0;
        font-size: 0.8rem;
        margin-top: 27px;
    }

    /* Matieres */
    .fnt-roboto h1 {
        font-size: 2rem;
    }

    .cycle .width-cycle {
        width: 100%;
    }

    .message {
        width: 100%;
        margin: 0;
    }

    .form-section {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .form-section .form-field {
        width: 100%;
    }

    .form-section .map {
        width: 100%;
    }

    .popup-content {
        width: 80%;
        height: 80%;
        max-height: 700px;
        overflow-y: scroll;
        padding: 15px;
    }

    .popup-content-box {
        display: flex;
        flex-direction: column;
    }
    .popup-content-box div h2 {
        font-size: 1.1rem;
        text-align: center;
    }

    .popup-content p span {
        font-weight: bold;
    }
    .popup-content p,
    .popup-content ol li {
        font-size: 0.7rem;
    }

    .close-btn {
        right: 3%;
        top: -2%;
    }

    .popup-content a {
        margin-top: 10px;
    }

    .__events-view h3 {
        font-size: 1.7rem;
    }
}

/* Ipad Air */
@media screen and (min-width: 770px) and (max-width: 912px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .banner-image img {
        width: 70%;
        margin-left: 20%;
    }
    .bg-navbar .navbar-brand {
        display: inline-block;
    }
    #about .about-box.container,
    #programs .container {
        margin: 0 auto;
        width: 100%;
        padding: 0;
    }

    #about .about-box img {
        width: 46%;
        margin: 0 30px 0 0;
        padding: 0;
    }

    #about .about-box h2,
    #programs .container h2 {
        font-size: 1.2rem;
    }

    .vertical-bar {
        height: 30px;
    }

    .btn-about,
    .btn-programs,
    .btn-more,
    .btn-admission {
        width: 160px;
        font-size: 0.9rem;
    }

    #programs .container p,
    #about .about-box .about-text {
        font-size: 0.8rem;
    }

    #programs .container img {
        width: 47%;
    }

    #testimonials .caroussel-box .caroussel-content h2 {
        font-size: 2rem;
    }

    .caroussel-content img {
        width: 100px;
    }

    .content .container div {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Matieres */
    .fnt-roboto h1 {
        font-size: 2.3rem;
    }

    .width-cycle {
        width: 20%;
    }
}

.width-cycle {
    width: 25%;
}

.error-input {
    font-size: 0.7rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }

  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

