/* Estilos para los tabs de admisión */
.tabs-admision {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.tab-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Estilo para los botones de tabs */
.tab-btn {
    width: 200px;  /* Más ancho */
    height: 110px; /* Menos alto */
    border: 2px solid #4f2987;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px 15px; /* Añadir padding para mejor distribución del contenido */
}

.tab-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(79, 41, 135, 0.2);
}

.tab-btn.active {
    background: #4f2987;
    border-color: #bd8222;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(79, 41, 135, 0.3);
}

.tab-btn i {
    font-size: 40px;
    color: #4f2987;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.tab-btn.active i {
    color: #fff;
}

.tab-btn span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    color: #4f2987;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s;
}

.tab-btn.active span {
    color: #fff;
}

.tab-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Estilos para el timeline */
.timeline-admision {
    padding: 20px 0;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.timeline-step {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    background-position: center;
    background-size: cover;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.timeline-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Fondos e imágenes para cada paso */
.timeline-step.step-1 {
    background-image: url('../images/admision/ad1.jpg');
}

.timeline-step.step-2 {
    background-image: url('../images/admision/ad2.jpg');
}

.timeline-step.step-3 {
    background-image: url('../images/admision/ad3.jpg');
}

.timeline-step.step-4 {
    background-image: url('../images/admision/ad4.jpg');
}

.timeline-step.step-5 {
    background-image: url('../images/admision/ad5.jpg');
}

/* Colores diferenciados para cada paso */
.timeline-step.step-1::before { background: rgba(79, 41, 135, 0.805); }
.timeline-step.step-2::before { background: rgba(189, 130, 34, 0.805); }
.timeline-step.step-3::before { background: rgba(72, 159, 181, 0.805); }
.timeline-step.step-4::before { background: rgba(143, 149, 86, 0.805); }
.timeline-step.step-5::before { background: rgba(237, 85, 100, 0.805); }

.step-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #4f2987;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.step-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-top: 30px; /* Añadido espacio superior para evitar superposición */
}

.step-content h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
    padding-right: 45px; /* Espacio para el número */
}

.step-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #fff;
}

.step-content p {
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 15px;
}
.step-content .note {
    color: #ffffff !important;
    font-size: 14px;
    font-style: italic;
}

/* Estilos para la lista de documentos */
.document-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.document-list li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.3);
    position: relative;
    padding-left: 25px;
    font-size: 14px;
}

.document-list li:last-child {
    border-bottom: none;
}

.document-list li:before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #fff;
}

.note {
    font-size: 13px;
    font-style: italic;
    opacity: 0.9;
    margin-top: 15px;
    padding-left: 25px;
    position: relative;
}

.note:before {
    content: "\f05a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #fff;
}

/* Responsivo */
@media (max-width: 992px) {
    .timeline-steps {
        gap: 20px;
    }
    
    .timeline-step {
        min-width: 180px;
    }
    
    .tab-btn {
        width: 160px;
        height: 110px;
    }
}

@media (max-width: 768px) {
    .tab-btn {
        width: 140px;
        height: 100px;
    }
    
    .tab-btn i {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .tab-btn span {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .tab-btn {
        width: 120px;
        height: 90px;
    }
    
    .tab-btn i {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .tab-btn span {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        width: 100px;
        height: 100px;
    }
    
    .tab-btn i {
        font-size: 30px;
    }
    
    .tab-btn span {
        font-size: 11px;
    }
    
    .tab-content {
        padding: 20px 15px;
    }
    
    .step-content h3 {
        font-size: 18px;
    }
}
/* Ajustes responsivos */
@media (max-width: 1200px) {
    .tab-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .tab-btn {
        width: 180px;
        height: 100px;
    }
}

@media (max-width: 992px) {
    .tab-btn {
        width: 160px;
        height: 90px;
    }
    
    .tab-btn i {
        font-size: 24px;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .tab-btn {
        width: 140px;
        height: 80px;
        padding: 8px 10px;
    }
    
    .tab-btn i {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .tab-btn span {
        font-size: 11px;
        text-align: center;
        line-height: 1.2;
    }
}

@media (max-width: 576px) {
    .tab-buttons {
        gap: 8px;
    }
    
    .tab-btn {
        width: 110px;
        height: 70px;
        padding: 5px 8px;
    }
    
    .tab-btn i {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .tab-btn span {
        font-size: 9px;
        font-weight: 600;
        letter-spacing: -0.5px;
    }
}