/* Contenedor de opciones de ocupación */
.ocupacion-container {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Cada opción de ocupación */
.ocupacion-option {
    position: relative;
}

/* Ocultar el checkbox nativo */
.ocupacion-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Estilo del label que actúa como botón */
.ocupacion-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3125rem 0.6875rem;
    background: #ffffff;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    white-space: nowrap;
    user-select: none;
}

/* Icono dentro del label */
.ocupacion-label i {
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

/* Hover effect */
.ocupacion-label:hover {
    border-color: #00B041;
    background: #e8f8ef;
    color: #00B041;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 176, 65, 0.15);
}

.ocupacion-label:hover i {
    color: #00B041;
}

/* Estado activo (checked) */
.ocupacion-checkbox:checked+.ocupacion-label {
    background: rgba(0, 176, 65, 0.1);
    border-color: #00B041;
    color: #00B041;
    box-shadow: 0 3px 10px rgba(0, 176, 65, 0.15);
}

.ocupacion-checkbox:checked+.ocupacion-label i {
    color: #00B041;
}

/* Efecto de foco para accesibilidad */
.ocupacion-checkbox:focus+.ocupacion-label {
    outline: 2px solid #00B041;
    outline-offset: 2px;
}

/* Estado invalido (error) */
.ocupacion-checkbox.is-invalid+.ocupacion-label,
.ocupacion-checkbox:invalid+.ocupacion-label {
    border-color: #dc3545;
    color: #dc3545;
    background-color: #fff8f8;
}

.ocupacion-checkbox.is-invalid+.ocupacion-label i,
.ocupacion-checkbox:invalid+.ocupacion-label i {
    color: #dc3545;
}

/* Hover en estado invalido */
.ocupacion-checkbox.is-invalid+.ocupacion-label:hover,
.ocupacion-checkbox:invalid+.ocupacion-label:hover {
    background-color: #ffe6e6;
    border-color: #bd2130;
    color: #bd2130;
}

/* Animación al hacer click */
.ocupacion-label:active {
    transform: scale(0.97);
}

/* Responsive: en pantallas pequeñas */
@media (max-width: 768px) {
    .ocupacion-container {
        gap: 0.5rem;
    }

    .ocupacion-label {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .ocupacion-label i {
        font-size: 1rem;
    }
}


/* Hero Container (Parent) */
.program-hero-jovenes {
    min-height: 180px;
    /* Compact mobile height */
    background-color: #F5F5F5;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    /* Minimal padding */
}

/* Tablet screens */
@media (min-width: 768px) {
    .program-hero-jovenes {
        min-height: 380px;
        padding: 60px 0;
    }
}

/* Large desktop screens */
@media (min-width: 1200px) {
    .program-hero-jovenes {
        min-height: 550px;
        padding: 80px 0;
    }
}

/* Background Image Element */
.hero-bg-image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: left top;
    /* Anchor left to show "300" */
    /* Default for mobile: Focus on logo */

    /* Animation */
    opacity: 0;
    transform: scale(1);
    animation: heroSlowEntry 7s ease-out forwards;
}

@media (min-width: 1200px) {
    .hero-bg-image {
        background-position: center top;
        /* Desktop: Focused on subjects */
    }
}

@media (min-width: 1600px) {
    .hero-bg-image {
        background-position: center center;
        /* Very large screens */
    }
}

@keyframes heroSlowEntry {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    15% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Typography Updates */
.program-hero-jovenes h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-text-animate {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpText 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.3s;
}

.delay-300 {
    animation-delay: 0.5s;
}

.delay-500 {
    animation-delay: 0.7s;
}

@keyframes fadeInUpText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-responsive {
    height: 30px;
    width: auto;
    transition: height 0.3s ease;
}



@media (min-width: 768px) {
    .logo-responsive {
        height: 50px;
    }
}