 .back {
      background-color: #111;
      color: white;
      font-family: sans-serif;
      margin: 0;
      padding: 10px;
    }

    .carousel-section {
      padding: 0 0 40px 0;
      text-align: center;
    }
.arrow {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s ease;
  border-radius: 50%;
}

.arrow:hover {
  background: rgba(205, 167, 88, 0.8); /* matching your theme */
}

.left-arrow {
  margin-right: 10px;
}

.right-arrow {
  margin-left: 10px;
}

.carousel {
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  gap: 20px;
  scroll-behavior: smooth;
    position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 20px;
}
    .carousel-section h2 {
      font-size: 24px;
      margin-bottom: 30px;
    }

    .carousel {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding: 0 20px;
      gap: 20px;
    }

    .carousel::-webkit-scrollbar {
      display: none;
    }

    .card {
      flex: 0 0 auto;
      width: 220px;
      background: white;
      color: #000;
      border-radius: 10px;
      overflow: hidden;
      scroll-snap-align: center;
    }

    .card img {
      width: 100%;
      height: 190px;
      object-fit: cover;
      display: block; 
    }

    .card .info {
      padding: 15px;
      text-align: left;
    }

    .info h3 {
      font-size: 16px;
      margin: 0 0 10px;
    }

    .info p {
      font-size: 14px;
      margin: 0;
    }

    .dots {
      margin-top: 20px;
    }

    .dot {
      height: 10px;
      width: 10px;
      margin: 0 5px;
      background-color: #555;
      border-radius: 50%;
      display: inline-block;
    }

    .dot.active {
      background-color: white;
    }

   .img-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.img-modal-content {
  max-width: 95%;
  max-height: 95%;
  width: auto;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.img-modal-content:hover {
  transform: scale(1.02); /* slight zoom on hover */
}

.img-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

@media (max-width: 768px) {
  .img-modal-content {
    max-width: 98%;
    max-height: 90%;
  }

  .img-close {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
}
