/* 
   Exclusive CSS for index-slider.html
   Provides styling for the new full-screen hero slider 
*/

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    min-height: 600px;
    background-color: #000;
    overflow: hidden;
    margin-top: 0; /* Ensures it starts at the very top, beneath the absolute navbar */
}

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

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1); /* Slight zoom in for Ken Burns effect */
    transition: transform 6s ease;
}

/* Ken Burns Effect when slide is active */
.swiper-slide-active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.4) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Animations for content */
.hero-slide-title,
.hero-slide-text,
.hero-slide-btns {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide-title { transition-delay: 0.4s; }
.hero-slide-text { transition-delay: 0.6s; }
.hero-slide-btns { transition-delay: 0.8s; }

.swiper-slide-active .hero-slide-title,
.swiper-slide-active .hero-slide-text,
.swiper-slide-active .hero-slide-btns {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Controls Styling */
.hero-slider-next,
.hero-slider-prev {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.hero-slider-next:hover,
.hero-slider-prev:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.hero-slider-next::after,
.hero-slider-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Pagination */
.hero-slider-pagination {
    bottom: 40px !important;
}

.hero-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-slider-pagination .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 10px;
    background: var(--primary-color);
}

@media (max-width: 991.98px) {
    h1.hero-slide-title { font-size: 3rem !important; } span.hero-slide-title.badge { font-size: 0.9rem !important; }
    .hero-slide-content {
        align-items: center;
        text-align: center;
    }
    .hero-slide-overlay {
        background: linear-gradient(0deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.6) 100%);
    }
    .hero-slide-btns {
        justify-content: center;
    }
}

/* Specific Mobile Fixes for Slider */
@media (max-width: 767.98px) {
    .hero-slider-wrapper {
        min-height: 500px;
    }
    
    /* Target the h1 specifically so we don't blow up the badge */
    h1.hero-slide-title {
        font-size: 2rem !important;
        letter-spacing: -1px !important;
        margin-bottom: 1rem !important;
    }
    
    /* Target the badge specifically to keep it small */
    span.hero-slide-title.badge {
        font-size: 0.85rem !important;
        padding: 0.5rem 1rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-slide-text {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
        padding: 0 15px;
    }
    
    .hero-slide-btns {
        width: 100%;
        padding: 0 15px;
        gap: 0.5rem !important;
    }
    
    .hero-slide-btns .btn {
        width: 100%;
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
    
    .hero-slider-next,
    .hero-slider-prev {
        display: none !important;
    }
}
/* Exclusive Staggered Grid Design for index-slider.html */
.staggered-grid-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

@media (min-width: 992px) {
    .staggered-card-middle {
        transform: translateY(-60px);
        z-index: 10;
        /* Enhance shadow to emphasize elevation */
        box-shadow: 0 1rem 3rem rgba(0,0,0,0.15) !important;
    }
    
    /* When hovering on the middle card, keep it staggered but lift slightly more */
    .staggered-card-middle.hover-lift:hover {
        transform: translateY(-70px) scale(1.02);
    }
}
/* Split-Screen Interactive Layout for index-slider.html */
.split-screen-section {
    position: relative;
    background-color: #0f172a; /* Dark premium background */
    color: #fff;
}

.sticky-media-wrapper {
    position: sticky;
    top: 120px;
    height: calc(100vh - 160px);
    min-height: 500px;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 2rem 4rem rgba(0,0,0,0.5);
}

.sticky-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 1s ease-out;
    transform: scale(1.05);
}

.sticky-image.active {
    opacity: 1;
    transform: scale(1);
}

/* Feature Blocks */
.feature-block {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 4rem;
    opacity: 0.3;
    transition: opacity 0.6s ease;
}

.feature-block.active-block {
    opacity: 1;
}

.feature-block-number {
    font-size: 5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,0.2);
    margin-bottom: 1rem;
    line-height: 1;
}

.feature-block.active-block .feature-block-number {
    -webkit-text-stroke: 2px var(--primary-color);
    color: rgba(var(--primary-color-rgb), 0.1);
}

@media (max-width: 991.98px) {
    .sticky-media-wrapper {
        position: relative;
        top: 0;
        height: 50vh;
        margin-bottom: 3rem;
    }
    .feature-block {
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 4rem;
        padding-right: 0;
        opacity: 1;
    }
}
/* Floating Glass About Us Section for index-slider.html */
.glass-bg-section {
    position: relative;
    padding: 10rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.glass-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.glass-card-wrapper {
    position: relative;
    z-index: 2;
}

.glass-about-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2rem 4rem rgba(0,0,0,0.2);
    border-radius: 2rem;
    padding: 4rem;
}

@media (max-width: 991.98px) {
    .glass-about-card {
        padding: 2.5rem;
    }
    .glass-bg-section {
        background-attachment: scroll;
        padding: 6rem 0;
    }
}