/* ===================================================================
   Hero Section Styles (with Fallback Radial Reveal)
   =================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2rem;
  overflow: hidden;
}

/* Text side */
.hero-text {
  flex: 1;
  max-width: 50%;
  font-family: 'Poppins', sans-serif;
}

.hero-text h1 {
  font-size: 4.5rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-text h2 {
  font-size: 2.75rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-text p,
.hero-text .cta-button {
  margin-bottom: 1rem;
}

/* Image side with fallback for no JS */
.hero-image {
  flex: 1;
  max-width: 50%;
  overflow: hidden;
  text-align: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 1;
  clip-path: circle(150% at 50% 50%);
  transition: clip-path 1s ease-out, opacity 1s ease-out;
}

/* JS-enabled animation */
body.js-enabled .hero-image img {
  opacity: 0;
  clip-path: circle(0% at 50% 50%);
}

body.js-enabled .hero-image.in-view img {
  clip-path: circle(150% at 50% 50%);
  opacity: 1;
}

/* ===================================================================
       Responsive Hero Section
     =================================================================== */

@media (max-width: 1024px) {
  .hero {
    padding: 3rem 1.5rem;
    gap: 1.5rem;
    margin-top: 6rem;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-text h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 2.5rem 1.25rem;
    gap: 2rem;
    margin-top: 7rem;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    padding: 0 1rem;
  }

  .hero-text h1 {
    font-size: 2.25rem;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 1rem;
  }

  .hero-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-text .cta-button {
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .hero-image {
    max-width: 100%;
  }

  .hero-image img {
    width: 90%;
    margin: 0 auto;
  } }