/* Hero Slider Styles */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 200px;
    overflow: hidden;
    background: #1a1a1a;
}

/* Remove the hero-slider-header styles since we're not using it */

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center; /* Changed from flex-end to center */
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.7) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 5;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
    max-width: 600px;
    margin-bottom: 100px; /* Add margin to prevent overlap with controls */
}

.hero-slide-content h2 {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-slide-content p {
    font-size: 1.2rem;
    margin: 0 0 25px 0;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.hero-cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #00bbcea3; /* Semi-transparent blue */
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,102,204,0.3);
    z-index: 6; /* Ensure button is above overlay */
    position: relative;
}

.hero-cta-btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,102,204,0.4);
    color: #fff;
    text-decoration: none;
}

.hero-slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10; /* Higher z-index to stay above content */
}

.hero-prev, .hero-next {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-prev:hover, .hero-next:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.hero-dots {
    display: flex;
    gap: 12px;
}

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

.hero-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.hero-dot:hover {
    background: rgba(255,255,255,0.7);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-slider-container {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-slide-content {
        margin-bottom: 80px; /* Reduced margin for mobile */
        padding: 30px 15px;
    }
    
    .hero-slide-content h2 {
        font-size: 2rem;
    }
    
    .hero-slide-content p {
        font-size: 1rem;
    }
    
    .hero-slider-controls {
        bottom: 20px;
        gap: 15px;
    }
    
    .hero-prev, .hero-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-slider-container {
        height: 45vh;
        min-height: 350px;
    }
    
    .hero-slide-content {
        margin-bottom: 70px; /* Further reduced for small screens */
        padding: 20px 15px;
    }
    
    .hero-slide-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-slide-content p {
        font-size: 0.9rem;
    }
    
    .hero-cta-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}