/*
Theme Name: MoldFixCo
Theme URI: https://moldfixco.com
Author: MoldFixCo
Version: 1.0.0
*/

:root {
  /* Primary Brand Colors */
  --color-primary: #1B5E20;   /* Deep Green – trust, nature, remediation */
  --color-secondary: #388E3C; /* Brighter Green – accents, hover states */
  
  /* Accent / CTA */
  --color-accent: #FF6B35;    /* Warm Orange – high-contrast call-to-action buttons */

  /* Neutral Backgrounds */
  --color-bg-light: #F9FAFB;  /* Light gray-white background */
  --color-bg-dark: #2E2E2E;   /* Dark gray for footer/contrast sections */

  /* Text Colors */
  --color-text-main: #1F2937; /* Almost-black for body text */
  --color-text-muted: #6B7280;/* Muted gray for secondary text */
  --color-text-inverse: #FFFFFF; /* White text for dark backgrounds */
}


* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, a {
  font-family: 'Poppins', sans-serif;
}

p, div, span {
  font-family: 'Roboto', sans-serif;
}

body,
html {
  padding: 0;
  margin: 0;
}

header {
/*  position: sticky;
  top: 0;*/
  background: #fff;
  box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

header .logo {
  width: 150px;
}

.header-content {
  padding-top: 30px;
  padding-bottom: 30px;
}

.fw-500 {
  font-weight: 500;
}

.boxed-content {
  max-width: 1240px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-col {
  flex-direction: column;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.items-center {
  align-items: center;
}

.hero-wrapper {
  padding: 35px 0px;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
}

.hero-wrapper .center {
  text-align: center;
}

.hero-wrapper h1 {
  font-size: 38px;
  line-height: 1.35;
  margin-bottom: 20px;
  margin-top: 0px;
  max-width: 800px;
}

.hero-content {
  gap: 30px;
  color: #fff;
}

.hero-wrapper p {
  font-size: 19px;
  margin-bottom: 35px;
  line-height: 1.6;
  max-width: 600px;
  font-weight: 400;
}

.hero-content .items {
  gap: 10px;
  margin-bottom: 20px;
}

.hero-content .items svg {
  height: auto;
  width: 20px;
}

.hero-content .items .icon-wrapper {
  background: var(--color-primary);
  border-radius: 50%;
  height: 35px;
  width: 35px;
  min-width: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-content .items svg path {
  stroke: #fff;
}

.hero-content .items .item {
  font-size: 16px;
  gap: 10px;
}

.hero-content .items .item span {
  font-weight: 600;
  color: var(--color-accent);
}

.cta-wrapper {
  margin-top: 20px;
  border-radius: 5px;
}

.cta-note {
  text-align: center;
}

.button-primary {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 24px;
  transition: background 0.2s ease;
  text-decoration: none;
  gap: 10px;
}

.button-primary:hover {
  background: var(--color-secondary);
}

.button-primary svg {
  height: 30px;
  fill: #fff;
}

.hero-wrapper .rating {
  gap: 8px;
  margin-bottom: 10px;
}

.hero-wrapper .rating svg {
  height: 25px;
}

.cta-wrapper .button-primary {
  font-size: 17px;
}

.below-hero-wrapper {
  background-color: var(--color-secondary);
  padding: 20px 0px;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.15);
}

.below-hero-wrapper .item {
  font-size: 22px;
  gap: 8px;
  color: #fff;
}

.below-hero-wrapper .item svg{
  height: 40px;
  color: #fff;
}

.main-content {
  padding-top: 30px;
  padding-bottom: 60px;
  position: relative;
  background-color: var(--color-bg-light);
}

.main-content .left {
  width: 50%;
}


.main-content .right {
  width: 45%;
  max-width: 400px;
}

.main-content p, .main-content p a {
  color: var(--color-text-main);
}

.main-content h1:first-child, .main-content h2:first-child, .main-content h3:first-child {
  margin-top: 0px;
}

.main-content p {
  line-height: 1.65;
  font-size: 18px;
}

.main-content .image-cta {
  height: 400px;
}

.main-content .image-cta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.main-content .image-cta .cta-text {
  color: var(--color-text-main);
  font-size: 20px;
  text-align: center;
  margin-top: 25px;
  margin-bottom: 10px;
}

/* Container helper (use your site’s if you already have one) */
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Section shell */
.howitworks {
  background: var(--color-bg-light, #F9FAFB);
  padding: 56px 0;
  border-top: 1px solid rgba(0,0,0,.05);
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--color-text-main, #1F2937);
}
.section-sub {
  color: var(--color-text-muted, #6B7280);
  margin: 0 0 28px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.step {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.03);
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-primary, #1B5E20);
  color: #fff; font-weight: 700;
  margin-bottom: 12px;
}
.step-title { margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; color: var(--color-text-main,#1F2937); }
.step-text  { margin: 0; color: var(--color-text-muted,#6B7280); }

/* Responsive */
@media (max-width: 900px){
  .steps { grid-template-columns: 1fr; }
}


.faqs {
  background: #fff;
  padding: 56px 0;
  border-top: 1px solid rgba(0,0,0,.05);
}
.faqs .section-title { margin-bottom: 16px; }

.faq {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 10px 0;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.02);
  overflow: hidden;
}

/* Summary row */
.faq > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  color: var(--color-text-main, #1F2937);
}
.faq > summary::-webkit-details-marker { display: none; }

/* Chevron */
.faq > summary svg {
  width: 20px; height: 20px;
  fill: var(--color-text-muted, #6B7280);
  transition: transform .2s ease;
}
.faq[open] > summary svg { transform: rotate(180deg); }

/* Answer */
.faq .answer {
  color: var(--color-text-muted, #6B7280);
  margin-top: 10px;
  line-height: 1.6;
}

.faq-cta {
  margin-top: 30px;
  gap: 10px;
}

.site-footer {
  background: var(--color-bg-light, #F9FAFB);
  padding: 40px 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted, #6B7280);
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo {
  max-width: 100px;
}

.footer-call {
  background: var(--color-accent, #FF6B35);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.footer-call  svg {
  height: 20px;
  margin-right: 5px;
}

.disclaimer {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 15px 0;
  color: var(--color-text-muted, #6B7280);
  max-width: 500px;
}

.footer-links {
  margin: 10px 0;
}
.footer-links a {
  color: var(--color-text-main, #1F2937);
  text-decoration: none;
  font-weight: 500;
  margin: 0 5px;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-links span {
  color: var(--color-text-muted, #6B7280);
}

.copyright {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted, #6B7280);
  text-align: center;
}

@media (max-width: 600px) {
  .footer-top {
    flex-direction: column;
    gap: 10px;
  }
}


.legal-page {
  padding: 60px 0;
  background: #fff;
}

.legal-page .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-page .entry-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text-main, #1F2937);
}

.legal-page .entry-content h2 {
  margin-top: 30px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text-main, #1F2937);
}

.legal-page .entry-content p,
.legal-page .entry-content li {
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--color-text-muted, #4B5563);
}

.legal-page .entry-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-page a {
  color: var(--color-accent, #FF6B35);
  text-decoration: underline;
}
.legal-page a:hover {
  color: var(--color-secondary, #388E3C);
}


@media only screen and (max-width: 991px) {
  .main-content .boxed-content {
    flex-direction: column;
    max-width: 700px;
  }

  .main-content .left, .main-content .right {
    max-width: 100%;
    width: 100%;
    margin-top: 35px;
  }

  .main-content .right .image-cta img {
    max-height: 300px;
  }

  .below-hero-wrapper {
    .item {
      font-size: 17px;
      svg {
        height: 25px;
        transform: translateY(4px);
      }
    }
  }
}

@media only screen and (max-width: 767px) {
  .hero-wrapper .hero-content h1 {
    font-size: 32px;
  }

  .below-hero-wrapper {
    .boxed-content {
      gap: 20px;
      .item {
        flex-direction: column;
        justify-content: center;
        text-align: center;
      }
    }

  }
}

@media only screen and (max-width: 575px) {
  .hero-wrapper .hero-content h1 {
    font-size: 28px;
  }

  .hero-wrapper .hero-content p {
    font-size: 18px;
  }

  header .button-primary {
    font-size: 15px;
  }

  header .button-primary svg {
    display: none;
  }

  header .logo {
    max-width: 100px;
  }

    body .hero-wrapper {
    background-position: 70%!important;
  }

  .faqs .button-primary {
    font-size: 17px;
  }
}

@media only screen and (max-width: 479px) {
  .hero-wrapper .hero-content h1 {
    font-size: 27px;
    margin-bottom: 35px;
  }

  .hero-wrapper .hero-content p {
    display: none;
  }
}