@media screen and (min-width:1700px) {
    .top-ranked{
        min-height: 680px;
    }
    .swiper-slider {
        margin: -259px 73px 0;
    }

}

@media (max-width:1300px){
    .confirm-btn button, .success-btn a{
        width: 100%;
        margin-top: 0;
    }
    #bread-crumb {
        margin-top: 30px;
    }
}

@media screen and (max-width:1240px) {

    header .nav-link{
        margin-right: 0;
        font-size: 13px;
   }
   .admission-btn button, .contact-btn button{
        font-size: 13px;
   }
    .course-box{
        top: 0;
   }
   .course-box2{
        bottom: 0;
   }
   section.header-logo{
        left: 35%;
   }
}

@media screen and (max-width:992px) {
   header .nav-link{
        margin-right: 0;
        font-size: 13px;
   }
   .admission-btn button, .contact-btn button{
        font-size: 13px;
   }
    .course-box{
        top: 60px;
   }
   .course-box2{
        bottom: 70px;
   }
   .contact-sec{
    width: 100%;
   }
   .box-bg{
        margin-top: 30px;
   }
    .swiper{
        z-index: -1;
    }
    .destination{
        position: unset;
    }
    .banner-location-img{
        margin-top: -300px;
    }
    .banner-location-img{
        box-shadow: 2px 2px 5px #d7cece;
    }
    .header-logo img {
        width: 100%;
    }
}
@media (max-width:999px){
    .iti{
        width: 80%;
    }

    .iti input, .iti input[type=text]{
        width: 100%;
    }
    #bookingForm {
    margin-bottom: 60px;
}
}
@media (max-width:992px){
    .banner, .banner-text{
        height: 100%;
        padding-top: 213px;
    }
    .choose {
        margin-top: 400px;
    }
    .banner-form{
        margin-bottom: -347px;
        margin-top: 53px;
    }
    .banner-text{
        padding-bottom: 12px;
    }
    .header-btns{
            justify-content: center;
    }
    section.header-logo{
            left: 30%;
    }
    .location-image{
        height: auto;
    }
}

@media screen and (max-width:768px) {
.container-spacing {
    padding: 0 30px;
}
    .course-box {
        top: 35px;
        right: 0;
    }
        .course-box2 {
        bottom: 0;
    }
    .course-box h6, .course-box2 h6{
        font-size: 20px;
    }
   .course-box p, .course-box2 p{
    font-size: 14px;
   }
   .count-sec{
    width: 100%;
    flex-wrap: wrap;
   }
  .summary p{
    margin-bottom: 15px;
  }
   .terms-sec{
        margin-top: 22px;
        margin-bottom: 15px;
   }
   .convenience{
        flex-wrap: wrap;
   }
   .confirm-btn{
    width: 100%;
            margin-top: 15px;
   }
       .course-head h1 {
        font-size: 34px;
        margin: 0;
        text-align: center;
    }
    .card-head {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: space-between;
    flex-direction: column-reverse;
}
.course-head {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    text-align: center;
}
.course-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
   .course-head h6{
     font-size: 17px;
   }
   .insti-head p{
    width: 100%;
   }
   .insti-card{
    margin-bottom: 20px;
   }
   .banner-app{
        flex-wrap: wrap;
   }
   .banner-app img {
    margin-bottom: 10px;
}
.learning{
    border-radius: 40px 40px 0 0;
        padding: 15px;
}
.learning-img img{
    border-radius: 0 0 40px 40px;
}
.banner-btn button{
    font-size: 15px;
        padding: 0 10px;
}
.insti-head h1, .insti-head .text-gradiant{
    font-size: 42px;
}
.banner-sec h1{
    font-size: 53px;
}
.banner-sec h1 span{
    font-size: 50px !important;
}
section.header-logo{
    left: 25%;
}
/* .gallery-slider__slide.active {
	width: 100%;
    height: 400px;
} */
.gallery-slider__wrapper{
    display: block;
    padding: 0;
}
/* .gallery-slider__img-prev,
.gallery-slider__img-nex, .gallery-slider__img-next{
    width: 100%;
	height: 100px;
} */
.teacher h1{
    font-size: 20px;
}
.video .swiper-button-next, .video .swiper-rtl .swiper-button-prev{
    right: 36% !important;
}
.video .swiper-button-prev, .video .swiper-rtl .swiper-button-next {
    left: 30% !important;
}
.swiper-button-next, .swiper-button-prev{
    top: 34px !important;
}
.testi-sec p{
    width: 100%;
}
.padding{
    padding-left: 35px;
}
.mySwiper .swiper-button-prev, .mySwiper .swiper-rtl .swiper-button-next{
    right: 130px !important;
}
.mySwiper .swiper-button-next, .mySwiper .swiper-rtl .swiper-button-prev{
    right: 60px !important;
}
.teacher p{
        font-size: 12px;
}
.teacher{
    bottom: 0;
}
.contact{
        display: block;
}
footer{
        padding: 40px 35px !important;
}
.icon{
        margin-bottom: 15px;
}
.learning-text h1{
        font-size: 40px;
}
    .course-box {
        top: 0px;
        right: 0;
    }
    .count-border{
        margin: 0 15px;
    }
    .sec-heading h1 .text-bg{
        font-size: 40px;
    }
    .text-gradiant{
        font-size: 40px;
    }
    .nav-pills .nav-link{
            margin-bottom: 20px;
    }
    .testi-sec h1, .testi-sec .text-gradiant{
            font-size: 45px;
    }
    .modal-form {
    padding:25px;
}
.modal-desk-head{
    display: none;
}
.modal-mob-head{
  display: block;
}
.ftr-logo-sec{
    width: 100%;
}
.section-padding {
        padding: 0 35px;
    }
    .responsive-row{
        flex-direction: column-reverse;
    }
    .responsive-bg{
        background: transparent;
        box-shadow: none;
        border: 0;
        padding: 0;
    }
    .respo-heading, .green-box, .responsive-p{
        display: none;
    }
    .mob-btn, .mob-heading{
        display: block;
        margin-bottom: 20px;
    }
    .desk-btn, .desk-heading{
        display: none;
    }
    .box-bg p{
            font-size: 14px;
            margin: 0;
            margin-bottom: 10px;
    }
    .banner-location-img{
        width: 100%;
        height: 400px;
        overflow-y: auto;
    }
    .counter button{
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .equip-ticket {
        width: 100%;
    }
    .dots-sec{
        justify-content: end;
        margin-bottom: 15px;
    }
    .accordion-content, .accordion-content{
        display: block;
    }

    .price-sec img {
        width: 30px;
    }
    .confirm-sec span, .equip-price h4{
        font-size: 25px;
    }
    .confirm-btn button{
        font-size: 15px;
    }
    .equip-rate{
        display: block;
    }
    .continue-btn.mob-btn{
        margin: 0;
    }
    .mob-payment{
        position: fixed;
        bottom: 0;
        z-index: 9;
        background: #fff;
        width: 100%;
        padding: 10px;
        left: 0;
        flex-wrap: inherit;
    }
    .mob-payment .confirm-btn{
        width: fit-content;
        margin: 0;
    }
}


/* Responsive adjustments */
@media (max-width: 1366px) and (min-width: 1024px) {
  /* Laptops: Adjust bottom gap and height slightly */
  .destination {
    bottom: 8%;
  }
  .banner-location-img {
    max-height: 70vh;
  }
}

@media (max-width: 992px) {
  /* Tablets */
  .destination {
    bottom: 6%;
  }
  .banner-location-img {
    max-width: 90%;
    max-height: 70vh;
  }
}

@media (max-width: 576px) {
  /* Mobiles */
  .destination {
    position: relative;
    bottom: 0;
  }
  .banner-location-img {
    width: 100%;
    max-width: 100%;
    max-height: none; /* allow full scroll */
  }
}





@media (max-width:610px){
    section.header-logo {
        left: 19%;
    }
    
    .destination{
        top: 30%;
    }
    .summary{
        display: block;
    }
}
@media (max-width:600px){
    .section-padding {
        padding: 0 35px;
    }
}
@media (max-width:520px){
        .course-box2 {
        bottom: 44px;
    }
        section.header-logo {
        left: 11%;
    }
    .bike-tab
 {
    position: absolute;
    top: 173px;
    width: 95%;
    z-index: 9;
    left: 3%;
}
.equip-rate{
        margin-top: 18px;
}
.iti {
        width: 72%;
    }
        .course-box {
        top: 0px;
        right: 0;
    }
        .video .swiper-button-next, .video .swiper-rtl .swiper-button-prev{
        right: 30% !important;
    }
        .video .swiper-button-prev, .video .swiper-rtl .swiper-button-next {
        left: 25% !important;
    }
    .location-image {
    grid-template-columns: repeat(auto-fit, minmax(169px, 1fr));
    gap: 11px;
}
    .banner-btn {
    position: unset;
    top: 0;
    right: 0;
    text-align: right;
}
.banner-btn button {
    border-radius: 8px;
    height: 41px;
    padding: 0 20px;
    margin-top: 14px;
}
.bike-tab{
    top: 155px;
}
.banner-location-img h3{
    font-size: 22px;
}
}
@media (max-width:400px){
    .bike-tab{
        position: absolute;
        top: 90px;
        width: 95%;
        z-index: 9;
        left: 3%;
    }
    section.header-logo {
        left: 4%;
    }
}
@media (max-width:320px){
   .accordion-row {
        flex-direction: column;
   }
   .accordion-main-img{
        height: 200px;
        margin-bottom: 20px;
        width: 100%;
   }
   .location-box p{
        font-size: 12px;
   }
   .location-box{
        padding: 3px 16px;
   }
   .location p{
    padding: 0;
   }
}

@media (max-width:620px){
   
}


@media(max-width:768px){
    .popup {
    left: 17%;
    padding: 25px;
    width: 70%;
}
}

@media(max-width:410px){
    .popup {
    left: 5%;
    padding: 25px;
    width: 90%;
}
}