/* Hero Carousel Styles */
.hero-carousel {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

/* Top Progress Bar */
.carousel-progress-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.carousel-progress-container .progress {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    margin: 0;
}

.carousel-progress-container .progress-bar {
    background-color: #000 !important;
    transition: width 0.05s linear;
}

.text-purple {
    color: #8b5cf6;
}

.card {
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

/* Hero Carousel Styles */
.hero-content {
    position: relative;
    min-height: 280px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.6s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.hero-visual {
    position: relative;
    min-height: 200px;
}

.hero-visual-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: scale(0.9) rotateY(-10deg);
    transition: all 0.6s ease-in-out;
}

.hero-visual-slide.active {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
}

.carousel-indicator.active {
    border-color: white;
    background: white;
    transform: scale(1.2);
}

/* Animation for hero images */
.hero-image i {
    transition: all 0.3s ease;
}

.hero-visual-slide.active .hero-image i {
    animation: pulse 2s infinite;
}

/* Hero icons layout */
.hero-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Mobile layout - horizontal icons */
@media (max-width: 768px) {
    .hero-icons {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-icons i:first-child {
        font-size: 2.5rem !important;
    }
    
    .hero-icons i:last-child {
        font-size: 2rem !important;
    }
    
    /* Prevent overlap with buttons */
    .hero-visual {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        min-height: auto;
        margin-bottom: 1rem;
    }
    
    /* Stack content vertically on mobile */
    .hero-carousel .row {
        flex-direction: column;
    }
    
    .hero-carousel .col-lg-6:first-child {
        order: 1;
    }
    
    .hero-carousel .col-lg-6:last-child {
        order: 2;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        min-height: 250px;
    }
    
    .hero-visual {
        min-height: 150px;
    }
    
    .carousel-indicators {
        justify-content: center;
    }
} 