/* Projects Section Styles */
.projects-title {
    text-align: center;
    padding: 1.5rem 5% 0.75rem;
    background: linear-gradient(to right, transparent, rgba(240, 114, 12, 0.1), transparent);
}

.projects-title h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: #333 !important;
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding-bottom: 15px;
}

.projects-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #F0720C;
    border-radius: 2px;
}

.projects-container {
    width: 100%;
    position: relative;
    height: 80vh;
    min-height: 600px;
    max-height: 800px;
    padding: 2rem 0;
    background-color: #090400;
    overflow: hidden;
}

/* Modern Swiper Styles */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.swiper-slide-active {
    opacity: 1;
}

.comparison-pair {
    display: flex;
    gap: 20px;
    width: 95%;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.comparison-image {
    flex: 1;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.comparison-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.comparison-image:hover img {
    transform: scale(1.05);
}

/* Modern Label Styles */
.comparison-image::after {
    content: attr(data-label);
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(240, 114, 12, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.comparison-image:hover::after {
    transform: translateY(-3px);
}

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 60px !important;
    height: 60px !important;
    background: transparent;
    border-radius: 0;
    color: #F0720C;
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 45px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: white;
    transform: scale(1.1);
}

/* Hide Pagination */
.swiper-pagination {
    display: none;
}



/* Responsive Adjustments */
@media (max-width: 1024px) {
    .projects-container {
        height: 70vh;
        min-height: 500px;
    }

    .comparison-pair {
        gap: 15px;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .projects-container {
        height: 60vh;
        min-height: 400px;
        padding: 1.5rem 0;
    }

    .comparison-pair {
        gap: 10px;
        padding: 0 20px;
        flex-direction: column;
    }

    .comparison-image {
        height: calc(50% - 5px);
    }

    .comparison-image::after {
        bottom: 10px;
        left: 10px;
        padding: 6px 12px;
        font-size: 14px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 50px !important;
        height: 50px !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 30px;
    }
}

@media screen and (max-width: 430px) {
    .projects-title h2 {
        color: #333 !important;
    }
}