:root {
  --bg-left: #0f6174;
  --bg-right: #4b1b83;
  --btn-bg: #e07b24;
  --btn-bg-hover: #cf6b1f;
  --white: #ffffff;
}

.hero {
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  background: linear-gradient(90deg, var(--bg-left), var(--bg-right));
  color: var(--white);
   padding: 160px 0; /* taller hero */
}

/* Container aligns with rest of site */
.container {
  width: 100%;
  max-width: 1200px;   /* ✅ matches rest of site */
  margin: 0 auto;
  padding: 0 20px;
}

.hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

/* Text (left) */
.hero__content {
  flex: 1 1 55%;
  text-align: left;
  min-width: 200px;
}

.hero__title {
  font-size: clamp(20px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: clamp(12px, 1.3vw, 18px);
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  transition: 0.2s ease;
}

.btn--primary {
  background-color: var(--btn-bg);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--btn-bg-hover);
  transform: translateY(-2px);
}

/* Image (right) */
.hero__visual {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

.hero__image {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.25));
}

/* 📱 Small screens */
@media (max-width: 600px) {
  .hero {
    padding: 40px 0;
  }

  .hero__container {
    gap: 10px;
  }

  .hero__title {
    font-size: 22px;
  }

  .hero__subtitle {
    font-size: 14px;
  }

  .hero__image {
    max-width: 200px;
  }
}
/* Hero image bounce animation */
@keyframes bounceSmooth {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-50px); /* bounce height */
  }
}

.hero__image {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.25));

  /* 👇 add animation */
  animation: bounceSmooth 10s ease-in-out infinite;
}
