/* Hero Slider Section Styling */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 78px);
    min-height: 540px;
    max-height: 720px;
    overflow: hidden;
}

.hero-slider-section .carousel,
.hero-slider-section .carousel-inner,
.hero-slider-section .carousel-item {
    height: 100%;
    width: 100%;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.slide-1-bg {
    background-image: url('../image/slider-2.jpeg');
}

.slide-2-bg {
    background-image: url('../image/slider-1.jpeg');
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
}

.dark-gradient-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.1) 100%) !important;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

/* Text Left-to-Right Staggered Animation */
.animate-left {
    opacity: 0;
    transform: translateX(-120px);
}

.carousel-item.active .animate-left {
    animation: slideInFromLeft 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.carousel-item.active .delay-1 {
    animation-delay: 0.15s;
}

.carousel-item.active .delay-2 {
    animation-delay: 0.35s;
}

.carousel-item.active .delay-3 {
    animation-delay: 0.55s;
}

.carousel-item.active .delay-4 {
    animation-delay: 0.75s;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-120px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.blue-banner {
    background-color: #2986e2;
    color: #ffffff;
    font-family: 'Raleway', 'Open Sans', sans-serif;
    font-size: 30px;
    font-weight: 400;
    padding: 12px 20px;
    display: inline-block;
    border-radius: 0px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.dark-banner {
    background-color: #363636;
    color: #ffffff;
    font-family: 'Raleway', 'Open Sans', sans-serif;
    font-size: 30px;
    font-weight: 400;
    padding: 12px 20px;
    display: inline-block;
    border-radius: 0px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
    color: #ffffff;
    font-family: 'Raleway', 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    padding: 8px 14px;
    background-color: rgba(45, 45, 45, 0.35);
    display: inline-block;
}

.btn-view-services {
    background-color: #f26522;
    color: #ffffff !important;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(242, 101, 34, 0.4);
}

.btn-view-services:hover {
    background-color: #d85213;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(242, 101, 34, 0.5);
}

/* Slide 2 Styling */
.slide2-title {
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide2-subtitle {
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0px;
    max-width: 760px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.btn-purple-explore {
    background-color: #603891;
    color: #ffffff !important;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 17px;
    padding: 10px 15px;
    border-radius: 10px;
    border: 2px solid #603891;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(96, 56, 145, 0.4);
}

.btn-purple-explore:hover {
    background-color: transparent;
    color: #ffffff !important;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 17px;
    padding: 10px 15px;
    border-radius: 10px;
    border: 2px solid #603891;
    transition: all 0.3s ease;
    display: inline-block;
    backdrop-filter: blur(4px);
}

.btn-purple-outline-video {
    background-color: transparent;
    color: #ffffff !important;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 17px;
    padding: 10px 15px;
    border-radius: 10px;
    border: 2px solid #603891;
    transition: all 0.3s ease;
    display: inline-block;
    backdrop-filter: blur(4px);
}

.btn-purple-outline-video:hover {
    background-color: #603891;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.play-symbol {
    font-size: 13px;
    margin-right: 6px;
}

/* Custom Slider Arrow Controls */
.custom-slider-arrow {
    width: 50px !important;
    height: 50px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 0.85 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

.custom-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.85) !important;
    opacity: 1 !important;
}

.arrow-left {
    left: 25px !important;
}

.arrow-right {
    right: 25px !important;
}

.slider-icon {
    font-size: 36px;
    line-height: 1;
    font-family: Arial, sans-serif;
    margin-top: -3px;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .hero-slider-section {
        height: 480px;
        min-height: 440px;
    }

    .slide2-subtitle {
        font-size: 22px;
        line-height: 32px;
    }

    .blue-banner {
        font-size: 22px;
        padding: 10px 18px;
    }

    .dark-banner {
        font-size: 20px;
        padding: 10px 18px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .arrow-left {
        left: 10px !important;
    }

    .arrow-right {
        right: 10px !important;
    }
}

@media (max-width: 575.98px) {
    .hero-slider-section {
        height: 420px;
        min-height: 380px;
    }

    .slide2-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .blue-banner {
        font-size: 17px;
        padding: 8px 14px;
    }

    .dark-banner {
        font-size: 15px;
        padding: 8px 14px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .btn-view-services {
        padding: 10px 22px;
        font-size: 13px;
    }
}
