.hero {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 120px 0;
    direction: rtl;
    overflow: hidden;
    height: 600px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 1.2s ease;
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide.fadeIn {
    animation: fadeEffect 1.2s;
}

.hero-slide.slideRight {
    animation: slideRightEffect 1.2s;
}

.hero-slide.slideLeft {
    animation: slideLeftEffect 1.2s;
}

.hero-slide.zoomIn {
    animation: zoomEffect 1.2s;
}

.hero-slide.slideUp {
    animation: slideUpEffect 1.2s;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.hero .btn {
    display: inline-block;
    background-color: #009688;
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 150, 136, 0.3);
}

.hero .btn:hover {
    background-color: #00796b;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 150, 136, 0.4);
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideRightEffect {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes slideLeftEffect {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes zoomEffect {
    from { transform: scale(1.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes slideUpEffect {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
