/* Portfolio Slideshow Styles */
.portfolio-slideshow-section {
    padding: 5rem 0;
    background-color: #0d1b2a; /* Royal blue background */
    position: relative;
    overflow: hidden;
}

.portfolio-slideshow-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-slideshow-section .section-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.portfolio-slideshow-section .section-subtitle {
    color: #a0aec0;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.portfolio-slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem; /* Add padding to create an inner frame */
    height: 600px; /* Fixed height for the slideshow */
    overflow: hidden;
    border-radius: 16px; /* Slightly larger radius for a softer look */
    background-color: #1a2a3a; /* Match slideshow background */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle outer border */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), /* Deeper shadow for depth */
                inset 0 0 0 1px rgba(255, 255, 255, 0.05); /* Inner highlight for a sleek finish */
}

.portfolio-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #1a2a3a;
}

.portfolio-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a2a3a;
    z-index: 1;
}

.portfolio-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.portfolio-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Controls */
.slideshow-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.slideshow-nav button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    pointer-events: auto;
    color: #0a2540;
    font-size: 1.2rem;
    z-index: 5;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.slideshow-nav button:hover {
    background: #497EE6;
    color: white;
    transform: scale(1.1);
    border-color: #497EE6;
}

.slideshow-nav button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(73, 126, 230, 0.5);
}

/* Progress Bar */
.slideshow-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
    overflow: hidden;
}

.slideshow-progress-bar {
    height: 100%;
    width: 0;
    background: #497EE6;
    transition: width 0.1s linear;
    position: relative;
    z-index: 11;
}

/* Call to Action Section */
.portfolio-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding: 0 1rem;
}

.portfolio-cta .cta-text {
    color: #e2e8f0;
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.portfolio-cta .btn-accent {
    background-color: #497EE6;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.portfolio-cta .btn-accent:hover {
    background-color: #3a6fd1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}


