/* ====== Sección de Proyectos ====== */
.our-projects {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px 0;
}

/* Título y botones de navegación alineados a la derecha */
.projects-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    padding-right: 30px;
}

.projects-header h2 {
    font-size: 28px;
    font-weight: bold;
    color: #002b5c;
    margin: 0;
}

/* Botones de navegación redondos */
.project-nav-buttons {
    display: flex;
    gap: 10px;
    margin-right: 30px;
}

.nav-btn {
    background: rgba(242,242,242,1);
    color: rgb(115,115,115);
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s ease;
}

.nav-btn:hover {
    background: rgba(222,222,222,1);
    transform: scale(1.1);
}

/* ====== Carrusel Proyectos ====== */
.projects-wrapper {
    width: 100%;
    overflow: hidden;
}

.projects-container {
    display: flex;
    transition: transform 0.5s ease;
}

.project-slide {
    flex: 0 0 50%;
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
}

.project-image {
    width: 100%;
    margin-bottom: 20px;
}

.project-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Imagen del proyecto */
.project-info {
    padding: 15px;
    text-align: justify;
}

.project-info h3 {
    font-size: 20px;
    color: #002b5c;
}

.project-info p {
    font-size: 16px;
    color: rgb(160, 160, 160);
}

/* Read More */
.read-more {
    color: #002b5c;
    font-size: 16px;
    text-decoration: none;
    position: relative;
}

.read-more::after {
    content: " →";
    color: red;
}

.read-more::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: red;
    transition: width 0.3s ease;
}

.read-more:hover::before {
    width: 100%;
}


.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ahora SOLO añadimos estos estilos mínimos para tablet */
@media (max-width: 1024px) {
    .project-slide {
        flex: 0 0 100%;
        width: 100%;
    }
}


