/* ================================
   HERO BASE
================================ */

.hero {
  position: relative;
  padding: var(--space-2xs) 0 var(--space-lg);
}

.small-hero {
  padding-top: var(--space-2xs);
}

/* ================================
   INNER WRAPPER
================================ */

.hero-inner {
  
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* ================================
   TITLE
================================ */

.hero-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
}

/* ================================
   SUBTEXT
================================ */

.hero-sub {
  font-size: var(--text-base);
  color: var(--text-secondary);
  width:60%;
}

/* ================================
   ACTION BUTTONS
================================ */

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  flex-wrap: wrap;
}

/* ================================
   BUTTON BASE
================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 18px;
  border-radius: 999px;

  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);

  cursor: pointer;
  text-decoration: none;

  transition: var(--transition-base);
}

/* ================================
   PRIMARY BUTTON
================================ */

.btn-primary {
  background: var(--gradient-accent);
  color: #000;
  box-shadow: var(--glow-soft);
}

.btn-primary:hover {
  transform: var(--lift-sm);
}

/* ================================
   SECONDARY BUTTON
================================ */

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--border-accent);
  transform: var(--lift-sm);
}
.hero {
  position: relative;
  overflow: visible; /* prevents overflow issues */
}

.hero-inner {
  position: relative;
  z-index: 2;
}

/* ✅ KEY PART */
.hero-image {
  position: absolute;
  bottom: -120px;   /* push it down into next section */  
  right: 6%;       /* move it to the right */
}

.hero-image img {
  width: 420px;
  max-width: none;

  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}
.hero-image img {
  filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.8));
}
/* ================================/* =============================
================================ */
@media (max-width: 768px) {

  .hero {
    padding-bottom: var(--space-md);
  }

  .hero-inner {
    gap: var(--space-sm);
  }

  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .hero-sub {
    width: 100%;
    font-size: 0.95rem;
  }

  /* ✅ FIX IMAGE ONLY ON MOBILE */
  .hero-image {
    position: static;
    margin-top: var(--space-md);
    text-align: center;
  }

  .hero-image img {
    width: 90%;
    max-width: 320px;
  }

  .hero-actions {
    justify-content: center;
  }
}
