/* Carousel container */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Carousel indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.indicator {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: rgba(200, 200, 200, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #0056fd;
    transform: scale(1.05);
}

/* Responsive design */
@media (max-width: 767px) {
    .carousel-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 20px;
        height: 3px;
    }
}
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}

/* Wrapper for slides */
.carousel {
  display: flex;
  transition: transform 0.3s ease-out;
  will-change: transform;
  height: 450px;
}

/* Each slide */
.carousel-item {
  flex: 0 0 calc(100% / 3);
  min-width: calc(100% / 3);
  padding: 0 10px;
  transition: transform 0.3s ease-out;
}

/* Content inside each slide */
.carousel-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background: #fff;
}

/* Image styling */
.carousel-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-out;
}

.carousel-content:hover img {
  transform: scale(1.05);
}
  
  /* Navigation buttons */
  .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.7);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: background-color 0.3s;
  }
  
  .carousel-nav.prev {
    left: 10px;
  }
  
  .carousel-nav.next {
    right: 10px;
  }
  
  .carousel-nav:hover {
    background-color: rgba(255,255,255,0.9);
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .carousel {
      height: 300px;
    }
    
    .carousel-item {
      flex: 0 0 100%;
      min-width: 100%;
      padding: 0;
    }

    .carousel-container {
      padding: 10px 0;
      overflow: hidden;
    }

    .carousel-content {
      border-radius: 10px;
    }

    .carousel-item.active {
      transform: scale(1);
    }

    .carousel-nav {
      width: 40px;
      height: 40px;
      font-size: 20px;
    }
    .carousel-item {
      flex: 0 0 100%;
      max-width: 100%;
      margin: 0;
    }
    .carousel-content {
      height: 300px;
    }
    .carousel-nav {
        font-size: 20px;
    }
    .carousel-container {
        left: 0;
    }
  }
  
    
    #carousel-button {
      font-size: 22px;
      padding: 18px 50px;
      border-radius: 50px;
      text-decoration: none;
      background-color: #0056fd;
      color: #ffffff;
      top: 40px;
      display: inline-block;
    }
    
    #carousel-button:hover {
      background-color: #0046d5;
    }
    
    @media screen and (max-width: 575px) {
      #carousel-button {
        font-size: 16px;
        padding: 12px 35px;
      }
    }

    .carousel-button-container {
      display: flex;
      justify-content: center;
    }