/* Sección de Nuestros Servicios */
.nuestros-servicios-section {
    width: 100%;
    height: 90vh;
    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;
}

.servicios-content {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5%;
    z-index: 1; /* Asegura que el texto esté por encima de la imagen */
}

.servicios-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 5rem;
    color: var(--secondary-color-blue);
    margin: 0;
}

.servicios-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    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) {
    .nuestros-servicios-section {
        height: 60vh; /* Ajuste para pantallas más pequeñas */
    }
    .servicios-title {
        font-size: 4rem;
    }
    .servicios-subtitle {
        font-size: 3rem;
    }
}

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

/* Smartphones */
@media screen and (max-width: 480px) {
    .nuestros-servicios-section {
        height: 40vh; /* Ajuste para pantallas más pequeñas */
    }
    .servicios-content {
        padding: 10%;
    }
    .servicios-title {
        font-size: 2rem;
    }
    .servicios-subtitle {
        font-size: 1.5rem;
    }
}