
/* Scroll suave para enlaces de ancla */
html {
    scroll-behavior: smooth;
}

/* Ajuste para el scroll con header fijo */
#objetivos, #ejes-tematicos {
    scroll-margin-top: 80px;
}

/* Estilos para la sección de Objetivos */
.objetivos-banner {
    background-color: #ADCE50 !important;
    border-radius: 3px;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(173, 206, 80, 0.3);
    min-height: 120px;
    transition: all 0.3s ease;
}

.objetivos-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(173, 206, 80, 0.4);
}

.objetivos-icon {
    margin-right: 25px;
    flex-shrink: 0;
}

.objetivos-icon img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain;
    transition: all 0.3s ease;
}

.objetivos-banner:hover .objetivos-icon img {
    transform: scale(1.05);
}

.objetivos-banner-content h2 {
    color: white !important;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.objetivos-banner:hover .objetivos-banner-content h2 {
    transform: translateX(5px);
}

/* Estilos para la sección de Ejes Temáticos */
.ejes-tematicos-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.ejes-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.ejes-banner {
    background-color: #E5953D;
    border-radius: 8px;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    min-height: 120px;
    margin-bottom: 40px;
}

.ejes-decorative-icons {
    margin-right: 20px;
    flex-shrink: 0;
}

.ejes-table-container {
    overflow-x: auto;
    margin-top: 30px;
}

.ejes-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ejes-table th {
    padding: 20px 15px;
    text-align: center;
    font-weight: 700;
    color: #333;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    border-bottom: 2px solid #e9ecef;
}

.ejes-table th:last-child {
    font-size: 14px;
    color: #666;
}

.ejes-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.ejes-table tr:last-child td {
    border-bottom: none;
}

.eje-cell {
    width: 200px;
    min-width: 200px;
}

.eje-icon {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.eje-icon img {
    object-fit: contain;
}

.eje-name {
    font-weight: 700;
    color: #333;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    display: inline-block;
    vertical-align: middle;
}

.problematica-cell,
.alternativa-cell,
.enfoque-cell {
    width: 20%;
}

.problematica-cell p,
.alternativa-cell p,
.enfoque-cell p {
    margin: 0;
    color: #666;
    line-height: 1.5;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
}

.material-cell {
    width: 100px;
    min-width: 100px;
}

.material-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-lectura,
.btn-video {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.btn-lectura {
    background-color: #E5953D;
    color: white;
    border: 2px solid #E5953D;
}

.btn-lectura:hover {
    background-color: #E5953D;
    border-color: #E5953D;
    color: white;
}

/* Estilos para enlaces de recursos en bloque-2 */
.recurso-enlace {
    color: #ff6b35 !important;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 2px 0;
}

.recurso-enlace:hover {
    color: #e55a2b !important;
    transform: translateY(-1px);
}

.recurso-enlace::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff6b35;
    transition: width 0.3s ease;
}

.recurso-enlace:hover::after {
    width: 100%;
}

/* Estilo para el contenedor de recursos */
.recurso-item {
    margin-bottom: 15px;
    padding: 8px 12px;
    background-color: rgba(255, 107, 53, 0.05);
    border-radius: 6px;
    border-left: 3px solid #ff6b35;
    transition: all 0.3s ease;
}

.recurso-item:hover {
    background-color: rgba(255, 107, 53, 0.1);
    transform: translateX(3px);
}

.btn-video {
    background-color: white;
    color: #E5953D;
    border: 2px solid #E5953D;
}

.btn-video:hover {
    background-color: #E5953D;
    color: white;
}

/* Responsive */
@media (max-width: 1199px) {
    .ejes-banner {
        padding: 35px 25px;
        min-height: 110px;
    }
    
    .ejes-banner-content h2 {
        font-size: 24px;
    }
    
    .ejes-right .section-title h1 {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    .ejes-tematicos-section {
        padding: 80px 0;
    }
    
    .ejes-banner {
        padding: 30px 20px;
        min-height: 100px;
        margin-bottom: 30px;
    }
    
    .ejes-banner-content h2 {
        font-size: 22px;
    }
    
    .ejes-right .section-title h1 {
        font-size: 28px;
    }
    
    .ejes-table th,
    .ejes-table td {
        padding: 15px 10px;
    }
}

@media (max-width: 767px) {
    .ejes-tematicos-section {
        padding: 60px 0;
    }
    
    .ejes-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .ejes-decorative-icons {
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .ejes-decorative-image {
        width: 50px;
    }
    
    .ejes-banner-content h2 {
        font-size: 24px;
    }
    
    .ejes-right .section-title h1 {
        font-size: 24px;
    }
    
    /* Convertir tabla en cards en mobile */
    .ejes-table {
        display: none;
    }
    
    .ejes-table-container {
        display: block;
    }
    
    /* Mostrar ejes como cards en mobile */
    .ejes-table-container::after {
        content: "";
        display: block;
    }
}

/* Cards para ejes en mobile */
.ejes-mobile-cards {
    display: none; /* Oculto por defecto en desktop */
}

@media (max-width: 767px) {
    .ejes-table-container::after {
        content: "";
        display: block;
    }
    
    /* Mostrar cards en mobile */
    .ejes-mobile-cards {
        display: block;
    }
    
    .eje-mobile-card {
        background: white;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .eje-mobile-header {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }
    
    .eje-mobile-icon {
        margin-right: 10px;
    }
    
    .eje-mobile-icon img {
        width: 50px;
        height: 50px;
    }
    
    .eje-mobile-name {
        font-weight: 700;
        color: #333;
        font-size: 20px;
        font-family: 'Outfit', sans-serif;
    }
    
    .eje-mobile-content {
        margin-bottom: 15px;
    }
    
    .eje-mobile-field {
        margin-bottom: 10px;
    }
    
    .eje-mobile-field strong {
        display: block;
        font-size: 12px;
        color: #666;
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .eje-mobile-field p {
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
        color: #333;
    }
    
    .eje-mobile-buttons {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .eje-mobile-buttons .btn-lectura,
    .eje-mobile-buttons .btn-video {
        flex: 1;
        min-width: 80px;
        text-align: center;
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .ejes-banner {
        padding: 25px 15px;
    }
    
    .ejes-banner-content h2 {
        font-size: 20px;
    }
    
    .ejes-right .section-title h1 {
        font-size: 22px;
    }
    
    .ejes-table th,
    .ejes-table td {
        padding: 8px 5px;
    }
    
    .btn-lectura,
    .btn-video {
        padding: 6px 12px;
        font-size: 12px;
    }
}

.ejes-banner-content{
    color: white !important;
}

/* Estilos para las tarjetas de requisitos - Ajuste del fondo */
.online-service-block {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 150px;
    height: 203px; /* fijo en desktop */
}

/* --- Ajuste en mobile --- */
@media (max-width: 991px) {
    .online-service-block {
        height: auto !important; /* sobrescribe el fijo */
        min-height: 150px;       /* mantiene un mínimo */
    }
}


.online-service-block .service-content {
    position: relative;
    z-index: 2;
}

.online-service-block .icon-box {
    position: relative;
    z-index: 2;
}

/* Estilos para la sección de documento descargable */
.doc-descargable-section {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.doc-descargable-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.doc-descargable-container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 60px 40px;
}

.doc-fallback-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.doc-content {
    text-align: center;
    max-width: 600px;
    color: white;
    width: 100%;
}

.doc-fallback-container .doc-content {
    color: #333;
}

.doc-icon {
    margin-bottom: 30px;
}

.doc-pdf-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.doc-fallback-container .doc-pdf-icon {
    filter: none;
}

.doc-icon:hover .doc-pdf-icon {
    transform: scale(1.1);
}

.doc-text-content {
    margin-bottom: 40px;
}

.doc-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.doc-description {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    opacity: 0.9;
}

.doc-fallback-container .doc-description {
    opacity: 0.8;
}

.doc-button-container {
    margin-top: 30px;
}

.doc-download-btn {
    display: inline-block;
    background-color: #E5953D;
    color: white;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    border: 2px solid #E5953D;
    box-shadow: 0 4px 15px rgba(229, 149, 61, 0.3);
}

.doc-download-btn:hover {
    background-color: #d4852a;
    border-color: #d4852a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 149, 61, 0.4);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1199px) {
    .doc-title {
        font-size: 32px;
    }
    
    .doc-description {
        font-size: 16px;
    }
    
    .doc-download-btn {
        font-size: 16px;
        padding: 16px 35px;
    }
}

@media (max-width: 991px) {
    .doc-descargable-section {
        padding: 80px 0;
    }
    
    .doc-background-image,
    .doc-fallback-container {
        min-height: 350px;
    }
    
    .doc-overlay,
    .doc-fallback-container {
        padding: 50px 30px;
    }
    
    .doc-title {
        font-size: 28px;
    }
    
    .doc-pdf-icon {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 767px) {
    .doc-descargable-section {
        padding: 60px 0;
    }
    
    .doc-background-image,
    .doc-fallback-container {
        min-height: 300px;
    }
    
    .doc-overlay,
    .doc-fallback-container {
        padding: 40px 20px;
    }
    
    .doc-title {
        font-size: 24px;
    }
    
    .doc-description {
        font-size: 15px;
    }
    
    .doc-pdf-icon {
        width: 60px;
        height: 60px;
    }
    
    .doc-download-btn {
        font-size: 15px;
        padding: 14px 30px;
    }
}

@media (max-width: 575px) {
    .doc-overlay,
    .doc-fallback-container {
        padding: 30px 15px;
    }
    
    .doc-title {
        font-size: 22px;
    }
    
    .doc-description {
        font-size: 14px;
    }
    
    .doc-download-btn {
        font-size: 14px;
        padding: 12px 25px;
    }
}

/* Estilos para la sección de contacto */
.contact-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.contact-banner {
    background-color: #3DA1C1;
    border-radius: 10px;
    padding: 60px 50px;
    box-shadow: 0 10px 30px rgba(61, 161, 193, 0.2);
    transition: all 0.3s ease;
}

.contact-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(61, 161, 193, 0.3);
}

.contact-left {
    text-align: left;
}

.contact-right {
    text-align: right;
}

.contact-title {
    color: white;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.contact-description {
    color: white;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-family: 'Outfit', sans-serif;
    opacity: 0.9;
}

.contact-links {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 6px;
}

.contact-link:hover {
    color: white;
    text-decoration: none;
}

.contact-link i {
    font-size: 18px;
}

.email-link i {
    font-size: 16px;
}

.linkedin-link i {
    font-size: 18px;
}

.instagram-link i {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1199px) {
    .contact-title {
        font-size: 42px;
    }
    
    .contact-description {
        font-size: 17px;
    }
    
    .contact-banner {
        padding: 50px 40px;
    }
}

@media (max-width: 991px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-banner {
        padding: 45px 35px;
    }
    
    .contact-left,
    .contact-right {
        text-align: center;
    }
    
    .contact-title {
        font-size: 36px;
        margin-bottom: 25px;
    }
    
    .contact-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .contact-links {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-banner {
        padding: 40px 25px;
    }
    
    .contact-title {
        font-size: 32px;
    }
    
    .contact-description {
        font-size: 15px;
    }
    
    .contact-links {
        gap: 15px;
    }
    
    .contact-link {
        font-size: 15px;
        padding: 8px 12px;
    }
}

@media (max-width: 575px) {
    .contact-banner {
        padding: 35px 20px;
    }
    
    .contact-title {
        font-size: 28px;
    }
    
    .contact-description {
        font-size: 14px;
    }
    
    .contact-links {
        justify-content: center;
        flex-direction: row;
        gap: 20px;
    }
    
    .contact-link {
        font-size: 14px;
        padding: 12px;
        min-width: 50px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Bloques de Formación */
.bloques-formacion-section {
    background-color: #f8f9fa;
    position: relative;
}

.bloques-main-title {
    font-size: 36px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.progress-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.progress-steps {
    display: flex;
    align-items: center;
    gap: 30px;
}

.step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.step.active {
    background-color: #E5953D;
    border-color: #E5953D;
    color: white;
}

.step-number {
    font-weight: bold;
    font-size: 18px;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background-color: #ddd;
    margin-left: 15px;
}

.step.active:not(:last-child)::after {
    background-color: #E5953D;
}

.formacion-instructions {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.instruction-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.bloques-container {
    position: relative;
    margin: 0 auto;
}

.bloque-item {
    display: none;
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
}

.bloque-item.active {
    display: block;
}

.bloque-header {
    margin-bottom: 40px;
}

.bloque-number {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
    font-weight: normal;
}

.bloque-title {
    font-size: 32px;
    color: #ff6b35;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.bloque-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.video-section {
    margin-bottom: 40px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.bloque-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.actions-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.btn-download {
    padding: 12px 24px;
    border: 2px solid #ff6b35;
    background: transparent;
    color: #ff6b35;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #ff6b35;
    color: white;
    text-decoration: none;
}

.btn-continue,
.btn-final {
    padding: 12px 24px;
    background: #333;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-continue:hover,
.btn-final:hover {
    background: #555;
}

.btn-back {
    padding: 12px 24px;
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #f8f9fa;
    border-color: #999;
}

/* Bloque 2 - Tarjetas Temáticas */
.tematicas-cards-container {
    margin-bottom: 40px;
}

.tematica-card {
    height: 100%;
    min-height: 300px;
}

.tematica-resource {
    margin-bottom: 10px;
    font-size: 14px;
}

.tematica-resource strong {
    color: #333;
    font-weight: 600;
}

.tematica-resource .pages,
.tematica-resource .material,
.tematica-resource .video-title {
    color: #666;
    margin-left: 5px;
}

.resource-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.resource-link:hover {
    color: #e55a2b;
    text-decoration: none;
}

/* Bloque 3 - Videos Section */
.videos-section {
    margin-bottom: 40px;
}


.form-subtitle {
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 18px;
}

.video-block {
    height: 100%;
}

.video-block .video-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.video-block .video-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.video-block .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.video-block .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile Styles */
@media (max-width: 767px) {
    .progress-steps {
        gap: 20px;
    }
    
    .step {
        width: 40px;
        height: 40px;
    }
    
    .step:not(:last-child)::after {
        width: 20px;
        margin-left: 10px;
    }
    
    .bloque-item {
        padding: 30px 20px;
    }
    
    .bloque-title {
        font-size: 24px;
    }
    
    .bloque-actions {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .actions-left {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .actions-right {
        display: flex;
        justify-content: center;
    }
    
    .btn-download,
    .btn-continue,
    .btn-final {
        width: 100%;
        text-align: center;
    }
}

.contact-description{
    color: white !important;
}

/* Trayecto Educativo Section */
.trayecto-educativo-section {
    position: relative;
}

/* Premios Section */

.premios-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.premios-cards {
    margin-bottom: 60px;
}

.premio-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px 30px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    height: 100%;
    min-height: 280px;
    border: 3px solid;
    transition: all 0.3s ease;
    text-align: center;
}

.premio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.premio-ribbon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 32px;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.premio-ribbon-1 {
    background-color: #FEE273;
    color: #000;
    border-color: #FEE273;
}

.premio-ribbon-2 {
    background-color: #C0C0C0;
    color: #000;
    border-color: #C0C0C0;
}

.premio-ribbon-3 {
    background-color: #E5953D;
    color: white;
    border-color: #E5953D;
}

/* Bordes de colores para cada tarjeta */
.premio-card {
    border-color: #FEE273; /* Color por defecto para primer puesto */
}

/* Aplicar colores específicos basados en la clase del ribbon */
.premio-card .premio-ribbon-1 + .premio-content {
    border-color: #FEE273;
}

.premio-card .premio-ribbon-2 + .premio-content {
    border-color: #C0C0C0;
}

.premio-card .premio-ribbon-3 + .premio-content {
    border-color: #FF6B35;
}

/* Aplicar colores de borde a las tarjetas según su posición */
.premios-cards .row > div:nth-child(1) .premio-card {
    border-color: #FEE273;
}

.premios-cards .row > div:nth-child(2) .premio-card {
    border-color: #C0C0C0;
}

.premios-cards .row > div:nth-child(3) .premio-card {
    border-color: #E5953D;
}

.ribbon-number {
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
}

.premio-content {
    padding-top: 30px;
}

.premio-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.premio-description {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.premios-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.icon-hard-hat,
.icon-solar-panel {
    font-size: 48px;
}

.icon-solar-panel {
    color: #007bff;
}

/* Mobile Styles */
@media (max-width: 767px) {
    .premios-main-title {
        font-size: 36px;
    }
    
    .premio-card {
        padding: 30px 20px 20px 20px;
        min-height: 250px;
    }
    
    .premio-ribbon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        top: -20px;
    }
    
    .premio-content {
        padding-top: 25px;
    }
    
    .premio-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .premio-description {
        font-size: 14px;
    }
    
    .premios-icons {
        gap: 20px;
    }
    
    .icon-hard-hat,
    .icon-solar-panel {
        font-size: 36px;
    }
}

/* Estilos para el título de organizaciones */
.organizations-section {
    padding: 100px 0 0 0;
}

.organizations-title {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

/* Responsive para el título */
@media (max-width: 1199px) {
    .organizations-title {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    .organizations-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .organizations-title {
        font-size: 24px;
    }
}

@media (max-width: 575px) {
    .organizations-title {
        font-size: 22px;
    }
}

/* Estilos para la sección de inscripción */
.inscripcion-section {
    background-color: #ffffff;
}

.inscripcion-title {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 15px 0;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.inscripcion-subtitle {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.inscripcion-form-container {
    margin-top: 40px;
}

/* Responsive para inscripción */
@media (max-width: 1199px) {
    .inscripcion-title {
        font-size: 32px;
    }
    
    .inscripcion-subtitle {
        font-size: 17px;
    }
}

@media (max-width: 991px) {
    .inscripcion-section {
        padding: 80px 0;
    }
    
    .inscripcion-title {
        font-size: 28px;
    }
    
    .inscripcion-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .inscripcion-section {
        padding: 60px 0;
    }
    
    .inscripcion-title {
        font-size: 24px;
    }
    
      }
    
    .inscripcion-form-container {
        margin-top: 30px;
    }


@media (max-width: 575px) {
    .inscripcion-title {
        font-size: 22px;
    }
    
    .inscripcion-subtitle {
        font-size: 14px;
    }
}

div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active){
    background-color: #E5953D !important;
}

/* Estilos para el indicador de páginas de WPForms */
.wpforms-container .wpforms-page-indicator.circles {
    justify-content: center !important;
}

.section-title h2{
    margin-bottom: 20px !important;
}

/* Estilos para las tarjetas de temáticas clickeables */
.tematica-card {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tematica-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Estilos para las tarjetas compactas del bloque 2 */
.tematica-card-compact {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.tematica-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tematica-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.tematica-icon img {
    object-fit: contain;
}

.tematica-icon i {
    font-size: 50px;
    color: #E5953D;
}

.tematica-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tematica-select-btn {
    margin-top: auto;
    text-align: center;
}

.btn-select-tematica {
    background-color: #E5953D;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 150px;
}

.btn-select-tematica:hover {
    background-color: #ff6b35;
    transform: translateY(-2px);
}

/* Estilos para el bloque de temática (bloque 2.5) */
#bloque-tematica {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    border: 2px solid #E5953D;
}

#bloque-tematica .bloque-header {
    background-color: #E5953D;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

#bloque-tematica .bloque-number {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

#bloque-tematica .bloque-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

#bloque-tematica .bloque-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 0;
}

.tematica-video-block,
.tematica-lectura-block {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
}

.tematica-video-title,
.tematica-lectura-title {
    color: #E5953D;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.tematica-video-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.tematica-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.tematica-video-desc,
.tematica-lectura-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-tematica-lectura {
    background-color: #E5953D;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-tematica-lectura:hover {
    background-color: #ff6b35;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Botones específicos para el bloque de temática */
#bloque-tematica .btn-back {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#bloque-tematica .btn-back:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

/* Responsive para móvil */
@media (max-width: 768px) {
    #bloque-tematica {
        padding: 20px;
        margin-top: 20px;
    }
    
    #bloque-tematica .bloque-header {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    #bloque-tematica .bloque-title {
        font-size: 20px;
    }
    
    .tematica-video-container {
        height: 180px;
    }
    
    #bloque-tematica .btn-back {
        margin-top: 10px;
        display: block;
        width: 100%;
    }
    
    /* Tarjetas compactas en móvil */
    .tematica-card-compact {
        min-height: 180px;
        padding: 15px;
    }
    
    .tematica-icon {
        height: 50px;
        margin-bottom: 10px;
    }
    
    .tematica-icon img {
        width: 40px;
        height: 40px;
    }
    
    .tematica-icon i {
        font-size: 40px;
    }
    
    .tematica-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .btn-select-tematica {
        font-size: 12px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .tematica-card-compact {
        min-height: 160px;
        padding: 12px;
    }
    
    .tematica-title {
        font-size: 13px;
    }
    
    .btn-select-tematica {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* Ocultar shape logo en mobile */
@media (max-width: 767px) {
    .shape-logo {
        display: none !important;
    }
}

/* Ajustes para las tarjetas de objetivos en mobile */
@media (max-width: 991px) {
    .online-service-block {
        margin-bottom: 20px !important;
    }
    
    .online-service-block .service-content h5 {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }
    
    .online-service-block .service-content p {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 767px) {
    .online-service-block {
        margin-bottom: 15px !important;
        padding: 20px 15px !important;
    }
    
    .online-service-block .icon-box {
        margin-bottom: 15px !important;
    }
    
    .online-service-block .icon-box img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .online-service-block .service-content h5 {
        font-size: 15px !important;
        margin-bottom: 8px !important;
    }
    
    .online-service-block .service-content p {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
}

h4.footer-title{
    color: white !important;
    font-size: 14px !important;
}

/* Estilos para el video del banner */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive para el video */
@media (max-width: 991px) {
    .video-container {
        padding-bottom: 60%;
    }
}

@media (max-width: 767px) {
    .video-container {
        padding-bottom: 65%;
        margin-top: 20px;
    }
}

.logo img{
    max-width: 250px !important;
}

.descrip-contexto{
    font-size: 18px !important;
}

.premios-section{
    margin-bottom: 120px;
}

/* ===== BLOQUE 3 - MATERIAL DE APOYO ===== */
.material-apoyo-section {
    text-align: center;
    padding: 20px 0;
}

.material-apoyo-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.material-apoyo-section .btn-download {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff6b35;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #ff6b35;
}

.material-apoyo-section .btn-download:hover {
    background-color: transparent;
    color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.cards{
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
  .wpforms-page-indicator.circles {
    display: none !important;
  }
}