/* industries.css */

/* --------------------------------------------------------
   1)  REMOVE TOP/BOTTOM GAP ON INDUSTRIES PAGE
   -------------------------------------------------------- */
header + .hero {
  padding-top: 0 !important;
}
.hero {
  margin-bottom: 0; /* ensure no extra gap below hero */
}

/* --------------------------------------------------------
   2)  HERO (background: hero.png)
   -------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('hero.png') center/cover no-repeat;
  filter: brightness(0.75) grayscale(0.05);
}
.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 48vh;
  background: rgba(23, 28, 50, 0.84);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  color: #fff;
  padding: 3rem 1.5rem;
}
.hero-overlay h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.hero-sub {
  font-size: 1.15rem;
  color: #F2F1E5;
  max-width: 720px;
}

/* --------------------------------------------------------
   3)  INDUSTRY LIST (white background)
   -------------------------------------------------------- */
.industry-list {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 2rem;
}
.industry-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(23, 28, 50, 0.08);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}
.industry-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #232949;
  margin-bottom: 0.5rem;
}
.industry-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: #6A6F87;
  flex: 1; /* push “Learn More” button to bottom */
}
.industry-item .cta-btn.small {
  align-self: flex-start;
  background: #171C32;
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background 0.18s, transform 0.18s;
  text-decoration: none;
}
.industry-item .cta-btn.small:hover {
  background: #232949;
  transform: translateY(-2px) scale(1.02);
}

/* Add vertical spacing around this block */
section.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* --------------------------------------------------------
   4)  CORE SOLUTIONS (background: background3.png + veil)
   -------------------------------------------------------- */
.industry-solutions {
  position: relative;
  background: url('background3.png') center/cover no-repeat;
  padding: 0; /* container will re-add padding */
}
.industry-solutions::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 28, 50, 0.78);
  z-index: 1;
}
.industry-solutions > .container {
  position: relative;
  z-index: 2;
  padding: 3.5rem 2rem;
  text-align: center;
}
.industry-solutions .section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #F2F1E5;
  margin-bottom: 1.8rem;
}
.industry-solutions p {
  font-size: 1rem;
  line-height: 1.7;
  color: #F2F1E5;
  max-width: 840px;
  margin: 0 auto;
}
.industry-solutions a {
  color: #F2F1E5;
  font-weight: 700;
  text-decoration: none;
}
.industry-solutions a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------
   5)  CTA STRIPE (navy background)
   -------------------------------------------------------- */
.cta-wide {
  background: #232949;
  color: #fff;
  text-align: center;
  padding: 4.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.cta-wide h2 {
  font-size: 2rem;
  font-weight: 800;
}
.cta-wide p {
  font-size: 1.07rem;
  color: #F2F1E5;
  max-width: 700px;
  margin: 0 auto;
}
.cta-wide .outline-pill {
  background: #fff;
  color: #171C32;
  border: 2px solid #171C32;
}
.cta-wide .outline-pill:hover {
  background: #171C32;
  color: #fff;
  border-color: #171C32;
  transform: translateY(-2px) scale(1.04);
}

/* --------------------------------------------------------
   6)  REVEAL ANIMATION (triggered on load/scroll)
   -------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: none;
}
.reveal.slide-up {
  transition-delay: 0.15s;
}

/* --------------------------------------------------------
   7)  RESPONSIVE ADJUSTMENTS (≤ 840px)
   -------------------------------------------------------- */
@media (max-width: 840px) {
  .hero {
    min-height: 38vh;
  }
  .hero-overlay {
    padding: 2.5rem 1rem;
  }
  .industry-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .industry-solutions > .container {
    padding: 2.5rem 1rem;
  }
  .cta-wide {
    padding: 3rem 1rem;
  }
  .cta-wide h2 {
    font-size: 1.8rem;
  }
  .cta-wide p {
    font-size: 1rem;
  }
}

/* --------------------------------------------------------
   8)  CENTER “CORE SOLUTIONS” TEXT BLOCK ON LARGE SCREENS
   -------------------------------------------------------- */
@media (min-width: 1200px) {
  .industry-solutions > .container {
    max-width: 80vw;
    margin: 0 auto;
    padding: 0 2.4rem;
  }
}
/* =========================================================================
   Industry Solutions Stripe (Accounting Solutions for Every Industry)
   ========================================================================= */
.industry-solutions {
  position: relative;
  background: url('background3.png') center/cover no-repeat;
  padding: 4rem 1rem;            /* ample vertical breathing room */
  color: #F2F1E5;
  text-align: center;
  overflow: hidden;
}
