/* --- Estilos para la sección Ingeniería en Desarrollo de Software --- */

.fdi-header {
    background: #003d51;
    color: #fff;
    padding: 140px 0 60px 0;
    text-align: center;
}

.fdi-header h1 {
    color: #f7be0d;
    font-size: 3rem;
    font-weight: 700;
}

.fdi-summary-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.fdi-summary-cards .card {
    background: rgba(255,255,255,0.1);
    border: 1px solid #f7be0d;
    border-radius: 8px;
    padding: 15px 25px;
    text-align: center;
    min-width: 150px;
}

.fdi-summary-cards .card i {
    font-size: 24px;
    color: #f7be0d;
    margin-bottom: 10px;
    display: block;
}

.fdi-section-title {
    color: #003d51;
    border-bottom: 2px solid #f7be0d;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* Directorio de Catedráticos (GCP) */
.fdi-teacher-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    height: 100%;
}

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

.fdi-teacher-card h4 {
    color: #003d51;
    font-weight: 600;
    margin-bottom: 5px;
}

.fdi-teacher-role {
    color: #f7be0d;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 15px;
}

.fdi-teacher-card .teaching-areas {
    margin-top: 15px;
    font-size: 13px;
}

.fdi-teacher-card .teaching-areas strong {
    color: #003d51;
}

.fdi-badge {
    background: #f7be0d;
    color: #003d51;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin: 2px;
}

/* Tabla Responsiva Plan de Estudios */
.fdi-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
}

.fdi-table {
    width: 100%;
    border-collapse: collapse;
}

.fdi-table th {
    background: #003d51;
    color: #fff;
    padding: 15px;
    text-align: center;
}

.fdi-table td {
    padding: 12px;
    border: 1px solid #eee;
    vertical-align: top;
}

.fdi-table tr:nth-child(even) {
    background: #f9f9f9;
}

.fdi-subject {
    background: #fff;
    border-left: 3px solid #f7be0d;
    padding: 8px 12px;
    margin-bottom: 5px;
    font-size: 13px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Formulario Contacto */
.fdi-contact-form {
    background: #f4f6f8;
    padding: 40px;
    border-radius: 10px;
}

.fdi-contact-form .form-control {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px 15px;
    margin-bottom: 15px;
}

.fdi-btn-submit {
    background: #f7be0d;
    color: #003d51;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.fdi-btn-submit:hover {
    background: #003d51;
    color: #fff;
}
