/* Team Page Specific Styles */

/* Page Header - reusing same structure from other pages */
.page-header {
  background-color: var(--primary-color);
  color: white;
  padding: 120px 0 70px;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./asset/bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Team Overview */
.team-overview {
  padding: 70px 0;
  background-color: white;
  text-align: center;
}

.overview-content {
  max-width: 900px;
  margin: 0 auto;
}

.overview-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

/* Team Section */
.team-section {
  padding: 100px 0;
  background-color: white;
}

.team-section.alt-bg {
  background-color: var(--gray-color);
}

.team-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

/* Main Team Members */
.team-member {
  display: grid;
  gap: 40px;
  padding: 30px;
  align-items: start;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
  height: 100%;
  overflow: hidden;
}

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

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 30px;
}

.member-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.c-row {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 1rem; 
  align-items: center;

}

.position {
  font-size: 18px;
  color: var(--text-color);
  font-weight: 500;
  margin-bottom: 15px;
}

.qualifications {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.qualifications span {
  display: inline-block;
  padding: 5px 12px;
  background-color: rgba(0, 102, 204, 0.1);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

.brand {
  display: grid;
  grid-template-columns: 1fr 4fr; 
  gap: 2rem; 
  align-items: center;
}

.bio {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0px;
}

.specialties {
  margin-top: 0px;
  margin-bottom: 0px;
}

.specialties h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.specialties ul {
  list-style: none;
}

.specialties li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0px;
  font-size: 15px;
  color: #555;
}

.specialties li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary-color);
  font-size: 18px;
}

.specialties li span {
  font-weight: bold
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-color);
}

.social-link img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(18%) sepia(90%) saturate(3000%) hue-rotate(205deg) brightness(94%) contrast(101%);
  transition: filter 0.3s ease;
}

.social-link:hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

/* Support Team - Smaller Cards */
.team-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.team-member-small {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-small:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image-small {
  height: 240px;
  overflow: hidden;
}

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

.team-member-small:hover .member-image-small img {
  transform: scale(1.05);
}

.member-info-small {
  padding: 20px;
}

.member-info-small h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.member-info-small .position {
  font-size: 15px;
  margin-bottom: 10px;
}

.bio-small {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* Join Our Team Section */
.join-team-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.join-team-content {
  max-width: 800px;
  margin: 0 auto;
}

.join-team-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.join-team-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.join-team-content .btn {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
}

.join-team-content .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
}

/* CTA Section - reusing from other pages */
.cta-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-content .btn {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
}

.cta-content .btn:hover {
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  transform: translateY(-3px);
}

/* Animations - will be used by JS */
.team-member {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.team-member.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.team-member-small {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.team-member-small.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .team-member {
    grid-template-columns: 1fr;
  }

  .member-image {
    height: 400px;
  }

  .team-grid-small {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 100px 0 50px;
  }

  .page-header h1 {
    font-size: 36px;
  }

  .overview-content p {
    font-size: 16px;
  }

  .team-overview,
  .team-section {
    padding: 70px 0;
  }

  .member-image {
    height: 300px;
  }

  .member-info h3 {
    font-size: 24px;
  }

  .position {
    font-size: 16px;
  }

  .qualifications span {
    font-size: 13px;
  }

  .bio {
    font-size: 15px;
  }

  .specialties h4 {
    font-size: 16px;
  }

  .team-grid-small {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .page-header h1 {
    font-size: 32px;
  }

  .page-header p {
    font-size: 18px;
  }

  .team-section {
    padding: 50px 0;
  }

  .member-info {
    padding: 20px;
  }

  .team-grid-small {
    grid-template-columns: 1fr;
  }

  .join-team-content h2,
  .cta-content h2 {
    font-size: 28px;
  }

  .join-team-content p,
  .cta-content p {
    font-size: 16px;
  }
}
