 * {
      box-sizing: border-box;
    }

    body2 {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #f2f2f2;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
    }

    .carousel {
      position: relative;
      width: 100%;
      height: auto;
      max-width: 100%;

      overflow: hidden;
      border-radius: 15px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
      background: #000;
    }

    .slides2 {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }

    .slides2 img {
      width: 50%;
      flex-shrink: 0;
      display: block;
      height: auto;
      object-fit: cover;
    }

    /* Previous/Next buttons */
    .prev2,
    .next2 {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      border: none;
      background: rgba(0, 0, 0, 0.5);
      color: white;
      font-size: 30px;
      padding: 10px 16px;
      cursor: pointer;
      border-radius: 50%;
    }

    .prev2 {
      left: 15px;
    }

    .next2 {
      right: 15px;
    }

    .prev2:hover,
    .next2:hover {
      background: rgba(0, 0, 0, 0.8);
    }

    /* Dots */
    .dots2 {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
    }

    .dot2 {
      width: 12px;
      height: 12px;
      background: #bbb;
      border-radius: 50%;
      cursor: pointer;
    }

    .dot2.active {
      background: white;
    }

    @media (max-width: auto) {
      .slides2 img {
        height: 100%;
      }
    }