/* Team Page Styles - Premium Design */
.team-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 20px 60px;
  position: relative;
  overflow: hidden;
}

/* Particle Background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(102, 126, 234, 0.3);
  border-radius: 50%;
  animation: float 15s infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* Hero Section */
.team-hero {
  position: relative;
  text-align: center;
  padding: 120px 20px 100px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 25%, #1e3a5f 50%, #0d4f4f 75%, #1a1a2e 100%);
  border-radius: 40px;
  margin-bottom: 100px;
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(240, 147, 251, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(79, 172, 254, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 60% 60%, rgba(255, 107, 107, 0.2) 0%, transparent 35%);
  animation: gradientShift 10s ease infinite;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffd700;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2em;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero-eyebrow span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd700;
  box-shadow: 0 0 0 8px rgba(255, 215, 0, 0.2);
  animation: pulse 2s infinite;
}

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

.team-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-bottom: 25px;
  color: white;
  font-weight: 800;
}

.team-hero h1 strong {
  color: #ffd700;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team-hero p {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: #ffd700;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 13px;
  position: relative;
}

.scroll-wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #667eea;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-header h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.05em;
  color: #1a1a2e;
  font-weight: 800;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  margin: 25px auto 0;
  border-radius: 2px;
}

/* Overview Section */
.team-overview {
  margin-bottom: 120px;
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
  border-radius: 40px;
}

.team-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.overview-container {
  max-width: 1200px;
  margin: 0 auto;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.overview-card {
  position: relative;
  padding: 50px 40px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.overview-card:nth-child(1)::before {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.overview-card:nth-child(2)::before {
  background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.overview-card:nth-child(3)::before {
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.overview-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 80px rgba(102, 126, 234, 0.2);
}

.overview-card:hover::before {
  transform: scaleX(1);
}

.card-number {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 72px;
  font-weight: 900;
  color: rgba(102, 126, 234, 0.1);
  line-height: 1;
}

.card-image {
  width: 100%;
  height: 200px;
  margin-bottom: 25px;
  border-radius: 16px;
  overflow: hidden;
}

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

.overview-card:hover .card-image img {
  transform: scale(1.1);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 36px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  transition: transform 0.3s ease;
}

.overview-card:nth-child(1) .card-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.overview-card:nth-child(2) .card-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  box-shadow: 0 10px 30px rgba(240, 147, 251, 0.3);
}

.overview-card:nth-child(3) .card-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

.overview-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.overview-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #1a1a2e;
  font-weight: 700;
}

.overview-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #617087;
}

.card-decoration {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 50%;
}

.overview-card:nth-child(1) .card-decoration {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.overview-card:nth-child(2) .card-decoration {
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
}

.overview-card:nth-child(3) .card-decoration {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
}

/* Services Section */
.team-services {
  margin-bottom: 120px;
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4f8 50%, #fff5f5 100%);
  border-radius: 40px;
  overflow: hidden;
}

.team-services::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.team-services::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(240, 147, 251, 0.08) 0%, transparent 70%);
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(5deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.service-item {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.service-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 100px rgba(102, 126, 234, 0.2);
}

.service-image {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

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

.service-item:hover .service-image img {
  transform: scale(1.1);
}

.service-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-item:hover .service-image-overlay {
  opacity: 1;
}

.service-icon-wrapper {
  position: relative;
  flex-shrink: 0;
}

.service-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 32px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  position: relative;
  z-index: 2;
}

.service-item:nth-child(1) .service-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.service-item:nth-child(1) .service-icon-bg {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
}

.service-item:nth-child(2) .service-icon {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  box-shadow: 0 10px 30px rgba(67, 233, 123, 0.3);
}

.service-item:nth-child(2) .service-icon-bg {
  background: linear-gradient(135deg, rgba(67, 233, 123, 0.2) 0%, rgba(56, 249, 215, 0.2) 100%);
}

.service-item:nth-child(3) .service-icon {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  box-shadow: 0 10px 30px rgba(250, 112, 154, 0.3);
}

.service-item:nth-child(3) .service-icon-bg {
  background: linear-gradient(135deg, rgba(250, 112, 154, 0.2) 0%, rgba(254, 225, 64, 0.2) 100%);
}

.service-icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  border-radius: 20px;
  z-index: 1;
}

.service-content {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.service-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #1a1a2e;
  font-weight: 700;
  position: relative;
}

/* Typing Effect */
.typing-text {
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #667eea;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #667eea;
  }
}

/* Fade In Effect */
.fade-in-text {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.service-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #617087;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  color: #667eea;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
}

.service-item:nth-child(1) .service-features span {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  color: #667eea;
}

.service-item:nth-child(2) .service-features span {
  background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.1) 100%);
  color: #43e97b;
}

.service-item:nth-child(3) .service-features span {
  background: linear-gradient(135deg, rgba(250, 112, 154, 0.1) 0%, rgba(254, 225, 64, 0.1) 100%);
  color: #fa709a;
}

.service-features span i {
  font-size: 16px;
}

/* Team Members Section */
.team-members {
  margin-bottom: 120px;
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%);
  border-radius: 40px;
  overflow: hidden;
}

.team-members::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(240, 147, 251, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.1) 0%, transparent 40%);
  animation: rotateGradient 30s linear infinite;
}

@keyframes rotateGradient {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.team-members .section-header p,
.team-members .section-header h2 {
  color: white;
}

.team-members .section-divider {
  background: linear-gradient(90deg, #667eea 0%, #f093fb 100%);
}

.members-container {
  max-width: 1200px;
  margin: 0 auto;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.member-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.member-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 100px rgba(102, 126, 234, 0.2);
}

.member-card.leader {
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #667eea 0%, #764ba2 100%) border-box;
}

.member-card:nth-child(1) {
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #667eea 0%, #764ba2 100%) border-box;
}

.member-card:nth-child(2) {
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #f093fb 0%, #f5576c 100%) border-box;
}

.member-card:nth-child(3) {
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) border-box;
}

.member-card:nth-child(4) {
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #43e97b 0%, #38f9d7 100%) border-box;
}

.member-photo {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.photo-placeholder {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 56px;
  backdrop-filter: blur(10px);
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.member-info {
  padding: 30px;
  text-align: center;
}

.member-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

.member-role {
  padding: 8px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.member-card:nth-child(2) .member-role {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.member-card:nth-child(3) .member-role {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.member-card:nth-child(4) .member-role {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.member-badge i {
  color: #ffd700;
  font-size: 16px;
}

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

.member-position {
  font-size: 14px;
  line-height: 1.6;
  color: #617087;
  margin-bottom: 20px;
}

.member-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.member-skills span {
  padding: 6px 14px;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  font-size: 12px;
  font-weight: 600;
  border-radius: 15px;
}

.member-card:nth-child(1) .member-skills span {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.member-card:nth-child(2) .member-skills span {
  background: rgba(240, 147, 251, 0.1);
  color: #f093fb;
}

.member-card:nth-child(3) .member-skills span {
  background: rgba(79, 172, 254, 0.1);
  color: #4facfe;
}

.member-card:nth-child(4) .member-skills span {
  background: rgba(67, 233, 123, 0.1);
  color: #43e97b;
}

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

.member-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
}

.member-card:nth-child(1) .member-social a {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.member-card:nth-child(2) .member-social a {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.member-card:nth-child(3) .member-social a {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.member-card:nth-child(4) .member-social a {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.member-social a:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Vision Section */
.team-vision {
  margin-bottom: 120px;
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0d4f4f 0%, #1e3a5f 50%, #2d1b4e 100%);
  border-radius: 40px;
  overflow: hidden;
}

.team-vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(67, 233, 123, 0.1) 50%, transparent 70%),
    linear-gradient(-45deg, transparent 30%, rgba(79, 172, 254, 0.1) 50%, transparent 70%);
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.vision-container {
  max-width: 1000px;
  margin: 0 auto;
}

.vision-content {
  padding: 60px 50px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 25%, #1e3a5f 50%, #0d4f4f 75%, #1a1a2e 100%);
  border-radius: 32px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.vision-content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
  animation: rotate 20s linear infinite;
}

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

.vision-text {
  position: relative;
  z-index: 2;
  margin-bottom: 50px;
}

.vision-text p {
  font-size: 20px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
}

.vision-features {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.vision-feature {
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.vision-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 28px;
}

.vision-feature:nth-child(1) .feature-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.vision-feature:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.vision-feature:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.vision-feature h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: white;
  font-weight: 700;
}

.vision-feature p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* Vision & CTA Section */
.team-vision-cta {
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
  padding: 100px 20px;
  background: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%),
    url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: 40px;
  overflow: hidden;
  perspective: 1000px;
}

.team-vision-cta h2 {
  color: white;
  text-align: center;
}


.team-vision-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(102, 126, 234, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(240, 147, 251, 0.08) 0%, transparent 50%);
  animation: luxuryPulse 8s ease-in-out infinite;
}

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

.team-vision-cta::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 100px,
      rgba(212, 175, 55, 0.03) 100px,
      rgba(212, 175, 55, 0.03) 200px
    );
  animation: panRotate 60s linear infinite;
}

@keyframes panRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.vision-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  
}

.team-vision-cta .vision-content {
  padding: 60px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(30px);
  border-radius: 32px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 100px rgba(212, 175, 55, 0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-vision-cta .vision-content:hover {
  box-shadow: 
    0 35px 70px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 150px rgba(212, 175, 55, 0.2);
}

.team-vision-cta .vision-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

.team-vision-cta .vision-content::after {
  display: none;
}

.team-vision-cta .vision-text {
  max-width: 700px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 2;
}

.team-vision-cta .vision-text p {
  font-size: 19px;
  line-height: 1.9;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.team-vision-cta .vision-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.team-vision-cta .vision-feature {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-vision-cta .vision-feature:hover {
  transform: translateY(-10px) scale(1.05);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(102, 126, 234, 0.2) 100%);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(212, 175, 55, 0.3);
  border-color: rgba(212, 175, 55, 0.6);
}

.team-vision-cta .feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  font-size: 28px;
  background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 50%, #d4af37 100%);
  box-shadow: 
    0 10px 30px rgba(212, 175, 55, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.team-vision-cta .vision-feature h4 {
  font-size: 17px;
  margin-bottom: 10px;
  color: #d4af37;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.team-vision-cta .vision-feature p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}


/* Responsive Design */
@media (max-width: 1024px) {
  .hero-stats {
    gap: 40px;
  }
  
  .stat-number {
    font-size: 40px;
  }
  
  .service-item {
    flex-direction: column;
    text-align: center;
  }
  
  .service-icon-wrapper {
    margin: 0 auto 20px;
  }
}

@media (max-width: 768px) {
  .team-page {
    padding: 100px 15px 40px;
  }

  .team-hero {
    padding: 80px 20px 60px;
    border-radius: 24px;
    margin-bottom: 80px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }

  .overview-grid,
  .services-grid,
  .members-grid {
    grid-template-columns: 1fr;
  }

  .overview-card,
  .service-item {
    padding: 35px 25px;
  }

  .vision-content {
    padding: 40px 25px;
  }

  .vision-features {
    grid-template-columns: 1fr;
  }

  .cta-content {
    padding: 50px 25px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }
}
