/* ========================
   ABOUT HERO
======================== */

.about-hero {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen */
  overflow: hidden;
}

/* IMAGE */
.about-hero-img {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.about-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY CENTER BOX */
.about-hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background: rgba(29, 29, 29, 0.2); /* #1D1D1D with 20% opacity */
  padding: 20px 60px;

  z-index: 2;
}

/* TEXT */
.about-hero-overlay h1 {
  font-size: 64px;
  color: #fff;
  text-align: center;
}

/* ========================
   FADE EFFECT (REUSABLE)
======================== */

/* DEFAULT VISIBLE (SAFE) */
.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* ONLY animate when JS adds this */
.fade-in.animate {
  opacity: 0;
  transform: translateY(20px);
}

/* FINAL STATE */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ========================
   RESPONSIVE
======================== */

@media (max-width: 768px) {

  .about-hero {
    height: 70vh; /* better for mobile */
  }

  .about-hero-overlay {
    padding: 12px 12px;
  }

  .about-hero-overlay h1 {
    font-size: 40px;
  }
}




/* ========================
   JOIN TEAM
======================== */

.join-team {
  background: #FFF4DA;
  padding: 80px 0;
  text-align: center;
}

/* INNER */
.join-team-inner {
  max-width: 800px;
  margin: 0 auto;
}

/* TITLE */
.join-team h2 {
  font-size: 48px;
  margin-bottom: 16px;
}

/* DESCRIPTION */
.join-team p {
  font-size: 24px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* BUTTON */
.join-btn {
  display: inline-block;
  background: #764537;
  color: #FFF4DA;

  font-size: 32px;
  padding: 14px 40px;

  border-radius: 40px;
  transition: 0.3s ease;
}

.join-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ========================
   RESPONSIVE
======================== */

@media (max-width: 768px) {

  .join-team {
    padding: 40px 16px;
  }

  .join-team h2 {
    font-size: 32px;
  }

  .join-team p {
    font-size: 14px;
  }

  .join-btn {
    font-size: 16px;
    padding: 10px 24px;
  }
}