/* Experiencia Section */
.experiencia {
    background-color: #f4f4f4;
    padding: 80px 0;
}

.experiencia h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.experiencia-item {
    display: flex;
    /* grid-template-columns: 1fr 1fr; -- Removed for pure Flexbox */
    gap: 40px;
    align-items: stretch; /* Make columns equal height */
}

.experiencia-content,
.experiencia-image {
    width: 49%;
}

/* Vertically center the text content */
.experiencia-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.experiencia-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    align-items: center;
}

.experiencia-proyectos {
    margin-top: 30px;
}

.experiencia-proyectos h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0a3148;
    text-align: center;
    margin-top: 80px;
}

.experiencia-proyectos ul {
    list-style: none;
    padding-left: 0;
    max-width: 80%;
    margin: 0 auto;
}

.experiencia-proyectos li {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
    border-left: 4px solid #ef7f16;
}

.experiencia-image img {
    width: 100%; /* Corrected from 200% */
    height: 100%;
    border-radius: 5px;
    object-fit: cover; /* Added for better scaling */
}

@media (max-width: 768px) {
    .experiencia-item {
        grid-template-columns: 1fr;
    }

    .experiencia-proyectos ul {
        max-width: 100%;
    }
}
