
/* Global scroll improvements - SIMPLIFIED */
html {
    scroll-behavior: smooth;
}

/* Basic slideshow container - no interference with scroll */
.slideshow-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}
/* RESET TO BASIC - No special video handling */
.slideshow-slide {
    position: relative;
    overflow: hidden;
    /* Let browser determine height naturally */
}
.slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slideshow-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slideshow-slide iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* Content overlay */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    transition: all 0.3s ease;
}

/* Content overlay version 3 - centered */
.slide-content3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    color: #fff;
    transition: all 0.3s ease;
}

/* Mouse scroll indicator - enhanced for full viewport */
.mouse-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: auto;
    color: #fff;
    padding: 3px;
    text-decoration: none;
    animation: mouseScroll 1.5s infinite;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    text-indent: -9999em; /* Hide text but keep for screen readers */
    background-image: url(../images/mouse-scroll.png);
    height: 83px;
    width: 36px;
    position: absolute;
    z-index: 9999;
    display: block;
    cursor: pointer;
}

/* Enhanced mouse scroll for video mode */
.video-mode .mouse-scroll,
.video-mode-forced .mouse-scroll {
    bottom: 50px;
    z-index: 10000;
    animation: mouseScrollBounce 2s infinite;
}

@keyframes mouseScrollBounce {
    0%, 20%, 50%, 80%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    40% {
        opacity: 0.7;
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        opacity: 0.7;
        transform: translateX(-50%) translateY(-5px);
    }
}

.mouse-scroll:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.8);
    transform: translateX(-50%) translateY(-3px);
    color: #fff;
    text-decoration: none;
     background-image: url(../images/mouse-scroll.png);
}



@keyframes mouseScroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content3 .container {
    width: 100%;
 
    padding: 0 20px;
}

.slide-content3 .sub-slide-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    opacity: 0.9;
    letter-spacing: 1px;
    font-family: 'Gilroy-Bold', sans-serif;
    color: #f1bf43;
    padding-left: 50px;
    font-size: 18px;
    position: relative;
}
.slide-content3 .sub-slide-title::before
{
    position: absolute;
    width: 45px;
    height: 2px;
    content: '';
    left: 0;
    bottom: 5px;
    background: #f3be43; 
}

.slide-content3 .slide-title {
    margin: 0 0 15px 0;
    font-size: 3rem;
    font-family: 'Gilroy-Bold', sans-serif;
    line-height: 1.2;
}

.slide-content3 .slide-description {
    margin-bottom: 20px;
    font-size: 1.3rem;
    line-height: 1.4em;
    max-width: 800px;
}
.slide-content3 .slide-description p
{
    margin: 0;
}

.slide-content3 .slide-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slide-content3 .slide-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.4);
}

.slide-content h3 {
    margin-top: 0;
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.slide-content p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.slide-content .btn {
    display: inline-block;
    padding: 8px 16px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}
.slide-content .btn:hover {
    background: #0056b3;
}
/* Navigation arrows */
.slick-prev, .slick-next {
    
}
.slick-prev:hover, .slick-next:hover {
    background: rgba(0,0,0,0.8);
}
.slick-prev {
    left: 15px;
}
.slick-next {
    right: 15px;
}
.slick-prev:before, .slick-next:before {
    display: none;
}
/* Pagination dots */
.slick-dots {
    bottom: 0;
    padding: 10px 0;
    background: rgba(0,0,0,0.3);
}
.slick-dots li button:before {
    font-size: 12px;
    color: white;
    opacity: 0.7;
}
.slick-dots li.slick-active button:before {
    color: white;
    opacity: 1;
}
.slick-next {
    right: 15px;    
    background-position: -100px 0;
}

.slick-next:hover {
    background-position: -100px 0;
}
.slick-pre:hover {
    background-position: 0 0;
}
.slick-prev {
    left: 30px;
    background-position: 0 0;
}
.slick-arrow {
    background-image: url(../images/next-arrow.png);
    width: 100px;
    height: 100px;
    position: absolute;
    top: 50%;
    margin-top: -50px;
    z-index: 99;
    background-color: transparent;
    border: 0;
    text-indent: -9999em;
    -webkit-border-radius: 100px;
border-radius: 100px;
}
.slick-arrow:hover {
    background-image: url(../images/next-arrow.png);
}

.slideshow-container {
    width: 100%;
}
.slideshow-slide {
    position: relative;
}
/* Video mode - Full viewport (simple approach) */
.video-mode .slideshow-container {
    height: 100vh;
    width: 100%;
}

.video-mode .slideshow-slide {
    height: 100vh;
    width: 100%;
}

.video-mode .slide-media-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-mode .slide-media-wrapper img,
.video-mode .slide-media-wrapper iframe,
.video-mode .slide-media-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* Slick elements for video mode */
.video-mode .slick-list {
    height: 100vh;
}

.video-mode .slick-track {
    height: 100vh;
}

.video-mode .slick-slide {
    height: 100vh;
}

.video-mode .slick-slide > div {
    height: 100vh;
}

/* REMOVED - All video-specific CSS */

.video-mode .slideshow-slide,
.video-mode-forced .slideshow-slide {
    height: 100vh !important;
    width: 100% !important;
}

.video-mode .slide-media-wrapper,
.video-mode-forced .slide-media-wrapper {
    position: relative;
    width: 100% !important;
    height: 100vh !important;
    overflow: hidden;
}

.video-mode .slide-media-wrapper img,
.video-mode .slide-media-wrapper iframe,
.video-mode-forced .slide-media-wrapper img,
.video-mode-forced .slide-media-wrapper iframe
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh !important;
    object-fit: cover;
    border: none;
}

/* Safari specific video fixes */
.video-mode .slide-media-wrapper video,
.video-mode-forced .slide-media-wrapper video {
    -webkit-object-fit: cover;
    object-fit: cover;
    /* Force hardware acceleration on Safari */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Ensure video fills container on Safari mobile */
    min-width: 100% !important;
    min-height: 100vh !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh !important;
    border: none;
}

/* Override Slick's adaptive height for video slides */
.video-mode .slick-track,
.video-mode-forced .slick-track {
    height: 100vh !important;
}

.video-mode .slick-slide,
.video-mode-forced .slick-slide {
    height: 100vh !important;
}

/* Force full viewport for all Slick elements in video mode */
.video-mode .slick-list,
.video-mode-forced .slick-list {
    height: 100vh !important;
}

.video-mode .slick-track,
.video-mode-forced .slick-track {
    height: 100vh !important;
}

.video-mode .slick-slide > div,
.video-mode-forced .slick-slide > div {
    height: 100vh !important;
}

/* Image mode - simplified */
.slide-media-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}
.slide-media-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.video-wrapper
{
    height: 100vh;
    width: 100%;
}

/* Fullscreen video styles */
.slideshow-video:fullscreen,
.slideshow-video:-webkit-full-screen,
.slideshow-video:-moz-full-screen,
.slideshow-video:-ms-fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover;
    background: #000;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.video-wrapper:fullscreen,
.video-wrapper:-webkit-full-screen,
.video-wrapper:-moz-full-screen,
.video-wrapper:-ms-fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.video-wrapper:fullscreen video,
.video-wrapper:-webkit-full-screen video,
.video-wrapper:-moz-full-screen video,
.video-wrapper:-ms-fullscreen video {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover;
}

/* Hide fullscreen button when in fullscreen mode */
.video-wrapper:fullscreen .btn-fullscreen-video,
.video-wrapper:-webkit-full-screen .btn-fullscreen-video,
.video-wrapper:-moz-full-screen .btn-fullscreen-video,
.video-wrapper:-ms-fullscreen .btn-fullscreen-video {
    display: none;
}

@media (max-width: 991px) {
    .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .slide-content3 .slide-title {
        font-size: 2.5rem;
    }
    .slide-content3 .slide-description {
        font-size: 1.2rem;
    }
}
@media (max-width: 768px) {
    .slick-prev, .slick-next {
        width: 30px;
        height: 30px;
    }
    .slide-content {
        padding: 15px;
    }
    .slide-content h3 {
        font-size: 1.3rem;
    }
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide-content3 .container {
        padding: 0 15px;
    }
    .slide-content3 .slide-title {
        font-size: 2rem;
    }
    .slide-content3 .slide-description {
        font-size: 1.1rem;
    }
    .slide-content3 .slide-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
    
    /* Video mode mobile adjustments */
    .video-mode .slideshow-container,
    .video-mode .slideshow-slide,
    .video-mode .slide-media-wrapper,
    .video-mode .slick-list,
    .video-mode .slick-track,
    .video-mode .slick-slide {
        height: 100vh; /* Keep full viewport on mobile too */
    }
}
/* SIMPLIFIED - Force GPU acceleration for smoother video playback */
.slideshow-video {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media (max-width: 576px) {
    .slideshow-slide {
        aspect-ratio: 4/3;
    }
    .slide-content h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    .slide-content .btn {
        padding: 5px 10px;
        font-size: 0.9rem;
    }
    
    .slide-content3 .sub-slide-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    .slide-content3 .slide-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .slide-content3 .slide-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .slide-content3 .slide-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}