/* Video Slide Style - For slides with video backgrounds */

.slide-video-type {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Main Content for video slides */
.slide-text {
    position: relative;
    z-index: 100;
    text-align: left;
    max-width: 1000px;
    padding: 0 150px;
    margin-top: 100px;
}

.slide-subtitle {
    font-size: 28px;
    color: #d62323;
    text-transform: capitalize;
    letter-spacing: 2px;
    margin-bottom: 40px;
    font-weight: 800;
}

.slide-title {
    font-size: 46px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0;
}

/* Animations triggered on load */
.animate-in .slide-subtitle {
    animation: slideInFromRight 0.8s ease-out 0.3s both;
}

.animate-in .slide-title {
    animation: slideInFromLeft 1s ease-out 0.6s both;
}

/* Slide-specific animations */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design for Video Slides */
@media (max-width: 1024px) {
    .slide-text {
        padding: 0 80px;
        margin-top: 80px;
    }

    .slide-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .slide-title {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .slide-text {
        padding: 0 40px;
        margin-top: 60px;
        max-width: 100%;
    }

    .slide-subtitle {
        font-size: 14px;
        letter-spacing: 1.5px;
        margin-bottom: 20px;
    }

    .slide-title {
        font-size: 32px;
        line-height: 1.3;
        letter-spacing: -0.5px;
    }
}

@media (max-width: 480px) {
    .slide-text {
        padding: 0 25px;
        margin-top: 40px;
    }

    .slide-subtitle {
        font-size: 12px;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .slide-title {
        font-size: 24px;
        line-height: 1.4;
    }
}
