/* ─── OUR TEAM PAGE STYLES ───────────────────────────── */

/* Team Hero Section */
.team-hero {
  background: linear-gradient(135deg, rgba(15, 168, 158, 0.5) 0%, rgba(26, 111, 191, 0.5) 100%),
              url('/images/hero2.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}

.team-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6),
              radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.team-hero .center {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1.2s ease-out;
}

.team-hero .sec-label {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.team-hero .sec-title {
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  animation: slideInLeft 1.4s ease-out;
}

.team-hero .sec-sub {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  animation: slideInLeft 1.6s ease-out;
}

.team-hero .divider {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: shimmer 3s infinite;
}

/* Main Doctors Section */
.main-doctors-section {
  background: white;
  padding: 80px 0;
}

.main-doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.main-doctor-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.main-doctor-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.doctor-image-section {
  position: relative;
  padding: 40px 40px 20px;
  text-align: center;
}

.doctor-avatar-large {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #0fa89e, #1a6fbf) border-box;
  position: relative;
}

.doctor-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-doctor-card:hover .doctor-avatar-large img {
  transform: scale(1.05);
}

.doctor-badge {
  position: absolute;
  top: 50px;
  right: 40px;
  background: linear-gradient(135deg, #0fa89e, #1a6fbf);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  animation: slideInRight 0.6s ease-out;
}

.doctor-details {
  padding: 0 40px 40px;
  text-align: center;
}

.doctor-details h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 15px;
}

.doctor-credentials {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.doctor-credentials .degree {
  background: linear-gradient(135deg, rgba(15, 168, 158, 0.1), rgba(26, 111, 191, 0.1));
  color: #0fa89e;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(15, 168, 158, 0.2);
}

.doctor-credentials .experience {
  background: linear-gradient(135deg, rgba(26, 111, 191, 0.1), rgba(106, 76, 199, 0.1));
  color: #1a6fbf;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(26, 111, 191, 0.2);
}

.doctor-bio {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.doctor-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(15, 168, 158, 0.05), rgba(26, 111, 191, 0.05));
  border-radius: 12px;
  border: 1px solid rgba(15, 168, 158, 0.1);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  background: linear-gradient(135deg, rgba(15, 168, 158, 0.1), rgba(26, 111, 191, 0.1));
  transform: translateY(-2px);
}

.highlight-item i {
  color: #0fa89e;
  font-size: 1rem;
}

.highlight-item span {
  color: #2c3e50;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Team Philosophy Section */
.team-philosophy-section {
  background: linear-gradient(135deg, rgba(15, 168, 158, 0.05) 0%, rgba(26, 111, 191, 0.05) 100%);
  padding: 80px 0;
}

.team-philosophy-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.philosophy-content {
  animation: fadeInUp 1s ease-out;
}

.philosophy-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0fa89e, #1a6fbf);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  animation: pulse 2s infinite;
}

.philosophy-icon i {
  color: white;
  font-size: 2rem;
}

.philosophy-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 20px;
}

.philosophy-content p {
  color: #6c757d;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.philosophy-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  animation: fadeInUp 1.2s ease-out;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0fa89e, #1a6fbf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  line-height: 1;
}

.stat-label {
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Team Values Section */
.team-values-section {
  background: white;
  padding: 80px 0;
}

.team-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.team-value-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

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

.value-icon-large {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0fa89e, #1a6fbf);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.team-value-card:hover .value-icon-large {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(15, 168, 158, 0.3);
}

.value-icon-large i {
  color: white;
  font-size: 2rem;
}

.team-value-card h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 15px;
}

.team-value-card p {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
}

/* Join Team Section */
.join-team-section {
  background: linear-gradient(135deg, #0fa89e 0%, #1a6fbf 100%);
  padding: 80px 0;
  text-align: center;
}

.join-team-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

.join-team-content h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.join-team-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

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

.btn-primary {
  background: white;
  color: #0fa89e;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 15px 30px;
  border: 2px solid white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: white;
  color: #0fa89e;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-doctors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .team-philosophy-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .philosophy-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .team-hero {
    padding: 100px 0 60px;
  }
  
  .main-doctors-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .team-philosophy-container {
    gap: 30px;
  }
  
  .philosophy-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .team-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .join-team-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}
