/* Modern Standalone Hero Slider Styles */
.modern-hero-slider-wrap {
    position: relative;
    width: 100%;
    height: calc(100vh - 86px);
    min-height: 550px;
    max-height: none;
    overflow: hidden;
    background-color: #021e3d;
    margin-top: 86px; /* Offset for fixed header */
}

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

.modern-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 1s ease-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background Media Video */
.modern-slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Overlay Gradient */
.modern-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(2, 30, 61, 0.45) 0%, rgba(2, 30, 61, 0.75) 100%);
    z-index: 1;
}

/* Content Container */
.modern-slide-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 900px;
    padding: 0 90px;
    text-align: center;
    margin: 0 auto;
}

.modern-slide-title {
    font-size: 44px;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 16px;
    letter-spacing: 0;
    line-height: 1.25;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.modern-slide-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #f1f5f9;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.modern-slide-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #ffffff;
    color: #024d94 !important;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease 0.7s, transform 0.6s ease 0.7s, background-color 0.3s ease, color 0.3s ease;
}

.modern-slide-btn:hover {
    background: #024d94;
    color: #ffffff !important;
    box-shadow: 0 12px 30px rgba(2, 77, 148, 0.4);
    transform: translateY(-2px);
}

/* Animated Content inside Active Slide */
.modern-slide.active .modern-slide-title,
.modern-slide.active .modern-slide-subtitle,
.modern-slide.active .modern-slide-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Controls: Arrows */
.modern-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    padding: 0;
}

.modern-slider-arrow svg {
    width: 22px;
    height: 22px;
    stroke: #ffffff;
    transition: stroke 0.3s ease;
}

.modern-slider-arrow:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #024d94;
    border-color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.modern-slider-arrow:hover svg {
    stroke: #024d94;
}

.modern-slider-arrow.prev {
    left: 25px;
}

.modern-slider-arrow.next {
    right: 25px;
}

/* Slider Controls: Indicators Dots */
.modern-slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.modern-slider-dot.active {
    width: 32px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .modern-hero-slider-wrap {
        height: calc(100vh - 70px);
        min-height: 480px;
        max-height: none;
        margin-top: 70px;
    }
    
    .modern-slide-content {
        padding: 0 55px;
    }
    
    .modern-slide-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .modern-slide-subtitle {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .modern-slide-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
    
    .modern-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .modern-slider-arrow.prev {
        left: 12px;
    }
    
    .modern-slider-arrow.next {
        right: 12px;
    }
    
    .modern-slider-dots {
        bottom: 15px;
    }
}
