/* General Section Styling */
section {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 96px auto;
    padding: 16px;
}

section > h1 {
    font-size: 56px;
    text-align: center;
    margin-bottom: 32px;
}

/* Projects Carousel Styling */
.projects-carousel-wrapper {
    width: 75vw;
    max-width: 900px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.projects {
    width: 100%;
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease-in-out;
}

.project {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Project Info Overlay */
.project-info {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.project:hover .project-info {
    transform: translateY(0%);
}

.project-info h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 16px;
    color: white;
}

.project-info h3 {
    font-weight: 300;
    text-align: center;
    margin-bottom: 16px;
    color: white;
}

/* Carousel Navigation Buttons */
.projects-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 32px;
    padding: 12px;
    cursor: pointer;
    z-index: 20;
    transition: background-color 0.3s ease;
    opacity: 1;
}

.projects-carousel-btn.prev {
    left: 24px;
}

.projects-carousel-btn.next {
    right: 24px;
}

.projects-carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Logos Carousel Styling */
.logos-carousel
{
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.logos-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.logos-carousel-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logos-carousel-slide img
{
    object-fit: contain;
}

.logos-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 32px;
    padding: 12px;
    cursor: pointer;
    z-index: 20;
    transition: background-color 0.3s ease;
    border-radius: 4px;
    opacity: 1;
}

.logos-carousel-btn.prev {
    left: 10px;
}

.logos-carousel-btn.next {
    right: 10px;
}

.logos-carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    section {
        width: 90%;
    }

    .projects-carousel-wrapper,
    .logos-carousel {
        width: 90%;
    }
}