.slider-container {
    max-width: 1200px; /* Maintains larger width */
    margin: 0 auto;
  }
  
  .section-text {
    font-size: 28px;
    font-weight: bold;
    padding: 15px 0;
    text-align: left;
  }
  
  .slider-content {
    position: relative;
    overflow: hidden;
  }
  
  .slides {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    gap: 20px; /* Space between images */
    padding: 0 10px; /* Padding on sides to prevent cutting off */
    box-sizing: border-box;
  }
  
  .slide {
    flex: 0 0 calc(33.33% - 14px); /* Adjusted for gap (20px total gap / 3 slides ≈ 6.67px each side) */
    position: relative;
    max-width: calc(33.33% - 14px);
  }
  
  .slide img {
    width: 100%;
    height: 300px; /* Shorter height for rectangular shape (wider than tall) */
    object-fit: cover; /* Ensures images fill the space nicely */
    display: block;
    border-radius: 15px; /* Maintain border radius */
  }
  
  .image-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 16px;
    padding: 8px 16px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
  }
  
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 20px;
    color: white;
    font-weight: bold;
    font-size: 22px;
    background-color: rgba(0,0,0,0.5);
    border: none;
  }
  
  .next {
    right: 0;
  }
  
  .dots {
    text-align: center;
    padding: 15px 0;
  }
  
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
  }
  
  .dot.active {
    background-color: #717171;
  }