.arrow {
    position: absolute;
    right: 5rem;
    bottom: 8rem;
}

#projects {
    position: relative;
    min-height: 100vh;
}

.projects-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.project-card {
    background-color: rgba(251, 255, 225, 0.18);
    border: 1.5px solid rgba(0, 0, 0, 0.12); /* stronger, darker border */
    box-shadow:
        0 10px 30px rgba(0,0,0,0.12),    /* deeper drop shadow for separation */
        inset 0 1px 0 rgba(255,255,255,0.06); /* subtle inner highlight */
    border-radius: 20px;
    padding: 1.5rem;
    overflow: hidden;
    width: 350px;
}

.slideshow-container {
    position: relative;
    background-color: white;
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    height: 250px;
}

.slide {
    display: none;
    background-color: white;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 1rem;
}

/* Navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Fade animation */
.fade {
    animation-name: fade;
    animation-duration: 0.5s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

.project-info {
    text-align: center;
    background-color: rgba(251, 255, 225, 0.18);
}

.project-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    background-color: rgba(251, 255, 225, 0.18);
}

.project-info p {
    margin-bottom: 1rem;
    background-color: rgba(251, 255, 225, 0.18);
}

.project-info .btn-container {
    background-color: #fbffe12e;
}