
        /* CSS styling for the image carousel */

        /* Container for the carousel */
        .carousel-container {
            max-height: 600px;
            max-width: 800px; /* Adjust max-width as needed */
            position: relative;
            margin: 20px auto; /* Center the carousel and add space */
            overflow: hidden; /* Hide parts of images outside the container */
            border-radius: 8px; /* Rounded corners for the container */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
        }

        /* Individual slides */
        .carousel-slide {
            display: none; /* Hide slides by default */
            width: 100%; /* Make slide take full width of container */
            /* Remove the fade animation from here - we'll handle it with opacity in JS */
        }

        /* Image within the slide */
        .carousel-slide img {
            width: 100%; /* Make image fill the slide width */
            height: auto; /* Maintain aspect ratio */
            display: block; /* Remove extra space below image */
        }

        /* Style for the active slide - shown by JavaScript */
        .carousel-slide.active {
            display: block; /* Show the active slide */
            opacity: 1; /* Ensure full opacity for the active slide */
            transition: opacity 0.6s ease-in-out; /* Add fade transition here */
        }

        /* Previous and Next buttons */
        .prev, .next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            width: auto;
            padding: 12px 18px; /* Increased padding for larger buttons */
            margin-top: -22px;
            color: white;
            font-weight: bold;
            font-size: 18px; /* Slightly larger font size */
            transition: 0.6s ease;
            border-radius: 0 3px 3px 0;
            user-select: none;
            background-color: rgba(0,0,0,0.5); /* Semi-transparent background */
            z-index: 10; /* Ensure buttons are above slides */
        }

        /* Position the "next button" to the right */
        .next {
            right: 0;
            border-radius: 3px 0 0 3px;
        }

        /* On hover, add a black background with a little more opacity */
        .prev:hover, .next:hover {
            background-color: rgba(0,0,0,0.8);
        }

        /* Container for dots */
        .dots-container {
            text-align: center;
            padding: 10px;
            background-color: #f1f1f1; /* Light background for dots area */
        }

        /* The dots/indicators */
        .dot {
            cursor: pointer;
            height: 12px; /* Slightly smaller dots */
            width: 12px;
            margin: 0 4px; /* Increased margin between dots */
            background-color: #bbb;
            border-radius: 50%;
            display: inline-block;
            transition: background-color 0.6s ease;
        }

        /* Active dot */
        .active-dot, .dot:hover {
            background-color: #717171;
        }

        /* Responsive adjustments */
        @media only screen and (max-width: 600px) {
            .prev, .next {
                font-size: 14px; /* Adjust button font size on small screens */
                padding: 8px 12px; /* Adjust button padding on small screens */
            }
            .carousel-container { max-width: 100%; } /* Full width on small screens */
        }
