/* =============================================================
   LawnPro Feature Pages — Bootstrap Grid Edition
   Bootstrap 4.6.2 handles layout (row/col). This file handles
   visual styling only.
   
   Load order: bootstrap → industries.css → styles-v2.css → THIS
   
   This file MUST override conflicting layout rules from
   industries.css that target .feature-page .hero-section
   ============================================================= */

/* ----- HERO SECTION ----- */

/* Override industries.css: min-height:60vh — let content decide height */
.feature-page .hero-section {
  min-height: auto;
  padding: 4rem 0 3rem;
  overflow: hidden;
  /* background gradient comes from industries.css — keep it */
}

/* Override industries.css: .content had display:flex, justify-content:space-between */
.feature-page .hero-section .content {
  display: block;
  padding: 0;
}

/* Override industries.css: .text-content had padding-right:5rem */
.feature-page .hero-section .text-content {
  display: block;
  flex: none;
  width: auto;
  max-width: none;
  padding-right: 0;
}

/* Override industries.css: .img-content had width:100% as flex child */
.feature-page .hero-section .img-content {
  display: block;
  flex: none;
  width: auto;
  max-width: none;
}

/* Override Bootstrap d-flex utility on header tag */
.feature-page .hero-section.d-flex {
  display: block !important;
}

/* Hero images — always contained by parent (Bootstrap col or old wrapper) */
.feature-page .hero-section img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

/* Badge in hero */
.feature-page .hero-section .badge-soft {
  background: #f7fcff;
  color: var(--lp-green, #2E7D32);
  border-radius: 999px;
  padding: .35rem .75rem;
  font-weight: 700;
  letter-spacing: .2px;
}

/* Override industries.css 3.5rem heading — too large for col-lg-5 */
.feature-page .hero-section .feature-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.feature-page .hero-section .feature-subtext {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
}

/* CTA button — override industries.css padding:10px 100px which is too wide */
.feature-page .hero-section .gs-btn {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  color: var(--lp-green-600, #1B5E20);
  font-size: 1rem;
  border-radius: 5px;
  font-weight: 600;
  padding: 10px 50px;
  display: inline-block;
}
.feature-page .hero-section .gs-btn:hover {
  text-decoration: none;
  opacity: 0.95;
}

/* Hero responsive */
@media (min-width: 992px) {
  .feature-page .hero-section {
    padding: 5rem 0 4rem;
  }
  .feature-page .hero-section .feature-heading {
    font-size: 2.8rem;
  }
}

@media (max-width: 991.98px) {
  .feature-page .hero-section {
    text-align: center;
    padding: 3rem 0 2.5rem;
  }
  .feature-page .hero-section .feature-heading {
    font-size: 2rem;
  }
  .feature-page .hero-section .feature-subtext {
    font-size: 0.95rem;
    margin-left: auto;
    margin-right: auto;
  }
  /* Override industries.css mobile: .content flex-wrap and padding */
  .feature-page .hero-section .content {
    display: block;
    padding: 0;
    text-align: center;
  }
  .feature-page .hero-section .text-content {
    padding: 0;
  }
  .feature-page .hero-section .img-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .feature-page .hero-section .feature-heading {
    font-size: 1.6rem;
  }
  .feature-page .hero-section .feature-subtext {
    font-size: 0.9rem;
  }
}

/* Override industries.css mobile CTA — it forces width:75vw */
@media (max-width: 767.98px) {
  .feature-page .hero-section .content .gs-btn {
    padding: 10px 30px;
    width: auto;
    max-width: 300px;
    font-size: 1rem;
    display: inline-block;
  }
}


/* ----- TRUST BAR ----- */
.trust-bar {
  background: #f8f9fa;
  padding: 1.1rem 0;
  border-bottom: 1px solid #e9ecef;
}
.trust-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.trust-stat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  white-space: nowrap;
}
.trust-stat .stars { color: #ffc107; font-size: 0.82rem; }
.trust-stat strong { color: #212529; }
.trust-stat span { color: #6c757d; }
.trust-divider {
  width: 1px;
  height: 22px;
  background: #dee2e6;
}
@media (max-width: 575.98px) {
  .trust-bar-content { gap: 0.75rem; }
  .trust-divider { display: none; }
  .trust-stat { font-size: 0.82rem; }
}


/* ----- FEATURE TABS SECTION ----- */
.feature-tabs-section {
  padding: 4rem 0;
  background: #fff;
}
.feature-tabs-section > .container > h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #212529;
}

/* Old wrapper class removed — now uses Bootstrap .row */
/* .feature-tabs-content kept as secondary class for JS selectors */

/* Vertical tab nav (desktop) */
.feature-tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}
.feature-tabs-nav .nav-btn {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border: none;
  border-left: 3px solid transparent;
  background: transparent;
  color: #495057;
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0;
  white-space: nowrap;
}
.feature-tabs-nav .nav-btn:hover {
  background: #f8f9fa;
  color: #212529;
}
.feature-tabs-nav .nav-btn.active {
  background: #f0fff4;
  border-left-color: #28a745;
  color: #28a745;
  font-weight: 600;
}

/* Tab content panels */
.feature-tab-panel {
  display: none;
}
.feature-tab-panel.active {
  display: block;
  animation: featureFadeIn 0.3s ease;
}
@keyframes featureFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.feature-tab-panel .tab-image {
  margin-bottom: 1.75rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}
.feature-tab-panel .tab-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}
.feature-tab-panel .tab-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #28a745;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}
.feature-tab-panel h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.85rem;
}
.feature-tab-panel p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #495057;
}

/* Tabs mobile — horizontal scroll */
@media (max-width: 991.98px) {
  .feature-tabs-nav {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    position: static;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
    padding-bottom: 0;
  }
  .feature-tabs-nav .nav-btn {
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1.2rem;
    font-size: 0.85rem;
    flex-shrink: 0;
  }
  .feature-tabs-nav .nav-btn.active {
    border-bottom-color: #28a745;
    border-left-color: transparent;
    background: transparent;
  }
}


/* ----- BADGE-SOFT (used outside hero too) ----- */
.badge-soft {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #28a745;
  background: rgba(40,167,69,0.15);
  border-radius: 50px;
}

/* ----- ICON BOX ----- */
.iconbox {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(40,167,69,0.1), rgba(40,167,69,0.05));
  color: #28a745;
  font-size: 1.2rem;
}

/* ----- CARD LIFT ----- */
.card-lift {
  border: 1px solid #e9ecef;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* ----- READ MORE LINKS ----- */
a.read-more {
  color: #2e7d32;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
a.read-more:hover {
  color: #1b5e20;
  text-decoration: none;
}

/* ----- FAQ ----- */
.faq-item {
  border-bottom: 1px solid #e9ecef;
}
.faq-item:first-child {
  border-top: 1px solid #e9ecef;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: #212529;
  transition: color 0.2s;
}
.faq-question:hover {
  color: #2e7d32;
}
.faq-question i {
  transition: transform 0.25s ease;
  font-size: 0.75rem;
  color: #adb5bd;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
  color: #28a745;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}
.faq-answer p {
  color: #495057;
  line-height: 1.7;
  font-size: 0.98rem;
  margin: 0;
}

/* ----- SECTION BACKGROUNDS ----- */
.lp-bg-sec {
  background: #f8f9fa;
}


/* ----- BENEFITS SECTION ----- */
.benefits-section {
  padding: 4rem 0;
  background: #fff;
}
.benefits-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}
.benefits-section .subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 2.5rem;
}
.benefit-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.benefit-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(40,167,69,0.1);
  color: #28a745;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.benefit-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.6rem;
}
.benefit-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #495057;
  margin: 0;
}

/* Variant: text-center benefit cards */
.benefit-card.text-center .icon {
  margin-left: auto;
  margin-right: auto;
}


/* ----- TESTIMONIAL SECTION ----- */
.testimonial-section {
  padding: 3.5rem 0;
  background: #f8f9fa;
}
.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.testimonial-card .quote-icon {
  font-size: 1.5rem;
  color: #28a745;
  margin-bottom: 1rem;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #343a40;
  font-style: italic;
  margin: 0 0 1.5rem;
  border: none;
  padding: 0;
}
.testimonial-card .attribution {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #28a745;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.testimonial-card .name {
  font-weight: 600;
  color: #212529;
  font-size: 0.95rem;
}
.testimonial-card .company {
  font-size: 0.85rem;
  color: #6c757d;
}


/* ----- PRICING CTA SECTION ----- */
.pricing-cta-section {
  padding: 3rem 0;
  background: #f8f9fa;
  text-align: center;
}
.pricing-cta-section h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}
.pricing-cta-section p {
  color: #6c757d;
  margin-bottom: 1.25rem;
}
.pricing-cta-section .btn {
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 2rem;
  font-weight: 600;
}
.pricing-cta-section .btn:hover {
  background: #218838;
  color: #fff;
}

/* Pricing comparison table */
.pricing-cta-section .comparison-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.pricing-cta-section .comparison-table .table {
  margin: 0;
}
.pricing-cta-section .comparison-table th {
  background: #f8f9fa;
  font-weight: 600;
  border-top: none;
}
.pricing-cta-section .btn-dark-cta {
  display: inline-block;
  padding: 0.65rem 2rem;
  background: #212529;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}
.pricing-cta-section .btn-dark-cta:hover {
  background: #343a40;
  color: #fff;
  text-decoration: none;
}


/* ----- CTA BANNER SECTION ----- */
.cta-banner-section {
  padding: 3.5rem 0;
  background: var(--lp-deep, #0f2e1d);
  text-align: center;
  color: #fff;
}
.cta-banner-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.cta-banner-section p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}
.cta-banner-section .btn,
.cta-banner-section .btn-white-cta {
  background: #fff;
  color: var(--lp-green-600, #1B5E20);
  border: none;
  border-radius: 6px;
  padding: 0.75rem 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
}
.cta-banner-section .btn:hover,
.cta-banner-section .btn-white-cta:hover {
  opacity: 0.95;
  color: var(--lp-green-600, #1B5E20);
  text-decoration: none;
}


/* ----- RELATED FEATURES SECTION ----- */
.related-section {
  padding: 4rem 0;
  background: #fff;
}
.related-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}
.related-section .subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 2.5rem;
}


/* ----- RESOURCES SECTION ----- */
.resources-section {
  padding: 4rem 0;
  background: #f8f9fa;
}
.resources-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}
.resources-section .subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 2.5rem;
}
.resource-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.resource-card .image {
  background: rgba(40,167,69,0.08);
  padding: 1.5rem;
  text-align: center;
  font-size: 2rem;
  color: #28a745;
}
.resource-card .content {
  padding: 1.25rem;
}
.resource-card .tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #28a745;
  margin-bottom: 0.5rem;
}
.resource-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}
.resource-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6c757d;
  margin-bottom: 0.75rem;
}
.resource-card a {
  color: #28a745;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.resource-card a:hover {
  color: #1e7e34;
}


/* ----- WHAT IS / SEO SECTION ----- */
.what-is-section {
  padding: 4rem 0;
  background: #fff;
}
.what-is-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1rem;
}
.what-is-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #495057;
}
.what-is-section ul {
  color: #495057;
  line-height: 1.8;
  padding-left: 1.5rem;
}
.what-is-section ul li {
  margin-bottom: 0.3rem;
}


/* ----- POPUP IMAGE MODAL ----- */
.popup-img {
  cursor: pointer;
  transition: transform 0.2s ease;
}
.popup-img:hover {
  transform: scale(1.01);
}


/* ----- INTEGRATIONS SECTION ----- */
.integrations-section {
  padding: 4rem 0;
  background: #fff;
}
.integrations-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}
.integrations-section .subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 2.5rem;
}
.integration-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.integration-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.integration-card .logo {
  margin-bottom: 1rem;
}
.integration-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}
.integration-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6c757d;
  margin-bottom: 0.75rem;
}
.integration-card a {
  color: #28a745;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.integration-card a:hover {
  color: #1e7e34;
}


/* ----- PRICING CTA (alternate class name) ----- */
.pricing-cta {
  text-align: center;
}
.pricing-cta h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}
