/* ===== HERO SLIDER STYLES ===== */

:root {
    --hero-height: 350px;
    --primary-color: #3b82f6;
    --primary-dark: #1d4ed8;
    --text-light: #ffffff;
    --text-dark: #1f2937;
    --overlay-color: rgba(15, 23, 42, 0.7);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    height: var(--hero-height);
    overflow: hidden;
    margin-top: 0;
}

/* Swiper Container */
.hero-swiper {
    width: 100%;
    height: 100%;
}

/* Hero Slide */
.hero-slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Parallax Background */
.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height for parallax effect */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(0);
    transition: transform 10s ease-out;
    will-change: transform;
}

.hero-slide.swiper-slide-active .slide-background {
    transform: translateY(-5%);
}

/* Overlay */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

/* Slide Content */
.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: slideUp 0.8s ease-out 0.3s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: fadeIn 0.6s ease-out 0.5s both;
}

.slide-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-title .highlight {
    color: var(--primary-color);
    position: relative;
}

.slide-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.slide-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Buttons */
.slide-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeIn 0.6s ease-out 0.8s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn i {
    font-size: 1.1rem;
}

/* Navigation Arrows */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    opacity: 0.7;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.1);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    display: none;
}

.hero-swiper .swiper-button-next i,
.hero-swiper .swiper-button-prev i {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.hero-swiper .swiper-button-prev {
    left: 30px;
}

.hero-swiper .swiper-button-next {
    right: 30px;
}

/* Pagination Dots */
.hero-swiper .swiper-pagination {
    bottom: 20px;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: var(--transition);
    margin: 0 6px !important;
}

.hero-swiper .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0.8;
    transition: var(--transition);
    cursor: pointer;
}

.scroll-down:hover {
    opacity: 1;
    bottom: 35px;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.arrow span {
    display: block;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    opacity: 0;
}

.arrow span:nth-child(1) { animation: arrow 2s infinite; }
.arrow span:nth-child(2) { animation: arrow 2s infinite 0.2s; }
.arrow span:nth-child(3) { animation: arrow 2s infinite 0.4s; }

@keyframes arrow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .slide-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero-slider-section {
        height: 300px;
    }
    
    .slide-title {
        font-size: 2.2rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .hero-swiper .swiper-button-prev {
        left: 15px;
    }
    
    .hero-swiper .swiper-button-next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 280px;
    }
    
    .slide-content {
        text-align: center;
        padding: 10px;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        width: 45px;
        height: 45px;
    }
    
    .hero-swiper .swiper-button-prev {
        left: 10px;
    }
    
    .hero-swiper .swiper-button-next {
        right: 10px;
    }
    
    .scroll-down {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-slider-section {
        height: 250px;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-description {
        font-size: 0.9rem;
    }
    
    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }
}

/* Parallax Effect Enhancement */
@media (prefers-reduced-motion: reduce) {
    .slide-background {
        transition: none;
    }
    
    .hero-slide.swiper-slide-active .slide-background {
        transform: none;
    }
}