/* RaviElson Hero Slider Styles */

.ravielson-hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    /* Default height, can be adjusted or made responsive */
    overflow: hidden;
    background-color: #f0f0f0;
}

.ravielson-hero-slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.ravielson-hero-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Overlay for better text readability (optional, but good practice) */
.ravielson-hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    /* Subtle dark overlay */
    z-index: 1;
}

.ravielson-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 1200px;
    padding: 0 20px;
}

.ravielson-hero-content h1,
.ravielson-hero-content h2,
.ravielson-hero-content h3 {
    color: #fff;
    margin-bottom: 20px;
}

/* Arrows */
.ravielson-hero-prev,
.ravielson-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s ease, border-color 0.3s ease;
    padding: 0;
    backdrop-filter: blur(10px);
}

.ravielson-hero-prev:hover,
.ravielson-hero-next:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: #fff;
}

.ravielson-hero-prev {
    left: 40px;
}

.ravielson-hero-next {
    right: 40px;
}

/* Dots */
.ravielson-hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.ravielson-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;
}

.ravielson-hero-dot.active {
    background: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ravielson-hero-slider {
        height: 400px;
    }

    .ravielson-hero-prev,
    .ravielson-hero-next {
        width: 40px;
        height: 40px;
    }

    .ravielson-hero-prev {
        left: 10px;
    }

    .ravielson-hero-next {
        right: 10px;
    }
}