/* Team Page Specific Styles */

/* Team Hero Section */
.team-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
  padding: 0;
  height: 75vh;
  min-height: 500px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../../images/hero/Our Team Hero.png") no-repeat top center;
  background-size: cover;
  opacity: 0.5;
}

.team-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.team-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.team-hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}

/* Team Introduction Section */
.team-intro {
  padding: 80px 0;
  background: #f8f9fa;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.intro-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 30px;
  position: relative;
}

.intro-content h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.intro-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin-top: 30px;
}

/* Team Members Section */
.team-members-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.team-grid-3-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.team-grid-3-columns .team-member {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
}

.team-grid-3-columns .team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-grid-3-columns .member-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.team-grid-3-columns .member-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border: 3px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.team-grid-3-columns .member-info {
  padding: 25px 20px;
}

.team-grid-3-columns .member-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.team-grid-3-columns .position {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 15px;
}

/* Member Categories */
.team-grid-3-columns .member-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.team-grid-3-columns .category-tag {
  display: inline-block;
  background: #f0f0f0;
  color: #333;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-grid-3-columns .category-tag:nth-child(1) {
  background: #e3f2fd;
  color: #1976d2;
}

.team-grid-3-columns .category-tag:nth-child(2) {
  background: #f3e5f5;
  color: #7b1fa2;
}

.team-grid-3-columns .category-tag:nth-child(3) {
  background: #e8f5e8;
  color: #388e3c;
}

.team-grid-3-columns .category-tag:nth-child(4) {
  background: #fff3e0;
  color: #f57c00;
}

/* Team Filter Buttons */
.team-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.filter-btn.active {
  background: #667eea;
  color: white;
}

/* Hide filtered team members */
.team-member[data-category].hidden {
  display: none;
}

/* Show filtered team members */
.team-member[data-category]:not(.hidden) {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Responsive Design for 3-Column Grid */
@media (max-width: 992px) {
  .team-grid-3-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

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

  .team-grid-3-columns .member-image {
    height: 200px;
  }

  .team-grid-3-columns .member-info {
    padding: 20px 15px;
  }

  .team-grid-3-columns .member-info h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .team-members-section {
    padding: 60px 0;
  }

  .team-grid-3-columns .member-image {
    height: 180px;
  }

  .team-grid-3-columns .member-info {
    padding: 15px 12px;
  }

  .team-grid-3-columns .member-info h3 {
    font-size: 1.1rem;
  }

  .team-grid-3-columns .position {
    font-size: 0.8rem;
    padding: 5px 12px;
  }
}

.marketing-team {
  background: #f8f9fa;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Team Member Card */
.team-member {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

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

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

.member-info {
  padding: 30px;
}

.member-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.position {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.bio {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 25px;
  min-height: 80px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-3px);
}

/* Join Team Section */
.join-team {
  padding: 100px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

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

.join-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.join-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.9;
}

.join-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
  color: rgb(255, 253, 253);
  padding: 15px 30px;
  border-radius: 0px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(139, 69, 19, 0.5);
  background: linear-gradient(135deg, #a0522d 0%, #cd853f 100%);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 13px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-outline:hover {
  background: white;
  color: #667eea;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .team-hero h1 {
    font-size: 2.8rem;
  }

  .team-hero p {
    font-size: 1.1rem;
  }

  .section-title,
  .intro-content h2,
  .join-content h2 {
    font-size: 2.2rem;
  }

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

@media (max-width: 768px) {
  .team-hero {
    padding: 120px 0 80px;
    height: auto;
    min-height: 400px;
  }

  .team-hero h1 {
    font-size: 2.5rem;
  }

  .team-intro,
  .leadership-team,
  .development-team,
  .design-team,
  .marketing-team,
  .team-members-section {
    padding: 60px 0;
  }

  .section-title,
  .intro-content h2,
  .join-content h2 {
    font-size: 2rem;
  }

  .team-grid, .team-grid-3-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .join-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-outline {
    width: 250px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .team-hero {
    padding: 100px 0 60px;
  }

  .team-hero h1 {
    font-size: 2.2rem;
  }

  .team-hero p {
    font-size: 1rem;
  }

  .section-title,
  .intro-content h2,
  .join-content h2 {
    font-size: 1.8rem;
  }

  .intro-content p,
  .join-content p {
    font-size: 1.1rem;
  }

  .member-info {
    padding: 20px;
  }

  .member-info h3 {
    font-size: 1.3rem;
  }

  .bio {
    font-size: 0.95rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Why Join Rainbow Shine Infotech Section */
.why-join-rainbow {
  padding: 80px 0;
  background: #f8f9fa;
}

.why-join-rainbow .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.why-join-rainbow .section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.why-join-rainbow .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.why-join-rainbow .benefit-item {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.why-join-rainbow .benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.why-join-rainbow .benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.why-join-rainbow .benefit-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 15px;
}

.why-join-rainbow .benefit-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

/* Responsive Design for Why Join Section */
@media (max-width: 992px) {
  .why-join-rainbow .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .why-join-rainbow {
    padding: 60px 0;
  }

  .why-join-rainbow .section-title {
    font-size: 2.2rem;
  }

  .why-join-rainbow .benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 576px) {
  .why-join-rainbow .section-title {
    font-size: 1.8rem;
  }

  .why-join-rainbow .benefit-item {
    padding: 30px 20px;
  }
}

/* Ensure navigation text is visible */
.site-header.sticky-header .nav-link {
  color: #333 !important;
}

.site-header.sticky-header .nav-link:hover {
  color: #667eea !important;
}

.site-header.sticky-header .nav-link.active {
  color: #667eea !important;
}
