/* ============================================
   Free Assessment 2 - Figma Hero + Partners
   ============================================ */

/* ===== HERO ===== */
.fa2-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  max-height: 1080px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fa2-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fa2-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fa2-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, rgba(37,74,95,0.5) 100%);
}

.fa2-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1208px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 0 40px;
}

.fa2-hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 60px);
  line-height: 1.17;
  color: #fff;
  text-transform: uppercase;
  max-width: 896px;
}

.fa2-hero-content p {
  font-size: clamp(1rem, 1.8vw, 30px);
  line-height: 1.38;
  color: #fff;
  max-width: 865px;
}

.fa2-hero-content .fa2-hero-lead,
.fa2-hero-content .fa2-hero-sub {
  white-space: nowrap;
  width: 100%;
  max-width: none;
  text-align: center;
  margin: 0;
  padding: 0;
  align-self: stretch;
}

.fa2-hero-content .fa2-hero-lead {
  font-size: clamp(1rem, 1.8vw, 24px);
  font-weight: 600;
  margin-bottom: 4px;
}

.fa2-hero-content .fa2-hero-sub {
  font-size: clamp(0.9rem, 1.4vw, 19px);
  font-weight: 400;
  opacity: 0.92;
}

@media (max-width: 768px) {
  .fa2-hero-content .fa2-hero-lead,
  .fa2-hero-content .fa2-hero-sub {
    white-space: normal;
  }
}

.fa2-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 18px 48px;
  background: linear-gradient(135deg, #f19231 0%, #efc052 45%, #69eefd 100%);
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.fa2-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(241, 146, 49, 0.35);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .fa2-hero {
    height: auto;
    min-height: 80vh;
    padding: 140px 0 80px;
  }
}

@media (max-width: 480px) {
  .fa2-hero-content h1 {
    font-size: 1.6rem;
  }

  .fa2-hero-content p {
    font-size: 1rem;
  }
}
