/* ============================================================
   Industry Sub-Page Styles
   Template CSS for /industries/*.html pages
   ============================================================ */

/* --- Hero (shorter, no parallax) --- */
.industry-hero {
  background: var(--gradient-hero);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.industry-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(48,219,0,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 15;
}
.industry-hero .container {
  position: relative;
  z-index: 2;
}
.industry-hero-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top;
  display: block;
  margin: 0;
}

/* --- Hero typography --- */
.industry-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.industry-hero h1 .text-accent {
  color: var(--accent);
}
.industry-hero .lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 2rem;
}
.industry-hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* --- Breadcrumb --- */
.industry-breadcrumb {
  padding: 1rem 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}
.industry-breadcrumb a {
  color: var(--text-muted);
  font-weight: 500;
}
.industry-breadcrumb a:hover {
  color: var(--accent);
}
.industry-breadcrumb .separator {
  margin: 0 0.5rem;
  color: var(--text-muted);
}
.industry-breadcrumb .current {
  color: var(--text-dark);
  font-weight: 600;
}

/* --- "Why" intro section --- */
.why-section {
  padding: 4rem 0;
}
.why-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.why-section p {
  font-size: 1.05rem;
  color: #f8e72fd9;
  line-height: 1.8;
  max-width: 800px;
}

/* --- Benefits section --- */
.benefit-block {
  padding: 3rem 0;
}
.benefit-block:nth-child(even) {
  background: var(--card-service-bg);
}
.benefit-block h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}
.benefit-block p {
  font-size: 1.25rem;
  color: #f8e72fd9;
  line-height: 1.7;
}
.benefit-block .benefit-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  /*width: 100%; */
  height: 475px;
  object-fit: cover;
}

/* --- Feature grid --- */
.features-section {
  padding: 0;
}
.features-section .container{
  background: var(--card-service-bg);
  padding-left: 2.5em;
  padding-right: 2.5em;
  padding-bottom: 2em;
  padding-top: 2em;
  border-radius: var(--radius);
}
.features-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.feature-card {
  background: var(--gradient-feature-card);
  border: 1px solid var(--interstitial-green);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(48,219,0,0.1);
  transform: translateY(-3px);
}
.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(48,219,0,0.1), rgba(48,219,0,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  color: var(--accent);
}
.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--feature-card-heading-color);
  text-align: center;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--feature-card-subheading-color);
  line-height: 1.65;
  margin-bottom: 0;
}

/* --- How it works --- */
.how-it-works {
  padding: 5rem 0;
  background: var(--off-white);
}
.how-it-works .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.step-card {
  background: var(--card-service-bg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
  min-height: 292px;
  opacity: 1;
  transform: translateY(0);
}
.step-card .step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.step-card h4 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--card-service-heading-color);
}
.step-card p {
  font-size: 0.95rem;
  color: #f8e72fd9;
  line-height: 1.65;
}

/* --- FAQ accordion --- */
.faq-section {
  padding: 0;
}
.faq-section .container {
  background: var(--card-service-bg);
  padding-left: 2.5em;
  padding-right: 2.5em;
  padding-bottom: 2em;
  padding-top: 2em;
  border-radius: var(--radius);
}
.faq-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.faq-item {
  border: 1px solid var(--interstitial-green);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover {
  border-color: rgba(48,219,0,0.3);
}
.faq-question {
  width: 100%;
  background: #031c42;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
  transition: background 0.2s;
}
.faq-question:hover {
  background: #041c38;
}
.faq-question .faq-chevron {
  font-size: 0.85rem;
  color: var(--text-light);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}
.faq-answer-inner {
  padding: 1rem 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: #f8e72fd9;
  line-height: 1.7;
}

/* --- Final CTA --- */
.industry-cta {
  background: var(--gradient-hero);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.industry-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(48,219,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.industry-cta h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.75rem;
  position: relative;
}
.industry-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.industry-cta .btn-accent {
  position: relative;
}

/* --- Hero Image Wrapper (background-image with rounded corners) --- */
.hero-image-wrapper {
  display: block;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 635px;
  width: 615px;
}

@media (max-width: 1399.98px) {
  .hero-image-wrapper {
    height: 610px;
  }
}

@media (max-width: 1199.98px) {
  .hero-image-wrapper {
    height: 502px;
  }
}

@media (max-width: 991.98px) {
  .hero-image-wrapper {
    height: 635px;
    width: 100%;
  }
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .industry-hero {
    padding: 7rem 0 3rem;
  }
  .industry-hero h1 {
    font-size: 2.15rem;
  }
  .benefit-block .benefit-img {
    height: 450px;
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 575.98px) {
  .industry-hero {
    padding: 6rem 0 2.5rem;
  }
  .industry-hero h1 {
    font-size: 1.75rem;
  }
  .industry-hero .lead {
    font-size: 1.05rem;
  }
  .feature-card {
    padding: 1.5rem 1.25rem;
  }
}
