/* Enhanced Key Achievements Section Design */

/* Base Section Styles */
.achievements-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #00476b 0%, #1e3a8a 100%);
  color: white;
  padding: 6rem 0;
}

/* Decorative Background Elements */
.achievements-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0) 70%);
  border-radius: 50%;
  transform: translate(25%, -25%);
  z-index: 1;
}

.achievements-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0) 70%);
  border-radius: 50%;
  transform: translate(-20%, 20%);
  z-index: 1;
}

/* Section Container */
.achievements-container {
  position: relative;
  z-index: 10;
}

/* Section Header */
.achievements-header {
  text-align: center;
  margin-bottom: 5rem;
  max-w-3xl;
  margin-left: auto;
  margin-right: auto;
}

.achievements-subtitle {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.achievements-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.achievements-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 3xl;
  margin: 0 auto;
}

/* Achievements Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Achievement Card Styles */
.achievement-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 0;
  background: linear-gradient(90deg, #3b82f6, #0ea5e9);
  z-index: 2;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.achievement-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
}

.achievement-card:hover::before {
  height: 4px;
}

/* Card Content */
.achievement-card-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Achievement Icon */
.achievement-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #93c5fd;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.achievement-card:hover .achievement-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(59, 130, 246, 0.2) 100%);
  color: #bfdbfe;
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

/* Achievement Title */
.achievement-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  line-height: 1.3;
}

/* Achievement Description */
.achievement-description {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  flex: 1;
}

/* Achievement Year */
.achievement-year {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  color: #93c5fd;
  margin-top: auto;
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.achievement-card:hover .achievement-year {
  background: rgba(59, 130, 246, 0.3);
  color: #bfdbfe;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .achievements-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
  }
  
  .achievements-section {
    padding: 5rem 0;
  }
}

@media (max-width: 768px) {
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .achievements-section {
    padding: 4rem 0;
  }
  
  .achievements-header {
    margin-bottom: 3rem;
  }
  
  .achievements-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
  
  .achievement-card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .achievements-section {
    padding: 3rem 0;
  }
  
  .achievement-card {
    padding: 1.75rem;
  }
  
  .achievement-icon {
    width: 4rem;
    height: 4rem;
    font-size: 1.75rem;
  }
  
  .achievements-subtitle {
    padding: 0.4rem 1.2rem;
    font-size: 0.875rem;
  }
}

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

.achievement-card {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.achievement-card:nth-child(1) { animation-delay: 0.1s; }
.achievement-card:nth-child(2) { animation-delay: 0.2s; }
.achievement-card:nth-child(3) { animation-delay: 0.3s; }
.achievement-card:nth-child(4) { animation-delay: 0.4s; }
.achievement-card:nth-child(5) { animation-delay: 0.5s; }
.achievement-card:nth-child(6) { animation-delay: 0.6s; }