/* Overrides extracted from index.html inline <style> */

/* Equal-height hero pair */
.srex-hero-one__left__img img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: cover !important;
  display: block !important;
}
.srex-hero-one > .container > .row {
  align-items: stretch !important;
}
.srex-hero-one .col-lg-4 {
  display: flex;
}
.srex-hero-one__right {
  display: flex;
  width: 100%;
}
.srex-hero-one__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.srex-hero-one__pair {
  align-items: stretch !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
}
.srex-hero-one__pair > div {
  flex: 1 1 0;
  display: flex;
}
/* Ensure the image container clips and fills */
.srex-hero-one__left__img {
  overflow: hidden;
  height: 100% !important;
  display: flex !important;
}

/* Force flex-based equal heights to win over any theme/grid styles */
.srex-hero-one__pair {
  display: flex !important;
}
.srex-hero-one__pair > div {
  align-items: stretch;
}
.srex-hero-one__left__img,
.srex-hero-one__left__enery__efficient {
  border-radius: 24px;
}
.srex-hero-one__left__img img { border-radius: 24px; }
/* Ensure left price block fills height and centers content */
.srex-hero-one__left__enery__efficient {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.winter-offer-line {
  gap: 8px;
}

/* Mobile: stack hero pair and let image size naturally */
@media (max-width: 991.98px) {
  .srex-hero-one__pair {
    display: block !important;
  }
  .srex-hero-one__pair > div {
    display: block;
    width: 100%;
  }
  /* Keep hero CTAs on one line on mobile by tightening sizing */
  /* .srex-hero-one__box .srex-btn {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.2;
    vertical-align: middle;
  } */
  .srex-hero-one__box .srex-btn img {
    width: 16px;
    height: 16px;
    margin-right: 6px !important;
  }
  .srex-hero-one__box .ms-2 { margin-left: 8px !important; }
  /* Add spacing under the green price block on mobile */
  .srex-hero-one__left__enery__efficient {
    margin-bottom: 16px;
  }
  .srex-hero-one__left__img {
    height: auto !important;
    display: block !important;
  }
  .srex-hero-one__left__img img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
  /* Hide the right lightbulb image block on mobile */
  .srex-hero-one__right {
    display: none !important;
  }
}
/* Price as single paragraph keeping h2 sizing */
.srex-hero-one__price {
  margin: 0;
}
.srex-hero-one__price .label {
  display: block;
}
.srex-hero-one__price .amount {
  display: block;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 57.6px;
}
@media (max-width: 767.98px) {
  .srex-hero-one__price .amount {
    font-size: 35px;
    line-height: 50px;
  }
}
/* Reduce bottom spacing on features section */
.srex-features.srex-section {
  padding-bottom: 60px;
}
@media (max-width: 767.98px) {
  .srex-features.srex-section {
    padding-bottom: 30px;
  }
}
/* Remove sentence-case transforms on titles */
h2,
h4,
h6,
.srex-section__head__title {
  text-transform: none !important;
}
/* Add right padding next to About section title on desktop */
@media (min-width: 992px) {
  .srex-about-us-one .srex-section__head {
    padding-right: 40px;
  }
}
/* Gradient text logo */
.site-logo {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.3;
  background: linear-gradient(to bottom right, #0f5f1a, #58c46a);
  background-color: #000;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  letter-spacing: -0.03em;
}
.site-logo img { vertical-align: middle; margin-right: 8px; }

/* Align logo icon and text */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.site-logo img {
  margin-right: 0;
}
/* Mask-based logo icon allowing easy color swaps */
.site-logo__icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  background-image: url('../icons/orange/zap.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
@media (max-width: 991.98px) {
  .site-logo {
    font-size: 28px;
    display: inline-flex;
    align-items: center;
  }
  .ud-main-menu.ud-main-menu--home-one {
    justify-content: center !important;
  }
  .ud-main-menu__logo {
    width: 100%;
    text-align: center;
  }
}
.srex-footer-one .site-logo {
  font-size: 24px;
}
/* Fix bullets layout on mobile inside About section */
@media (max-width: 767.98px) {
  .srex-about-us-one .srex-section__head {
    text-align: left;
  }
  .srex-about-us-one .srex-section__head .srex-icon-list {
    display: block;
    margin: 16px 0;
  }
  .srex-about-us-one .srex-section__head .srex-icon-list ul li {
    align-items: flex-start;
    text-align: left;
  }
  .srex-about-us-one .srex-section__head .srex-icon-list ul li i {
    align-self: flex-start;
    line-height: 1;
    margin-top: 6px;
  }
}
/* Padding for contact right content on desktop */
@media (min-width: 992px) {
  .srex-contact .srex-contact__right {
    padding-left: 40px;
  }
}
/* Button color overrides: green default, orange on hover */
.srex-btn,
.srex-btn--outline,
.srex-btn--primary,
.srex-btn--secondary,
.srex-btn--white {
  background-color: #1d8f2c;
  color: #fff;
  border: 1px solid #1d8f2c;
}
.srex-btn:hover,
.srex-btn--outline:hover,
.srex-btn--primary:hover,
.srex-btn--secondary:hover,
.srex-btn--white:hover {
  background-color: #ff7029;
  border-color: #ff7029;
  color: #fff;
}

/* Buttons: force sentence case (disable theme capitalization) */
.srex-btn,
.srex-btn--outline,
.srex-btn--primary,
.srex-btn--secondary,
.srex-btn--white {
  text-transform: none !important;
}

/* Outlined secondary (orange border/text, fill on hover) */
.srex-btn--outline-secondary {
  background-color: transparent;
  color: #1d8f2c; /* green text */
  border: 1px solid #1d8f2c; /* green border */
  border-radius: 999px; /* match other buttons */
}
.srex-btn--outline-secondary:hover {
  background-color: #ff7029; /* keep orange on hover */
  color: #fff;
  border-color: #ff7029;
}

/* Disable WOW.js entrance animations globally */
.wow {
  visibility: visible !important;
  opacity: 1 !important;
}
.wow,
.ud-animated,
.ud-fade-in,
.ud-fade-in-left,
.ud-fade-in-right,
.ud-fade-in-up,
.ud-fade-in-down {
  animation: none !important;
}

/* Disable transitions/animations while the viewport is being resized */
body.disable-transitions *,
body.disable-transitions *::before,
body.disable-transitions *::after {
  transition: none !important;
  animation: none !important;
}

/* Honor reduced motion preference globally */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Hero price heading can be used on h2 or p */
.price-prefix {
  font-size: 18px;
  vertical-align: super;
  line-height: 1;
  font-weight: normal;
}
.price-heading {
  display: block;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 68px;
  line-height: 1.15;
  color: inherit;
  margin: 0;
}
@media (max-width: 767.98px) {
  .price-heading {
    font-size: 50px;
    line-height: 60px;
  }
}

/* FAQ: make links white for contrast on dark background */
.srex-question a {
  color: #fff !important;
}
.srex-question a:visited {
  color: #fff !important;
}
.srex-question a:hover,
.srex-question a:focus {
  color: #fff !important;
  text-decoration: underline;
}

/* FAQ: force sentence case for question headings */
.srex-question .accordion-button,
.srex-question h3 {
  text-transform: none !important;
}

/* Contact form: add gentle top spacing to labels */
.srex-contact .form-label {
  margin-top: 10px;
}

/* Contact: reduce bottom spacing of the right block */
.srex-contact__right {
  margin-bottom: 20px;
  padding-bottom: 0;
}

/* Desktop: perfect equal heights for hero pair via grid + absolute image fill */
@media (min-width: 992px) {
  .srex-hero-one__pair {
    display: grid !important;
    grid-template-columns: 2fr 1fr; /* make price wider, image narrower */
    gap: 16px;
    align-items: stretch !important;
  }
  .srex-hero-one__left__img {
    position: relative;
  }
  .srex-hero-one__left__img img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* show full image on wide screens without affecting height */
    padding: 0;
  }
}

/* iOS Safari dark mode: keep contact form controls light */
.srex-contact input,
.srex-contact textarea,
.srex-contact select {
  color-scheme: light;
  background-color: #fff;
  color: #24231d;
}
.srex-contact input,
.srex-contact textarea,
.srex-contact select {
  border: 1px solid #e3e3e3;
}
.srex-contact form {
  background-color: transparent !important;
  color-scheme: light;
}
.srex-contact input:-webkit-autofill,
.srex-contact textarea:-webkit-autofill,
.srex-contact select:-webkit-autofill {
  -webkit-text-fill-color: #24231d;
  box-shadow: 0 0 0 1000px #fff inset;
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
}
