/* Slider Improvements */

/* Banner/Slider enhancements */
.banner-area {
    position: relative;
    height: 650px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.banner-area::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    z-index: 2;
    pointer-events: none;
}

.banner-830 {
    height: 650px !important;
}

.single-banner {
    position: relative;
}

.banner-bg1 {
    background-position: center center !important;
    background-size: cover !important;
    height: 100%;
    transition: transform 5s ease;
}

.swiper-slide-active .banner-bg1 {
    transform: scale(1.1);
}

.banner-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    animation-delay: 0.3s;
}

/* Text styles */
.banner-meta-text {
    overflow: hidden;
}

.banner-meta-text span {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    display: inline-block;
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.swiper-slide-active .banner-meta-text span {
    padding-left: 60px;
}

.banner-meta-text span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #4361ee;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease 0.5s;
}

.swiper-slide-active .banner-meta-text span::before {
    opacity: 1;
}

.banner-title {
    color: #fff;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.2;
    margin: 25px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.swiper-slide-active .banner-title {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation styles */
.slider-nav {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    display: flex;
}

.dp-nav-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 20px;
    margin: 0 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dp-nav-btn:hover {
    background-color: #4361ee;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Pagination styles */
.slider-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider1-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider1-pagination .swiper-pagination-bullet-active {
    background-color: #4361ee;
    transform: scale(1.2);
}

/* Call to action button */
.banner-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.3s;
}

.swiper-slide-active .banner-btn {
    opacity: 1;
    transform: translateY(0);
}

.banner-btn .clip-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #4361ee;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.banner-btn .clip-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

/* Animation keyframes */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for active slide */
.swiper-slide.animated .banner-meta-text span::before,
.swiper-slide.animated .banner-title,
.swiper-slide.animated .banner-btn {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.swiper-slide.animated .banner-meta-text span::before {
    animation-name: fadeInLeft;
    animation-delay: 0.3s;
}

.swiper-slide.animated .banner-title {
    animation-name: fadeInUp;
    animation-delay: 0.5s;
}

.swiper-slide.animated .banner-btn {
    animation-name: fadeInUp;
    animation-delay: 0.7s;
}

/* Responsive fixes */
@media (max-width: 1199px) {
    .banner-title {
        font-size: 48px;
    }
}

@media (max-width: 991px) {
    .banner-830 {
        height: 550px !important;
    }
    
    .banner-title {
        font-size: 42px;
    }
    
    .banner-meta-text span {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .banner-830 {
        height: 450px !important;
    }
    
    .banner-title {
        font-size: 36px;
    }
    
    .banner-meta-text span {
        font-size: 16px;
    }
    
    .slider-nav {
        bottom: 30px;
        right: 30px;
    }
    
    .dp-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .banner-830 {
        height: 400px !important;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-meta-text span {
        font-size: 15px;
    }
    
    .slider-nav {
        bottom: 20px;
        right: 20px;
    }
    
    .dp-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
} 