/* Hero Slider Styles */
.carousel-slide {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}


.carousel-content {
    text-align: center;
    color: white;
    z-index: 3;
    position: relative;
}

.carousel-content h1 {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.45);
}

.carousel-content p {
    text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
    font-size: 1.35rem;
    max-width: 700px;
    margin: 0 auto;
}

.carousel-content .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.carousel-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Active slide transitions for elements marked with data-aos */
.carousel-item .carousel-content [data-aos] {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-item.active .carousel-content [data-aos] {
    opacity: 1;
    transform: translateY(0);
}

.carousel-item.active .carousel-content [data-aos][data-aos-delay="100"] {
    transition-delay: 0.15s;
}

.carousel-item.active .carousel-content [data-aos][data-aos-delay="200"] {
    transition-delay: 0.3s;
}

.carousel-item.active .carousel-content [data-aos][data-aos-delay="300"] {
    transition-delay: 0.45s;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(255,255,255,0.3);
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid white;
}

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

/* Fade Animation */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Features Section Redesign */
.feature-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.25);
}

.feature-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-icon-wrapper.secondary {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

.feature-icon-wrapper.accent {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.feature-icon-wrapper.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.15) rotate(8deg);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-slide {
        min-height: 500px;
        padding: 60px 20px;
    }
    
    .carousel-content h1 {
        font-size: 2.5rem;
    }
    
    .carousel-content p {
        font-size: 1.1rem;
    }
    
    .carousel-content .btn {
        font-size: 1rem;
        padding: 10px 25px;
        margin: 5px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
}

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

/* Enhanced Slider Backgrounds with Pattern Overlays */
.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.3;
    z-index: 2;
    pointer-events: none;
}

/* Slide-specific enhanced backgrounds */
.carousel-item:nth-child(1) .carousel-slide {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.carousel-item:nth-child(1) .carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100px 100px;
}

.carousel-item:nth-child(2) .carousel-slide {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.carousel-item:nth-child(3) .carousel-slide {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.carousel-item:nth-child(4) .carousel-slide {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Add decorative elements */
.carousel-slide::after {
    content: '📚';
    position: absolute;
    font-size: 200px;
    opacity: 0.05;
    top: 50%;
    right: 10%;
    transform: translateY(-50%) rotate(-15deg);
    pointer-events: none;
    z-index: 2;
}

.carousel-item:nth-child(2) .carousel-slide::after {
    content: '🎯';
}

.carousel-item:nth-child(3) .carousel-slide::after {
    content: '💻';
}

.carousel-item:nth-child(4) .carousel-slide::after {
    content: '🚀';
}

