/* =======================
   Mega Projects Section
   ======================= */

.mega-projects-section {
  position: relative;
  min-height: 100vh;
  background: url('images/mega-bg.jpg') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  color: #fff;
  overflow: hidden;
}

/* ✅ Overlay */
.mega-projects-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.mega-projects-section *:not(.overlay) {
  position: relative;
  z-index: 1;
}

/* Subtitle */
.mega-projects-section .subtitle {
  font-size: 24px;
  letter-spacing: 1px;
  color: #038f50;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Title */
.mega-projects-section .title {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ✅ Partners Heading */
.partners-heading {
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 50px;
  opacity: 0.9;
  letter-spacing: 1px;
}

/* =======================
   Continuous Logo Slider
   ======================= */

.logo-slider {
  width: 80%;
  overflow: hidden;
  margin-bottom: 50px;
  position: relative;
  white-space: nowrap;
}

.logo-track {
  display: flex;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.company-logo-box {
  width: 200px;
  height: 150px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 15px;
  margin: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.company-logo-box:hover {
  transform: scale(1.08);
}

.company-logo-box img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

/* Button */
.know-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 50px;
  
  border: 0.5px solid #038f50;
  color: #1abc9c;
  background: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

.know-more-btn:hover {
  background: #1abc9c;
  color: #fff;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .company-logo-box {
    width: 160px;
    height: 120px;
  }
  .company-logo-box img {
    width: 70px;
    height: 70px;
  }
  .partners-heading {
    font-size: 20px;
    margin-bottom: 40px;
  }
}

@media (max-width: 600px) {
  .company-logo-box {
    width: 130px;
    height: 100px;
  }
  .company-logo-box img {
    width: 60px;
    height: 60px;
  }
  .partners-heading {
    font-size: 18px;
    margin-bottom: 30px;
  }
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

.mega-projects-section {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mega-projects-section.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .mega-projects-section {
    padding: 60px 10px;
  }

  .mega-projects-section .title {
    font-size: 28px;
  }

  .mega-projects-section .subtitle {
    font-size: 18px;
  }

  .know-more-btn {
    padding: 10px 22px;
    font-size: 14px;
  }

  .logo-slider {
    width: 100%;
  }
}
