/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #f5f5f5;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Remove overlay for first slide with background image */
.slide:nth-child(1)::before {
    background: transparent;
    z-index: 1;
}

.slide-content {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 80px 0;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.slide-text {
    flex: 0 0 50%;
    color: white;
    padding-right: 3rem;
}

/* Full width text for first slide */
.slide:nth-child(1) .slide-text {
    flex: 0 0 100%;
    padding-right: 0;
}

.slide-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 1px 1px 3px rgba(0, 0, 0, 0.7);
    color: white;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.slide-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 1;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    color: white;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.slide-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.slide-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.slide-image img,
.slide-image i {
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

.slide-image i {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.15);
}

/* All slides with bright gradients */
.slide:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    background-attachment: scroll !important;
}

.slide:nth-child(2) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    background-attachment: scroll !important;
}

.slide:nth-child(3) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    background-attachment: scroll !important;
}

.slide:nth-child(4) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
    background-attachment: scroll !important;
}

.slide:nth-child(5) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%) !important;
    background-attachment: scroll !important;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot.active {
    background: white;
    width: 40px;
    border-radius: 6px;
}

.slider-dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Slider Arrow */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: auto;
        min-height: 500px;
    }
    
    .slide-content {
        flex-direction: column;
        text-align: center;
        padding: 60px 15px;
    }
    
    .slide-text {
        padding-right: 0;
        margin-bottom: 2rem;
        flex: 0 0 100%;
    }
    
    .slide-text h1 {
        font-size: 1.75rem;
    }
    
    .slide-text p {
        font-size: 1rem;
    }
    
    .slide-image i {
        font-size: 10rem;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-arrow.prev {
        left: 15px;
    }
    
    .slider-arrow.next {
        right: 15px;
    }
}
