/* === INDUSTRY HERO SECTION === */
.industry-hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  /* min-height: 600px; */
  max-height: 700px;
  overflow: hidden;
}

/* ✨ Blurred background using pseudo-element */
.industry-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center right;
  filter: blur(20px) brightness(0.9);
  transform: scale(1);
  z-index: 0;
}

.hero-grid {
  display: flex;
  width: 100%;
  height: auto;
  z-index: 1;
}

.hero-card {
  flex: 0 0 650px; /*0 0 600px*/
  max-width: 650px; /*620px*/
  margin-top: 2%;
  margin-bottom: 2%;
  height: auto;
  margin-left: 4%;
  margin-right: 4%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: center;
  background-color: rgb(255, 255, 255);
  backdrop-filter: blur(3px);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Colored top bar */
.hero-card-top {
  /* background-image: url("/assets/construction-card-top.jpg"); */
  background-size: cover;
  background-position: 0% 40%;
  height: 150px;
  position: relative;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* Centered circular icon */
.hero-icon-wrapper {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border: 2px solid #ddd;
  border-radius: 50%;
  padding: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.329);
  z-index: 2;
}

.hero-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.hero-headline {
  font-size: 2rem;
}

/* Main card body */
.hero-card-body {
  padding: 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px; /* Optional baseline space */
}

.hero-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.hero-headline {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--main-text-color);
}

.hero-sub,
.hero-impact,
.hero-cta-note {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 1rem;
  transition: background-color 0.2s ease;
  width: fit-content;
  align-self: left;
  margin-bottom: 1rem;
}

.hero-cta-note {
  margin-top: auto; /* Push note downward for balance */
}

.hero-cta:hover {
  background-color: #4cae4c;
  cursor: pointer;
}

/* ✨ Crisp image on right */
.hero-image-wrapper {
  flex: 1 1 auto;
  height: auto;
  display: flex;
  /* align-items: stretch; */
  justify-content: flex-end;
}

.hero-image {
  height: 100%;
  max-height: 100%;
  width: 100%;
  max-width: none;
  /* border-radius: 16px; */
  object-fit: cover;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  object-position: 40% 70%;
  display: block;
}

/* === SECTION STYLING SHARED === */
section:not(.industry-hero) {
  /* max-width: 1100px; */
  /* margin: 3rem auto; */
  /* min-height: 500px; */
  padding: 2rem 1.5rem;
  animation: fadeUp 0.6s ease forwards;
}

section h2 {
  font-size: 2rem;
  color: var(--main-text-color);
  margin-bottom: 1rem;
}

section p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* === TRUST SECTION === */
section.trust-section {
  padding-bottom: 0; /* This is to remove the padding from section:not, more specificity will override.*/
}

.trust-section {
  background: var(--background-color);
  /* padding: 5rem 2rem; */
  text-align: center;
  position: relative;
}

/* Section Heading */
.trust-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--main-text-color);
}

/* Subtitle/intro paragraph */
.trust-subheading {
  font-size: 1.15rem;
  max-width: 1125px;
  margin: 0 auto 3rem;
  color: #555;
  line-height: 1.6;
}

/* Grid for quotes */
.trust-grid {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem;
  grid-template-columns: 1fr; /* default 1 column */
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  margin-bottom: 1rem;
  text-align: left;
  text-decoration: underline;
}

.trust-issue {
  color: #333;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}

/* Each quote block */
.quote-card {
  background: white; /* soft gray */
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid #d17c3a; /* orange tone */
  /* color: #333;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  text-align: left; */
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.171);
}

/* .quote-card p {
  margin: 0;
} */

.quote-card:hover {
  transform: translateY(-4px);
}

/* Quotation mark icon */
.quote-card::before {
  font-size: 3rem;
  color: var(--primary-color);
  line-height: 0.5;
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  opacity: 0.1;
}

/* === FUNDING WINS SECTION === */
section.funding-wins {
  background: var(--background-color);
  padding: 0.5rem 1.5rem 4rem 1.5rem;
  text-align: center;
}

.funding-headline {
  font-size: 2rem;
  color: var(--main-text-color);
  margin-bottom: 1rem;
}

.funding-intro {
  font-size: 1.15rem;
  max-width: 1125px;
  margin: 0 auto 2.5rem;
  color: #555;
  line-height: 1.6;
}

/* Each funding example card */
.funding-example {
  position: relative;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.171);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  /* justify-content: space-between; */
  transition: transform 0.2s ease;
  border-left: 6px solid var(--primary-color);
  gap: 1rem;
}

.funding-example:hover {
  transform: translateY(-4px);
}

.funding-example .came-for {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--main-text-color);
}

.funding-example .now {
  font-style: italic;
  color: #444;
  line-height: 1.5;
}

.funding-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  /* margin-bottom: 0.25rem; */
  text-decoration: underline;
}

.funding-need {
  font-weight: 600;
  color: #111;
  line-height: 1.4;
}

.funding-outcome {
  color: #195b2c; /* confident green tone */
  font-weight: 500;
  line-height: 1.5;
}

/* Grid layout for cards */
.funding-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.wrapped-trust-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 100%;
  padding: 1rem 0;
}

.wrapped-funding-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 100%;
  padding: 1rem 0;
}

.dual-trust-grid,
.dual-funding-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-group,
.funding-group {
  flex: 1 1 45%;
}

.trust-group-label,
.funding-group-label {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--main-text-color);
  text-align: center;
}

/* .dual-trust-grid::before {
  content: "";
  width: 2px;
  background: #ddd;
  height: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-1px);
}
.dual-trust-grid {
  position: relative;
} */

@media (min-width: 700px) {
  .funding-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === TAILORED FUNDING AND INDUSTRY EDGE DIVIDER SECTIONS */
.tailored-funding,
.industry-edge {
  background: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
  box-shadow: 0 4px 24px rgba(75, 75, 75, 0.253);
}

.tailored-funding {
  margin-bottom: 1%;
}

.tailored-funding h2,
.industry-edge h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--main-text-color);
  position: relative;
}

.tailored-funding p,
.industry-edge p {
  max-width: 120ch;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

.tailored-funding h2::after,
.industry-edge h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #000000; /* or a light green accent */
  margin: 1rem auto;
  border-radius: 2px;
}

/* .staggered-section {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  min-height: 400px;
} */

/* OUTER CONTAINER THAT LIMITS WIDTH */
.section-container {
  position: relative; /* allows absolutely positioned children */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  overflow: hidden;
}

.staggered-section {
  display: flex;
  justify-content: center;
  padding: 0;
  overflow-x: visible;
  overflow-y: hidden;
}

/* TEXT SIDE */
.text-container {
  position: relative;
  z-index: 2;
  flex: 1 1 50%;
  min-width: 450px;
  height: auto;
  /* max-height: 590px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.staggered-section.what-we-fund .staggered-text-wrapper {
  background: white;
  /* padding: 2rem 3rem; */
  clip-path: polygon(0 0, 100% 0%, 85% 100%, 0% 100%);
  /* min-height: 600px; */
  /* height: auto; min-height 400px */
  max-height: none; /*max-height 600px */
  height: auto; /* 100% */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin-block: -2px; /* Prevents drop-shadow seams from showing above/below on resize.
   Slight negative margin makes this section overlap adjacent edges
   just enough to hide any overflow from the shadow. */
}

.staggered-section.what-we-fund .staggered-text-wrapper h2 {
  align-self: flex-start;
}

/* .what-we-fund .staggered-text-wrapper > div {
  max-width: 90%;
  margin: 0 auto;
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
} */

/* IMAGE SIDE */
.staggered-image {
  flex: 1 1 50%;
  height: 100%;
  z-index: 1;
}

.staggered-image img {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  object-position: 90% 50%;
  object-fit: cover;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

/* LIFTING SHADOW */
.staggered-section.what-we-fund .text-container {
  filter: drop-shadow(8px 0 8px black);
}

/* REVERSE SUPPORT */
.section-container.reverse {
  flex-direction: row-reverse;
}

.section-container.reverse .staggered-text-wrapper {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
  padding-inline-start: 12rem;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  box-sizing: border-box;
  /* margin-left: 5px; */
  /* justify-content: center;
  align-content: center; */
  max-height: none; /*max-height 600px */
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  background-color: white;
  margin-block: -2px; /* This fixed the drop shadow overflowing vertically while resizing the window issue. I believe it causes the parent element to overlap its child element's edges a little bit, just enough to block out the extra shadow. */
}

.section-container.reverse .text-container {
  filter: drop-shadow(-8px -5px 8px black);
}

.section-container.reverse .staggered-image img {
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  left: 0;
  top: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 60%;
}

.text-container,
.staggered-image {
  transition: flex-basis 0.4s ease, width 0.4s ease;
}

.what-we-fund blockquote {
  font-style: italic;
  color: #666;
  /* margin-top: 1.5rem; */
  max-width: 75ch;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid #ccc;
}

.fund-cta {
  display: inline-block;
  /* margin-top: 1rem; */
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  width: fit-content;
  text-wrap: nowrap;
  align-self: center;
  margin-bottom: 2px;
}

.fund-cta:hover {
  background-color: #4cae4c;
  cursor: pointer;
}

/* === WHAT WE FUND LIST === */
.what-we-fund ul {
  margin-top: 1rem;
  list-style: none;
  padding: 0;
}

.what-we-fund-inner {
  max-width: 95%;
  align-self: flex-start;
  width: 85%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
}

.why-choose-us-inner {
  max-width: 95%;
  align-self: flex-start;
  width: 85%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem; /* row gap, column gap */
  justify-content: center;
  max-width: 100%;
  padding: 1rem 0;
  box-sizing: border-box;
}

.check-item {
  position: relative;
  display: inline-block;
  background-color: white;
  border-radius: 1000px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.274);
  overflow: hidden;
  font-size: 0.9rem;
  color: #333;
  z-index: 0;
  isolation: isolate;
  text-wrap: nowrap;
  width: fit-content;
}

/* Green strip sheen effect */
.check-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(76, 175, 80, 0) 0%,
    rgba(76, 175, 80, 0.5) 50%,
    rgba(76, 175, 80, 0) 100%
  );
  transform: skewX(-20deg);
  animation: sweep-light 2.8s ease forwards;
  animation-iteration-count: infinite;
  z-index: 1;
  pointer-events: none;
}

/* Staggered delay */
.check-item:nth-child(1)::before {
  animation-delay: 0s;
}
.check-item:nth-child(2)::before {
  animation-delay: 0.15s;
}
.check-item:nth-child(3)::before {
  animation-delay: 0.3s;
}
.check-item:nth-child(4)::before {
  animation-delay: 0.45s;
}
.check-item:nth-child(5)::before {
  animation-delay: 0.6s;
}
.check-item:nth-child(6)::before {
  animation-delay: 0.75s;
}
.check-item:nth-child(7)::before {
  animation-delay: 0.9s;
}
.check-item:nth-child(8)::before {
  animation-delay: 1.05s;
}
.check-item:nth-child(9)::before {
  animation-delay: 1.2s;
}

/* Keyframes for moving strip */
@keyframes sweep-light {
  from {
    left: -60%;
  }
  to {
    left: 110%;
  }
}

/* === WHY THEY CHOOSE US === */
.why-choose-us .reason {
  margin-bottom: 0.8rem;
}

.why-choose-us blockquote {
  font-style: italic;
  color: #666;
  /* margin-top: 1.5rem; */
  max-width: 75ch;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid #ccc;
}

.why-choose-us .reason strong {
  display: block;
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 0.3rem;
}

@media (max-width: 1340px) {
  .staggered-section.what-we-fund .staggered-text-wrapper h2 {
    align-self: left;
    text-align: left;
  }

  .what-we-fund blockquote {
    max-width: 70ch;
    align-self: left;
    text-align: left;
    /* border-left: unset; */
  }

  .staggered-image {
    flex: 1 1 45%;
  }

  .text-container {
    flex: 1 1 55%;
  }
}

@media (max-width: 1250px) {
  .section-container {
    position: relative;
  }

  .staggered-image {
    flex: 1 1 35%;
  }

  .staggered-image img {
    width: 100%;
    /* clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%); */
    object-position: 85% 50%;
  }

  .text-container {
    flex: 1 1 65%;
  }

  /* .what-we-fund blockquote {
    max-width: 65ch;
  } */

  .staggered-text-wrapper {
    /* clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%); */
    /* padding-inline: 1rem; */
    height: auto;
    max-height: unset;
    min-height: unset;
  }

  .section-container.reverse .staggered-text-wrapper {
    padding-inline-start: 10rem;
  }
}

@media (max-width: 1010px) {
  .section-container {
    flex-direction: column;
  }

  .staggered-image {
    display: none;
  }

  .text-container {
    flex: 1 1 auto;
    width: 100%;
    min-width: unset;
  }

  .staggered-section.what-we-fund .staggered-text-wrapper {
    clip-path: none;
    padding: 1rem;
    height: auto;
    max-height: unset;
  }

  .staggered-section.what-we-fund .staggered-text-wrapper h2 {
    align-self: center;
    text-align: center;
  }

  .what-we-fund blockquote,
  .why-choose-us blockquote {
    max-width: 70ch;
    align-self: center;
    text-align: center;
    border-left: unset;
  }

  .staggered-section.what-we-fund .staggered-text-wrapper h2::after {
    content: "";
    display: block;
    width: 60px;
    margin: 1rem auto 0 auto;
    border-top: 3px solid #ccc;
  }

  .what-we-fund-inner {
    width: 100%;
  }

  .section-container.reverse {
    flex-direction: column;
  }

  .section-container.reverse .text-container {
    flex: 1 1 auto;
    width: 100%;
  }

  .section-container.reverse .staggered-text-wrapper {
    clip-path: none;
    padding-inline-start: unset;
    padding: unset;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .staggered-section.reverse .staggered-text-wrapper h2::after {
    content: "";
    display: block;
    width: 60px;
    margin: 1rem auto 0 auto;
    border-top: 3px solid #ccc;
  }

  .why-choose-us-inner {
    align-self: center;
    align-items: center; /* center children horizontally */
    justify-content: center; /* center children vertically */
    text-align: center; /* center all text inside */
  }

  .check-item {
    text-wrap: wrap;
    text-align: center;
  }

  .fund-cta {
    text-wrap: wrap;
    text-align: center;
    padding: 0.8rem 1.5rem;
    min-width: 20ch;
  }

  /* .section-container.reverse.staggered-image {
    display: none;
  } */
}

/* === HOW IT WORKS === */
.how-it-works {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  background: #f9f9f9;
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* .how-it-works img {
  max-width: 500px;
  width: 100%;
  margin: 1.5rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgb(0, 0, 0);
} */

/* Step list styles */
.step-flow {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: center;
  align-items: center;
  /* gap: 1rem; */
  /* margin: 2rem auto; */
  max-width: 100%;
  padding: 0 1rem;
}

.step-wrapper {
  display: flex;
  padding: 0;
  background-color: transparent;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.1));
  z-index: 0;
}

.step {
  position: relative;
  display: flex;
  align-items: center;
  padding: 2rem 4rem;
  color: rgb(0, 0, 0);
  font-weight: 600;
  text-align: left;
  /* white-space: nowrap; */
  clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 10% 50%);
  background-color: white;
  /* min-width: 500px; */
  /* margin-left: -45px; */ /* Overlap to make steps connect */
  z-index: 1;
}

.step-number {
  /* position: absolute; */
  /* left: 20px;
  top: 50%; */
  /* transform: translateY(-50%); */
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  border-radius: 50%;
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 0 0 4px white;
  z-index: 2;
  /* margin-right: 2rem; */
  border: 3px solid #ccc;
}

.step-text {
  margin-left: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
}

/* .step-flow > .step:first-child {
  margin-left: 0;
  clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
}

.step-flow > .step:nth-last-of-type(1) {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 10% 50%);
} */

.step-wrapper:nth-child(1) .step-number {
  border-color: var(--primary-color);
}

.step-wrapper:nth-child(2) .step-number {
  border-color: #2195f394;
}

.step-wrapper:nth-child(3) .step-number {
  border-color: var(--primary-color);
}

/* Step-specific custom property */
.step-wrapper:nth-child(1) {
  --shadow-color: var(--primary-color);
  animation: shadow-flow 3s infinite ease-in-out;
}

.step-wrapper:nth-child(2) {
  --shadow-color: #2195f3;
  animation: shadow-flow 3s infinite ease-in-out;
}

.step-wrapper:nth-child(3) {
  --shadow-color: var(--primary-color);
  animation: shadow-flow 3s infinite ease-in-out;
}

@keyframes shadow-flow {
  0% {
    filter: drop-shadow(0 0 3px var(--shadow-color));
  }
  25% {
    filter: drop-shadow(4px 0 3px var(--shadow-color));
  }
  50% {
    filter: drop-shadow(0 4px 3px var(--shadow-color));
  }
  75% {
    filter: drop-shadow(-4px 0 3px var(--shadow-color));
  }
  100% {
    filter: drop-shadow(0 0 3px var(--shadow-color));
  }
}

@media (max-width: 1015px) {
  .step-flow {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
  }

  .step {
    clip-path: polygon(0% 0%, 50% 20%, 100% 0%, 100% 80%, 50% 100%, 0% 80%);
    flex-direction: column;
    min-height: 250px;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 6rem 1rem;
  }

  /* .step-flow > .step:first-child {
    margin-left: 0;
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 50% 100%, 0% 80%);
  }

  .step-flow > .step:nth-last-of-type(1) {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 10% 50%);
  } */

  .step-text {
    max-width: 35ch;
  }
}

/* Optional: alternate background colors */
/* .step:nth-child(1)  { background-color: #8bc34a; }  
.step:nth-child(2)  { background-color: #f4b400; }  
.step:nth-child(3)  { background-color: #2196f3; }   */

/* Responsive tweak */
/* @media (max-width: 768px) {
  .step-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .step {
    clip-path: none !important;
    border-radius: 8px;
    margin-left: 0;
  }
} */

/* CTA */
.how-cta {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
}

.how-cta:hover {
  background-color: #4cae4c;
  cursor: pointer;
}

/* === FAQ ACCORDION === */
.faq {
  max-width: 1250px;
  margin: 3rem auto;
}

.faq h2 {
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  padding: 1rem 0;
  cursor: pointer;
}

.faq-item strong {
  display: block;
  font-size: 1.2rem;
  color: var(--main-text-color);
  position: relative;
}

.faq-item strong::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.faq-item.open strong::after {
  content: "−";
}

.faq-item p {
  display: none;
  margin-top: 0.75rem;
  color: #444;
}

.faq-item.open p {
  display: block;
  animation: fadeIn 0.25s ease-in-out;
}

/* === ENTRANCE ANIMATION === */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* .modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  max-width: 1400px;
  width: 100%;
  border-radius: 12px;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
} */

/* === MEDIA QUERIES === */

/* Hero section media queries */
@media (max-width: 1350px) {
  .hero-card {
    margin: unset;
    flex: 0 0 auto;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 1250px) {
  .industry-hero {
    min-height: unset;
    max-height: unset;
    height: auto;
  }
  .hero-grid {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }

  .hero-card {
    flex: 0 0 auto;
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
  }

  .hero-card-top {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }

  .hero-image-wrapper {
    display: none;
  }
}

/* Trust media query */
@media (min-width: 700px) {
  .trust-grid,
  .funding-grid {
    grid-template-columns: repeat(2, 1fr); /* force 2 columns */
  }
}

@media (min-width: 1100px) {
  .trust-grid,
  .funding-grid {
    grid-template-columns: repeat(
      4,
      1fr
    ); /* optional: 4 across on large screens */
  }
}
