/* ==========================================
   Education View Module Component Base
   ========================================== */
.education-content {
    width: 100%;
    position: relative;
    padding: 1rem 0;
}

.edu-heading {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.edu-heading span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.edu-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-alt);
    margin-bottom: 3.5rem;
}

/* Structural Bento Grid Alignment Matrix Layout */
.education-grid-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.edu-bento-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-plate-layer {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Card Asset Visual Blocks */
.edu-card-visual {
    height: 170px;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Hardware-Accelerated Circular Spinner Layer --- */
.edu-spinner-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.circular-loader {
    animation: rotateLoader 2s linear infinite;
    height: 36px;
    transform-origin: center center;
    width: 36px;
}

.loader-path {
    stroke: var(--accent-prime);
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: dashLoader 1.5s ease-in-out infinite;
    stroke-linecap: round;
}

@keyframes rotateLoader {
    100% { transform: rotate(360deg); }
}

@keyframes dashLoader {
    0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 89, 200; stroke-dashoffset: -35px; }
    100% { stroke-dasharray: 89, 200; stroke-dashoffset: -124px; }
}

/* Smooth Transition for Image Reveal */
.lazy-edu-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
    z-index: 2;
}

.lazy-edu-img.loading {
    opacity: 0;
}

/* Status Flags Configuration Parameters */
.status-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1.1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 4;
}

.status-indicator.ongoing {
    background: rgba(245, 158, 11, 0.15);
    color: #8a0091;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-indicator.completed {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Content Details Blocks */
.edu-card-details {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.edu-tier-badge {
    font-size: 0.8rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.6rem;
}

.edu-card-details h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.institution-name {
    font-size: 1rem;
    color: var(--text-alt);
    line-height: 1.4;
    margin-bottom: auto;
}

.edu-footer-meta {
    border-top: 1px solid var(--card-border);
    padding-top: 1.2rem;
    margin-top: 1.8rem;
}

.timeline-span {
    font-size: 0.9rem;
    color: var(--text-alt);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* Hover Physics System Tweaks */
.edu-bento-card:hover {
    transform: translateY(-6px);
}

.edu-bento-card:hover .glass-plate-layer {
    border-color: var(--accent-prime);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.edu-bento-card:hover .lazy-edu-img:not(.loading) {
    transform: scale(1.05);
}

/* Mobile Responsive Tweak Injections */
@media (max-width: 768px) {
    .edu-heading { font-size: 2.2rem; }
    .education-grid-matrix { grid-template-columns: 1fr; }
}