 /* Basic styling */
        .carousel {
            position: relative;
            width: 92%;
            height: 573px;
            overflow: hidden;
            background: #fff;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 30px;
        }

        /* Styling each slide */
        .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 600px;
            opacity: 0;
            transition: opacity 0.5s ease;
            display: flex;
            align-items: center;
            padding: 20px;
            flex-direction: row;
             justify-content: space-between; /* Ensures images stay left */

        }

        /* Active slide */
        .carousel-slide.active {
            opacity: 1;
            z-index: 1;
        }

        /* Text styling on the left with animation delay */
        .carousel-text {
            flex: 1;
            max-width: 50%;
            text-align: left;
            margin-left: 55px;
        }

        .headline, .subheadline, .big-text, .carousel-images {
            opacity: 0;
            animation: fadeIn 1s forwards;
        }

        .headline {
            font-size: 30px;
            font-weight: bold;
            margin-bottom: 0.5rem;
            color: #333;
            font-family: "Poppins", sans-serif;
            font-weight: 200;
        }

        .subheadline {
            font-size: 30px;
            color: #e5371e;
            margin-bottom: 1rem;
            font-family: "Poppins", sans-serif;
            font-weight: 200;
        }

        .big-text {
             font-size: 30px;
            font-weight: bold;
            color: #e5371e;
            font-family: "Poppins", sans-serif;
            font-weight: 200;
        }
        .details{
            width: 95%;
            height: auto;
            padding:20px;
            box-sizing: border-box;
            background: white;
            border-radius: 20px;
            border:gray solid 1px;
            margin-top:15px;
            box-shadow: 1px 1px 10px 3px #919191;
        }

        /* Image styling on the right with fade-in delay */
        .carousel-images {
                flex: 1;
                max-width: 50%;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                gap: 1rem;
                text-align: left; /* Force left alignment */
                padding: 0;
                margin: 0;
            }


        .carousel-images img {
            width: auto; /* Prevents images from stretching */
            height: auto;
            max-width: 80%;
            border-radius: 8px;
            transition: transform 0.3s ease;
            object-fit: contain; /* Keeps the aspect ratio */
        }

        .carousel-images img:hover {
            transform: scale(1.05);
        }

        /* Keyframes for animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Navigation Arrows */
        .arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 40px;
            color: #333;
            cursor: pointer;
            padding: 0.5rem;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            user-select: none;
            transition: background 0.3s;
            z-index: 999;
        }

        .arrow:hover {
            background: white;
            color: red;
        }

        .arrow-left {
            left: 10px;
        }

        .arrow-right {
            right: 10px;
        }

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

        .dot {
            width: 10px;
            height: 10px;
            background: #bbb;
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.3s;
        }

        .dot.active {
            background:red;
        }

        /* Responsive layout for smaller screens */
        @media (max-width: 768px) {
            .carousel-slide {
                flex-direction: column;
                text-align: center;
                height: 290px;
            }

                .carousel-text {
                    max-width: 370px;
                    order: 1;
                    margin-bottom: 20px;
                    text-align: center;
                    position: relative;
                    width: 100%;
                    /*border: red solid 1px;*/
                    left: -37px;
                }

            .carousel-images {
                max-width: 80%!important;
                justify-content: flex-start;
                order: 2;
                position: relative;
                top: -54px;
                left: 20px;
            }

            .headline {
                font-size: 12px;
                margin-top:-20px;
            }

            .big-text {
                font-size: 15px;
                font-weight: 600;
                margin-top:-10px;
            }
            .subheadline {
                font-size: 15px;
                font-weight: 600;
                margin-top:-30px;
            }
            .details{
                display: none!important;
            }
            .carousel-images img {

                width: 30%!important;
            }
            .carousel {
              height: 280px!important;
            }
            .arrow-right {
                right: 34px;
            }
            .carousel-dots {
                bottom: 2px;
            }
            .carousel-images img {
                max-width: 63%;
                object-fit: contain;
            }
            .carousel-images{
                left: -10px;
                display: flex;
              justify-content: center;
              align-items: center;
              /*border:red solid 1px;*/
            }
            
        }

        /* Animation Delays for Sequential Appearance */
        .slide1 .headline { animation-delay: 0.5s; }
        .slide1 .subheadline, .slide1 .big-text { animation-delay: 1s; }
        .slide1 .carousel-images { animation-delay: 1.5s; }

        .slide2 .headline { animation-delay: 0.5s; }
        .slide2 .subheadline, .slide2 .big-text { animation-delay: 1s; }
        .slide2 .carousel-images { animation-delay: 1.5s; }

        .slide3 .headline { animation-delay: 0.5s; }
        .slide3 .subheadline, .slide3 .big-text { animation-delay: 1s; }
        .slide3 .carousel-images { animation-delay: 1.5s; }