/* Estilos específicos para index.html */
body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 25%, #f5f7fa 50%, #e3f2fd 75%, #f8f9fa 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.botonfinal, .botonlogin {
    display: inline-block;
    background: #fff;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 0.8em 2em;
    border-radius: 2em;
    font-size: 1.1em;
    font-weight: 500;
    text-decoration: none;
    margin: 0 0.5em;
    transition: background 0.2s, color 0.2s;
}

.botonfinal:hover, .botonlogin:hover {
    background: #007bff;
    color: #fff;
}

#final {
    text-align: center;
    margin-top: 2em;
}

/* Estilos para la sección de docentes */
.docentes-section {
    padding: 4rem 0;
    background: white;
}

.docentes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.docente-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.docente-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.docente-foto {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 2rem auto 1rem;
    border: 5px solid #f8f9fa;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.docente-info {
    padding: 1.5rem;
    text-align: center;
}

.docente-nombre {
    color: #333;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.docente-titulos {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.docente-area {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.docente-biografia {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.docente-cumpleaños {
    color: #888;
    font-size: 0.8rem;
    font-style: italic;
}

.section-title {
    text-align: center;
    color: #dc3545;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .docentes-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .docente-foto {
        width: 150px;
        height: 150px;
    }
}

/* Estilos para la sección de métodos de trabajo */
.metodos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.metodo-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 5px solid #007bff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.metodo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-top-color: #dc3545;
}

.metodo-card:nth-child(2) {
    border-top-color: #28a745;
}

.metodo-card:nth-child(3) {
    border-top-color: #ffc107;
}

.metodo-card:nth-child(4) {
    border-top-color: #17a2b8;
}

.metodo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.metodo-card:nth-child(2) .metodo-icon {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.metodo-card:nth-child(3) .metodo-icon {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.metodo-card:nth-child(4) .metodo-icon {
    background: linear-gradient(135deg, #17a2b8, #138496);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
}

.metodo-card h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.metodo-descripcion {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.metodo-beneficios {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.beneficio-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.btn-metodo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #007bff;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #007bff;
}

.btn-metodo:hover {
    background: white;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.metodo-card:nth-child(2) .btn-metodo {
    background: #28a745;
    border-color: #28a745;
}

.metodo-card:nth-child(2) .btn-metodo:hover {
    color: #28a745;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.metodo-card:nth-child(3) .btn-metodo {
    background: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.metodo-card:nth-child(3) .btn-metodo:hover {
    color: #ffc107;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.metodo-card:nth-child(4) .btn-metodo {
    background: #17a2b8;
    border-color: #17a2b8;
}

.metodo-card:nth-child(4) .btn-metodo:hover {
    color: #17a2b8;
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
}

.metodos-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    border: 2px solid #dee2e6;
}

.metodos-cta h3 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.metodos-cta p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-metodos-principal {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 3px solid #dc3545;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-metodos-principal:hover {
    background: white;
    color: #dc3545;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

/* Estilos para el footer */
footer {
    background: #343a40;
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    text-align: center;
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: #f8f9fa;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #f8f9fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffc107;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}