/* === Red Barn Media Group - Custom Styles - Moore Heating and Air === */

/* === Hero Section === */
.mha-hero-intro {
  margin-top: 138px;
  width: 100%;
  height: 640px;
  background: url(../img/mha-hero-2000.webp) no-repeat center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 0;
}

.mha-hero-intro.sub {
  height: 500px;
  background: url(../img/mha-hero-intro-2000-640.webp) no-repeat center/cover;
}

.mha-hero-intro h1 {
  font: 700 3.55rem/1 poppins, sans-serif;
}

.mha-hero-intro h2 {
  font: 400 1.75rem poppins, sans-serif;
}

.sub-hero-h1 {
  font-size: 3.75rem;
  line-height: 1.2;
}

.sub-hero-h2 {
  font-size: 1.75rem;
  line-height: 1.2;
}
.tab-content
{
  max-width: 1600px; 
  margin: 0 auto;
}
/* === Service Tab === */
#serviceTab .nav-link {
  transition: all 0.3s ease-in-out;
  margin: 0 2px;
  border-radius: 1rem;
}

#serviceTab .nav-link.active {
  border: none;
  transform: translateY(15px);
  border-radius: 1rem 1rem 0 0;
}

#serviceTab .nav-link.sub-page {
  min-width: fit-content;
}

#serviceTab .nav-link.sub-page.active {
  transform: translateY(35px);
}

.no-top-left-radius {
  border-top-left-radius: 0;
}

ul.list-group li.list-group-item,
ol.list-group li.list-group-item,
table.table.table-bordered thead tr th,
table.table.table-bordered tbody tr td {
  background: transparent;
  border-color: var(--color-warning);
  color: var(--color-white);
}

/* === FAQ Accordion === */
.faq-accordion .accordion-button {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 1.5rem 0;
  font-weight: 600;
  color: #333;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: #333;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-accordion .accordion-button::after {
  display: none;
}

.faq-accordion .accordion-button .fa-chevron-down {
  transition: transform 0.2s ease-in-out;
  color: var(--bs-primary);
}

.faq-accordion .accordion-button:not(.collapsed) .fa-chevron-down {
  transform: rotate(180deg);
}

.faq-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid #e9ecef;
}

.faq-accordion .accordion-item:last-child {
  border-bottom: none;
}

.faq-accordion .accordion-body {
  padding-bottom: 1.5rem;
}

/* === BG Rebate Section === */
.bg-rebate {
  background: #f5f5f7 url(../img/mha-xcel-rebate-1600-544.webp) no-repeat bottom right;
  min-height: 544px;
}

/* === Media Queries (Largest → Smallest) === */
@media (max-width: 2000px) {
  .mha-hero-intro {
    background-image: url(../img/mha-hero-2000.webp);
  }
}

@media (max-width: 1600px) {
  .mha-hero-intro {
    background-image: url(../img/mha-hero-1600.webp);
  }

  .mha-hero-intro h1,
  .mha-hero-intro.sub-page h1 {
    font-size: 3.5rem;
  }

  .mha-hero-intro h2,
  .mha-hero-intro.sub-page h2 {
    font-size: 1.5rem;
  }
  .bg-rebate {
  background: #f5f5f7 url(../img/mha-xcel-rebate-1200-544.webp) no-repeat bottom right;
  min-height: fit-content;
}
}

@media (max-width: 1599.98px) {
  #serviceTab .nav-link {
    flex: 1 0 calc(25% - 0.5rem);
    margin: 0.25rem;
    text-align: center;
    padding: 0.7rem .7rem;
    background: transparent;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
  }

  #serviceTab .nav-link.active,
  #serviceTab .nav-link.sub-page.active {
    transform: translateY(35px);
  }
}

@media (max-width: 1200px) {
  .mha-hero-intro {
    background-image: url(../img/mha-hero-1200.webp);
  }

  .mha-hero-intro h1,
  .mha-hero-intro.sub-page h1 {
    font-size: 3rem;
  }

  .mha-hero-intro h2,
  .mha-hero-intro.sub-page h2 {
    font-size: 1.25rem;
  }
     #serviceTab .nav-link.active,
  #serviceTab .nav-link.sub-page.active {
    transform: translateY(0px);
  }
}


@media (max-width: 991px) {
  .mha-hero-intro.sub {
    height: auto;
  }
   .btn{
    margin-top: .5rem;
    margin-bottom: .5rem;
  }
     .bg-rebate {
    background: var(--bs-light);
  }
}

@media (max-width: 767px) {
    #serviceTab .nav-link.active,
  #serviceTab .nav-link.sub-page.active {
    transform: translateY(0px);
  }
  .mha-hero-intro {
    background: linear-gradient(
      to bottom,
      #093159 0%,
      #093159 55%,
      #2574d3 75%,
      #ebf5ff 100%
    );
    height: auto;
  }

  .mha-hero-intro h1 {
    font-size: 2.25rem;
  }

  .mha-hero-intro h2 {
    font-size: 1rem;
  }

  .sub-hero-h1 {
    font-size: 2.5rem;
  }

  .sub-hero-h2 {
    font-size: 1.8rem;
  }

  .bg-rebate {
    background: var(--bs-light);
  }
}

@media (max-width: 576px) {
 
  /* Empty — add rules if needed */
}

@media (max-width: 450px) {
  /* Empty — add rules if needed */
}
