/* Hero Slider Styles */
.hero-slider {
    position: relative;
    overflow: hidden;
    margin-top: -1rem;
}

.hero-slider .carousel-item {
    height: 80vh;
    min-height: 500px;
    background-color: #000;
}

.hero-slider .carousel-item img {
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-slider .carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 20px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 2rem;
}

.hero-slider .carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff !important;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-slider .carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #ffffff !important;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 5%;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    background-size: 50%;
}

.hero-slider .carousel-indicators {
    bottom: 10px;
}

.hero-slider .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
}

.hero-slider .carousel-indicators .active {
    background-color: #fff;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-slider .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .hero-slider .carousel-caption p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-slider .carousel-item {
        height: 60vh;
        min-height: 400px;
    }

    .hero-slider .carousel-caption {
        right: 10%;
        left: 10%;
    }

    .hero-slider .carousel-caption h1 {
        font-size: 2rem;
    }

    .hero-slider .carousel-caption p {
        font-size: 1rem;
    }

    .hero-slider .carousel-control-prev-icon,
    .hero-slider .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-slider .carousel-item {
        height: 50vh;
        min-height: 350px;
    }

    .hero-slider .carousel-caption {
        right: 5%;
        left: 5%;
    }

    .hero-slider .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .hero-slider .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* RTL Support */
[dir="rtl"] .hero-slider .carousel-control-prev {
    right: 0;
    left: auto;
}

[dir="rtl"] .hero-slider .carousel-control-next {
    left: 0;
    right: auto;
}
