@media screen and (max-width: 768px) {
    .navbar .nav-links {
        display: none;
    }

    .navbar .nav-toggle {
        display: block !important;
        position: relative;
        right: 10px;
        width: 40px;
        height: 40px;
        display: flex;
    }

    .navbar .nav-links.active {
        z-index: 2 !important;
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100vw;
        background-color: white;
        border: 1px solid black;
        padding: 10px;
        font-size: larger;
        height: 90vh;
    }
    
    .navbar .nav-links.active a {
        margin: 5px;
    }

    .navbar .nav-links.active a.btn {
        margin: 5px;
        width: 180px;
    }

    .hero-section-imgs#hero-img-center {
        animation: animate-center-image 3s infinite;
    }

    .hero-section-imgs.hero-imgs-muted {
        animation: animate-muted-images 3s infinite;
    }

    /* Dark mode for mobile nav */
    body.dark .navbar .nav-links.active {
        background-color: #181818;
        border: 1px solid #444;
    }
    body.dark .navbar .nav-links.active a,
    body.dark .navbar .nav-links.active a.btn {
        color: #fff;
        background-color: transparent;
        border-color: #fff;
    }
    body.dark .navbar .nav-links.active a.btn {
        background-color: #fff;
        color: #222;
    }
    body.dark .navbar .nav-links.active a.btn:hover {
        background-color: #222;
        color: #fff;
    }

    @keyframes animate-center-image {
        50% {
            width: 220px;
            height: 220px;

        }

        100% {
            width: 200px;
            height: 200px;
        }
    }

    @keyframes animate-muted-images {
        0% {
            width: 80px;
            height: 80px;
        }

        50% {
            width: 50;
            height: 50;

        }

        100% {
            width: 80px;
            height: 80px;
        }
    }


    .margin-top-mv-3 {
        margin-top: 3rem !important;
    }

    /* trending course */
    #webdev {
        flex-direction: column;
        background-position-y: top;
        background-size: 80%;
    }

    #webdev img {
        margin: 10px;
    }


    #webdev .info {
        margin-left: 0;
        margin-top: 10px;
    }

    #webdev .tech {
        margin: 10px;
    }


    #courses {
        width: 100%;

        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    .course {
        /* justify-content: center; */
        width: 100% !important;
        gap: 10px !important;
    }

    /* .course img {
      margin: auto;
    } */

    .course-info {
        margin-left: 0;
        margin-top: 10px;
    }


    .footer {
        flex-direction: column;
    }

    .footer h3 {
        margin-top: 20px;
    }

    .footer .social {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 5px
    }

    .footer .form input,
    .footer .form textarea {
        width: 300px;
    }

    /* Dark mode for footer */
    body.dark .footer {
        background-color: #181818;
        color: #fff;
    }
    body.dark .footer a {
        color: #fff;
    }
}

@media screen and (min-width: 769px) {
    .navbar .nav-toggle {
        display: none;
    }

}


@media screen and (max-width: 710px){
    #testimonial-card-1{
      display: none;
    }
  }
  @media screen and (max-width: 1090px){
    #testimonial-card-3{
      display: none;
    }
  }