/* ===== SECTORS WE DEAL - 3D SLIDER STYLE ===== */
.bg-green {
  background: linear-gradient(135deg, #e9f7ef, #d4efdf);
  padding: 100px 0;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

/* Heading */
.heading-bx h3.title-head {
  font-size: 38px;
  font-weight: 800;
  text-align: center;
  color: #0a3d62;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 60px;
  position: relative;
  animation: fadeInDown 1s ease forwards;
}

.heading-bx h3.title-head::after {
  content: "";
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, #1e6091, #0a3d62);
  display: block;
  margin: 15px auto 0;
  border-radius: 4px;
}

/* 3D Slider */
.sector-slider {
  display: flex;
  gap: 30px;
  overflow: hidden;
  animation: slideLoop 25s linear infinite;
  perspective: 1000px;
}

.slide {
  flex: 0 0 300px;
  transition: transform 0.5s ease;
}

.sector-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform-style: preserve-3d;
  transition: all 0.6s ease;
  cursor: pointer;
}

.sector-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sector-card .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(10, 30, 60, 0.6);
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  font-size: 18px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(2px);
  transition: background 0.4s ease;
}

/* Hover Effects */
.sector-card:hover {
  transform: rotateY(10deg) rotateX(5deg) scale(1.05);
  box-shadow: 0 25px 50px rgba(10, 30, 60, 0.25);
}

.sector-card:hover img {
  transform: scale(1.15);
}

.sector-card:hover .overlay {
  background: rgba(10, 30, 60, 0.8);
}

/* Auto Slider Animation */
@keyframes slideLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Animation on entry */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .sector-slider {
    gap: 20px;
  }
  .slide {
    flex: 0 0 250px;
  }
}
@media (max-width: 600px) {
  .slide {
    flex: 0 0 200px;
  }
  .sector-card img {
    height: 180px;
  }
}
