/* Project Carousel Styles */

.project-carousel-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.project-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1200px;
}

.project-carousel-items {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.project-carousel-item {
    flex: 0 0 100%;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-carousel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

.project-carousel-image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.project-carousel-image.active {
    opacity: 1;
    transform: scale(1);
}

.project-carousel-content {
    flex: 1;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.project-carousel-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.project-carousel-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #0d6efd;
}

.project-carousel-description {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 400;
}

.project-carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.project-carousel-control {
    background: rgba(13, 110, 253, 0.9);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
    z-index: 5;
}

.project-carousel-control:hover {
    transform: scale(1.15);
    background: rgba(13, 110, 253, 1);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.25);
}

.project-carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.project-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(156, 163, 175, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.project-carousel-indicator.active {
    background-color: #0d6efd;
    transform: scale(1.3);
    border-color: rgba(13, 110, 253, 0.3);
    box-shadow: 0 0 12px rgba(13, 110, 253, 0.3);
}

/* Responsive styles */
@media (max-width: 991.98px) {
    .project-carousel-item {
        flex-direction: column;
        padding: 1.8rem;
        margin: 0 1rem;
    }
    
    .project-carousel-image-container {
        margin-bottom: 2rem;
        height: 300px;
        width: 100%;
    }
    
    .project-carousel-content {
        padding: 0 1rem;
        text-align: center;
    }
    
    .project-carousel-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
    }
    
    .project-carousel-features {
        text-align: left;
        margin-left: 1rem;
    }
}

@media (max-width: 767.98px) {
    .project-carousel-item {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .project-carousel-image-container {
        height: 250px;
        margin-bottom: 1.5rem;
    }
    
    .project-carousel-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .project-carousel-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .project-carousel-control {
        width: 45px;
        height: 45px;
        margin: 0 8px;
    }

    .project-carousel-features {
        margin-left: 0;
    }
}