/* Hero Slider Styles - harmonized with main.css for proper image fitting (cover + center) */
.hero-slider-section {
    position: relative;
    height: 560px;
    background: #051833;
    overflow: visible; /* allow the search bar to overlap nicely */
    margin-bottom: 40px;
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    align-items: center;
    z-index: 1;
}
.hero-slide.active {
    display: flex !important;
    z-index: 2;
}
.hero-slide .hero-slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
    padding: 20px;
}
.hero-slide .hero-slide-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}
.hero-slide .hero-slide-subtitle {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}
.hero-slide .hero-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
}
.slider-nav:hover {
    background: rgba(255,255,255,0.4);
}
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.slider-dot.active {
    background: var(--primary);
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 240px !important;
        margin-bottom: 20px;
    }
    .hero-slider {
        height: 240px !important;
    }
    .hero-slide {
        height: 240px !important;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-color: #0c1929 !important;
    }
    .hero-slide .hero-slide-content {
        padding: 15px;
    }
    .hero-slide .hero-slide-title {
        font-size: 1.8rem !important;
        margin-bottom: 10px;
    }
    .hero-slide .hero-slide-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 16px;
    }
    .hero-slide .hero-slide-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    .slider-dots {
        bottom: 12px;
    }
}

