@media (max-width: 768px) {
    .nav-container {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        padding: 20px;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-container.active {
        left: 0;
    }

    .logo-section {
        margin-left: 30px;
    }

    .logo-container img {
        margin-left: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 20px;
        list-style: none;
        padding: 0;
        margin: 0 auto;
        gap: 0;
    }

    .nav-links li {
        margin: 0;
        height: fit-content !important;
    }

    .nav-links>li>a {
        font-weight: bold;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 18px;
        color: black;
        text-decoration: none;
    }

    .li-style {
        display: block !important;
        list-style-type: disc !important;
        list-style-position: outside !important;
        padding-left: 20px;
        margin-left: 20px;
    }

    .li-style li {
        display: list-item !important;
        list-style-type: disc !important;
    }


    .special-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        padding: 10px;
        position: fixed;
        right: 15px;
        top: 15px;
        z-index: 1000;
    }

    .mobile-menu-btn img {
        width: 30px;
        height: 30px;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

/* SLIDER */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
    }

    .slider {
        width: 100% !important;
    }

    .slide {
        width: 100% !important;
        font-size: 24px;
        padding: 15px;
    }

    .controls {
        left: 30px;
    }

    .slide-text-size {
        width: 80% !important;
        margin-left: 10px;
        margin-bottom: 40px;
        font-weight: bold;
    }

    .explore {
        right: 20px;
        bottom: 20px;
    }

    .slider.active {
        width: 100% !important;
    }





    /* ABOUT */
    .about-section {
        box-sizing: border-box;
        padding: 20px;
    }

    .title-content {
        font-size: 35px;
    }

    .text-content {
        margin: 0;
    }

    .more {
        display: none;
    }

    .apply {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 18px !important;
    }

    .image-content {
        order: 1;
        position: relative;
        margin-top: 30px;
        flex: none !important;
    }

    .image-wrapper {
        position: relative;
        z-index: 2;
    }

    .rect-grid {
        width: fit-content !important;
    }

    .right-grid {
        top: 10%;
        right: 0px;
    }

    .image-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

    /* CARDS HOME */
    .card-content {
        flex-direction: column;
    }

    .card-title {
        font-size: 20px;
        font-weight: bold;
    }

    .card-img {
        width: 100%;
        font-weight: 15px;
        height: 250px;
    }

    .cards-section {
        padding: 8px;
    }

    /* FOOTER */
    .footer-main {
        padding: 30px;
    }

    .footer-left .logo-container img {
        margin: 0;
    }

    .footer-banner-content {
        padding: 8px;
    }

    .footer-banner-content div {
        flex-direction: column;
    }

    .footer-banner-content h2 {
        text-align: start;
        margin-bottom: 30px !important;
        font-size: 26px;
        font-weight: bold;
        width: 80%;
        margin: auto;
    }

    .discover-btn {
        /* margin-bottom: -80px; */
        width: 80%;
        margin: auto;
    }

    /* CONTACT */
    .contact-right {
        padding: 0;
    }

    .contact-form {
        padding: 2rem;
    }

}

/* TESTIMONIALS */
@media (max-width: 768px) {
    .testimonial-only-container {
        margin: 0;
        margin-top: 2rem;
    }

    .container-testimonial {
        width: 100%;
    }

    .context-section {
        padding: 50px 20px;
    }

    .context-section>div {
        flex-direction: column-reverse;
    }

    .context-image {
        margin-bottom: 20px;
    }

    .innovation-text {
        text-align: justify;
    }

    .image-container>img {
        width: 100% !important;
    }

    .postuler-btn {
        width: 100% !important;
    }

    .actualite-section {
        width: 100%;
        padding: 20px;
        margin-top: 0 !important;
    }

    /* mission */
    .director-image::before {
        left: 0;
    }

    .director-text p {
        text-align: justify;
    }

    .mission-row {
        flex-direction: column;
    }

    .icon-box {
        width: 100%;
        margin-bottom: 20px;
    }

    .testimonial-image {
        display: none;
    }

    .testimonial-image-mobile {
        display: flex;
        width: 100%;
    }

    .testimonial-nav {
        width: fit-content;
        position: relative;
        left: 80% !important;
        top: 10px;
    }

    .testimonial-card {
        text-align: start;
        height: fit-content !important;
    }

    .testimonial-more {
        background-color: transparent;
        color: var(--dark-gray-shade);
        padding-left: 0 !important;
        width: fit-content !important;
    }

    .plus-icon {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }

    /* tetsimonial */
    .testimonial-only-user-name {
        font-size: 14px;
    }

    .quote-box {
        width: 60px;
        height: 60px;
    }

    .testimonial-formation-name {
        margin-bottom: 0;
    }

    .domain-icon img {
        width: 60px;
    }

    .domain-icon {
        width: 70%;
        margin: auto;
    }

    .breadcrumb-content {
        margin-left: 0;
    }

    .vision-image {
        display: none;
    }
}


/* Mobile: Enable Slider */
@media screen and (max-width: 768px) {
    .card-slider {
        display: flex;
        flex-wrap: nowrap;
        overflow: hidden;
        position: relative;
    }

    .card-slide {
        min-width: 100%;
        display: none;
    }

    .card-slide.active {
        display: block;
    }

    .card-slider-nav {
        display: flex;
        justify-content: end;
        margin-top: 15px;
    }

    .card-slider-nav button {
        color: var(--dark-gray-shade);
        border: 1px solid var(--dark-gray-shade);
        padding: 10px 15px;
        font-size: 18px;
        cursor: pointer;
        margin: 0 5px;
        background-color: transparent;
    }

    .card-slider-nav button:hover {
        background-color: var(--primary-color);
        border: 1px solid var(--primary-color);

        color: white;
    }

    .timer-bar {
        top: 10%;
        left: 7.5%;
    }

    .card-timer {
        margin-top: 10px;
        position: static;
        display: flex;
        justify-self: end;
        background: rgba(232, 60, 19, 0.3);
        width: 92px;
        margin-right: 5px;

    }

    .card-timer .timer-progress {
        background-color: var(--primary-color);
    }

    .copyright {
        text-align: start;
        margin-left: 0;
    }

}