#educations {
    /* Padding is handled globally in style.css */
}

.educations-contents {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.educations-contents::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--brand-gradient);
    opacity: 0.3;
}

.academy {
    padding-left: 50px;
    position: relative;
}

.academy::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 10px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--background-color);
    z-index: 1;
    box-shadow: 0 0 10px var(--primary-color);
}

.academy-content {
    background: var(--card-background); /* Optimized for performance */
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.academy-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.academy-content h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.academy-content h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.academy-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .educations-contents {
        padding-left: 1rem;
    }
}
