.achievement-section {
  padding: 60px 15px;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
}

.achievement-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 30px;
  align-items: center;
}

/* LEFT CONTENT */
.achievement-text {
  flex: 1;
  animation: fadeInLeft 1s ease;
}

.achievement-text h2 {
  font-size: 34px;
  color: #ffd700;
  margin-bottom: 15px;
}

.achievement-text p {
  font-size: 18px;
  line-height: 1.7;
}

/* SLIDER */
.slider-wrapper {
  flex: 1;
  animation: fadeInRight 1s ease;
}

.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;   /* 🔥 MOBILE FIX */
  border-radius: 20px;
  overflow: hidden;
  border: 5px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(45deg, gold, orange, red) border-box;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 🔥 FIXED */
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.8s ease;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

/* DOTS */
.slider-dots {
  margin-top: 12px;
  text-align: center;
}

.dot {
  width: 14px;
  height: 14px;
  margin: 0 5px;
  border-radius: 50%;
  background: #aaa;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: gold;
  transform: scale(1.3);
}

/* ANIMATIONS */
@keyframes fadeInLeft {
  from {opacity: 0; transform: translateX(-40px);}
  to {opacity: 1; transform: translateX(0);}
}

@keyframes fadeInRight {
  from {opacity: 0; transform: translateX(40px);}
  to {opacity: 1; transform: translateX(0);}
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .achievement-container {
    flex-direction: column;
    text-align: center;
  }

  .achievement-text h2 {
    font-size: 26px;
  }

  .achievement-text p {
    font-size: 16px;
  }

  .slider {
    aspect-ratio: 4 / 3;   /* 🔥 PERFECT MOBILE */
  }
}
