/* Sección de Quiénes Somos */
.about-section {
    width: 100%;
    height: 90vh; /* Ajustado para un tamaño fijo en el viewport */
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    position: relative;
    overflow: hidden;
}

.background-image-container {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.content-overlay {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Centra verticalmente */
    align-items: flex-end; /* Centra horizontalmente */
    text-align: right; /* Asegura que el texto dentro del contenedor se centre */
    padding: 5%;
    z-index: 1; /* Asegura que el texto esté por encima de la imagen */
}

.about-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 5rem;
    color: var(--secondary-color-blue);
    margin: 0;
    line-height: 1.2; /* Espaciado entre las líneas de texto */
}

.about-subtitle {
    display: block; /* Mantiene el subtítulo en una nueva línea */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 4rem; /* Tamaño más pequeño para el subtítulo */
    color: var(--secondary-color-aqua);
    margin: 0;
}


/* Media Queries para Responsive Design */

/* Tablet (landscape) y Laptops pequeñas */
@media screen and (min-width: 768px) and (max-width: 1200px) {
    .about-title {
        font-size: 4rem;
    }
    .about-subtitle {
        font-size: 2rem;
    }
}

/* Tablets (portrait) y Smartphones grandes */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .about-section {
        height: 50vh; /* Ajuste para pantallas más pequeñas */
    }
    .about-title {
        font-size: 3rem;
    }
    .about-subtitle {
        font-size: 2rem;
    }
}

/* Smartphones */
@media screen and (max-width: 480px) {
    .about-section {
        height: 40vh; /* Ajuste para pantallas móviles */
    }
    .about-title {
        font-size: 2rem;
    }
    .about-subtitle {
        font-size: 1rem;
    }
}