/* Revolution Slider Styles */
.rev-slide {
    transition: opacity 1s ease-in-out;
}

.rev-slide.active {
    opacity: 1 !important;
}

.rev-slide:not(.active) {
    opacity: 0;
}

/* Animation classes */
.animate-slideInUp {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.animate-slideInUp.opacity-100.translate-y-0 {
    transform: translateY(0);
    opacity: 1;
}

/* Animation delays */
.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

/* Enhanced hover effects for navigation */
.rev-dot:hover {
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.rev-dot.active {
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Navigation arrows enhancement */
#rev-prevBtn:hover,
#rev-nextBtn:hover {
    transform: scale(1.1) translateY(-50%);
    background-color: rgba(12, 237, 42, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rev-slide .text-center h2 {
        font-size: 2rem !important;
    }

    .rev-slide .text-center p {
        font-size: 1rem !important;
    }

    #rev-prevBtn,
    #rev-nextBtn {
        width: 40px;
        height: 40px;
    }

    .rev-dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .rev-slide .text-center h2 {
        font-size: 1.5rem !important;
    }

    .rev-slide .text-center p {
        font-size: 0.9rem !important;
    }
}

/* Loading animation */
.rev-slide .animate-slideInUp {
    animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Parallax effect for background images */
.rev-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    transform: translateZ(-1px) scale(1.1);
    z-index: -1;
}

/* Enhanced text shadows for better readability */
.rev-slide h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

.rev-slide p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Smooth transitions for all elements */
.rev-slide * {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
.rev-dot:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

#rev-prevBtn:focus,
#rev-nextBtn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
