@media only screen and (max-width: 1399px) {
  .options-sec .card .card-body .card-icon {
    min-width: 80px;
    width: 80px;
  }
  .about-section .part-1 { 
    gap: 10px; 
    padding: 24px 15px; 
}
.about-section .part-1 h5 small {
    font-weight: 400;
    font-size: 14px;
}
}
@media only screen and (max-width: 1199px) {
    .btn-primary .icon { 
    height: 30px;
    width: 30px; }
    h2, h3 {
    margin: 0 0 20px 0;
    font-size: 24px;} 
    h4 { font-size: 21px; } 
    .lead {
    font-size: 16px; }
    
    .menu>ul>li>a { 
    font-size: 14px; }
    
    .slider-section {
    height: 420px; }
    .slider-section .slider-content h1 {
    margin: 0 0 15px 0;
    font-size: 36px; 
}
.about-card-img .card-2 { 
    right: auto;
    top: -10%;
    left: -5%; 
}

.about-card-img h5 {
    font-size: 18px; 
}

.about-card-img h5 small {
    font-size: 13px; }
    
    .trending-university-section h2 { 
    font-size: 30px; 
}

.trending-university-section .univ-card { 
    padding: 15px; }
    .trending-university-section .univ-card .univ-card-img { 
    height: 220px;
}
.trending-university-section .lead { 
    margin: 0;
    font-size: 14px;
}
.get-a-quote-detail h1 {
    font-size: 27px; }
    
    .why-choose-section ul li { 
    font-size: 15px; }
    .stats-detail h1 {
    font-size: 36px; }
    .stats-icon { 
    height: 70px;
    width: 70px; 
    margin: 0 0 15px 0;
}
  .btn-primary {
    padding: 10px 20px;
    font-size: 15px;
  }
  .menu > ul > li {
    margin: 0 10px;
  }
  .inner-banner .country-slide {
    height: 540px;
  }
  .inner-banner .inner-banner-detail {
    padding: 0;
  }
  .inner-banner .inner-banner-detail h1 {
    margin: 0 0 10px 0;
    font-size: 33px;
  }

  .navbar-area .navbar-wrapper .navbar-brand img {
    width: 150px;
  }
  .nav-item .nav-link {
    padding: 7px 15px;
    font-size: 15px;
    margin-right: 5px;
  }
  ul.list-container {
    gap: 15px;
    margin: 0 0 30px 0;
    padding: 0 0 0 20px;
  }
  .options-sec .card .card-body .card-icon {
    min-width: 80px;
    width: 80px;
  }
  .inner-page-sec h3 {
    font-size: 24px;
  }
  .inner-page-sec h4 {
    margin: 0 0 15px 0;
    font-size: 21px;
  }
  .inner-page-sec h5 {
    margin: 0 0 10px 0;
  }
  .options-sec .card .card-body {
    gap: 10px;
    min-height: 175px;
  }
  .inner-banner.university-details .inner-banner-detail .fact-grids-detail h6 { 
    font-size: 15px;
    font-weight: 450;
}
.inner-banner.university-details .inner-banner-detail .fact-grids { 
    grid-template-columns: repeat(3, 1fr); 
}
}
@media only screen and (max-width: 991px) {
    p {
        font-size: 14px;
    }
    .about-section {
    padding: 60px 0;
}
.why-choose-section.education-loan {
    margin: 60px 0;
}
  .navbar-area .navbar-wrapper .navbar-brand img {
    width: 160px;
  }
  .options-sec .card .card-body .card-icon {
    min-width: 80px;
    width: 80px;
  }
  .inner-page-sec h3 {
    margin: 24px 0 15px 0;
    font-size: 21px;
  }
  .options-sec .card .card-body {
    gap: 15px;
  }
  .inner-banner .inner-banner-detail {
    padding: 0;
  }
  .inner-banner .country-slide {
    height: 550px;
  }
  .inner-banner .inner-banner-detail h1 {
    font-size: 30px;
  }
  .inner-banner .inner-banner-detail ul li a {
    min-height: auto;
  }
  .stats-grid { 
    grid-template-columns: repeat(2, 1fr); 
}
.team-card .team-profile {
    margin: 0 auto 30px auto;
    width: 100%;
    height: 250px; 
}
  ul.list-container {
    gap: 10px 30px;
  }

  footer {
    padding: 40px 0 15px 0;
  }
  footer hr {
    margin: 15px 0 10px 0;
  }
  footer h6 {
    margin: 15px 0 10px 0;
  }
}
@media only screen and (max-width: 767px) {
  p {
    font-size: 14px;
  }
  h1,
  .h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
    margin: 0 0 20px 0;
  }
  ul li {
    font-size: 14px;
  }
  .lead {
    font-size: 15px;
  }
  .slider-section .slider-content h1 {
    font-size: 30px;
  }
  ol.list-container {
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    margin: 0;
    padding: 0 0 0 20px;
  }

  ol.list-container li {
    font-size: 14px;
  }

  .nav-item .nav-link {
    padding: 7px 10px;
    font-size: 14px;
    margin-right: 5px;
  }

  ul.list-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 5px 0;
    margin: 0;
    padding: 0 0 0 20px;
  }
  ul.list-container li {
    font-size: 14px;
    list-style: disc;
  }

  .inner-page-sec h4 {
    font-size: 18px;
  }
  .inner-page-sec h5 {
    margin: 0 0 10px 0;
    font-size: 16px;
  }

  .breadcrumb .breadcrumb-item {
    font-size: 13px;
  }

  .breadcrumb .breadcrumb-item a {
    font-size: 13px;
  }
  .breadcrumb-item + .breadcrumb-item::before {
    font-size: 13px;
  }
  .inner-banner .inner-banner-detail {
    padding: 0;
  }
  .inner-page-sec .lead {
    font-size: 14px;
  }

  .inner-banner .inner-banner-detail ul li {
    margin: 0 2% 2% 0;
    height: auto;
  }
  .inner-banner .inner-banner-detail ul li a {
    padding: 15px;
    font-size: 15px;
  }

  .inner-banner .country-slide {
    height: 420px;
  }

  .options-sec .card .card-body {
    flex-direction: column;
    padding: 15px;
    gap: 0;
    display: block;
  }
  .options-sec .card .card-body .card-icon {
    min-width: 80px;
    display: block;
    width: 80px;
  }
  .options-sec .card .card-body .card-detail {
    padding: 15px 0 0 0;
  }

  .timeline-step .timeline-step-header .timeline-step-header-icon {
    min-height: 60px;
    min-width: 60px;
    height: 60px;
    width: 60px;
  }
  .timeline-step .timeline-step-header { 
    gap: 15px;
    justify-content: start;
    margin: 0 0 15px 0;
  }

  .timeline-step .timeline-step-header h4 {
    font-size: 18px;
    margin: 0 0 5px 0;
  }
  .timeline-step {
    padding: 15px 0 15px 15px;
  }

  .timeline-step .points-two {
    padding-left: 15px;
    display: block;
    margin-top: 0;
    margin-bottom: 0;
  }
  
  .select-country-section { 
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

    .select-country-section .card {
        border-right: none;
        border-bottom: none;
        background-color: #ffffff1a;
    }

  .accordion-body {
    font-size: 14px;
  }

  .about-section h2 {
    margin: 45px 0 15px 0;
  }
  .about-card-img h5 {
    font-size: 16px;
  }
  .about-card-img h5 small {
    font-size: 13px;
  }
  .about-card-img .card-1 {
        bottom: -30px;
        right: -30px;
        background-color: #ffffff7d;
        border-radius: 5px;
        padding: 10px 15px;
        backdrop-filter: blur(6px);
        width: 230px;
        left: auto;
  }
  .about-card-img .card-2 {
    top: -30px;
    right: -8px;
    border-radius: 5px;
    padding: 10px 15px;
    backdrop-filter: blur(6px);
    width: 200px;
  }
      .about-section .part-1 {
        gap: 10px;
        padding: 20px 15px;
    }
  .about-section .part-1 h5 { 
    font-size: 16px;
}
.about-section .part-1 img {
    height: 50px;
}
  .get-a-quote-section { 
    margin: 0;
}
.trending-university-section {
    background: linear-gradient(90deg, rgb(33 36 129 / 60%) 100%, rgb(255 255 255 / 60%) 100%), url(../img/34923.jpg) fixed; }
    .trending-university-section .lead {
        margin: 0 0 30px 0;
        font-size: 15px;
    }
  .trending-university-section h2 {
    font-size: 27px;
  }
  .trending-university-section .btn-white {
    margin: 10px 0 20px 0;
    padding: 10px 20px;
  }

  .trending-university-section .univ-card {
    border-radius: 5px;
    padding: 20px 15px;
    margin: 0;
  }

    .trending-university-section .univ-card .univ-card-img {
        height: 280px;
    }
    
  .trending-university-section .univ-card .univ-card-detail {
    margin: 10px 0 5px 0;
  }

  .trending-university-section .univ-card .univ-fee-detail ul li {
    font-size: 13px;
  }
  .trending-university-section .univ-card .univ-fee-detail ul li i {
    font-size: 15px;
  }

  .trending-university-section .univ-card .univ-card-detail h5 {
    margin: 0 0 5px 0;
    font-size: 16px;
  }

  .trending-university-section .univ-card .univ-country h6 {
    font-size: 15px;
  }
  .trending-university-section .univ-card .univ-country h6 span {
    height: 30px;
    width: 30px;
  }
  
      .process-section h2 {
        font-size: 24px;
        margin: 0 0 45px 0;
    }
  .process-card { 
    padding: 0;
    max-width: 100%; }
    .process-card .process-text h5 {
        font-size:16px;
    }
  .get-a-quote-detail {
    padding: 24px 15px;
    flex-direction: column;
    text-align: center;
  }
  .get-a-quote-detail h1 {
    font-size: 27px;
    margin: 0 0 20px 0;
  }

  .top-search-detail {
    border-radius: 5px;
    padding: 45px 15px;
    width: 100%;
    margin: 70px auto 0 auto;
    position: relative;
  }

  .top-search-detail .part-1 {
    left: -8px;
    top: -40px;
    border-radius: 5px;
    padding: 15px;
    gap: 10px;
  }
  .top-search-detail .part-1 img {
    height: 40px;
  }
  .top-search-detail .part-1 h5 {
    font-size: 16px;
  }
  .top-search-detail .part-1 h5 small {
    font-size: 13px;
  }

  .top-search-detail ul li a {
    padding: 7px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 400;
  }

  .top-search-detail .part-2 img {
    height: 40px;
  }
  .top-search-detail .part-2 h5 {
    margin: 0;
    font-size: 16px;
  }
  .top-search-detail .part-2 h5 small {
    font-size: 13px;
  }

  .top-search-detail .part-2 {
    right: -8px;
    bottom: -30px;
    border-radius: 5px;
    padding: 15px;
    margin: 0;
  }

  .partner-card {
    border-radius: 5px;
    margin: 0;
    padding: 10px;
    min-height: auto;
  }

  .news-section h2 {
    margin: 0 0 8px 0;
  }

  .news-section a.box_news {
    border-radius: 5px;
    margin: 12px 0;
    min-height: auto;
    padding: 20px 15px;
  }

  .news-section .box_news_wrapper {
    padding: 20px 15px;
  }

  .news-section a.box_news_middle {
    min-height: 320px;
    border-radius: 5px;
  }

  .news-section a.box_news_middle figure img {
    min-height: 320px;
  }

  .news-section a.box_news h5 {
    margin: 10px 0;
    font-size: 16px;
  }
  .news-section a.box_news figure figcaption {
    border-radius: 0 3px 0 5px;
    font-size: 13px;
  }
  
  .inner-banner.university-details .inner-banner-detail .fact-grids {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .inner-banner.university-details .inner-banner-detail .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    top: 2px;
}
 

  footer .foot-logo img {
    width: 180px;
    margin: 0 0 10px 0;
  }

  footer hr {
    margin: 15px 0 5px 0;
  }

  footer {
    padding: 45px 0 15px 0;
  }

  footer h6 {
    margin: 15px 0 10px 0;
  }

  footer .top-universities li {
    margin: 0 10px 0px 0;
    font-size: 13px;
  }
}

@media only screen and (max-width: 575px) {
    .select-country-section {
        grid-template-columns: repeat(2, 1fr); 
    }
    .select-country-section .card a {
    padding: 15px; }
    .select-country-section .card .card-icon {
    min-height: 60px;
    min-width: 60px;
    width: 60px;
    height: 60px; 
}

    .about-card-img .card-2 { 
        left: 5% 
    }
    .about-card-img .card-1 { 
        right: 5%; }
    
        .get-a-quote-detail h1 {
        font-size: 24px; 
    }
    
  .inner-banner .inner-banner-detail ul li {
    margin: 0 0 15px 0;
    width: 100%;
    height: auto;
  }
  .inner-banner .inner-banner-detail ul li a {
    padding: 15px;
    min-height: auto;
    height: auto;
    font-size: 15px;
  }
}