/* Portfolio Slider Styles */
.portfolio-slider-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.portfolioSwiper {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.portfolioSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.portfolioSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolioSwiper .swiper-slide:hover img {
    transform: scale(1.05);
}

.portfolio-nav-btn {
    color: #2563eb;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #2563eb;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    transition: all 0.3s ease;
}

.portfolio-nav-btn:hover {
    background: #2563eb;
    color: white;
    transform: scale(1.1);
}

.portfolio-nav-btn::after {
    font-size: 18px;
    font-weight: bold;
}

.portfolio-pagination {
    bottom: 20px;
}

.portfolio-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transition: all 0.3s ease;
}

.portfolio-pagination .swiper-pagination-bullet-active {
    background: #2563eb;
    transform: scale(1.2);
}

/* Slide Caption */
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
}

.slide-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.slide-caption p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .portfolioSwiper {
        height: 350px;
    }

    .portfolio-nav-btn {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }

    .portfolio-nav-btn::after {
        font-size: 14px;
    }

    .slide-caption {
        padding: 20px 15px 15px;
    }

    .slide-caption h3 {
        font-size: 1.2rem;
    }

    .slide-caption p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .portfolioSwiper {
        height: 280px;
    }

    .portfolio-nav-btn {
        display: none; /* Hide navigation buttons on small screens */
    }

    .portfolio-pagination {
        bottom: 10px;
    }
}
