/* ============================================
   SECTION 1: HERO SLIDER (Premium UI/UX)
   ============================================ */

.hero-section-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    margin-top: 84px; /* Default desktop header offset */
}

/* Carousel Container with Aspect Ratio Dynamic Height */
.hero-slider__carousel {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 520; /* Dynamic height based on standard banner aspect ratio */
    overflow: hidden;
    margin-top: 0;
    background: #0b1220; /* Deep navy fallback */
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Sleek Tech Grid HUD overlay */
.hero-slider__carousel::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 3;
    pointer-events: none;
    opacity: 0.85;
}

/* Metallic Light Sweep/Shimmer reflection effect */
.hero-slider__carousel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.03) 40%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.03) 60%,
        transparent
    );
    transform: translateX(-100%);
    z-index: 5;
    pointer-events: none;
    animation: sliderLightSweep 8s infinite linear;
}

@keyframes sliderLightSweep {
    0% { transform: translateX(-100%); }
    30% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.hero-slider__carousel:active {
    cursor: grabbing;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transform: scale(1.06);
    filter: blur(8px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                filter 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                visibility 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    transform: scale(1);
    filter: blur(0);
}

.hero-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin-top: 0;
}

/* Clickable slide */
.hero-slide--clickable {
    cursor: pointer !important;
}

.hero-slide--clickable .hero-slide__img {
    cursor: pointer;
}


/* Slide Action Buttons (bottom-left) */
.hero-slide__actions {
    position: absolute;
    left: 2.5%;
    bottom: 12%;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-slide__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all .35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-slide__btn i {
    font-size: 13px;
    transition: transform .35s ease;
}

.hero-slide__btn--primary {
    background: #1651a0;
    color: #fff;
    border: 1px solid #1651a0;
    box-shadow: 0 10px 26px rgba(22, 81, 160, .35);
}

.hero-slide__btn--primary:hover {
    background: #0f3d7c;
    border-color: #9fe7f0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(22, 81, 160, .45);
}

.hero-slide__btn--ghost {
    background: #c9a15a;
    color: #fff;
    border: 1px solid #c9a15a;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-slide__btn--ghost:hover {
    background: #a97f37;
    border-color: #9fe7f0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(201, 161, 90, .45);
}

.hero-slide__btn--ghost:hover i {
    transform: translateX(4px);
}

.hero-slider__device-placeholder {
    width: 100%;
    height: 100%;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(22, 81, 160, 0.2);
}

.hero-slider__device-placeholder svg {
    color: rgba(22, 81, 160, 0.3);
}



/* Navigation Arrows */
.hero-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-slider__carousel:hover .hero-slider__nav {
    opacity: 1;
}

.hero-slider__nav:hover {
    background: #1651a0;
    border-color: #9fe7f0;
    box-shadow: 0 0 15px rgba(159, 231, 240, 0.35);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider__nav:hover svg {
    color: #ffffff;
}

.hero-slider__nav--prev {
    left: 20px;
}

.hero-slider__nav--next {
    right: 20px;
}

.hero-slider__nav svg {
    color: #ffffff;
    transition: color 0.3s ease;
}



/* Floating Info Card (Fixed on the right over the slides) */
.hero-slider__floating-card-container {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.hero-slider__floating-card {
    pointer-events: auto;
    background: rgba(11, 18, 32, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 24px;
    width: 260px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero-slider__floating-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.text-cyan {
    color: #9fe7f0;
}

.hero-slider__floating-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-slider__floating-item:first-of-type {
    border-top: none;
}

.hero-slider__floating-item svg {
    color: #9fe7f0;
    flex-shrink: 0;
}

.hero-slider__floating-item span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-slider {
        margin-top: 80px;
    }

    .hero-slider__carousel {
        height: auto;
    }

    .hero-slider__floating-card-container {
        right: 4%;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        margin-top: 70px;
    }

    .hero-slider__carousel {
        height: auto;
    }

    .hero-slider__floating-card-container {
        display: none;
    }


}

@media (max-width: 480px) {
    .hero-slider {
        margin-top: 60px;
    }

    .hero-slider__carousel {
        height: auto;
    }
}

/* Navigation and Indicators Responsive */
@media (max-width: 1024px) {
    .hero-slider__nav {
        width: 40px;
        height: 40px;
    }
    
    .hero-slider__nav--prev {
        left: 12px;
    }
    
    .hero-slider__nav--next {
        right: 12px;
    }
}

@media (max-width: 768px) {
    .hero-slider__nav {
        display: none !important;
    }
}

/* Slide Buttons Responsive */
@media (max-width: 1024px) {
    .hero-slide__actions {
        left: 2.5%;
        bottom: 10%;
        gap: 10px;
    }

    .hero-slide__btn {
        padding: 11px 20px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .hero-slide__actions {
        left: 3%;
        right: 3%;
        bottom: 8%;
        gap: 8px;
    }

    .hero-slide__btn {
        padding: 9px 16px;
        font-size: 12px;
        gap: 7px;
    }
}

@media (max-width: 480px) {
    .hero-slide__actions {
        bottom: 6%;
        gap: 6px;
    }

    .hero-slide__btn {
        padding: 8px 14px;
        font-size: 11px;
        letter-spacing: .2px;
    }

    .hero-slide__btn i {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero-slider__nav--prev {
        left: 8px;
    }
    
    .hero-slider__nav--next {
        right: 8px;
    }
}
