﻿/* HERO */
.staff-hero {
  height: 98vh;
  position: relative;
  overflow: hidden;
}

.staff-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.staff-slide.active {
  opacity: 1;
}

/* TITLE */
.staff-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 40px 0 20px;
}

/* NAV LINKS */
.staff-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.staff-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
}

.staff-nav a:hover {
  color: var(--accent);
}

/* SECTION */
.staff-section {
  padding: 30px 5%;
}

.staff-section h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary);
}

/* GRID */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* CARD */
.staff-card {
  text-align: center;
}

.staff-card img {
  width: 70%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
}

.staff-card h4 {
  margin-top: 10px;
  font-size: 1.1rem;
}

.staff-card p {
  font-size: 0.9rem;
  color: #666;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .staff-grid {
    grid-template-columns: 1fr;
  }
}