/* Homepage Slider Custom Styles */

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel {
    position: relative;
}

.hero-slider .carousel-item {
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-slider .bg-half-170 {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-slider .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.hero-slider .heading-title {
    color: white;
}

.hero-slider .heading-title h4 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-slider .para-desc {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Carousel Indicators */
.hero-slider .carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-slider .carousel-indicators button.active {
    background-color: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

/* Carousel Controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-slider .carousel-item {
        min-height: 500px;
    }
    
    .hero-slider .bg-half-170 {
        min-height: 500px;
    }
    
    .hero-slider .heading-title h4 {
        font-size: 1.5rem;
    }
    
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .hero-slider .carousel-item {
        min-height: 400px;
    }
    
    .hero-slider .bg-half-170 {
        min-height: 400px;
    }
    
    .hero-slider .heading-title h4 {
        font-size: 1.25rem;
    }
    
    .hero-slider .para-desc {
        font-size: 0.9rem;
    }
}

/* Animation for slider content */
.hero-slider .carousel-item.active .heading-title {
    animation: slideInLeft 0.8s ease-out;
}

.hero-slider .carousel-item.active .btn {
    animation: slideInUp 0.8s ease-out 0.3s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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