/* ===========================
   Responsive Styles
   =========================== */

@media (min-width: 1600px) {
   .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1440px;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  section {
    padding-top: 80px;
  }

  .hero-section .hero-content {
    padding: 100px 15px;
  }

  .process-section .col-lg-3:not(:last-child) .process-section__icon-wrap::after,
  .process-section .col-lg-3:not(:first-child) .process-section__icon-wrap::before {
    display: none;
  }

  .testimonials-section__nav.carousel-control-prev {
    left: 0;
  }

  .testimonials-section__nav.carousel-control-next {
    right: 0;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  section {
    padding-top: 60px;
  }

  .hero-section .hero-content {
    padding: 80px 15px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  /* Solution section - stack and add padding */
  .solution-section .solution-content {
    max-width: 100%;
    padding: 30px 15px;
  }

  .solution-section {
    margin-top: 40px;
  }

  /* USP section */
  .usp-section {
    padding-bottom: 60px;
    margin-top: 40px;
  }

  /* Quote section */
  .quote-section {
    margin-top: -40px;
  }

  /* CTA bottom */
  .cta-bottom-section__banner {
    padding: 40px 20px !important;
  }

  /* Footer */
  .footer-section {
    margin-top: 40px;
    padding: 40px 0 20px;
  }

  /* Process section numbers */
  .process-section__number {
    font-size: 36px;
  }

  /* Testimonials - hide 2nd and 3rd card on tablet */
  .testimonials-section .col-lg-4:nth-child(3) {
    display: none;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  section {
    padding-top: 50px;
  }

  .hero-section .hero-content {
    padding: 60px 15px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  /* Header */
  header .header-logo {
    max-width: 140px;
  }

  .btn-dark-custom {
    padding: 8px 16px;
  }

  .btn-dark-custom .btn-icon {
    font-size: 18px;
  }

  .btn-dark-custom .btn-number {
    font-size: 14px;
  }

  .btn-dark-custom .btn-label {
    font-size: 10px;
  }

  /* Buttons */
  .btn-primary-custom,
  .btn-outline-custom,
  .btn-white-custom,
  .btn-outline-white {
    padding: 8px 20px;
    font-size: 14px;
  }

  /* About section nested row - stack image on top */
  .about-section .row .col-md-5 {
    margin-bottom: 15px;
  }

  /* CTA form buttons stack */
  .cta-form-section .d-flex.gap-3 {
    flex-direction: column;
  }

  .cta-form-section .d-flex.gap-3 .btn {
    width: 100% !important;
  }

  /* Testimonials - show only 1 card */
  .testimonials-section .col-lg-4:nth-child(2),
  .testimonials-section .col-lg-4:nth-child(3) {
    display: none;
  }

  .testimonials-section__nav {
    width: 35px;
    height: 35px;
  }

  /* Footer */
  .footer-section__text {
    font-size: 14px;
  }

  .footer-section .d-flex.justify-content-between {
    justify-content: center !important;
    gap: 10px;
    text-align: center;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  section {
    padding-top: 40px;
  }

  .hero-section .hero-content {
    padding: 50px 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  /* Header */
  header .header-logo {
    max-width: 120px;
  }

  .btn-dark-custom .btn-label {
    display: none;
  }

  /* Hero buttons stack */
  .hero-section .d-flex.flex-wrap {
    flex-direction: column;
  }

  /* Quote card padding */
  .quote-section .quote-card {
    padding: 20px !important;
  }

  .quote-section {
    margin-top: -30px;
  }

  /* Extreme cards */
  .extreme-section .extreme-card {
    padding: 15px 18px;
  }

  /* CTA bottom banner */
  .cta-bottom-section__banner {
    padding: 30px 15px !important;
    border-radius: 12px !important;
  }

  .cta-bottom-section .d-flex.gap-3 {
    flex-direction: column;
    align-items: center;
  }

  /* Installation cards */
  .installation-section__card {
    min-height: auto;
  }

  /* Process numbers */
  .process-section__number {
    font-size: 28px;
  }

  /* USP section */
  .usp-section {
    padding-bottom: 40px;
  }
}
