/* Meet the Team Page - Modern Design */

:root {
  --primary-color: #0066CC;
  --secondary-color: #00A8A8;
  --accent-color: #FF6B35;
  --dark-bg: #1a1a2e;
  --light-bg: #f8f9fa;
  --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --card-hover-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  --transition-speed: 0.3s;
}

/* Hero Section */
.team-hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-attachment: fixed;
}

.hero-gradient {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(0, 168, 168, 0.85) 100%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  cursor: pointer;
}

.scroll-indicator i {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Team Sections */
.team-section {
  position: relative;
}

.team-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
}

.section-title {
  font-size: 4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* Team Cards - WordPress Style */
.team-card {
  text-align: center;
  margin-bottom: 2rem;
}

.team-image-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 1rem;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #f0f0f0;
  transition: all var(--transition-speed) ease;
}

.team-card:hover .team-image {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all var(--transition-speed) ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.social-link i {
  font-size: 0.9rem;
}

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

.team-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.team-title {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

/* Join the Team Section */
.join-team-section {
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.join-team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 102, 204, 0.3);
  z-index: 0;
}

.join-team-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}


.join-team-section p {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.join-team-section p.font-weight-bold {
  font-size: 1.25rem;
  margin-top: 1rem;
}

.join-team-section .btn {
  position: relative;
  z-index: 1;
  background: white;
  color: var(--primary-color);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

.join-team-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  background: #f8f9fa;
}

/* Placeholder Image Style */
.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ecef;
  color: #adb5bd;
  border-radius: 50%;
  border: 3px solid #f0f0f0;
}

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

/* Open Positions Section */
.open-positions-section {
  background: #fff;
}

.open-positions-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  position: relative;
  display: inline-block;
}

.open-positions-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.bamboo-embed-wrapper {
  min-height: 400px;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#BambooHR-ATS > div > h2 {
  margin-bottom: 1.5rem !important;
}

/* BambooHR embed styling */
#BambooHR {
  width: 100%;
  min-height: 400px;
}

#BambooHR iframe {
  border: none !important;
  width: 100% !important;
}

/* Looking to Join Section */
.looking-to-join-section h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
}

.looking-to-join-section .btn {
  background: var(--primary-color);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

.looking-to-join-section .btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .team-image-wrapper {
    width: 120px;
    height: 120px;
  }

  .team-card {
    margin-bottom: 1.5rem;
  }

  .join-team-section h2 {
    font-size: 2rem;
  }

  .join-team-section h3 {
    font-size: 1.5rem;
  }
}
