@import url('./main.css');

/* Team page specific styles */
.team-section {
  background: #f7fbff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(30, 60, 120, 0.06);
  padding: 2rem;
  margin: 2rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  justify-items: center;
  justify-content: center;
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 500px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.team-card {
  background: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(30, 60, 120, 0.06);
  padding: 1.5rem;
  width: 260px;
  text-align: center;
  transition: box-shadow 0.2s, border 0.2s;
}

.team-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(30, 60, 120, 0.12);
}

.team-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--color-primary);
}

.team-name {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.team-role {
  color: var(--color-secondary);
  font-size: 0.98rem;
  margin-bottom: 0.5rem;
}

.team-hero-section,
.team-hero-section * {
  color: #ffffff !important;
  text-shadow: none !important;
}

.team-hero-section {
  background: url('../images/Hero Backgrounds/team_bg.png') center center/cover no-repeat;
  position: relative;
}

.team-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.team-hero-section .hero-container,
.team-hero-section .hero-content {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .navbar {
    width: 768px !important;
    height: 102px !important;
    min-width: 768px !important;
    max-width: 768px !important;
    margin: 0 auto !important;
    left: 0 !important;
    top: 1px;
    right: 0 !important;
  }

  .nav-container {
    width: 768px !important;
    /* top: 90px; */
    height: 109px !important;
    min-width: 638px !important;
    max-width: 0px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
}