    /* Carousel Container */
    .carousel-container {
      position: relative;
      width: 100%;
      max-width: 1920px;
      margin: auto;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    /* Scroll Wrapper (CSS Scroll Snap) */
    .carousel-track {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
    }

    /* Hide scrollbars */
    .carousel-track::-webkit-scrollbar { display: none; }
    .carousel-track { -ms-overflow-style: none; scrollbar-width: none; }

    /* Slide Layout */
    .carousel-slide {
      width: 100%;
      min-width: 100%;
      flex: 0 0 100%;
      scroll-snap-align: start;
      box-sizing: border-box;
      position: relative; /* Context for caption overlay */
    }

    /* Responsive Image */
    .carousel-slide img {
      width: 100%;
      max-width: 100%;
      height: auto;
      aspect-ratio: 16 / 9;
      display: block;
      object-fit: cover;
    }

    /* Caption Overlay Styling */
    .slide-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
      color: #fff;
      padding: 40px 20px 50px; /* Extra bottom padding for dots */
      font-family: sans-serif;
      z-index: 2;
    }
    .slide-caption h2,
    .slide-caption p,
    .slide-caption .cta-btn {
    opacity: 0;
    transform: translateY(30px); /* Pushes elements down out of view */
    transition: opacity 0.6s ease, transform 0.6s ease;
    }

    /* Staggered Delay for smoother visual rhythm */
    .slide-caption p { transition-delay: 0.15s; }
    .slide-caption .cta-btn { transition-delay: 0.3s; }

    /* Reveal Trigger State (When slide becomes active) */
    .carousel-slide.active .slide-caption h2,
    .carousel-slide.active .slide-caption p,
    .carousel-slide.active .slide-caption .cta-btn {
    opacity: 1;
    transform: translateY(0); /* Slides perfectly into position */
    }
    .slide-caption h2 {
      margin: 0 0 8px 0;
      font-size: 1.5rem;
    }

    .slide-caption p {
      margin: 0 0 15px 0;
      font-size: 1rem;
      opacity: 0.9;
      max-width: 80%;
    }

    .slide-caption .cta-btn {
      display: inline-block;
      background: #007bff;
      color: #fff;
      text-decoration: none;
      padding: 8px 16px;
      border-radius: 4px;
      font-size: 0.9rem;
      font-weight: bold;
      transition: background 0.2s;
    }

    .slide-caption .cta-btn:hover {
      background: #0056b3;
    }

    /* Navigation Arrows */
    .nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.7);
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      font-size: 1.2rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
      z-index: 10;
    }
    .nav-btn:hover { background: rgba(255, 255, 255, 0.9); }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }

    /* Pagination Dots Container */
    .carousel-dots {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 10;
    }

    /* Dot Styling */
    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      border: none;
      cursor: pointer;
      transition: background 0.2s, transform 0.2s;
      padding: 0;
    }
    .dot.active {
      background: #fff;
      transform: scale(1.2);
    }

    /* Mobile Adaptability */
    @media (max-width: 480px) {
      .nav-btn { width: 32px; height: 32px; font-size: 1rem; }
      .carousel-slide img { aspect-ratio: 4 / 3; }
      .slide-caption { padding: 30px 15px 45px; }
      .slide-caption h2 { font-size: 1.2rem; }
      .slide-caption p { font-size: 0.85rem; max-width: 100%; }
      .slide-caption .cta-btn { font-size: 0.8rem; padding: 6px 12px; }
    }