.bg-product-section {
  background-image: url(../Images/ProductBacjGround1.0.2.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

.bg-product-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.2; /* Corrected from 0.2px */
  z-index: -1;
}

/* Reusable button styling */
.btn-orange {
  background-color: #313a63;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-orange:hover {
  background-color: #ef6c00;
}

/* Card image control */
.card-img-top,
.card img {
  max-height: 180px;
  object-fit: cover;
}

/* Carousel arrows centered vertically */
.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
}

/* Animation keyframes */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-left {
  opacity: 0;
  animation: slideInLeft 2s ease forwards;
}

.animate-right {
  opacity: 0;
  animation: slideInRight 2s ease forwards;
}

.main-image {
  width: 80% !important;
  display: block;
  margin: 0 auto;
}

/* ================== RESPONSIVE STYLES ================== */
@media (max-width: 992px) {
  .card-img-top,
  .card img {
    max-height: 150px;
  }

  .main-image {
    width: 90% !important;
  }
}

@media (max-width: 768px) {
  .main-image {
    width: 95% !important;
  }

  .btn-orange {
    padding: 6px 14px;
    font-size: 14px;
  }

  .card-img-top,
  .card img {
    max-height: 130px;
  }
}

@media (max-width: 576px) {
  .main-image {
    width: 100% !important;
  }

  .btn-orange {
    padding: 6px 12px;
    font-size: 13px;
  }

  .card-img-top,
  .card img {
    max-height: 120px;
  }

  .animate-left,
  .animate-right {
    animation-duration: 1.2s;
  }
}
 .blur {
      filter: blur(3px);
      opacity: 0.6;
    }
    .card-img-overlay h5 {
      font-size: 1.2rem;
      background: rgba(0, 0, 0, 0.5);
      padding: 6px 12px;
      border-radius: 5px;
    }
    .card-img-top {
      min-height: 250px;
      object-fit: cover;
      background: #f6f6f6;
      transition: opacity 0.3s ease-in-out;
    }

