.product-carousel {
  position: relative;
  margin-bottom: 20px;
}

.carousel-item {
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 15%;
  right: 15%;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  color: white;
  text-align: center;
}

.carousel-caption h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.carousel-caption p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-control-prev {
  left: 15px;
}

.carousel-control-next {
  right: 15px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(0, 0, 0, 0.7);
  color: white;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
  background-size: 100%;
}

/* Carousel indicators */
.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background: white;
  transform: scale(1.2);
}

.carousel-indicators button:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Fix for carousel images */
.carousel-inner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .carousel-inner img {
    height: 250px;
  }
  
  .carousel-caption {
    left: 5%;
    right: 5%;
    bottom: 0.5rem;
    padding: 0.75rem;
  }
  
  .carousel-caption h3 {
    font-size: 1.2rem;
  }
  
  .carousel-caption p {
    font-size: 0.9rem;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .carousel-control-prev {
    left: 10px;
  }
  
  .carousel-control-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .carousel-inner img {
    height: 200px;
  }
  
  .carousel-caption {
    display: none; /* Hide captions on very small screens */
  }
}

/* Section spacing */
section {
  margin-bottom: 20px;
  margin-top: 20px;
  background-color: aliceblue;
}

/* Fix for static images below carousel */
section img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

section img:hover {
  transform: scale(1.02);
}

/* Fix for image links */
section a {
  display: block;
  text-decoration: none;
  margin-bottom: 15px;
}

section a p {
  text-align: center;
  margin-top: 8px;
  font-weight: bold;
  color:#007bff ;
}
.container2{
  margin-top: 20px;
}

/* Grid layout for images */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  background-color:#0d3056ff ;
  margin-top: 20px;
}

.image-grid a {
  display: block;
  text-decoration: none;
  
}

.image-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.05);
}
.container1{
  margin: 100px;
  
  /* border: 2px solid whitesmoke; */
  border-radius: 15px;
  /* box-shadow: 0px 0px 10px white; */
}
.container1 p{
  color: white;
}




@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}




