
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #f9f8f4; 
        }

 
        /* Servicios */

.services-section  {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    margin-top: 5%;
    background-color: #B79D86;
    padding-bottom: 7%;
        }

.servicescontainer  {
    width: 100%;
    height: auto;
}

.servicestitle p  {
    width: 100%;
    font-size: 40px;
    text-align: center;
    font-weight: bold;
    margin-top: 5%;
    margin-bottom: 5%;
}

.servicestitle  {
    width: 100%;
    font-size: 40px;
    text-align: center;
    font-weight: bold;
    margin-top: 5%;
    margin-bottom: 5%;
    color: #151A38;
}

.servicestext  {
    width: 80%;
    font-size: 18px;
    margin-left: 10%;
    text-align: center;
}

.servicesoptions   {
width: 100%;
  height: auto;
}

.servicesoption {
    position: relative;
}

.imageoption {
    position: relative;
    display: inline-block; /* Para que el contenedor abarque solo el tamaño de la imagen */
    width: 33%;
    overflow: hidden; /* Oculta el desbordamiento de los elementos hijos */
}


.imageoption2 {
    position: relative;
    display: inline-block; /* Para que el contenedor abarque solo el tamaño de la imagen */
    width: 33%;
    overflow: hidden; /* Oculta el desbordamiento de los elementos hijos */
    margin-left: 33.278%;
}

.imageoption img {
    width: 100%; /* La imagen ocupa el 100% del ancho del contenedor */
    height: auto; /* La altura se ajusta automáticamente para mantener la proporción */
    transition: opacity 0.3s ease; /* Transición suave para la propiedad de opacidad */
}

.imageoption2 img {
    width: 100%; /* La imagen ocupa el 100% del ancho del contenedor */
    height: auto; /* La altura se ajusta automáticamente para mantener la proporción */
    transition: opacity 0.3s ease; /* Transición suave para la propiedad de opacidad */
}

.imageoption:hover img {
    opacity: 0.7; /* Reduce la opacidad al pasar el mouse sobre la imagen */
}

.imageoption2:hover img {
    opacity: 0.7; /* Reduce la opacidad al pasar el mouse sobre la imagen */
}

.text-container {
    position: absolute;
    top: 50%; /* Centra verticalmente el contenido */
    left: 50%; /* Centra horizontalmente el contenido */
    transform: translate(-50%, -50%); /* Centra perfectamente el contenido */
    text-align: left; /* Alinea el texto al centro */
    color: white; /* Cambia el color del texto si es necesario para que sea visible sobre la imagen */
    width: 90%;
  height: 95%;
transition: opacity 0.3s ease; /* Asegura una transición suave para el texto */
}

.imageoption:hover .text-container {
    opacity: 1; /* Asegura que el texto sea visible al pasar el mouse sobre la imagen */
}

.btn-mas-informacion {
    position: absolute;
    bottom: 10%;
    right: 10px;
    display: inline-block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease; /* Transición suave para todos los cambios */
    margin-top: 70%; /* Agrega un poco de espacio entre el texto y el botón */
    float: right;
}

.btn-mas-informacion::after {
    content: "\2192"; /* Código de la flecha hacia la derecha */
    opacity: 0; /* Inicialmente oculta la flecha */
    transition: opacity 0.3s ease; /* Transición suave para la opacidad */
    margin-left: 5px; /* Espacio entre el texto y la flecha */
}

.btn-mas-informacion:hover::after {
    opacity: 1; /* Muestra la flecha al pasar el mouse sobre el botón */
}



.text-container h3 {
   font-weight: bold;
   font-size: 35px;
}

.text-container h2 {
   font-weight: lighter;
   font-size: 25px;    
   text-align: justify;
}


@media (max-width: 993px) { 

.services-section  {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    margin-top: 10%;
        }

.servicescontainer  {
    width: 100%;
    height: auto;
}

.servicestitle  {
    width: 100%;
    font-size: 40px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 5%;
}

.servicestext  {
    width: 90%;
    font-size: 18px;
    margin-left: 5%;
    text-align: center;
}

.servicesoptions   {
width: 100%;
  height: auto;
}

.servicesoption {
    position: relative;
}

.imageoption {
    position: relative;
    display: inline-block; /* Para que el contenedor abarque solo el tamaño de la imagen */
  
    overflow: hidden; /* Oculta el desbordamiento de los elementos hijos */
	    width: 32.9%;
}


.imageoption img {
    width: 100%; /* La imagen ocupa el 100% del ancho del contenedor */
    height: auto; /* La altura se ajusta automáticamente para mantener la proporción */
    transition: opacity 0.3s ease; /* Transición suave para la propiedad de opacidad */
}

.imageoption:hover img {
    opacity: 0.7; /* Reduce la opacidad al pasar el mouse sobre la imagen */
}

.text-container {
    position: absolute;
    top: 50%; /* Centra verticalmente el contenido */
    left: 50%; /* Centra horizontalmente el contenido */
    transform: translate(-50%, -50%); /* Centra perfectamente el contenido */
    text-align: left; /* Alinea el texto al centro */
    color: white; /* Cambia el color del texto si es necesario para que sea visible sobre la imagen */
    width: 90%;
  height: 95%;
transition: opacity 0.3s ease; /* Asegura una transición suave para el texto */
}

.imageoption:hover .text-container {
    opacity: 1; /* Asegura que el texto sea visible al pasar el mouse sobre la imagen */
}

.text-container h3 {
   font-weight: bold;
   font-size: 25px;
}

.text-container h2 {
   font-weight: lighter;
   font-size: 15px;
       text-align: justify;
}

}


@media (max-width: 875px) { 
    .imageoption {
        position: relative;
        display: inline-block; /* Para que el contenedor abarque solo el tamaño de la imagen */
        width: 49.5%;
        overflow: hidden; /* Oculta el desbordamiento de los elementos hijos */
    }

    .text-container h3 {
        font-weight: bolder;
        font-size: 18px;
     }
     
     .text-container h2 {
        font-weight:bold;
        font-size: 15px;
     }

     .btn-mas-informacion {
        position: absolute;
        bottom: 10%;
        right: 10px;
        display: inline-block;
        padding: 10px 20px;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        overflow: hidden;
        transition: all 0.3s ease; /* Transición suave para todos los cambios */
        margin-top: 70%; /* Agrega un poco de espacio entre el texto y el botón */
        float: right;
    }
    
    .btn-mas-informacion::after {
        content: "\2192"; /* Código de la flecha hacia la derecha */
        opacity: 0; /* Inicialmente oculta la flecha */
        transition: opacity 0.3s ease; /* Transición suave para la opacidad */
        margin-left: 5px; /* Espacio entre el texto y la flecha */
    }
    
    .btn-mas-informacion:hover::after {
        opacity: 1; /* Muestra la flecha al pasar el mouse sobre el botón */
    }
    
    .text-container h3 {
       font-weight: bold;
       font-size: 24px;
    }
    
    .text-container h2 {
font-weight: normal;
    font-size: 14px;
    text-align: justify;
    }

} 


@media (max-width: 740px) { 

.imageoption {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 48.6%;
    margin-left: 0.5%;
    margin-right: 0.55%;
}

.text-container h3 {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10%;
}

.text-container h2 {
    font-weight: lighter;
    font-size: 13px;
    text-align: justify;
    margin-top: 5%;
}

.btn-mas-informacion {
    position: absolute;
    bottom: 5%;
    right: 10px;
    display: inline-block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 70%;
    float: right;
}


}



@media (max-width: 550px) { 
    .imageoption {
        position: relative;
        display: inline-block; /* Para que el contenedor abarque solo el tamaño de la imagen */
        width: 48.6%;
        overflow: hidden; /* Oculta el desbordamiento de los elementos hijos */
    }

    .servicestitle  {
        width: 100%;
        font-size: 25px;
        text-align: center;
        font-weight: bold;
    }

    .servicestext  {
        width: 90%;
        font-size: 15px;
        margin-left: 5%;
        text-align: center;
    }
    
        
    .text-container h3 {
       font-weight: bold;
       font-size: 18px;
    }
    
    .text-container h2 {
       font-weight: lighter;
       font-size: 13px;
    }
} 

@media (max-width: 544px) { 
  .imageoption {
    position: relative;
    display: inline-block;
    width: 60%;
    overflow: hidden;
    margin-left: 20%;
    margin-right: 20%;
  }
    }


@media (max-width: 394px) { 
  .imageoption {
    position: relative;
    display: inline-block;
    width: 80%;
    overflow: hidden;
    margin-left: 10%;
    margin-right: 10%;
  }
}
