/* Mobile Responsive Fix */
@media (max-width: 991px) {
  /* Stack all sections in one column */
  .main-section .d-flex {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  

  .main-section .box {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }

  

  /* Footer in one column */
  .footer-section .d-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .footer-section nav ul {
    padding: 0 !important;
  }

  .footer-section nav ul li {
    display: block !important;
    margin: 8px 0 !important;
  }

  .footer-section .box-three {
    text-align: center !important;
  }
}
/* ====== Global Fix to Prevent Horizontal Scroll ====== */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* Make sure all images scale down */
img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}
@media (max-width: 768px) {
  /* Stack all sections in one column */
 .footer-section .box-three .icons a i {
    font-size: 40px;
  }
  }
/* ====== Mobile Responsive Fix ====== */
@media (max-width: 991px) {
  /* Stack content in one column */
  .main-section .d-flex {
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 auto !important;
  }

  .main-section .box {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }

  
  /* ===== Footer Responsive ===== */
  .footer-section .d-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }
  .footer-section .box-two {
  
    padding: 0px;
}
.footer-section .box-one {
    width: 24.386%;
    padding: 5px;
}


  
  .footer-section .box-two,
  .footer-section .box-three {
    width: 100% !important;
    margin-bottom: 20px !important;
  }
  

  .footer-section nav ul {
    padding: 0 !important;
    margin: 0 !important;
  }

  .footer-section nav ul li {
    display: block !important;
    margin: 8px 0 !important;
  }

  .footer-section .icons {
    justify-content: center !important;
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }

  .footer-section .location-section {
    text-align: center !important;
  }
}
@media (max-width: 991px) {
  .footer-section .location-section {
    text-align: center !important;
    width: 100% !important;
  }

  .footer-section .location-section .box {
    display: block !important;
    margin: 8px 0 !important;
  }

  .footer-section .location-section .box a {
    display: inline-block !important;
    text-align: center !important;
  }
}
@media (max-width: 991px) {
  .logo-section {
    text-align: center !important;
    width: 100% !important;
  }

  .logo-section img {
    margin: 0 auto 10px auto !important;
    display: block !important;
    max-width: 220px !important; /* keeps logo from being too big */
    height: auto !important;
  }

  .logo-section h5 {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
}
@media (max-width: 767px) {
  .price-btn {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  .price-btn a {
    flex: 0 0 calc(50% - 10px) !important; /* two per row */
    text-align: center !important;
    padding: 12px 0 !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
}

@media (max-width: 767px) {
  .submit-box input[type="submit"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding: 14px !important;
    font-size: 18px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 767px) {
  .box-one {
    text-align: center !important;
    width: 100% !important;
  }

  .box-one img {
    max-width: 190px !important; /* smaller size */
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }
}

@media (max-width: 767px) {
  .box-three {
    width: 100% !important;
    text-align: center !important;
  }

  .box-three .icons {
    display: flex !important;
    justify-content: space-between !important; /* spread evenly */
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }

  .box-three .icons a {
    flex: 1 1 auto !important; /* allow shrinking */
    text-align: center !important;
    font-size: 12px !important; /* smaller icons */
    max-width: 10% !important;  /* 5 icons in one row */
  }
  .footer-section .box-three .icons a i {
      margin:10px 0px !important;
  }
}
