/* Excellence Section - Creative Design */
.excellence-section {
  position: relative;
  padding: 0;
  background: linear-gradient(135deg, #0b0b31 0%, #1a1a5e 50%, #0b0b31 100%);
  overflow: visible;
}

.excellence-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 86, 179, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.excellence-wrapper {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: 6rem 3rem;
  z-index: 1;
}

.excellence-side-label {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

/* Header */
.excellence-header {
  text-align: center;
  margin-bottom: 5rem;
}

.excellence-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.excellence-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.excellence-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto;
}

/* Excellence Grid */
.excellence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
  overflow: visible;
}

.excellence-card {
  position: relative;
  min-height: 600px;
  height: auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.excellence-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007BFF, #00d4ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  border-radius: 24px 24px 0 0;
}

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

.excellence-card:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 123, 255, 0.5);
  box-shadow: 0 30px 80px rgba(0, 123, 255, 0.3);
}

/* Card Header - Number and Icon */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  position: relative;
  width: 100%;
  margin-bottom: 0.5rem;
}

.card-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  transition: all 0.5s ease;
  flex-shrink: 0;
  height: 70px;
  display: flex;
  align-items: center;
}

.excellence-card:hover .card-number {
  color: rgba(0, 123, 255, 0.25);
  transform: scale(1.05);
}

/* Card Icon */
.card-icon-wrapper {
  z-index: 3;
  position: relative;
  flex-shrink: 0;
  height: 70px;
  display: flex;
  align-items: center;
}

.card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #007BFF, #0056b3);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

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

.excellence-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(0, 123, 255, 0.5);
}

/* Card Content */
.card-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
  z-index: 3;
  position: relative;
}

.card-content h3 {
  font-size: 1.65rem;
  color: white;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.card-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Card Highlights */
.card-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  z-index: 3;
  position: relative;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0;
  transition: all 0.3s ease;
}

.highlight-item i {
  color: #00d4ff;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.excellence-card:hover .highlight-item {
  transform: translateX(5px);
}

/* Background Icon */
.card-background-icon {
  position: absolute;
  bottom: -40px;
  right: -40px;
  font-size: 13rem;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  transition: all 0.5s ease;
  z-index: 1;
}

.excellence-card:hover .card-background-icon {
  transform: rotate(15deg) scale(1.1);
  color: rgba(0, 123, 255, 0.04);
}

/* Card Variants */
.card-technical:hover {
  box-shadow: 0 30px 80px rgba(0, 123, 255, 0.3);
}

.card-team:hover {
  box-shadow: 0 30px 80px rgba(0, 212, 255, 0.3);
}

.card-team .card-icon {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
}

.card-operations:hover {
  box-shadow: 0 30px 80px rgba(0, 255, 157, 0.3);
}

.card-operations .card-icon {
  background: linear-gradient(135deg, #00ff9d, #00cc7e);
}

/* Stats Banner */
.excellence-stats-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  gap: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 86, 179, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.stat-icon i {
  font-size: 1.5rem;
  color: #00d4ff;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.4), rgba(0, 86, 179, 0.4));
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .excellence-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .excellence-card:nth-child(3) {
    grid-column: span 2;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  .excellence-wrapper {
    padding: 4rem 2rem;
  }

  .excellence-title {
    font-size: 2.8rem;
  }

  .excellence-stats-banner {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .stat-item {
    min-width: calc(50% - 1rem);
  }

  .stat-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .excellence-side-label {
    display: none;
  }

  .excellence-title {
    font-size: 2.2rem;
  }

  .excellence-subtitle {
    font-size: 1rem;
  }

  .excellence-grid {
    grid-template-columns: 1fr;
  }

  .excellence-card:nth-child(3) {
    grid-column: span 1;
    max-width: 100%;
  }

  .excellence-card {
    padding: 2.5rem 2rem;
  }

  .card-number {
    font-size: 3rem;
  }

  .card-icon {
    width: 70px;
    height: 70px;
  }

  .card-icon i {
    font-size: 2rem;
  }

  .card-content h3 {
    font-size: 1.5rem;
  }

  .excellence-stats-banner {
    padding: 2rem 1.5rem;
  }

  .stat-item {
    min-width: 100%;
  }

  .stat-number {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .excellence-wrapper {
    padding: 3rem 1rem;
  }

  .excellence-title {
    font-size: 1.8rem;
  }

  .excellence-badge {
    font-size: 0.65rem;
    padding: 0.4rem 1rem;
  }

  .card-content h3 {
    font-size: 1.35rem;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
  }

  .stat-icon i {
    font-size: 1.25rem;
  }
}
