/* Hero Slider Styles */
.hero-slider-area {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-slider-wrapper {
    position: relative;
    height: 85vh;
    min-height: 600px;
    max-height: 750px;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 100, 200, 0.6), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-subtitle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btn {
    display: inline-block;
    background: var(--tg-theme-primary, #ff6b35);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--tg-theme-primary, #ff6b35);
}

.hero-btn:hover {
    background: transparent;
    color: var(--tg-theme-primary, #ff6b35);
    transform: translateY(-2px);
}

/* Navigation Arrows */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    pointer-events: none;
}

.hero-prev,
.hero-next {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--tg-theme-primary, #ff6b35);
    transform: scale(1.1);
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

/* Pagination Dots */
.hero-slider-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-pagination-dot.active {
    background: var(--tg-theme-primary, #ff6b35);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 991px) {
    .hero-slider-wrapper {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .hero-prev {
        left: 20px;
    }
    
    .hero-next {
        right: 20px;
    }
}

@media (max-width: 767px) {
    .hero-slider-wrapper {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .hero-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .hero-subtitle {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 15px;
    }
    
    .hero-prev,
    .hero-next {
        display: none; /* Hide on mobile for cleaner look */
    }
}

@media (max-width: 575px) {
    .hero-slide-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-slider-pagination {
        bottom: 20px;
    }
}

/* Animation for slide transitions */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slide.active .hero-subtitle {
    animation: slideInFromBottom 0.8s ease 0.2s both;
}

.hero-slide.active .hero-title {
    animation: slideInFromBottom 0.8s ease 0.4s both;
}

.hero-slide.active .hero-description {
    animation: slideInFromBottom 0.8s ease 0.6s both;
}

.hero-slide.active .hero-btn {
    animation: slideInFromBottom 0.8s ease 0.8s both;
}