/* ===== engineering-slide.css ===== */

.engineering-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
  background: url('your-background.jpg') no-repeat center center / cover;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  margin-top: -20px;
}

/* فقط قاب مستطیل دور محتوا، بدون پس‌زمینه */
.engineering-slide .slide-container {
  width: 100%;
  max-width: 1100px;
  padding: 40px 30px;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  position: relative;
}

.engineering-slide .logo-top {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 50px;
}

.engineering-slide .title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 10px;
  color: #ffffff;
}

.engineering-slide .subtitle {
  font-size: 16px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 40px;
}

.engineering-slide .grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.engineering-slide .software {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  transition: transform 0.3s ease;
  width: 240px;

  opacity: 0;
  transform: translateY(20px);
  animation: none;
}

.engineering-slide .software:hover {
  transform: scale(1.05);
}

.engineering-slide .software img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  flex-shrink: 0;
}

.engineering-slide .software-text {
  text-align: left;
}

/* ===== اینجا شروعِ Divider ===== */
.engineering-slide .software-text strong::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 6px 0;
}
/* ===== پایان Divider ===== */

.engineering-slide .software-text strong {
  font-size: 16px;
  color: #ffffff;
}

.engineering-slide .software-text small {
  display: block;
  font-size: 13px;
  color: #ffffff;
  margin-top: 4px;
}

/* انیمیشن */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.engineering-slide.visible .software {
  animation: fadeUp 0.6s ease forwards;
}

.engineering-slide.visible .software:nth-child(1)  { animation-delay: 0.1s; }
.engineering-slide.visible .software:nth-child(2)  { animation-delay: 0.2s; }
.engineering-slide.visible .software:nth-child(3)  { animation-delay: 0.3s; }
.engineering-slide.visible .software:nth-child(4)  { animation-delay: 0.4s; }
.engineering-slide.visible .software:nth-child(5)  { animation-delay: 0.5s; }
.engineering-slide.visible .software:nth-child(6)  { animation-delay: 0.6s; }
.engineering-slide.visible .software:nth-child(7)  { animation-delay: 0.7s; }
.engineering-slide.visible .software:nth-child(8)  { animation-delay: 0.8s; }
.engineering-slide.visible .software:nth-child(9)  { animation-delay: 0.9s; }
.engineering-slide.visible .software:nth-child(10)  { animation-delay: 1.0s; }
.engineering-slide.visible .software:nth-child(11)  { animation-delay: 1.1s; }
.engineering-slide.visible .software:nth-child(12)  { animation-delay: 1.2s; }
.engineering-slide.visible .software:nth-child(13)  { animation-delay: 1.3s; }
.engineering-slide.visible .software:nth-child(14)  { animation-delay: 1.4s; }

@media (max-width: 768px) {
  .engineering-slide .software {
    width: 100%;
    max-width: 320px;
    justify-content: flex-start;
  }

  .engineering-slide .logo-top {
    top: 10px;
    right: 10px;
    width: 40px;
  }

  .engineering-slide .title {
    font-size: 24px;
  }

  .engineering-slide .subtitle {
    font-size: 14px;
  }
}
