/* Team Page Styles */
/* Team Hero Section */
.team-hero-section {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

/* Background Image */
.team-hero-section .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(40%); 
    z-index: 1;
    animation: zoomIn 15s ease-in-out infinite alternate;
}

/* Container content above image */
.team-hero-section > .container {
    position: relative;
    z-index: 2;
    height: 100%;
}

/* Title & Subtitle */
.team-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.team-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Optional: Background image zoom animation */
@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

/* Team Member Card */
.team-member-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

/* Member Image */
.member-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

/* Optional hover zoom on image */
.member-image img:hover {
  transform: scale(1.05);
}

.member-info {
  padding: 1.5rem;
  text-align: center;
}

.member-name {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.member-role {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.member-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #f0f7ff;
  color: var(--primary-color);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .team-hero-title {
    font-size: 2rem;
  }
}

/* Culture Section */
.team-culture-section {
  background-color: var(--bg-light);
}

.culture-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.culture-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.culture-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.culture-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.culture-text {
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .team-hero-title {
    font-size: 2rem;
  }

  .member-image {
    height: 400px;
  }

  .image-placeholder {
    font-size: 3rem;
  }
}
