.showcase-section {
    padding: 20px 10px;
    background: linear-gradient(135deg, #0a0a0a 0%, #12124f 50%, #16213e 100%);
    position: relative;
    min-height: 100vh;
}

.showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    /* margin-bottom: 60px; */
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #fff 0%, #8ae4ff 50%, #36adc2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.carousel-wrapper {
    display: flex;

    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-slide {
    min-width: 100%;

    position: relative;
    /* display: flex; */
    align-items: center;
    margin: 20px 10px;
    /* gap: 60px; */
}

.project-video {
    flex: 1;
    position: relative;
    margin: 20px 0;

    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-video video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    border-radius: 15px;
}

.project-video:hover .video-overlay {
    opacity: 1;
}


.project-info {
    flex: 1;
    padding: 20px;
}

.project-category {
    color: #22c55e;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-description {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.project-features {
    list-style: none;
    margin-bottom: 30px;
}

.project-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 30px;
    color: #cbd5e1;
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.4);
}

.carousel-controls {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;

}

.carousel-btn {
    /* top: 10px; */
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    /* font-size: 46px; */
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: auto; */
    /* bottom: 20px; */
    padding: 25px;

    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #2297c5;
    transform: scale(1.2);
}

.project-counter {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #94a3b8;
}


@media (max-width: 768px) {
    .showcase-section {
        /* max-height: 70vh; */
        min-height: auto;
    }

    .project-slide {
        flex-direction: row;
        /* Stack content vertically */
        padding-bottom: 2rem;
        /* Adjust padding for smaller screens */
        /* gap: 20px; */
    }

    .project-video {
        width: 100%;
        /* Make the video take full width */
        height: 100%;
        /* margin-bottom: 4rem; */
        /* Maintain aspect ratio */
    }

    .project-video video {
        /* width: 100%; */
        /* Full width for the video */
        height: 100%;
        padding-bottom: 40px;
        /* Maintain aspect ratio */
        object-fit: cover;
        /* Ensure the video covers the container */
    }

    .project-info {
        text-align: center;
        /* Center-align text for better readability */
        padding: 10px;
    }

    .carousel-wrapper {
        flex-direction: row;
        /* Stack slides vertically if needed */
    }

    .carousel-controls {
        padding: 10px;
        /* Reduce padding for smaller screens */
    }

    .section-title {
        font-size: 2rem;
        padding-top: 20px;
        /* Adjust title size for mobile */
    }

    .project-title {
        font-size: 1.5rem;
        /* Adjust project title size */
    }

    .project-description {
        font-size: 1rem;
        /* Adjust description size */
    }

    .project-counter {
        display: none;
        top: 5px;
        /* Adjust position of the counter */
        right: 5px;
        font-size: 0.8rem;
        /* Adjust font size */
    }

    .carousel-controls {
        bottom: 5px;
        /* padding-bottom: 30px; */
        /* Adjust position of controls */
        gap: 10px;
    }

    .carousel-btn {
        width: 40px;
        /* Adjust button size */
        height: 40px;
    }

    .dot {
        width: 10px;
        /* Adjust dot size */
        height: 10px;
    }


}

.badge {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive styles for mobile view */
@media (max-width: 768px) {
    .project-video video {
        width: 100%;
        min-height: 10vh;
        /* Adjust height automatically to maintain aspect ratio */
        object-fit: contain;
        /* Ensure the video fits within the container */
        border-radius: 10px;
        display: flex;
        align-items: center;
        /* Optional: Adjust border radius for smaller screens */
    }
}