/* ============================================
   EDUCATION SECTION
   ============================================ */

.education {
    padding: 100px 0;
    position: relative;
    background: var(--bg-darker);
    /* Leve contraste */
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.education-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gradient-red);
    transition: height 0.3s ease;
}

.education-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.education-card:hover::before {
    height: 100%;
}

.education-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.education-card:hover .education-icon {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.education-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.education-degree {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.education-institution {
    font-size: 1rem;
    color: var(--primary-red);
    margin-bottom: 15px;
    font-weight: 500;
}

.education-level {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.education-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}