

/* portada bienvenido  */
#bienvenidaBeneficios {
    height: 100vh; 
    position: relative;
    background-image: url('../images/contacto/posiblePortada.jpg'); 
    background-size: cover; 
    background-position: top; 
    background-attachment: fixed; 
    background-repeat: no-repeat; 
}

#bienvenidaBeneficios .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1; 
}

#bienvenidaBeneficios .container {
    position: relative;
    z-index: 2; 
}

#bienvenidaBeneficios h1 {
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #bienvenidaBeneficios {     
        height: auto !important;
        min-height: 50vh;
        background-attachment: unset;
        background-size: cover;
    }


    #bienvenidaBeneficios h1 {
        font-size: 2rem;
    }

    main{
        padding-top: 3rem;
    }
    
}

@media (max-width: 576px) {
    #bienvenidaBeneficios h1 {
        font-size: 1.5rem;
    }
    main{
        padding-top: 3rem;
    }

    #bienvenidaBeneficios {     
        height: auto !important;
        min-height: 50vh;
        background-attachment: unset;
        background-size: cover;
    }
}

/* BAJADA DE TEXTO  */

#no-dudas {
    background-color: #f9f9f9;
}

#no-dudas h2 {
    font-size: 2rem;
    color: #0CA551 !important;
}

#no-dudas p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #no-dudas h2 {
        font-size: 1.8rem;
    }

    #no-dudas p {
        font-size: 0.9rem;
    }

    #no-dudas{
        padding: 1rem;
    }
}

@media (min-width: 1440px) {
    #no-dudas h2 {
        font-size: 2.5rem;
    }

    #no-dudas p {
        font-size: 1.2rem;
    }
}


/* contacto  */

#contacto {
    background-color: #eef7fc; /* Color de fondo */
}

#contacto h3 {
    font-size: 2rem;
    color: #0CA551 !important;
    font-weight: bold;
}

#contacto .form-control {
    border-radius: 10px;
    border: 1px solid #ccc;
}

#contacto .form-control:focus {
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    border-color: #007bff;
}

#contacto button {
    width: 200px;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    background-color: #0CA551;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-color: #DADADA;
    color: #fffcfc;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    text-shadow: 0px 4px 8px rgba(119, 119, 119, 0.1);
    box-shadow: 0 4px 8px rgba(196, 196, 196, 0.2);
    font-family: 'Roboto', sans-serif !important;
    font-weight: 900 !important;
    transition: all 0.3s ease !important;
}
#contacto button:hover {
    background-color: #13509D;
    transform: scale(1.05);
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.ratio iframe{
    height: 100% !important;
}

/* Responsivo */
@media (max-width: 768px) {
    #contacto h3 {
        font-size: 1.6rem;
    }
    #contacto .form-control,
    #contacto button {
        font-size: 0.9rem;
    }
}

@media (min-width: 1200px){
    .heightContenedores{
        height: 600px;
    }
}

@media (min-width: 1440px) {
    #contacto h3 {
        font-size: 2rem;
    }
    #contacto .form-control {
        font-size: 1.1rem;
    }
    #contacto button {
        font-size: 1.1rem;
    }
}

/* redes sociales  */

#redes-sociales {
    background-color: #ffffff;
}

#redes-sociales h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #0CA551 !important;
}

#redes-sociales i {
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

#redes-sociales i:hover {
    transform: scale(1.2);
    color: #007bff; /* Cambia a un color destacado al pasar el cursor */
}

/* Responsivo */
@media (max-width: 576px) {
    #redes-sociales h3 {
        font-size: 1.5rem;
    }

    #redes-sociales i {
        font-size: 1.5rem;
    }
}

@media (min-width: 1440px) {
    #redes-sociales h3 {
        font-size: 2rem;
    }

    #redes-sociales i {
        font-size: 2.5rem;
    }
}


/* efecto formulario  */
/* Estilos generales */
.floating-group {
    position: relative;
    margin-bottom: 20px;
}

/* Input */
.floating-input {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    background-color: transparent;
}

/* Label */
.floating-group label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #777;
    transition: all 0.3s ease-in-out;
    background: white;
    padding: 0 5px;
    pointer-events: none;
}

/* Movimiento del label cuando el input tiene contenido o está en foco */
.floating-input:focus + label,
.floating-input.has-content + label {
    top: -5px;
    font-size: 12px;
    color: #4AAE6C;
    font-weight: bold;
}

/* Para textarea */
.floating-group textarea {
    resize: none;
    height: 100px;
}

.floating-group textarea + label {
    top: 15px;
}
