Use hero-section.css as the single source of truth and delete the overlapping hero/section bits from home.css. Here’s the adjusted hero-section.css you can use everywhere, including the homepage:

css
/* ========== Hero Sections (global) ========== */

.hero {
  position: relative;
  color: #fff;
  padding: 7rem 1.5rem; /* match home.css spacing */
  margin: 1.5rem auto 1.5rem;
  max-width: 1200px;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(rgba(30,60,114,0.75), rgba(42,82,152,0.75)),
    url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&auto=format&fit=crop&q=80')
    center/cover no-repeat;
}

/* remove the ::before overlay so clicks work on hero content */
/* (background gradient is already baked into .hero above) */

.hero-inner {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  font-weight: 700;
  line-height: 1.2;
}

.hero-subheadline {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  opacity: 0.96;
  line-height: 1.5;
}

.hero-ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* CTA buttons (kept here so hero works on any page) */
.hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: #ffc107;
  color: #1e3c72;
  border-radius: 5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero .btn:hover {
  background-color: #ffb300;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-decoration: none;
}

.hero .btn:focus-visible {
  outline: 2px solid #fffb9c;
  outline-offset: 3px;
}

.hero .btn.btn-secondary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.hero .btn.btn-secondary:hover {
  background-color: white;
  color: #1e3c72;
}

/* Trust badges */
.trust-badges {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255,255,255,0.9);
  color: #1e3c72;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ========== Generic Sections (layout only) ========== */

.section {
  padding: 3.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
}

.section.alt {
  background-color: #f5f7fb;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #1e3c72;
  font-weight: 700;
}

.section-intro {
  max-width: 780px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Responsive tweaks for hero/section */
@media (max-width: 768px) {
  .section {
    padding: 2.5rem 1.25rem;
  }

  .hero {
    padding: 4.5rem 1.5rem;
  }

  .hero-headline {
    font-size: 1.8rem;
  }

  .hero-subheadline {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.25rem 1rem;
  }
}