@font-face {
    font-family: "Nav-Banner";
    font-weight: bold;
    src: url(/Assets/fonts/LeagueSpartan-Regular.woff);
    font-display: swap;
}

@font-face {
    font-family: 'Text';
    src: url(/Assets/fonts/Montserrat-VariableFont_wght.woff);
    font-display: swap;
}

@font-face {
    font-family: "Titles";
    src: url(/Assets/fonts/LeagueSpartan-Regular.woff);
    font-display: swap;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}




body {
    font-family: "Text", sans-serif;

}

h1,
h2,
h3 {
    font-family: "Titles", sans-serif;
}

p {
    font-family: "Text", sans-serif;
}

.Banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: calc(100vh - 95.99px);


}

.Banner h1 {
    letter-spacing: .1em;
    align-items: center;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
    font-size: 5rem;
    font-weight: 700;
}

#BannerText {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 97%;
}

.Nosotros {
    display: flex;
    flex-direction: column;
    height: 700px;
    width: 100%;
    z-index: 1;
}

#NosotrosTitle {
    width: 100%;
    height: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 4em;

}

#NosotrosTitle h3 {
    text-align: center;
    font-size: 4rem;
    font-weight: 700;

}

#NosotrosTitle h3::after {
    content: "";
    width: 8em;
    height: 5px;
    background-color: black;
    position: relative;
    display: block;
}

#NosotrosText {
    margin-top: 2em;
    background-color: #214855;
    display: flex;
    width: 100%;
    height: 80%;
    padding: 0%;
    ;
    justify-content: center;
    align-items: center;
}

#NosotrosText p {
    font-size: 1.3rem;
    text-align: justify;
    color: white;
    padding-left: 5rem;
    font-weight: 800;
}

#NosotrosBtn {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    #NosotrosText p {
        padding: 2rem;
        overflow: hidden;
    }
}

#NosotrosBtn button {
    height: 2em;
    width: auto;
    font-family: 'Text';
    font-size: 1.5em;
    font-weight: bold;
    background-color: #58A6B5;
    color: white;
    border: none;

}


.Nosotros img {
    width: 110%;
    height: 100%;
    z-index: 2;
    position: relative;
    ;
    left: 10%;
}

#ServiciosTitle {
    width: 100%;
    height: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 4em;
}

#ServiciosTitle h3 {
    text-align: center;
    font-size: 4rem;
    font-weight: 700;
}

#ServiciosTitle h3::after {
    content: "";
    width: 8em;
    height: 5px;
    background-color: black;
    position: relative;
    display: block;
}

/* Estilo general */
.Servicios h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: .5em;
}

.Tarjetas {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1em;
}

/* Estilo para las "tarjetas" */
.tarjeta {
    background-color: #0f3631;
    /* Color de fondo para todas las tarjetas */
    border-radius: 10px;
    padding: 3em;
    transition: transform 0.3s, box-shadow 0.3s;
    color: white;
}

.tarjeta img {
    width: 7em;
}

.tarjeta:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tarjeta h5 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.tarjeta ul {
    font-weight: 600;
    ;
    padding: 0;
    margin: 0;
}

.tarjeta ul li {
    font-family: "Text", sans-serif;
    margin-bottom: 0.5rem;
    font-size: 1.1em;
}

.Por-que {
    display: flex;
    height: 700px;
    width: 100%;
    z-index: 1;
}

@media (min-width: 1024px) {
    .Por-que {
        padding-top: 2rem;
    }
}

.Por-que h2 {
    text-align: center;
    font-size: 4em;
    font-weight: 700;
}

.Por-que p {
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    padding-left: 6em;
    padding-right: 6em;
    text-align: justify;
    color: b;
}

.Por-que img {
    width: 100%;
    height: 100%;
    z-index: 2;
    position: relative;

}

@media screen and (min-width: 768px) and (max-width: 1024px) {

    /* Ajustar el banner */
    .Banner {
        height: 50vh;
        /* Ajustar la altura */
        aspect-ratio: unset;
        /* Eliminar la relación de aspecto fija */
    }

    .Banner h1 {
        font-size: 2em;
        /* Reducir el tamaño del texto */
    }

    /* Ajustar la sección "Sobre Nosotros" */
    #NosotrosText {
        flex-direction: column;
        /* Cambiar a columna */
        width: 100%;
        align-items: start;
    }

    #NosotrosText .col-lg-6 {
        width: 100%;
        /* Asegurar que cada columna ocupe todo el ancho */
        flex-direction: column;
        /* Cambiar a columna */
        margin: 0%;
        padding: 0% !important;
    }

    #NosotrosText p {

        font-size: 1.2em;
        padding: 1em 1em;
    }

    #NosotrosText button {
        height: 70px;
        width: 200px;
        align-self: center;
    }

    #NosotrosText img {
        display: none;
    }

    /* Ajustar la sección "Nuestros Servicios" */
    .Tarjetas .col-lg-3 {
        padding-left: 10%;
        width: 90%;
        /* Cada tarjeta ocupa todo el ancho */
        margin-bottom: 1em;
    }


    /* Ajustar la sección "¿Por qué elegirnos?" */

    .Por-que {
        display: flex;
        flex-direction: column;
        display: flex;
        height: 500px;
        width: 100%;
        z-index: 1;
        padding-top: 0% !important;
    }

    .Por-que img {
        display: none;
    }

    .Por-que h2 {
        padding-top: 0rem;
        font-size: 4rem;
        /* Reducir tamaño del texto */
    }

    .Por-que .col-lg-6 {
        flex-direction: column;
        width: 100%;
        /* Asegurar que cada columna ocupe todo el ancho */
    }

    .Por-que p {
        padding: 20px;
        font-size: 2em;
        
        /* Reducir tamaño del texto */
    }

    /* Ajustar títulos */
    #NosotrosTitle h3,
    #ServiciosTitle h3 {
        font-size: 2.5rem;
        /* Reducir tamaño de los títulos */
    }

    /* Reducir márgenes generales */
    body {
        padding: 0 1em;
        /* Espacio en los lados */
    }
}




@media screen and (max-width: 768px) {

    /* Ajustar el banner */
    .Banner {
        height: 50vh;
        /* Ajustar la altura */
        aspect-ratio: unset;
        /* Eliminar la relación de aspecto fija */
    }

    .Banner h1 {
        font-size: 2em;
        /* Reducir el tamaño del texto */
    }

    /* Ajustar la sección "Sobre Nosotros" */
    #NosotrosText {
        flex-direction: column;
        /* Cambiar a columna */
        width: 100%;
        align-items: start;
    }

    #NosotrosText .col-lg-6 {
        width: 100%;
        /* Asegurar que cada columna ocupe todo el ancho */
        flex-direction: column;
        /* Cambiar a columna */
        margin: 0%;
        padding: 0% !important;
    }

    #NosotrosText p {

        font-size: 1.2em;
        ;
    }

    #NosotrosText button {
        height: 70px;
        width: 200px;
        align-self: center;
    }

    #NosotrosText img {
        display: none;
    }

    /* Ajustar la sección "Nuestros Servicios" */
    .Tarjetas .col-lg-3 {
        padding-left: 10%;
        width: 90%;
        /* Cada tarjeta ocupa todo el ancho */
        margin-bottom: 1em;
    }


    /* Ajustar la sección "¿Por qué elegirnos?" */

    .Por-que {
        display: flex;
        flex-direction: column;
        display: flex;
        height: 500px;
        width: 100%;
        z-index: 1;
        padding-top: 0% !important;
    }

    .Por-que img {
        display: none;
    }

    .Por-que h2 {
        padding-top: 0rem;
        font-size: 4rem;
        /* Reducir tamaño del texto */
    }

    .Por-que .col-lg-6 {
        flex-direction: column;
        width: 100%;
        /* Asegurar que cada columna ocupe todo el ancho */
    }

    .Por-que p {
        padding: 20px;
        font-size: 1em;
        /* Reducir tamaño del texto */
    }

    /* Ajustar títulos */
    #NosotrosTitle h3,
    #ServiciosTitle h3 {
        font-size: 2.5rem;
        /* Reducir tamaño de los títulos */
    }

    /* Reducir márgenes generales */
    body {
        padding: 0 1em;
        /* Espacio en los lados */
    }
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Text', sans-serif;
}

.Banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Banner h1 {
    letter-spacing: .1em;
    color: #FFFFFF;
    font-size: 3rem;
    /* Reducido para pantallas más pequeñas */
    font-weight: 700;
    text-align: center;
}

#BannerText {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.MVV {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 5% auto;
    padding: 0 20px;
}

.MVV .section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
    /* Ajustado para pantallas más pequeñas */
}

.MVV img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
}

.MVV h1 {
    font-size: 1.5em;
    /* Reducido para pantallas más pequeñas */
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.MVV p {
    font-family: "Text";
    font-size: 1em;
    /* Reducido para pantallas más pequeñas */
    font-weight: 800;
    line-height: 1.6;
    padding: 0 15px;
    text-align: center;
    max-width: 300px;
}

/* Media Queries para responsividad */
@media (max-width: 768px) {
    .Banner h1 {
        font-size: 2rem;
        /* Ajustado para tablets */
    }

    .MVV .section {
        max-width: 100%;
        /* Ajustado para tablets */
    }

    .MVV h1 {
        font-size: 1.2em;
        /* Ajustado para tablets */
    }

    .MVV p {
        font-size: 0.9em;
        /* Ajustado para tablets */
    }
}

@media (max-width: 480px) {
    .Banner h1 {
        font-size: 1.5rem;
        /* Ajustado para móviles */
    }

    .MVV .section {
        max-width: 100%;
        /* Ajustado para móviles */
    }

    .MVV h1 {
        font-size: 1em;
        /* Ajustado para móviles */
    }

    .MVV p {
        font-size: 0.8em;
        /* Ajustado para móviles */
    }
}




.contact-container {
    max-width: 1200px;
    margin: 50px auto ;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 0px;
}

@media (min-width: 1024px) and (max-width: 1440px) {
    .contact-container {
    max-width: 1200px;
    margin: 50px 30px;
    padding: 20px;
    margin-top: 150px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 0px;
}
}

h1 {
    text-align: center;
    margin-bottom: 30px;
}


h1 {
    text-align: center;
    margin-bottom: 30px;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 0px;
}

.form-container,
.map-container {
    flex: 1;
    min-width: 300px;
    /* menor para mejorar en móviles */
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 10px;
    font-weight: bold;
}

input,
select,
textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
}

textarea {
    resize: vertical;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

/* Iframe dentro de contenedor responsivo */
.map-container iframe {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 350px;
    min-height: 250px;
    display: block;
    border: none;
}

@media (max-width: 1024px) {
    .contact-content {
        flex-direction: column;
        align-items: stretch;
    }

    .map-container iframe {
        max-height: 250px;
        height: 250px;
    }

}

    /* 🔁 Responsive tablets y móviles */
    @media (max-width: 991px) {
        .contact-content {
            flex-direction: column;
            align-items: stretch;
        }

        .form-container,
        .map-container {
            min-width: 100%;
        }

        .map-container iframe {
            height: 300px;
        }
    }

    /* 👇 Opcional: para pantallas pequeñas */
    @media (max-width: 480px) {
        .map-container iframe {
            height: 250px;
        }
    }


    ul {
        padding-left: 0 !important;
        list-style: none;
    }

    .dividerfooter {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        background-color: #0f3631;
        padding: 20px 10px;
    }

    .sidemap,
    .Contacto,
    .image {
        flex: 1;
        margin: 0 10px;
        text-align: center;
    }

    .sidemap h1,
    .Contacto h1 {
        font-family: 'Titles';
        font-weight: 700;
        font-size: 2em;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .sidemap h1::after,
    .Contacto h1::after {
        content: "";
        width: 100px;
        height: 3px;
        background-color: #7FBF9F;
        border-radius: 5px;
        margin: auto;
    }

    .sidemap ul li a,
    .Contacto li a {
        font-family: "Text";
        font-size: 1.5em;
        font-weight: 800;
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
        display: block;
        margin: 5px 0;
    }

    .sidemap ul li a:hover,
    .Contacto li a:hover {
        color: white;
        padding-left: 5px;
    }

    .sidemap {
        display: block;
    }

    .image img {
        max-width: 300px;
        height: auto;
        margin: 10px 0;
    }

    .Contacto ul {
        padding: 0;
        display: flex;
        justify-content: center;
    }

    .Contacto li a {
        font-size: 3em;
        margin: 0 10px;
    }

    .Contacto li a:hover {
        color: white;
    }

    .boton-contacto {

        width: auto;
        font-family: 'Text';
        font-size: 1.5em;
        font-weight: bold;
        background-color: #58A6B5;
        color: white;

    }

    .boton-contacto:hover {
        background-color: #214855;
        color: white;
    }

    /* Media Queries */
    @media (max-width: 768px) {
        .dividerfooter {
            flex-direction: column;
            align-items: flex-start;
        }

        .sidemap,
        .Contacto,
        .image {
            width: 100%;
            margin-bottom: 20px;
        }

        .sidemap h1,
        .Contacto h1 {
            font-size: 1.6em;
        }

        .sidemap ul li a,
        .Contacto li a {
            font-size: 1.2em;
        }

        .image img {
            width: 120px;
            margin: 15px auto;
        }
    }

    @media (max-width: 480px) {


        .sidemap ul li a,
        .Contacto li a {
            font-size: 1.2em;
        }

        .image {
            margin: 0 auto;
            width: 100%;
            height: auto;
        }

        .image img {
            width: 100%;
            height: auto;
        }
    }

    /* General */
    body {
        margin: 0;
        padding: 0;
        font-family: 'Nav-Banner', sans-serif;
    }

    /* Navbar */
    .navbar {
        background-color: #0f3631;
    }

    .navbar-brand {
        display: flex;
        align-items: center;
    }

    .navbar-brand img {
        max-height: 80px;
        /* Ajusta la altura */
        width: auto;
        /* Mantén proporción */
    }

    .nav-link {
        color: #FFFFFF !important;
        padding: 10px 15px;
        font-weight: 700;
    }

    .navbar-toggler {
        background-color: white;
        width: 50px;
        height: 50px;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0%;
    }

    .navbar-collapse {
        justify-content: flex-end;
        /* Alinea las opciones a la derecha */
    }


    /* Grid general */
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        /* Ajusta para mostrar 3 o 4 columnas */
        gap: 50px;
        /* Espacio entre cada card */
        padding: 20px;

    }

    /* Estilos de las cards */
    .project {
        display: flex;
        flex-direction: column;
        /* Alinea el contenido verticalmente */
        justify-content: space-between;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        /* Sombra suave para dar profundidad */
        overflow: hidden;
        background-color: #fff;
        transition: transform 0.2s ease-in-out;
        min-height: 300px;
        /* Altura mínima de la card */
        overflow: hidden;
    }

    .project:hover {
        transform: translateY(-5px);
        /* Efecto hover para resaltar la card */
    }

    /* Estilos de la imagen */
    .project img {
        width: 100%;
        height: 500px;
        /* Altura de la imagen */
        object-fit: cover;
    }

    /* Estilos del título */
    .project h1 {
        font-size: 2em;
        font-weight: bold;
        margin: 15px 0 10px 0;
        text-align: center;
        letter-spacing: 2px;
        color: #333;
        /* Color del texto del título */
    }

    /* Estilos del botón */
    .project button {
        margin-top: 10px;
        padding: 10px 15px;
        font-size: 1rem;
        font-weight: bold;
        background-color: #fff;
        border: 2px solid #333;
        /* Borde del botón */
        color: #333;
        /* Color del texto del botón */
        cursor: pointer;
        transition: all 0.2s ease-in-out;
    }

    .project button:hover {
        background-color: #333;
        /* Color de fondo al pasar el ratón por encima */
        color: #fff;
        /* Color del texto al pasar el ratón por encima */
    }

    /* Texto general dentro de la card */
    .project p {
        font-size: 1rem;
        color: #333;
        margin: 0 10px;
        text-align: center;
    }


    /* Ajustes para pantallas pequeñas */
    @media (max-width: 768px) {
        .portfolio-grid {
            grid-template-columns: repeat(2, 1fr);
            /* Cambia a 2 columnas en pantallas pequeñas */
        }
    }

    @media (max-width: 480px) {
        .portfolio-grid {
            grid-template-columns: 1fr;
            /* Cambia a 1 columna en pantallas muy pequeñas */
        }
    }



    /* Estilos generales */
    body {
        background-color: #f8f9fa;
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }

    /* Contenedor principal */
    #info {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 40px;
    }

    /* Carrusel de imágenes */
    #project-carousel {
        width: 600px;
        /* Ancho fijo */
        height: 600px;
        /* Altura fija */
        overflow: hidden;
        /* Oculta cualquier contenido que se desborde */
        position: relative;
        /* Necesario para posicionar elementos internos como controles */
    }

    .carousel-item {
        width: 100%;
        /* Asegura que el ancho del carrusel sea ocupado completamente */
        height: 100%;
        /* Asegura que el alto del carrusel sea ocupado completamente */
    }

    .carousel-item img {
        width: 100%;
        /* Ajusta la imagen al ancho del contenedor */
        height: 100%;
        /* Ajusta la imagen al alto del contenedor */
        object-fit: cover;
        /* Cubre todo el área del carrusel, puede recortar un poco la imagen */
        border-radius: 10px;
        /* Bordes redondeados (opcional) */
    }

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background-color: transparent !important;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        background-color: #007bff;
        opacity: 0.5;

    }




    /* Estilos de la columna de información */
    .project-info {
        max-width: 600px;
        text-align: justify;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Estilos de los elementos de información */
    #project-title {
        font-family: 'Titles';
        max-width: 100%;
        font-size: 2.5em;
        font-weight: bold;
        margin-bottom: 15px;
        color: #333;
    }

    #cliente,
    #fecha,
    #ubicacion,
    #superficie,
    #descripcion {
        font-family: 'Text';
        font-size: 1.2em;
        margin: 10px 0;
        font-weight: 700;
        color: black;
    }

    /* Estilo de los botones */
    .btn-primary {
        font-family: 'Text';
        background-color: #007bff;
        border: none;
        color: #fff;
        padding: 10px 20px;
        font-size: 1.3em;
        margin-top: 20px;
        border-radius: 5px;
        transition: background-color 0.2s ease;
        width: fit-content;
        align-self: justify;
    }

    .btn-primary:hover {
        background-color: #0056b3;
    }

    /* Ajustes para pantallas pequeñas */
    @media (max-width: 768px) {
        .project-container {
            flex-direction: column;
            align-items: center;
        }

        #project-carousel,
        .project-info {
            margin-right: 0;
            width: 100%;
            height: auto;
        }

        #project-carousel,
        .carousel-item img {
            width: 100%;
            height: auto;
        }

        #project-title {
            font-size: 2em;
        }

        #cliente,
        #fecha,
        #ubicacion,
        #superficie,
        #descripcion {
            font-size: 1em;
        }
    }

    @font-face {
        font-family: "Nav-Banner";
        font-weight: bold;
        src: url(/Assets/fonts/LeagueSpartan-Regular.woff);
        font-display: swap;
    }

    @font-face {
        font-family: 'Text';
        src: url(/Assets/fonts/Montserrat-VariableFont_wght.woff);
        font-display: swap;
    }

    @font-face {
        font-family: "Titles";
        src: url(/Assets/fonts/LeagueSpartan-Regular.woff);
        font-display: swap;

    }

    .services {
        padding: 30px 20px;
        text-align: center;

    }

    .services h2 {
        font-size: 2.5rem;
        font-weight: bold;
        color: #000000;
        margin-bottom: 50px;
    }

    .service-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-bottom: 40px;
    }

    .service-item {
        display: flex;
        flex-direction: row;
        /* Asegura que la imagen esté a la izquierda y el texto a la derecha */
        align-items: center;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        color: white;
    }

    .service-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    }

    .service-image {
        width: 400px;
        height: 300px;
        overflow: hidden;


    }

    .service-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .service-text {
        width: 60%;
        /* El texto ocupa el 60% del espacio */
        padding: 20px;
        text-align: left;
        /* Alineación del texto a la izquierda */
    }

    .service-text h3 {
        text-align: center;
        font-size: 1.6em;
        font-weight: bold;
        margin-bottom: 20px;
        color: #000;
    }

    body.services-page .service-text p {
        text-align: justify;
        font-size: 1em;
        color: #666;
        line-height: 1.6;
        font-weight: 900 !important;
    }

    #Inge .service-item {
        background-color: #0f3631;
    }

    #Inge .service-text h3 {
        color: white;
    }

    #Inge .service-text p {
        color: white;
    }

    /* Responsividad para pantallas pequeñas */
    @media (max-width: 768px) {
        .service-grid {
            grid-template-columns: 1fr;
            /* Solo una columna en pantallas pequeñas */
        }

        .service-item {
            flex-direction: column;
            /* Cambia la dirección a columna en pantallas pequeñas */
        }

        .service-image {
            width: 100%;
            /* La imagen ocupa todo el ancho en móviles */
            height: 70%;
            object-fit: cover;
        }

    .service-text {
        width: 100%;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
        .service-grid {
            grid-template-columns: 1fr;
            /* Solo una columna en pantallas pequeñas */
        }

        .service-item {
            flex-direction: row;
            /* Cambia la dirección a columna en pantallas pequeñas */
        }

        .service-image {
            width: 100%;
            /* La imagen ocupa todo el ancho en móviles */
            height: 400px;
            object-fit: cover;
        }

        .service-text {
            width: 100%;
        }
}