
h1, h2, h3, h4, h5, h6 {
    font-family: "EB Garamond", serif;
    color: #000;
    font-weight: 500;
}

.custom-slider-container {
    position: relative;
    max-width: 943px;
    margin: 0 auto;

}

.custom-slider {
    display: flex;
    scroll-behavior: smooth;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    height:515px;
}

.custom-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar for WebKit */
}

.slider-item {
    flex: 0 0 33.33%; /* Default: 3 items per row */
    box-sizing: border-box;
    text-align: center;
    scroll-snap-align: start;
    padding: 10px;
    height: 510px;
    width: 290px;
    transition: background 0.3s ease;
    
}

.imageSection {
    height: 375px;
    overflow: hidden;
    border-radius:10px;
}

.slider-item img {
    width: 100%;
    display: block;
    margin: 0 auto 0px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.5s ease;
    height: 375px;
}
.slider-item:hover {
    background: white;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 10px;
}
/*    .slider-item img:hover  {
        transform: scale(1.2);
    }*/


.participatingSection {
    border-radius: 10px;
    width: 300px;
    transition: transform 0.5s ease;
}

    .slider-item:hover img{
        transform: scale(1.1);
    }


/*new code start here*/
.imageOverlay {
    overflow: hidden;
    border-radius: 10px;
    margin:20px;
}

.imageOverlay img {
    transition: transform 0.5s ease;
}
/*.appTourImages {
    overflow: hidden;
    border-radius: 10px;
    width: 915px;
    margin: 0 auto;
    margin: 0 auto;
}*/
.appTourImages {
    max-width: 915px;
    overflow: hidden;
    margin: 0 auto;
    border-radius:10px;
    
}
.appTourImages img {
    transition: transform 0.5s ease;
   
}

    .imageOverlay:hover img  {
        transform: scale(1.1);
    }
/*.appTourImages:hover img{
    transform: scale(1.1);
    border-radius: 10px;
}*/

.appTourWrapper {
    overflow: hidden;
}

.appTourWrapper:hover .appTourImages img {
    transform: scale(1.1);
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.appTourImages img {
    pointer-events: none;
}

.text_button {
    position: relative;
    z-index: 2;
}



.appTourImages {
    position: relative;
    overflow: hidden;
}

    .appTourImages img {
        transition: transform 0.3s ease;
        display: block;
    }

    .appTourImages::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2); /* 20% black */
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .appTourImages:hover img {
        transform: scale(1.1);
        border-radius: 10px;
    }

    .appTourImages:hover::after {
        opacity: 1;
    }


.scroll-btn.next-btn {
    width: 30px;
    height: 30px;
    background: url("../../images/2026Images/rightArrow.png") no-repeat center;
    background-size: contain;
    border: none;
    position: absolute;
    right: -35px;
    top: 38%;
}

.scroll-btn.prev-btn {
    width: 30px;
    height: 30px;
    background: url("../../images/2026Images/leftArrow.png") no-repeat center;
    background-size: contain;
    border: none;
    position: absolute;
    left: -35px;
    top: 38%;
}





.imageHeight img {
    width: 93%;
}

.sectionmargin.enjoryExperienceHeader .container .row {
    display: flow-root;
}

/*new code for slider text*/

#cmBannerCarousel {
    position: relative;
}

.fixed-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    width: 100%;
}
/**/
    .fixed-caption h1 {
        font-family: 'EB Garamond', serif;
        font-size: 34px;
        letter-spacing: 2px;
        color: #fff;
        padding: 10px 30px;
        display: inline-block;
        border-radius: 4px;
        color:white;
        letter-spacing:normal
    }




    /* Responsive Design */
    @media (max-width: 768px) {

        @media (max-width: 768px) {

            /* Disable hover zoom on mobile */
            .slider-item:hover img,
            .imageOverlay:hover img,
            .appTourImages:hover img {
                transform: none !important;
            }
        }

        body {
            overflow-x: hidden;
        }

        img {
            max-width: 100%;
            height: auto;
        }


        .slider-item {
        flex: 0 0 100%; /* Show 1 item per row on smaller screens */
    }

        .slider-item img {
            width: 80%;
            height: auto;
            display: block;
            margin: 0 auto 10px;
        }
    .scroll-btn.prev-btn{
        left:0;
    }
    .scroll-btn.next-btn{
        right:0;
    }

    .scroll-btn {
        font-size: 18px;
        padding: 0px;
    }

        .fixed-caption h2 {
            font-size: 22px;
            padding: 8px 20px;
        }

/*mobile slider*/

        .custom-slider-container {
            position: relative;
            overflow: hidden;
        }

        .custom-slider {
            display: flex;
            gap: 0px;
            overflow-x: auto;
/*            scroll-snap-type: x mandatory;*/
            -webkit-overflow-scrolling: touch;
            padding-bottom: 10px;
        }

            /* Hide scrollbar */
            .custom-slider::-webkit-scrollbar {
                display: none;
            }

        .slider-item {
            min-width: 75%;
            flex: 0 0 75%;
            background: #fff;
            border-radius: 16px;
            scroll-snap-align: start;
            
        }

            .slider-item img {
                width: 100%;
                height: 335px;
                object-fit: cover;
                border-radius: 10px;
            }

            .slider-item h2 {
                padding: 2px;
            }

            .slider-item p {
                font-size: 14px;
                padding: 2px;
                line-height: 1.4;
            }

        /* Hide arrows on mobile */
        .scroll-btn {
            display: none;
        }


        .custom-slider {
            display: flex;
            scroll-behavior: smooth;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
/*            height: 440px !important;*/
            overflow-y:hidden;
            
        }

        .slider-item {
            height: calc(100% - 0px);
        }
        .imageSection {
            height: 335px !important;
            overflow: hidden;
            border-radius: 10px;
        }
        .appTourImages {
            border-radius: 0px;
        }
        .appTourImages:hover {
            border-radius: 0px;
        }

        .fixed-caption h1{
            font-size:28px;
        }

        .custom-slider {
            display: flex;
            scroll-behavior: smooth;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scrollbar-width: none; /* Hide scrollbar for Firefox */
            height: 100%;
        }
        .slider-item:hover {
            background: white;
            box-shadow: none;
            border-radius: 0px;
            border:none;
        }

        .appTourImages:hover img {
            transform: scale(1.1);
            border-radius: 0;
        }

}



@media (max-width: 768px) {

    /* Stop horizontal page scroll */
    body {
        overflow-x: hidden;
    }

    
}
