/* Hero Slider Styles */
.hero {
    padding: 0 !important;
    display: block !important;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    padding: 2rem;
    will-change: transform, opacity, clip-path, filter;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 3;
    animation: slideInHighImpact 1.4s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.hero-slide.leaving {
    opacity: 0;
    visibility: visible;
    z-index: 2;
    animation: slideOutHighImpact 1.4s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes slideInHighImpact {
    0% {
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
        transform: scale(1.1) translateX(30px);
        filter: blur(20px);
        opacity: 0;
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: scale(1) translateX(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slideOutHighImpact {
    0% {
        transform: scale(1);
        filter: blur(0);
        opacity: 1;
    }
    100% {
        transform: scale(0.9) translateX(-30px);
        filter: blur(15px);
        opacity: 0;
    }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    /* Individual content animations can be added here if needed */
}

.hero-slide.active .hero-content {
    animation: contentFadeIn 1s ease-out 0.4s both;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    font-weight: 800 !important;
    letter-spacing: -1px;
    margin-bottom: 1.5rem !important;
    animation: none !important; 
    opacity: 1 !important;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
    font-weight: 500 !important;
    margin-bottom: 2rem !important;
    animation: none !important;
    opacity: 1 !important;
    color: rgba(255, 255, 255, 0.95);
}

.hero-slide .text-highlight {
    color: #0088ff;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 136, 255, 0.4);
}

.hero-commitment {
    margin-top: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-closer {
    margin-top: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--secondary-color);
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

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

.slider-dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

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

.slider-arrow-prev {
    left: 2rem;
}

.slider-arrow-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .slider-arrow {
        display: none;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-commitment {
        font-size: 1rem;
    }
}
