/* ============================= */
/* Hero section                  */
/* ============================= */

.hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: center;
  padding: 36px 0;
  padding-top: 170px; /* account for fixed nav */
}

.hero-title {
  font-size: clamp(28px, 5vw, 40px);
  margin: 0 0 8px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 10px;
}

.hero-tagline {
  margin: 8px 0 18px;
  color: var(--muted);
}

/* CTAs under hero text */
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-ctas a,
.hero-ctas button {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
  color: #061126;
  padding: 1rem 2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* Small pill badges */
.hero-badges {
  display: flex;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.hero-badges li {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* ============================= */
/* Profile photo + floating card */
/* ============================= */
.profile-photo {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin-left: 50px;
}

/* both images share same base style */
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: absolute;
  inset: 0;
}

/* default image visible */
.photo-default {
  opacity: 1;
  z-index: 2;
}

/* hover image hidden initially */
.photo-hover {
  opacity: 0;
  z-index: 1;
}

/* on hover, fade to second image and scale */
.profile-photo:hover .photo-default {
  opacity: 0;
  transform: scale(1.05);
}

.profile-photo:hover .photo-hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Optional: simple mobile tweak */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
    flex-wrap: wrap;
  }

  .profile-float {
    margin: 0 auto;
  }
}
