/* Estilos específicos para la página de bolsa de empleo */

:root {
    --primary-color: #4BD305;
}

.hero-section {
    background: white;
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    color: #333;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ff5722; /* Naranja para "COLABORA" */
    font-weight: 700;
    text-transform: uppercase;
}

.text-highlight {
    color: #4BD305; /* Verde para "CON NOSOTROS" */
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.6;
}

.stat-number {
    color: var(--primary-color);
}

.stat-label {
    color: #666;
}

.btn-outline {
    border: 2px solid #ff5722;
    color: #ff5722;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 87, 34, 0.1);
    transform: translateY(-3px);
}

.btn-primary {
    background: #4BD305;
    color: white;
    box-shadow: 0 4px 15px rgba(75, 211, 5, 0.3);
}

.btn-primary:hover {
    background: #3fa504;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(75, 211, 5, 0.4);
}

.hero-shapes .shape {
    opacity: 0.1;
}

.scroll-indicator {
    color: #666;
}

.scroll-indicator i {
    color: var(--primary-color);
}

.hero-visual {
    flex: 1;
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 8px solid white;
    transform: rotate(-2deg);
    transition: all 0.5s ease;
}

.hero-image-container:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.employment-form-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-wrapper h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.employment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group select[multiple] {
    height: 120px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.benefits-section {
    padding: 80px 0;
    background-color: white;
}

.benefits-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Estilos para los tags de perfiles */
.profile-tags {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.profile-tag {
    position: relative;
}

.profile-tag input[type="checkbox"] {
    display: none;
}

.profile-tag label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #555;
}

.profile-tag label i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.profile-tag input[type="checkbox"]:checked + label {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.profile-tag input[type="checkbox"]:checked + label i {
    color: white;
}

.profile-tag:hover label {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.form-hint {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .form-wrapper {
        padding: 20px;
        margin: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .profile-tags {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image-container {
        transform: none;
        margin: 30px auto;
        max-width: 90%;
    }

    .hero-visual {
        order: 1 !important;
    }

    .hero-content {
        order: 2 !important;
    }
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.profile-option {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.profile-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.profile-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.profile-checkbox i {
    font-size: 1.5rem;
    color: #6c757d;
    transition: all 0.3s ease;
    min-width: 28px;
    text-align: center;
}

/* Cambios cuando se pasa el cursor */
.profile-option:hover .profile-checkbox {
    background-color: #f1f3f5;
    border-color: #ced4da;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Estilos cuando está seleccionado */
.profile-option input[type="checkbox"]:checked + .profile-checkbox {
    background-color: #e6f7e0;
    border-color: #4BD305;
    color: #198754;
    box-shadow: 0 4px 10px rgba(75, 211, 5, 0.25);
}

.profile-option input[type="checkbox"]:checked + .profile-checkbox i {
    color: #4BD305;
}

/* Responsividad - 2 columnas en tabletas */
@media (max-width: 992px) {
    .profile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsividad - 1 columna en móviles */
@media (max-width: 576px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

/* Forzar que todos los elementos sean iguales en altura */
.profile-grid {
    grid-auto-rows: 1fr;
}

/* Efecto de clic */
.profile-option:active .profile-checkbox {
    transform: scale(0.95);
}

/* Mejora de accesibilidad - focus visible */
.profile-option input[type="checkbox"]:focus + .profile-checkbox {
    outline: 2px solid #4BD305;
    outline-offset: 2px;
}

/* Título de la sección con mejor diseño */
.form-group label[for="interests"] {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #343a40;
    font-weight: 600;
    display: block;
}

/* Mensaje informativo */
.form-note {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 10px;
}

/* En pantallas más pequeñas */
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* EMERGENCY FIX - Media queries para reducir el espacio superior en móvil */
@media (max-width: 1200px) {
    .hero-section {
        padding: 60px 0 40px !important;
        min-height: auto !important;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 40px 0 30px !important;
        min-height: auto !important;
    }
    
    .hero-content {
        padding: 15px 10px !important;
        margin-bottom: 20px !important;
    }
    
    .hero-visual {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 25px 0 20px !important;
        min-height: auto !important;
    }
    
    .hero-content {
        padding: 10px 8px !important;
        margin-bottom: 15px !important;
    }
    
    .hero-visual {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .hero-image-container {
        margin-top: 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 15px 0 15px !important;
        min-height: auto !important;
    }
    
    .hero-content {
        padding: 8px 5px !important;
        margin-bottom: 10px !important;
    }
    
    .hero-visual {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 400px) {
    .hero-section {
        padding: 10px 0 10px !important;
        min-height: auto !important;
    }
    
    .hero-content {
        padding: 5px 3px !important;
        margin-bottom: 8px !important;
    }
    
    .hero-visual {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* ===== ESTILOS PARA SECCIÓN MDT EN FOOTER ===== */
.footer-mdt {
    background-color: #212529;
    padding: 40px 0;
    margin-top: 0;
}

.mdt-certification {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mdt-logo {
    flex-shrink: 0;
}

.mdt-logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    transition: all 0.3s ease;
}

.mdt-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.7));
}

.mdt-info {
    flex: 1;
    color: white;
    text-align: left;
}

.mdt-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mdt-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #e5e7eb;
}

.mdt-info p strong {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Responsive para MDT */
@media (max-width: 768px) {
    .footer-mdt {
        padding: 30px 0;
    }
    
    .mdt-certification {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .mdt-logo img {
        width: 120px;
        height: 120px;
    }
    
    .mdt-info h3 {
        font-size: 1.5rem;
    }
    
    .mdt-info p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .footer-mdt {
        padding: 25px 0;
    }
    
    .mdt-logo img {
        width: 100px;
        height: 100px;
    }
    
    .mdt-info h3 {
        font-size: 1.3rem;
    }
    
    .mdt-info p {
        font-size: 0.95rem;
    }
} 