.full-width {
    width: 100%;
}

.container-width {
    margin: auto 5%;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
}

#about__section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none;
}

.about-text,
.about__img {
    flex: 1;
    padding: 20px;
    line-height: 30px;
}

.about-text {
    max-width: 50%;
}

.about__img img {
    max-width: 100%;
    height: auto;
}

#tipos__section {
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#tipos__section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/img/tipos.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: 3;
}

#tipos__section>div {
    z-index: 10;
    border-radius: 5px;
}

.tipos__section__text {
    width: 50%;
    text-align: center;
    color: var(--color-acento) !important;
}

#consejos__section {
    background-color: transparent !important;
    flex-wrap: wrap;
    justify-content: space-around;

}

#consejos__section>div {
    display: flex;
    min-height: 100px;
    background-color: white;
    width: 25%;
    margin: 30px;
    padding: 10px;
}

.consejos__section-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 20px 10px;

}

.consejos__section-box h3 {
    color: orange;
}

#contacto {
    height: 500px;
    background-size: cover;
    background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), #5e72e49d), url('../assets/img/abajo.jpg');
    background-position: center;
    height: 400px;
    background-size: cover;
    color: white;
    padding: 20px;
}

#section__title {
    height: 400px;
    background-image: url('../assets/img/nosotros.jpg');
    background-size: cover;
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: transparent !important;

}

/* sobre nosotros*/

.container {
    width: 100%;
    height: auto;

}

.fila {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    height: 300px;
}

.texto,
.imagen {
    flex: 1;
    margin: 10px;
}

.texto {
    padding: 20px;
}

.imagen {
    height: 200px;
    background-size: cover;
    background-position: center;
}


/* Servicios*/

.servicios-container {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.fila {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.servicio-tarjeta {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    width: calc(33.333% - 20px);
    flex-grow: 1;
    flex-basis: calc(33.333% - 20px);
    box-sizing: border-box;
    position: relative;
}

.icono {
    font-size: 2rem; 
    text-align: center;
    margin-bottom: 10px;
}

.servicio-tarjeta h3 {
    color: #333;
    margin: 10px 0;
}

.servicio-tarjeta p {
    color: #666;
    line-height: 1.5;
}

/* Contacto */
#contacto_form {
    height: auto;
    width: 100%;
    margin-top: 80px;
    padding: 20px
}
.formulario-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.formulario-contacto h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}
.campo-formulario:first{
    margin-top: 30px;
}
.campo-formulario {
    position: relative;
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--color-primario); 
    outline: none;
}

label {
    position: absolute;
    top: -20px;
    left: 10px;
    background-color: #f9f9f9;
    padding: 0 5px;
    color: #666;
    transition: all 0.3s;
}

input[type="text"]:not(:placeholder-shown) + label,
input[type="email"]:not(:placeholder-shown) + label,
textarea:not(:placeholder-shown) + label {

    font-size: 12px;
    color: var(--color-primario); 
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: var(--color-primario); 
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3; 
}
