@media (max-width: 1300px) {}

@media (max-width: 1120px) {}

@media (max-width: 992px) {
  .hero_area {
    height: auto;
  }

  .header_section {
    margin-top: 0;
  }

  .hero_area {
    min-height: auto;
    margin-top: 70px;
  }

  .sub_page .hero_area {
    min-height: 70px;
    margin-top: 0;
  }

  .custom_nav-container {
    min-height: 70px;
  }

  .navbar-brand img {
    height: 46px;
  }

  .navbar-brand span {
    max-width: 240px;
    font-size: 1rem;
  }

  .custom_nav-container .navbar-collapse {
    max-height: calc(100vh - 70px);
    margin: 8px -16px -8px;
    padding: 12px 16px 20px;
    overflow-y: auto;
    background: #17233d;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .custom_nav-container .navbar-nav {
    width: 100%;
  }

  .custom_nav-container .navbar-nav .nav-item,
  .custom_nav-container .navbar-nav .nav-item .nav-link {
    width: 100%;
  }

  .custom_nav-container .navbar-nav .nav-item .nav-link {
    margin: 0;
    padding: 12px 10px;
    text-align: left;
    border-radius: 8px;
  }

  .custom_nav-container .navbar-nav .nav-item .nav-link:hover {
    background: rgba(255, 255, 255, 0.07);
  }

  .custom_nav-container .dropdown-menu {
    margin: 0 0 8px;
    border: 0;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
  }

  .custom_nav-container .dropdown-item {
    color: rgba(255, 255, 255, 0.82);
  }

  .quote_btn-container {
    flex-direction: column;
    align-items: center;
  }

  .quote_btn-container a {
    margin-right: 0;
    margin-top: 10px;
  }

  .slider_section {
    min-height: 620px;
    padding: 64px 0;
  }

  .slider_section .carousel-indicators {
    bottom: 15px;
  }



  .course_section .carousel_btn-box {
    display: flex;
    justify-content: center;
    margin-top: 45px;
  }

  .course_section .carousel-control-prev,
  .course_section .carousel-control-next {
    position: unset;
    margin: 0 2.5px;
  }

  .client_section .carousel_btn-box {
    display: flex;
    justify-content: center;
    margin-top: 45px;
  }

  .client_section .carousel-control-prev,
  .client_section .carousel-control-next {
    position: unset;
    margin: 0 2.5px;
  }

}

@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, 720px);
  }

  .slider_section {
    min-height: 560px;
  }

  .hero_area::before {
    background: rgba(255, 250, 242, 0.82);
  }

  .about_section .detail-box {
    margin-top: 28px;
  }

  .news1_section .detail-box {
    margin-top: 45px;
  }
  
  .news2_section .detail-box {
    margin-top: 28px;
  }

  .news1_section .detail-box {
    margin-top: 28px;
  }

  .news2_section .row > [class*="col-"]:last-child {
    order: -1;
  }

  .course_section .heading_container p,
  .lab_section .box p {
    text-align: left;
  }

  .contact_section .map_container,
  .contact_section .map_container iframe {
    min-height: 320px;
  }

  .info_section .info_contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
  }

  .info_section .info_contact > [class*="col-"] {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0;
  }
  
  .subscribe_section {
    padding-top: 75px;
  }

  .subscribe_section .row {
    flex-direction: column-reverse;
  }

  .subscribe_section .detail-box {
    margin-bottom: 45px;
  }

  .contact_section .map_container {
    margin-top: 45px;
  }

  .info_section .info_box {
    flex-direction: column;
  }

  .info_section .info_contact {
    width: 100%;
  }

  .info_section .social_box {
    margin: 0;
    margin-top: 25px;
  }

  .footer_section .footer_box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer_section .footer_box p:not(:nth-last-child(1)) {
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 24px);
  }

  .header_section .container-fluid {
    padding-right: 12px;
    padding-left: 12px;
  }

  .navbar-brand {
    margin-right: 6px;
  }

  .navbar-brand img {
    height: 40px;
  }

  .navbar-brand span {
    max-width: 175px;
    font-size: 0.86rem;
  }

  .custom_nav-container .navbar-toggler {
    width: 40px;
    height: 40px;
  }

  .slider_section {
    min-height: 510px;
    padding: 42px 0;
  }

  .slider_section .detail_box {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .slider_section .detail_box h1 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
  }

  .about_section .img-box,
  .lab_section .box .img-box,
  .course_section .box .img-box,
  .news1_section .row,
  .news2_section .row {
    border-radius: 14px;
  }

  .news1_section .row,
  .news2_section .row {
    padding: 14px;
  }

  .info_section .info_contact {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    text-align: left;
  }

  .info_section .info_contact {
    align-items: start;
  }

  .info_section .info_contact a:not(:nth-last-child(1)) {
    margin-bottom: 0;
  }

  .footer_section .footer_box {
    padding: 22px 0;
  }
}

@media (max-width: 480px) {}

@media (max-width: 420px) {}

@media (max-width: 376px) {
  .slider_section .detail_box h1 {
    font-size: 1.75rem;
  }

  .navbar-brand span {
    max-width: 145px;
    font-size: 0.78rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}
