/* Team Page Styles */

.team-page {
  min-height: 100vh;
  background: var(--white);
}

/* Meet Our Team Hero Section */
.meet-team-hero {
  padding: 6rem 1.5rem 4rem;
  background: var(--white);
}

.meet-team-container {
  max-width: 1200px;
  margin: 0 auto;
}

.meet-team-header {
  text-align: center;
  margin-bottom: 3rem;
}

.meet-team-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 1rem;
}

.meet-team-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Hero Content Grid */
.hero-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Hero Image Column */
.hero-image-wrapper {
  position: relative;
}

.hero-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero Info Column */
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-name {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin: 0;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin: 0.5rem 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f4f6;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Experience Section */
.experience-section {
  margin-top: 1rem;
}

.experience-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-green);
  display: inline-block;
}

.experience-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.experience-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.5;
}

.experience-item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary-green);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Board of Directors Section */
.board-directors-section {
  padding: 4rem 1.5rem;
  background: #f8f9fa;
}

.board-directors-container {
  max-width: 1200px;
  margin: 0 auto;
}

.board-directors-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  gap: 2rem;
}

.board-directors-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.board-directors-title .accent {
  color: var(--primary-green);
}

.board-directors-desc {
  max-width: 400px;
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
  text-align: right;
  margin: 0;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Team Card */
.team-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.team-card-image {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--white);
  color: var(--text-dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-card-content {
  padding: 1.25rem;
}

.team-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem;
}

.team-card-desc {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Background Colors */
.card-bg-blue {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.card-bg-peach {
  background: linear-gradient(135deg, #fde7d7 0%, #fed7aa 100%);
}

.card-bg-mint {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.card-bg-lavender {
  background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 100%);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .meet-team-hero {
    padding: 5rem 1rem 3rem;
  }

  .meet-team-title {
    font-size: 2.25rem;
  }

  .hero-team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image-wrapper {
    order: -1;
  }

  .hero-portrait {
    aspect-ratio: 1;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-name {
    font-size: 2rem;
  }

  .hero-info {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .experience-title {
    text-align: center;
    display: block;
    border-bottom: none;
  }

  .experience-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--primary-green);
    margin: 0.5rem auto 0;
  }

  .experience-list {
    text-align: left;
  }

  .board-directors-section {
    padding: 3rem 1rem;
  }

  .board-directors-header {
    flex-direction: column;
    text-align: center;
  }

  .board-directors-title {
    font-size: 2rem;
  }

  .board-directors-desc {
    max-width: 100%;
    text-align: center;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .team-card {
    max-width: 400px;
    margin: 0 auto;
  }
}
