/* Slider Banner CSS Enhancements */

/* Hero Slider Area */
.hero-slider-area {
    position: relative;
    overflow: hidden;
}

.hero-slider-area .banner-area {
    position: relative;
    background-attachment: fixed !important;
    transition: all 0.3s ease;
}

/* Banner Content Styling */
.hero-slider-area .banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-slider-area .banner-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-slider-area .banner-content p {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Banner Button Styling */
.hero-slider-area .banner-button a {
    display: inline-block;
    padding: 12px 30px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #28a745;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-slider-area .banner-button a:hover {
    background: #218838;
    border-color: #218838;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    border-radius: 25px;
}

/* Banner Image Styling */
.hero-slider-area .banner-image {
    animation: fadeInRight 1s ease-out 0.8s both;
}

.hero-slider-area .banner-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-slider-area .banner-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1199px) {
    .hero-slider-area .banner-content h1 {
        font-size: 3rem;
    }
    
    .hero-slider-area .banner-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 991px) {
    .hero-slider-area .banner-area {
        background-attachment: scroll !important;
        min-height: 500px !important;
    }
    
    .hero-slider-area .banner-content h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-slider-area .banner-content h2 {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .hero-slider-area .banner-content p {
        text-align: center;
    }
    
    .hero-slider-area .banner-button {
        text-align: center;
    }
    
    .hero-slider-area .banner-image {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .hero-slider-area .banner-area {
        min-height: 400px !important;
        padding: 60px 0;
    }
    
    .hero-slider-area .banner-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-slider-area .banner-content h2 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .hero-slider-area .banner-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-slider-area .banner-button a {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .hero-slider-area .banner-image img {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .hero-slider-area .banner-area {
        min-height: 350px !important;
        padding: 40px 0;
    }
    
    .hero-slider-area .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-slider-area .banner-content h2 {
        font-size: 0.9rem;
    }
    
    .hero-slider-area .banner-content p {
        font-size: 0.9rem;
    }
    
    .hero-slider-area .banner-button a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-slider-area .banner-image img {
        max-width: 90%;
    }
}

/* Enhanced Background Effects */
.hero-slider-area .banner-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-slider-area .banner-area .container {
    position: relative;
    z-index: 2;
}

/* Smooth scrolling for background attachment */
@media (prefers-reduced-motion: reduce) {
    .hero-slider-area .banner-area {
        background-attachment: scroll !important;
    }
    
    .hero-slider-area .banner-content h1,
    .hero-slider-area .banner-content h2,
    .hero-slider-area .banner-content p,
    .hero-slider-area .banner-button a,
    .hero-slider-area .banner-image {
        animation: none;
    }
}
