@media (min-width: 769px) and (max-width: 1038px) {
    body, html {
        overflow-x: hidden;
    }

    #home {
        text-align: center;
    }

    .small-screen img {
        display: none;
    }

    .navbar-nav .nav-link {
        font-size: 17px;
        margin-right: 4px;
        margin-bottom: 10px;
    }

    .navbar-brand img {
        max-width: 230px;
        margin-right: 50px;
    }

    #home .display-1 {
        font-size: 50px;
    }

    #home .mb-5 {
        font-size: 20px;
    }

    #about .col-12 h2 {
        font-size: 40px;
    }

    #about .col-12 h1 {
        font-size: 60px;
    }

    #about h1 {
        font-size: 40px;
        padding: 0;
    }

    #about h2 {
        font-size: 20px;
        padding: 0;
    }

    #about h3 {
        font-size: 34px;
        padding: 0;
    }

    #about h4 {
        padding: 0;
    }

    #about .instructor-number {
        padding-top: 12px;
    }

    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-img {
        left: 50%;
    }

    .timeline-content {
        width: 45%;
        margin-left: 0;
    }

    .timeline-item {
        margin-bottom: 70px;
    }

    #courseCarousel {
        min-height: 400px;
        position: relative;
    }

    .timeline-item .timeline-content {
        padding: 40px;
    }

   #quote .col-12 img{
    height: auto; 
    width: 50%;
}

    #quote h1 {
        font-size: 60px;
    }

    .section-padding {
        padding-bottom: 90px;
    }

    .section-title h1 {
        font-size: 60px;
    }

    .section-title p {
        font-size: 24px;
    }

    .col-lg-7 h1 {
        font-size: 58px;
    }

    .col-lg-5 img {
        height: auto;
        width: 100%;
        margin-bottom: 0;
    }

    #quote img,
    #about img {
        height: auto;
        width: 100%;
        margin-bottom: 0;
    }

    .carousel-inner h1 {
        font-size: 54px;
    }

    .carousel-inner img {
        height: auto;
        width: 100%;
    }

    .carousel-item .col-lg-7 h1 {
        display: flex;
        margin-top: 0;
        justify-content: center;
        align-items: center;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .btn {
        width: 100%;
    }

    .typeform {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 50px;
    }

    .milestone {
        position: absolute;
        top: -25px;
        width: 50px;
        height: 50px;
        line-height: 40px;
        border-radius: 50%;
        background-color: gold;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        cursor: pointer;
        transition: transform 0.3s ease, background 0.3s ease;
        text-align: center;
    }

    /* Inner styles for 769px–990px only for home page image*/ 
    @media (max-width: 990px) {
        .image-container {
            display: none;
        }

        .small-screen img {
            display: block;
            margin-top: 20px;
            height: auto;
            width: 100%;
            padding-bottom: 40px;
        }

        .col-lg-7 {
            order: 2;
        }

        .col-lg-5 {
            order: 1;
        }

        /* .timeline-wrapper {
            display: flex;
            flex-direction: column;
            gap: 80px;
            align-items: center;
            width: 100%;
            max-width: 1000px;
            margin: 0 auto;
        }

        .timeline-container {
            width: 80%;
            position: relative;
            margin-bottom: 40px;
        }

        .progress-path {
            width: 100%;
            height: 4px;
            background: rgb(215, 211, 211);
            border-radius: 3px;
            position: relative;
            margin-bottom: 60px;
        }

        .progress-glow {
            height: 6px;
            width: 0%;
            background: linear-gradient(90deg, gold, gold);
            border-radius: 3px;
            transition: width 0.5s ease;
        }

        .milestone:hover {
            transform: scale(1.2);
            background-color: blueviolet;
            color: #fff;
        }

        .info-box {
            background-color: #fff;
            color: blueviolet;
            padding: 20px;
            border-radius: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            text-align: center;
            width: 100%;
            height: 200px;
            box-sizing: border-box;
            margin-top: 100px;
            display: flex;
            flex-direction: column;
            justify-content: baseline;
            align-items: center;
            overflow: hidden;
        }

        .info-box h3 {
            margin: 0 0 5px;
            font-size: 50px;
            font-weight: 600;
            color: #292930;
        }

        .info-box p {
            margin: 0;
            font-size: 1.5rem;
            color: #757575;
        }

        .swiper-container {
            width: 80%;
            height: 750px;
            margin: auto;
            padding: 20px 0;
            overflow: hidden;
        }

        .swiper-wrapper {
            display: flex;
        }

        .swiper-slide {
            flex-shrink: 0;
            width: auto;
            display: flex;
            justify-content: center;
        }

        .ab-carousel-item {
            top: 15%;
            width: 1000000px;
            height: 500px;
            background: #fff;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
        }

        .front-content-top {
            padding: 10px;
            position: relative;
        }

        .review-card-img {
            width: 200px !important;
            height: 200px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid gold;
            position: absolute;
            top: -100px;
            left: 50%;
            transform: translateX(-50%);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            background-color: white;
        }

        .front-content-bottom {
            padding: 40px 10px 10px;
        }

        .swiper-button-next,
        .swiper-button-prev {
            color: gold;
            font-size: 28px;
            font-weight: bold;
            transition: transform 0.2s ease, color 0.3s ease;
            position: absolute;
            top: 75%;
            transform: translateY(-50%);
        }

        .swiper-button-next {
            right: 100px;
        }

        .swiper-button-prev {
            left: 100px;
        }

        .swiper-button-next:hover,
        .swiper-button-prev:hover {
            color: #000;
            transform: translateY(-50%) scale(1.15);
        }

        .swiper-button-next:active,
        .swiper-button-prev:active {
            transform: translateY(-50%) scale(1.1);
        }

        .swiper-pagination-bullet-active {
            border: 5px solid gold;
            background: gold;
        }

        .swiper-pagination {
            bottom: -50px !important;
        } */
    }
}
