/* ==========================================================================
   Belvan Landing Page - Responsive Stylesheet
   Breakpoints: 1600, 1400, 1366, 1200, 1100, 992, 768, 600, 500, 430, 375
   ========================================================================== */

/* ==========================================================================
   1600px
   ========================================================================== */
@media (max-width: 1600px) {
  h1 {
    font-size: 68px;
  }
}

/* ==========================================================================
   1400px
   ========================================================================== */
@media (max-width: 1400px) {
  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 38px;
  }
}

/* ==========================================================================
   1366px
   ========================================================================== */
@media (max-width: 1366px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 36px;
  }
}

/* ==========================================================================
   1200px
   ========================================================================== */
@media (max-width: 1200px) {
  .section {
    padding-top: 70px;
  }

  .mt-8 {
    margin-top: 70px;
  }

  .py-8 {
    padding: 70px 0px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 22px;
  }
}

/* ==========================================================================
   1100px
   ========================================================================== */
@media (max-width: 1100px) {
  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 30px;
  }
}

/* ==========================================================================
   992px (tablets)
   ========================================================================== */
@media (max-width: 991.98px) {
  .section {
    padding-top: 60px;
  }

  .mt-8 {
    margin-top: 60px;
  }

  .py-8 {
    padding: 60px 0px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  body {
    font-size: 17px;
  }

  /* Header: tighten the floating bar */
  .header-bar {
    padding: 8px 8px 8px 16px;
  }

  /* Banner: reduce the padding reserved for the overlapping USPS card */
  .landing-banner {
    padding-top: 90px;
  }

  .landing-banner .content-area {
    padding: 40px 0px 40px;
  }

  .landing-banner .banner-form .content h2,
  .landing-cta-form .banner-form .content h2 {
    font-size: 24px;
  }

  /* CTA form: reduce the tall padding reserved for the desktop layout */
  .landing-cta-form .content-area {
    padding: 40px 0px;
  }

  /* CTA form: drop the bleeding person photo once the columns stack, so it doesn't overlap the form/text */
  .landing-cta-form .cta-person {
    display: none;
  }

  /* CTA form: the 58% fixed-height background was tuned for the two-column desktop height;
     once the form/text stack the section gets much taller, so just cover it instead */
  .landing-cta-form {
    background-size: cover;
  }

  /* Gallery: drop to a 2-column grid */
  .landing-gallery .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Quick help: drop to a 3-column grid */
  .landing-quick-help .quick-help-bar {
    grid-template-columns: repeat(3, 1fr);
  }

  .landing-quick-help .quick-help-item:nth-child(3n) {
    border-right: none;
  }
}

/* ==========================================================================
   768px (large phones / small tablets)
   ========================================================================== */
@media (max-width: 767.98px) {
  .section {
    padding-top: 50px;
  }

  .mt-8 {
    margin-top: 50px;
  }

  .py-8 {
    padding: 50px 0px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 26px;
  }

  body {
    font-size: 16px;
  }

  .landing-banner .content-area {
    text-align: center;
  }

  .landing-banner .content-area .d-flex {
    justify-content: center;
  }

  br{
    display: none;
  }

  .landing-banner .banner-usps img{
    margin: 0 auto;
  }

  /* Gallery: stack into a single column */
  .landing-gallery .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials: cards stack, so the side nav arrows no longer have a row to sit beside */
  .landing-testimonials .testimonials-nav {
    display: none;
  }

  /* Process steps: stack the steps and drop the connecting line */
  .landing-process .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .landing-process .process-steps::before {
    display: none;
  }

  .landing-process .step-arrow {
    display: none;
  }
}

/* ==========================================================================
   600px
   ========================================================================== */
@media (max-width: 600px) {
  .section {
    padding-top: 40px;
  }

  .mt-8 {
    margin-top: 40px;
  }

  .py-8 {
    padding: 40px 0px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 19px;
  }

  body {
    font-size: 15px;
  }

  .btn-red,
  .btn-white,
  .btn-outline-white,
  .btn-dark,
  .btn-outline-dark {
    padding: 11px 24px;
    font-size: 15px;
  }

  .landing-banner .banner-form {
    padding: 20px;
  }

  /* Header: the fixed-width call button (flex: 0 0 auto) doesn't shrink,
     so compact it early to stop it pushing past the right edge */
  .header-bar {
    padding: 8px;
  }

  .call-btn {
    padding: 8px;
  }

  .call-label {
    display: none;
  }

  /* Tighter card padding on small phones */
  .landing-hvac-experts .experts-card {
    padding: 24px;
  }

  /* HVAC experts: hide the decorative watermark once the card padding is uniform and tight */
  .landing-hvac-experts .experts-watermark {
    display: none;
  }

  /* Quick help: the bootstrap px-5 utility is too wide once the columns are this narrow */
  .landing-quick-help .item {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Quick help: drop to a 2-column grid */
  .landing-quick-help .quick-help-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-quick-help .quick-help-item:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .landing-quick-help .quick-help-item:nth-child(2n) {
    border-right: none;
  }
}

/* ==========================================================================
   500px
   ========================================================================== */
@media (max-width: 500px) {
  h1 {
    font-size: 27px;
  }

  h2 {
    font-size: 22px;
  }

  .navbar-brand img {
    max-height: 36px;
  }
}

/* ==========================================================================
   430px
   ========================================================================== */
@media (max-width: 430px) {
  .section {
    padding-top: 32px;
  }

  .mt-8 {
    margin-top: 32px;
  }

  .py-8 {
    padding: 32px 0px;
  }

  h1 {
    font-size: 25px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  .landing-banner .banner-form .content h2,
  .landing-cta-form .banner-form .content h2 {
    font-size: 20px;
  }
}

/* ==========================================================================
   375px
   ========================================================================== */
@media (max-width: 375px) {
  h1 {
    font-size: 23px;
  }

  h2 {
    font-size: 19px;
  }

  .btn-red,
  .btn-white,
  .btn-outline-white,
  .btn-dark,
  .btn-outline-dark,
  .call-btn {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
}
