/* ==========================================
   1. ABOUT PAGE HERO SECTION
   ========================================== */
#about-hero {
  position: relative;
  min-height: 45vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  background-color: var(--hero-bg, #080808);
}

#about-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.6) 0%, rgba(8, 8, 8, 0.95) 100%);
  z-index: 1;
}

#about-hero .hero-content {
  position: relative;
  z-index: 2;
}

/* ==========================================
   2. OUR STORY / ABOUT SECTION
   ========================================== */
#about-story {
  background-color: #080808;
}

#about-story .about-img-wrapper {
  overflow: hidden;
  border-radius: 0.5rem;
}

#about-story .about-img {
  object-fit: cover;
  min-height: 420px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  will-change: transform;
}

#about-story .about-img-wrapper:hover .about-img {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
}

/* CMS Protection for Body Copy */
#about-story .story-text p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* ==========================================
   3. MISSION, VISION & VALUES
   ========================================== */
#mission-vision {
  background-color: #000000;
}

#mission-vision .card-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

#mission-vision .card-box:hover {
  transform: translateY(-6px);
  border-color: var(--bs-primary, #f14141);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

#mission-vision .feature-icon {
  color: var(--bs-primary, #f14141);
  transition: transform 0.3s ease;
}

#mission-vision .card-box:hover .feature-icon {
  transform: scale(1.1);
}

/* ==========================================
   4. MEET THE TEAM SECTION (CMS LOOP)
   ========================================== */
#team-section {
  background-color: #080808;
}

#team-section .team-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
  will-change: transform;
}

#team-section .team-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

#team-section .team-img-wrapper {
  overflow: hidden;
  height: 320px;
}

#team-section .team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

#team-section .team-card:hover .team-img {
  transform: scale(1.06);
}

#team-section .team-role {
  color: var(--bs-primary, #f14141);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* CMS Text Guard: Prevents UI breakage from multi-line bios */
#team-section .team-bio {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   5. BEHIND THE SCENES GALLERY
   ========================================== */
#behind-the-scenes {
  background-color: #000000;
}

#behind-the-scenes .bts-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

#behind-the-scenes .bts-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#behind-the-scenes .bts-img-wrapper:hover .bts-img {
  transform: scale(1.08);
}