@media (max-width: 1300px) {
  .footer_container {
    border-radius: 250px 0 0 0;
  }
}

@media (max-width: 1120px) {}

@media (max-width: 992px) {
  .hero_area {
    height: auto;
  }

  .quote_btn-container {
    display: none;
  }

  .custom_nav-container .navbar-nav {
    margin: 0;
    margin-left: auto;
    align-items: center;
    padding-top: 15px;
  }
  


  .custom_nav-container .navbar-nav .nav-item .nav-link {
    padding: 5px 25px;
    margin: 5px 0;
  }

  .slider_section {
    padding: 75px 0;
  }

  .contact_section .img-box {
    margin-top: 45px;
  }

  .info_section .row>div:nth-child(1) {
    margin-bottom: 25px;
  }

  .info_section .row>div:nth-child(2) {
    margin-bottom: 25px;
  }
}


@media (max-width: 768px) {
  .hero_area {
    border-radius: 0 0 250px 0;
  }
 

  .slider_section .detail-box {
    margin-top: 125px;
  }

  .about_section {
    border-radius: 150px 0 150px 0;
  }
  

  .about_section .img-box {
    margin-top: 125px;
  }

  .contact_section .row {
    flex-direction: column-reverse;
  }

  .contact_section .map_container {
    margin-left: 0;
    margin-bottom: 45px;
    height: 375px;
  }

  .info_section .row>div:nth-child(3) {
    margin-bottom: 35px;
  }

  .info_section .row>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

  }

  .info_section .info_links {
    align-items: center;
  }

  .info_section form input {
    text-align: center;
  }
}

@media (max-width: 576px) {}

@media (max-width: 480px) {}

@media (max-width: 420px) {}

@media (max-width: 376px) {}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

@media (max-width: 1300px) {
  .footer_container {
    border-radius: 250px 0 0 0;
  }
}

@media (max-width: 992px) {
  .hero_area {
    height: auto;
  }

  .quote_btn-container {
    display: none;
  }

  .custom_nav-container .navbar-nav {
    margin: 0;
    margin-left: auto;
    align-items: center;
    padding-top: 15px;
  }

  .custom_nav-container .navbar-nav .nav-item .nav-link {
    padding: 5px 25px;
    margin: 5px 0;
  }

  .slider_section {
    padding: 75px 0;
  }

  .contact_section .img-box {
    margin-top: 45px;
  }

  .info_section .row > div:nth-child(1),
  .info_section .row > div:nth-child(2) {
    margin-bottom: 25px;
  }
}
/* === Responsive Styles === */

/* Tablets and below (<= 768px) */
@media (max-width: 768px) {
  .slider_section .detail-box h1 {
    font-size: 2rem;
  }

  .slider_section .detail-box p {
    font-size: 1rem;
  }

  .slider_section .btn1 {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .slider_section .carousel-item {
    border-bottom-right-radius: 150px;
    overflow: visible;
    position: relative;
  }
}

/* Phones and smaller (<= 480px) */
@media (max-width: 480px) {
  .slider_section .detail-box {
    padding: 10px;
    max-width: 90%;
  }

  .slider_section .detail-box h1 {
    font-size: 1.6rem;
  }

  .slider_section .detail-box p {
    font-size: 0.9rem;
  }

  .slider_section .btn1 {
    font-size: 0.8rem;
    padding: 6px 14px;
  }
  .slider_section .btn-box {
    display: flex !important;
    flex-direction: column;
    align-items: center;
  }
  .slider_section .carousel-item {
    border-bottom-right-radius: 80px;
  }
}
/* Responsive styles for mobile */
@media (max-width: 576px) {
  .mission-section h2 {
    font-size: 2rem;         /* Smaller heading */
    text-align: center;
    margin: 0 auto;
  }

  .mission-section p {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0 10px;
    text-align: center;
  }

  .mission-section {
    padding: 20px 10px;
    overflow-x: hidden;
  }

  .mission-section .container,
  .mission-section .detail-box {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
}

@media (max-width: 768px) {
  .hero_area {
    border-radius: 0 0 250px 0;
  }

  .slider_section .detail-box,
  .about_section .img-box {
    margin-top: 45px;
  }

  .about_section {
    border-radius: 150px 0 150px 0;
  }

  .contact_section .row {
    flex-direction: column-reverse;
  }

  .contact_section .map_container {
    margin-left: 0;
    margin-bottom: 45px;
    height: 375px;
  }

  .info_section .row > div:nth-child(3) {
    margin-bottom: 35px;
  }

  .info_section .row > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info_section .info_links {
    align-items: center;
  }

  .info_section form input {
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}
/* Responsive Styles */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .card {
    margin-bottom: 20px;
  }
}
/* Mobile responsive styling */
@media (max-width: 768px) {
  .row {
      flex-direction: column;
  }

  .col-md-8, .col-md-4 {
      max-width: 100%;
      margin-bottom: 20px;
  }
}
@media (max-width: 768px) {
  .industries-list {
      column-count: 1;
  }
}


@media (max-width: 768px) {
  .commitment-section,
  .about-section {
    border-radius: 30px; /* reduce radius on mobile */
    padding: 30px 15px;
  }

  .commitment-section h2,
  #headingText {
    font-size: 22px;
    text-align: center;
  }

  .commitment-section p,
  #paraText {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
  }

  .img-wrapper {
    text-align: center;
    margin-bottom: 20px;
  }
}
@media (max-width: 576px) {
  .card-title {
    font-size: 1.2rem;
  }

  .card-text {
    font-size: 1rem;
  }

  .staffing_section, .turnkey_section {
    height: auto; /* Prevent fixed height on small screens */
    padding: 30px 15px;
  }
}

@media (max-width: 576px) {
  .card-title {
    font-size: 1.2rem;
  }

  .card-text {
    font-size: 1rem;
  }
   .card {
      margin-bottom: 1rem;
      height: auto !important;
    }
    .card-img-top {
      height: 150px;
      object-fit: cover;
    }
  }
  body, html {
    overflow-x: hidden;
  }
  @media (max-width: 768px) {
    .turnkey_section {
      height: auto; /* remove fixed height on mobile */
      border-radius: 100px 0 100px 0;
    }
  
    .turnkey_section .overlay {
      border-radius: 100px 0 100px 0;
    }
  
    .turnkey_section .card img {
      height: 200px;
      object-fit: cover;
    }
  
    .turnkey_section .p-4 {
      padding: 1.5rem !important;
    }
  
    .turnkey_section h1 {
      font-size: 1.5rem;
    }
  
    .turnkey_section p {
      font-size: 1rem;
    }
  }  
/* Always center the .box on all screen sizes */
.carousel-item .box {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Optional: vertically center content inside */
  text-align: center;      /* Optional: center text inside the box */
  width: 100%;
  max-width: 300px; /* Responsive max width */
}

/* Base Responsive Styles - up to 768px */
@media (max-width: 768px) {
  .carousel-item h3 {
    font-size: 1.25rem;
  }

  .carousel-item p {
    font-size: 0.9rem;
  }

  .detail-box {
    text-align: center;
    padding: 15px;
  }

  .carousel-inner {
    padding: 15px;
  }

  .carousel-item img {
    max-height: 250px;
    object-fit: cover;
    width: 100%;
    height: auto;
  }

  .btn-box {
    text-align: center;
  }

  .btn1 {
    font-size: 1rem;
  }

  .owl-carousel .owl-item {
    justify-content: center !important;
  }

  .carousel-caption {
    top: 60%;
    padding: 15px;
    width: 95%;
  }

  .carousel-caption h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .carousel-caption p {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* Smaller phones - up to 480px */
@media (max-width: 480px) {
  .carousel-caption {
    top: 65%;
    padding: 10px;
  }

  .carousel-caption h2 {
    font-size: 1.3rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }
}

/* Larger screens - 992px and above */
@media (min-width: 992px) {
  .carousel-item img {
    height: auto;
  }
}
