/* ============================================
   MODERN EMPLOYEES PAGE - SOPHISTICATED DESIGN
   ============================================ */

:root {
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section */
.employees-hero-modern {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0e27 0%, #0f1629 50%, #0a0e27 100%);
  color: white;
  isolation: isolate;
}

.employees-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.employees-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: employeesOrbFloat 25s ease-in-out infinite;
}

.employees-hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 80, 200, 0.6) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.employees-hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 60, 150, 0.5) 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation-delay: 8s;
}

@keyframes employeesOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -40px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}

.employees-hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 80, 200, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 80, 200, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  animation: employeesGridMove 20s linear infinite;
}

@keyframes employeesGridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.employees-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}

.employees-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}

.employees-hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.employees-hero-description {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto;
}

/* Container */
.employees-container-modern {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* Section Headers */
.section-header-modern {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: rgba(0, 80, 200, 0.1);
  color: #0050c8;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.section-title-modern {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0a0e27;
  margin: 0 0 1rem;
}

.section-description-modern {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: #5b6370;
  max-width: 700px;
  margin: 0 auto;
}

/* Leadership Section */
.leadership-section-modern {
  margin-bottom: 6rem;
}

.leadership-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.leadership-card-modern {
  position: relative;
  padding: 0;
  background: transparent;
  border-radius: 24px;
  overflow: visible;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.leadership-card-modern.visible {
  opacity: 1;
  transform: translateY(0);
}

.leadership-card-background {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  z-index: 0;
}

.leadership-card-modern:hover .leadership-card-background {
  transform: translateY(-12px);
  box-shadow: 0 20px 48px rgba(0, 80, 200, 0.15);
  border-color: rgba(0, 80, 200, 0.2);
}

.leadership-card-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #0050c8, #003c96);
  border-radius: 24px;
  opacity: 0;
  filter: blur(25px);
  transition: opacity 0.4s ease;
  z-index: -1;
}

.leadership-card-modern:hover .leadership-card-glow {
  opacity: 0.4;
}

.leadership-card-content {
  position: relative;
  z-index: 1;
  padding: 3rem;
  text-align: center;
}

.leadership-card-image-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 2rem;
}

.leadership-card-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(0, 80, 200, 0.1);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.leadership-card-modern:hover .leadership-card-image {
  border-color: rgba(0, 80, 200, 0.3);
  transform: scale(1.05);
}

.leadership-card-image-glow {
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, #0050c8, #003c96);
  border-radius: 50%;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.3s ease;
  z-index: 0;
}

.leadership-card-modern:hover .leadership-card-image-glow {
  opacity: 0.5;
}

.leadership-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0a0e27;
  margin: 0 0 0.5rem;
}

.leadership-card-role {
  font-size: 1.0625rem;
  color: #0050c8;
  font-weight: 600;
  margin: 0;
}

/* Locations Section */
.locations-section-modern {
  margin-top: 6rem;
}

.location-card-modern {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 0;
  margin-bottom: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.location-card-modern.visible {
  opacity: 1;
  transform: translateY(0);
}

.location-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 80, 200, 0.12);
  border-color: rgba(0, 80, 200, 0.2);
}

.location-header-modern {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(0, 80, 200, 0.05) 0%, rgba(0, 60, 150, 0.05) 100%);
  border-bottom: 2px solid rgba(0, 80, 200, 0.1);
}

.location-icon-modern {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0050c8, #003c96);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 80, 200, 0.3);
  flex-shrink: 0;
}

.location-title-modern {
  font-size: 2rem;
  font-weight: 800;
  color: #0a0e27;
  margin: 0;
}

.location-content-modern {
  padding: 2.5rem;
}

.employee-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Profile Cards */
.profile-card-modern {
  position: relative;
  padding: 0;
  background: transparent;
  border-radius: 20px;
  overflow: visible;
  transition: var(--transition);
}

.profile-card-background {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  transition: var(--transition);
  z-index: 0;
}

.profile-card-modern:hover .profile-card-background {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 80, 200, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 80, 200, 0.12);
}

.profile-card-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #0050c8, #003c96);
  border-radius: 20px;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.profile-card-modern:hover .profile-card-glow {
  opacity: 0.3;
}

.profile-card-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  text-align: center;
}

.profile-image-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(0, 80, 200, 0.1);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.profile-card-modern:hover .profile-image {
  border-color: rgba(0, 80, 200, 0.3);
  transform: scale(1.08);
}

.profile-image-glow {
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, #0050c8, #003c96);
  border-radius: 50%;
  opacity: 0;
  filter: blur(15px);
  transition: opacity 0.3s ease;
  z-index: 0;
}

.profile-card-modern:hover .profile-image-glow {
  opacity: 0.4;
}

.profile-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a0e27;
  margin: 0 0 0.5rem;
}

.profile-card-role {
  font-size: 1rem;
  color: #5b6370;
  font-weight: 500;
  margin: 0;
}

/* Vacant Card */
.vacant-card {
  opacity: 0.7;
}

.vacant-card .profile-card-background {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.5);
}

.vacant-card .profile-card-title {
  color: #5b6370;
}

.vacant-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 80, 200, 0.1);
  color: #0050c8;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.vacant-badge::before {
  content: '⏳';
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .employees-container-modern {
    padding: 4rem 1.5rem;
  }
  
  .leadership-grid-modern,
  .employee-grid-modern {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .employees-hero-content {
    padding: 4rem 1.5rem;
  }
  
  .employees-container-modern {
    padding: 3rem 1rem;
  }
  
  .location-header-modern {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }
  
  .location-content-modern {
    padding: 1.5rem;
  }
  
  .leadership-grid-modern,
  .employee-grid-modern {
    grid-template-columns: 1fr;
  }
  
  .leadership-card-content {
    padding: 2rem;
  }
  
  .profile-card-content {
    padding: 1.5rem;
  }
}

/* Animation utilities */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
