.aj-home-slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background-color: #03070a;
    aspect-ratio: 2.7 / 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid rgba(212, 175, 55, 0.1);
}

.aj-home-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.aj-home-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

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

.aj-home-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Glassmorphic Navigation controls */
.aj-slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(3, 7, 10, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, transform 0.3s, opacity 0.3s, border 0.3s;
    opacity: 0;
    padding: 0;
    outline: none;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.aj-home-slider-container:hover .aj-slider-control {
    opacity: 1;
}

.aj-slider-control:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.aj-slider-control svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    transition: fill 0.3s;
}

.aj-slider-control:hover svg {
    fill: #d4af37; /* Premium Gold hover */
}

.aj-slider-control.prev {
    left: 24px;
}

.aj-slider-control.next {
    right: 24px;
}

/* Indicators */
.aj-slider-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(3, 7, 10, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.aj-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.aj-indicator.active {
    background: #d4af37; /* Premium Gold */
    transform: scale(1.2);
}

.aj-indicator:hover {
    background: rgba(212, 175, 55, 0.6);
}

@media (max-width: 768px) {
    .aj-home-slider-container {
        aspect-ratio: 1 / 1.25 !important; /* Taller on mobile devices to contain text/buttons */
        min-height: 480px !important;
    }
    .aj-home-slides img {
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    .aj-slider-control {
        width: 40px;
        height: 40px;
        opacity: 0.9;
    }
    .aj-slider-control.prev {
        left: 12px;
    }
    .aj-slider-control.next {
        right: 12px;
    }
    .aj-slider-control svg {
        width: 20px;
        height: 20px;
    }
    .aj-slider-indicators {
        bottom: 12px;
        padding: 6px 12px;
    }
    .aj-indicator {
        width: 8px;
        height: 8px;
    }
}

/* Floating Hero Overlay Card */
.aj-slider-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(3, 7, 10, 0.85) 0%, rgba(3, 7, 10, 0.4) 60%, rgba(3, 7, 10, 0.1) 100%);
    display: flex;
    align-items: center;
    z-index: 5;
    pointer-events: none; /* Pass clicks to slider elements except overlay */
}

.aj-slider-hero-content {
    max-width: 540px;
    margin-left: 80px;
    padding: 40px;
    border-radius: 20px;
    background: rgba(3, 7, 10, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: auto; /* Re-enable clicks for text & buttons */
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    text-align: left;
}

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

.aj-hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #d4af37;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.aj-hero-title {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.aj-hero-desc {
    font-size: 15px;
    color: #cbd5e0 !important;
    line-height: 1.6;
    margin-bottom: 30px;
}

.aj-hero-actions {
    display: flex;
    gap: 16px;
}

.aj-btn-primary {
    background: #d4af37;
    color: #03070a !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1.5px solid #d4af37;
    display: inline-block;
    text-align: center;
}

.aj-btn-primary:hover {
    background: #ffffff;
    color: #03070a !important;
    border-color: #ffffff;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.aj-btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    display: inline-block;
    text-align: center;
}

.aj-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
}

/* Mobile responsive styles for floating card */
@media (max-width: 900px) {
    .aj-slider-hero-overlay {
        background: rgba(3, 7, 10, 0.5); /* Soft dark overlay */
        justify-content: center;
        align-items: center;
    }
    .aj-slider-hero-content {
        margin-left: 0;
        max-width: 90%;
        padding: 30px 20px;
        text-align: center;
        background: rgba(3, 7, 10, 0.72) !important; /* Semi-transparent black glass box */
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 16px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
    }
    .aj-hero-badge {
        margin-bottom: 14px !important;
        font-size: 10px !important;
        padding: 4px 12px !important;
    }
    .aj-hero-title {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }
    .aj-hero-desc {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        margin-bottom: 24px !important;
        color: #cbd5e0 !important;
    }
    .aj-hero-actions {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap; /* Prevent button overflow on very small devices */
    }
    .aj-btn-primary, .aj-btn-secondary {
        padding: 10px 18px !important;
        font-size: 12px !important;
        flex-grow: 1; /* Stretch buttons to align evenly */
        max-width: 160px;
    }
}

