@media (max-width: 1120px) {}

@media (max-width: 992px) {
  .hero_area {
    min-height: auto;
  }

  .hero_area::before {
    width: 100%;
  }

  .slider_section .slider_form {
    width: 100%;
    max-width: 550px;
    margin-top: 45px;
    margin-bottom: 75px;
  }

  .slider_section .carousel-indicators {
    left: 0;
    justify-content: center;
  }

  .news_section .news_container {
    flex-direction: column;
  }

  .news_section .news_container .box:nth-child(2) {
    margin-top: 75px;
    margin-bottom: 75px;
  }

  .contact_section .contact_form {
    padding: 25px 15px;
    margin: 0 auto;
    max-width: 475px;
  }

  .why_section .why_container {
    padding: 0;
  }

  .info_section .box {
    width: 100%;
  }

  .footer_section p {
    width: 100%;
  }
}

@media (max-width: 768px) {

  .about_section .detail-box {
    padding: 0;
    margin-bottom: 45px;
  }

  .about_section .detail-box::before {
    right: -5px;
  }

  .about_section .img-box {
    padding: 45px 0;
  }

  .service_section {
    width: 95%;
    margin: auto;
    border: 1px solid #e5e5e5;
}

.service_section .service_container {
    display: flex;
    flex-wrap: wrap; /* Allows boxes to wrap onto the next line */
    justify-content: space-between; /* Space between boxes */
    text-align: center;
}

.service_section .service_container .box {
    flex: 1 1 30%; /* Each box takes approximately 30% of the row */
    margin: 15px; /* Margin for spacing between boxes */
    max-width: 30%; /* Ensures that at max 3 boxes fit per row */
}

.service_section .service_container .box .img-box {
    height: 85px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.service_section .service_container .box .img-box img {
    max-width: 100%;
    max-height: 100%;
}

.service_section .service_container .box .detail-box {
    margin-top: 15px;
}

.service_section .service_container .box .detail-box h5 {
    font-weight: bold;
}

.service_section .service_container .box .detail-box a {
    display: inline-block;
    padding: 7px 20px;
    border: 1px solid #0b0b0a;
    background-color: transparent;
    color: #0b0b0a;
}

.service_section .service_container .box .detail-box a:hover {
    background-color: #0b0b0a;
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .service_section .service_container {
        flex-direction: column; /* Stack boxes vertically on small screens */
        align-items: center; /* Center align items */
    }

    .service_section .service_container .box {
        flex: 1 1 100%; /* Each box takes full width */
        max-width: 100%; /* Max width of each box is 100% */
        margin: 20px 0; /* Margin for spacing */
    }

    .service_section .service_container .box:nth-child(2) {
        margin: 45px 0; /* Specific margin for the second box if needed */
    }
}

/* Additional styles for smaller devices */
@media (max-width: 480px) {
    .service_section .service_container .box .img-box {
        height: 70px; /* Adjust height of images for smaller screens */
    }

    .service_section .service_container .box .detail-box a {
        padding: 5px 15px; /* Smaller button padding on mobile */
    }
}


@media (max-width: 576px) {
  .news_section .news_container {
    padding: 0;
  }
}

@media (max-width: 480px) {}

@media (max-width: 420px) {
  .why_section .box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .why_section .box .img-box {
    margin: 0;
    margin-bottom: 25px;
  }
}

@media (max-width: 360px) {
  .app_section .detail-box .btn-box {
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}