/* portada bienvenido  */
#bienvenidaBeneficios {
    height: 100vh !important;
    position: relative;
    background-image: url('../images/asociate/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;
    }
}

@media (max-width: 576px) {
    #bienvenidaBeneficios h1 {
        font-size: 1.5rem;
    }
    #bienvenidaBeneficios {     
        height: auto !important;
        min-height: 50vh;
        background-attachment: unset;
        background-size: cover;
    }
}


/* pasos a asociarse  */

#como-trabajar {
    background-color: #f9f9f9;
}

#como-trabajar h2 {
    color: #2D6A4F;
    /* Azul oscuro */
}

#como-trabajar .text-success {
    color: #2D6A4F !important;
    /* Verde oscuro */
}

#como-trabajar p {
    font-size: 1.1rem;
    color: #555555;
}

#como-trabajar .border-warning {
    border-width: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#como-trabajar small {
    color: #777777;
}

/* Hover Effect for Icons */
#como-trabajar i {
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

#como-trabajar i:hover {
    transform: scale(1.2);
    color: #1B4332;
    /* Verde más oscuro */
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    #como-trabajar{
        padding: 1rem;
    }

    #como-trabajar h2 {
        font-size: 1.8rem;
    }

    #como-trabajar p {
        font-size: 1rem;
        text-align: center;
    }
}

@media (min-width: 1440px) {
    #como-trabajar h2 {
        font-size: 2.2rem;
    }

    #como-trabajar p {
        font-size: 1.2rem;
    }

    #como-trabajar i {
        font-size: 3.5rem;
    }
}

@media (min-width: 1920px) {
    #como-trabajar h2 {
        font-size: 2.5rem;
    }

    #como-trabajar p {
        font-size: 1.3rem;
    }

    #como-trabajar i {
        font-size: 4rem;
    }
}

/* asociate form  */

#formulario-cv {
    background-color: #eaf4f4;
}

#formulario-cv h2 {
    font-size: 2rem;
}

#formulario-cv .form-label {
    font-weight: bold;
    color: #2d6a4f;
}

#formulario-cv .form-control {
    border: 1px solid #ced4da;
    border-radius: 5px;
    box-shadow: none;
    transition: all 0.3s ease-in-out;
}

#formulario-cv .form-control:focus {
    border-color: #2d6a4f;
    box-shadow: 0 0 5px rgba(45, 106, 79, 0.5);
}

#formulario-cv 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;

}

#formulario-cv 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;
}

/* Responsive Adjustments */

@media (max-width: 576px) {
    main{
        padding-top: 0rem;
    }
       
}

@media (max-width: 768px) {

    #formulario-cv{
        padding: 1rem;
    }

    #formulario-cv h2 {
        font-size: 1.8rem;
    }

    #formulario-cv button {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }

   main{
    padding-top: 3rem;
   }
   
}

@media (min-width: 1440px) {
    #formulario-cv h2 {
        font-size: 2.2rem;
    }

    #formulario-cv button {
        font-size: 1.2rem;
        padding: 1rem 2.5rem;
    }
}

@media (min-width: 1920px) {
    #formulario-cv h2 {
        font-size: 2.5rem;
    }

    #formulario-cv button {
        font-size: 1.3rem;
        padding: 1.2rem 3rem;
    }
}


/* boton requisitos  */

.fixed-button {
    position: fixed;
    bottom: 20px; /* Ajusta la posición vertical */
    left: 20px; /* Ajusta la posición horizontal */
    z-index: 999; /* Asegura que esté por encima del contenido */
}

.btn-requisitos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #0ca551; /* Color verde atractivo */
    color: white;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.btn-requisitos i {
    font-size: 1.5rem; /* Tamaño del ícono */
}

.btn-requisitos:hover {
    background-color: #13509d; /* Cambio a azul al pasar el mouse */
    transform: scale(1.1); /* Aumenta ligeramente el tamaño */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

/* Animación flotante */
.btn-requisitos {
    animation: float 2.5s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px); /* Flota hacia arriba */
    }
}




@media (max-width:576px){
   

    #como-trabajar p small{
        text-align: center !important;
    }

}