/* Widget Solicitar Empleo Moderno */
#solicitar-empleo {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 50px 30px;
    position: relative;
    margin-top: 40px;
    box-shadow: 0 20px 40px rgba(41, 68, 142, 0.1), 0 0 0 1px rgba(41, 68, 142, 0.05);
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
    transition: all 0.3s ease;
}

#solicitar-empleo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #29448e, #60269e);
    border-radius: 20px 20px 0 0;
}

#solicitar-empleo:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(41, 68, 142, 0.15), 0 0 0 1px rgba(41, 68, 142, 0.1);
}

#solicitar-empleo img {
    width: 200px;
    position: absolute;
    top: -40px;
    left: 20px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(41, 68, 142, 0.2));
}

#solicitar-empleo:hover img {
    transform: scale(1.05) rotate(2deg);
}

#solicitar-empleo .content {
    margin-left: 0px;
    padding-top: 180px;
    text-align: center;
}

#solicitar-empleo .content p {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #29448e;
    position: relative;
    line-height: 1.3;
}

#solicitar-empleo .content p::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #29448e, #60269e);
    border-radius: 2px;
}

#solicitar-empleo .content a {
    background: linear-gradient(135deg, #29448e 0%, #60269e 100%);
    padding: 18px 45px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    text-transform: none;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(41, 68, 142, 0.3);
}

#solicitar-empleo .content a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

#solicitar-empleo .content a:hover::before {
    left: 100%;
}

#solicitar-empleo .content a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(41, 68, 142, 0.4);
    color: white;
}

#solicitar-empleo .content a:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (min-width: 768px) {
    #solicitar-empleo {
        padding: 50px 40px;
        display: flex;
        align-items: center;
        min-height: 200px;
    }

    #solicitar-empleo img {
        width: 220px;
        top: -50px;
        left: 30px;
    }

    #solicitar-empleo .content {
        padding-top: 0px;
        margin-left: 280px;
        text-align: left;
        flex: 1;
    }

    #solicitar-empleo .content p {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    #solicitar-empleo .content p::after {
        left: 0;
        transform: none;
    }
}

@media (min-width: 1024px) {
    #solicitar-empleo {
        padding: 60px 50px;
    }

    #solicitar-empleo img {
        width: 250px;
        top: -60px;
        left: 40px;
    }

    #solicitar-empleo .content {
        margin-left: 320px;
    }

    #solicitar-empleo .content p {
        font-size: 2.2rem;
    }
}

/* Animaciones */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efectos adicionales */
#solicitar-empleo .content a:focus {
    outline: 2px solid #29448e;
    outline-offset: 4px;
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    #solicitar-empleo:hover {
        transform: none;
    }
    
    #solicitar-empleo:hover img {
        transform: none;
    }
    
    #solicitar-empleo .content a:hover {
        transform: none;
    }
}

/* Nuevos elementos modernos */
.icon-container {
    position: relative;
    display: inline-block;
}

.empleo-icon {
    width: 200px;
    position: absolute;
    top: -40px;
    left: 20px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(41, 68, 142, 0.2));
    z-index: 2;
}

.icon-glow {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(41, 68, 142, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

.title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #29448e;
    position: relative;
    line-height: 1.3;
}

.subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 25px;
    line-height: 1.5;
    font-weight: 400;
}

.btn-empleo {
    background: linear-gradient(135deg, #29448e 0%, #60269e 100%);
    padding: 18px 35px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(41, 68, 142, 0.3);
}

.btn-empleo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-empleo:hover::before {
    left: 100%;
}

.btn-empleo:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(41, 68, 142, 0.4);
    color: white;
}

.btn-empleo:hover .btn-icon {
    transform: translateX(5px);
}

.btn-text {
    font-size: 1rem;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #29448e, #60269e);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.dot-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.dot-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.dot-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.1;
    }
}

/* Responsive para nuevos elementos */
@media (min-width: 768px) {
    .empleo-icon {
        width: 220px;
        top: -50px;
        left: 30px;
    }

    .icon-glow {
        top: -30px;
        left: 50px;
        width: 180px;
        height: 180px;
    }

    .title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
}

@media (min-width: 1024px) {
    .empleo-icon {
        width: 250px;
        top: -60px;
        left: 40px;
    }

    .icon-glow {
        top: -40px;
        left: 60px;
        width: 200px;
        height: 200px;
    }

    .title {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }
}