.elegant-slider.slider {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
  }

 .elegant-slider .slides {
    display: flex;
    width: 100%; /* Total width depends on the number of slides */
    height: 100%;
    transition: transform 1s ease-in-out; /* Smooth animation */
  }

  .elegant-slider .slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
  }

  .elegant-slider  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .category-section {
    padding: 40px 20px;
    background-color: #eaeaea; /* Red background color */
  }

  .category-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 200px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }






  .elegant-slider .slide iframe {
    width: 100%;
    margin-left: 0;
    height: 650px;
    cursor: none;
  }






















  .elegant-category-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.elegant-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.elegant-slide {
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 200px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-right: 10px;
}

.elegant-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.15);
  }

  .elegant-slide img {
    width: 100px; /* Set fixed width */
    height: 100px; /* Set fixed height */
    object-fit: cover; /* Ensures the image fits properly without distortion */
    border-radius: 8px; /* Keeps the rounded corners consistent */
    margin: 0 auto; /* Centers the image horizontally */
  }


  .elegant-slide h3 {
    font-size: 18px;
    color: #333;
    margin: 15px 0 5px;
  }

  .elegant-slide p {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
  }

  .elegant-slide a {
    font-size: 14px;
    text-decoration: none;
    color: #007bff;
    border-bottom: 1px dashed #007bff;
    transition: color 0.3s ease;
  }

  .elegant-slide a:hover {
    color: #0056b3;
  }

  @media screen and (max-width: 640px) {
    .elegant-slider .slide {
        max-height: 130px;
        margin-bottom: 20px;
      }
      .elegant-slider .slide iframe,
      .elegant-slider .slide img {
        height: 130px;
      }
}
