@media (max-width: 1300px) {
  /* header */

  header h1 {
    font-size: 65px !important;
  }
  .header_info .detail-box {
    padding: 0 25px;
  }

  .header_info .carousel-control-prev {
    left: 15px;
    width: 45px;
    height: 45px;
  }

  .header_info .carousel-control-next {
    right: 15px;
    width: 45px;
    height: 45px;
  }
  /* certificate */

  .certificate img:first-of-type,
  .certificate img:last-of-type {
    width: 150px;
  }
  .certificate .container > div > div img {
    max-width: 400px;
    width: 100%;
  }
  .certificate .container > div h2 {
    bottom: 87px;
    left: 164px;
    font-size: 30px;
  }
  .certificate .container > div h2 {
    display: none;
  }
}

@media (max-width: 1120px) {
  /* header */

  header h1 {
    font-size: 65px !important;
  }
  /* certificate */

  .certificate img:first-of-type,
  .certificate img:last-of-type {
    width: 150px;
  }
  .certificate .container > div > div img {
    max-width: 400px;
    width: 100%;
  }
  .certificate .container > div h2 {
    bottom: 87px;
    left: 164px;
    font-size: 30px;
  }
  .certificate .container > div h2 {
    display: none;
  }
  .minimized {
    width: 300px;
    cursor: pointer;
    border: 1px solid #fff;
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .minimized:hover {
    border: 1px solid white;
  }

  .categories {
    justify-content: center;
  }

  .services-auto_card {
    width: 100%;
    max-height: 100%;
  }

  .services-auto_card:hover {
    transform: none;
  }

  .services-auto_text-card {
    padding: 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  /* header */

  header h1 {
    font-size: 65px !important;
  }
  .hero_area {
    min-height: auto;
  }

  .navbar-brand.brand_mobile {
    display: flex;
  }

  .navbar-brand.brand_desktop {
    display: none;
  }

  .header_section .main_nav {
    flex: 1;
  }

  #navbarSupportedContent {
    margin-top: 15px;
  }

  .main_nav .top_nav {
    display: none;
  }

  .header_info {
    padding-top: 45px;
    padding-bottom: 175px;
  }

  .info_section .info_logo_social {
    margin-bottom: 30px;
  }

  /* certificate */

  .certificate img:first-of-type,
  .certificate img:last-of-type {
    display: none;
  }
  .certificate .container > div > div img {
    display: block;
  }
  .certificate .container > div {
    width: 56%;
  }
  .minimized {
    width: 300px;
    cursor: pointer;
    border: 1px solid #fff;
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .minimized:hover {
    border: 1px solid white;
  }
  .contact_info_section .contact_info_container {
    width: 100%;
  }
}

@media (max-width: 767px) {
  /* header */

  header h1 {
    font-size: 40px !important;
  }
  .layout_padding {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .layout_padding-top {
    padding-top: 90px;
  }

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

  .hero_area {
    background-color: center;
  }

  .header_info {
    padding-top: 45px;
    padding-bottom: 75px;
    text-align: center;
  }

  .header_info .detail-box {
    padding: 0;
  }

  .header_info .detail-box .btn-box {
    justify-content: center;
  }

  .accreditation_section .detail-box {
    margin-bottom: 45px;
  }

  .sendform_section form {
    margin-bottom: 45px;
  }

  .info_bottom_row > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info_bottom_row > div:not(:nth-last-child(1)) {
    margin-bottom: 15px;
  }
  /* certificate */

  .certificate .container > div {
    width: 87%;
  }
  .minimized {
    width: 300px;
    cursor: pointer;
    border: 1px solid #fff;
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .minimized:hover {
    border: 1px solid white;
  }
  .contact_info_section .contact_info_container {
    width: 100%;
  }
}

@media (max-width: 576px) {
  /* header */

  header h1 {
    font-size: 30px !important;
  }
  .header_info .detail-box h1 {
    font-size: 2.5rem;
  }

  .carousel_btn-box {
    display: flex;
    justify-content: center;
    margin-top: 45px;
  }

  .header_info .carousel-control-prev,
  .header_info .carousel-control-next {
    position: unset;
    transform: none;
  }
  .minimized {
    width: 300px;
    cursor: pointer;
    border: 1px solid #fff;
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .minimized:hover {
    border: 1px solid white;
  }
  .contact_info_section .contact_info_container {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .minimized {
    width: 300px;
    cursor: pointer;
    border: 1px solid #fff;
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .minimized:hover {
    border: 1px solid white;
  }
  .contact_info_section .contact_info_container {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .header_info .detail-box h1 {
    font-size: 2rem;
  }

  .heading_container h2 {
    font-size: 28px;
  }
  .minimized {
    width: 300px;
    cursor: pointer;
    border: 1px solid #fff;
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .minimized:hover {
    border: 1px solid white;
  }
  .contact_info_section .contact_info_container {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .client_section .box .client_id .img-box {
    width: 100px;
    min-width: 100px;
    margin-right: 15px;
  }
  .minimized {
    width: 300px;
    cursor: pointer;
    border: 1px solid #fff;
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .minimized:hover {
    border: 1px solid white;
  }
  .contact_info_section .contact_info_container {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}
