/* SECTION */
.education-section {
    padding: 40px 20px 10px;
    position: relative;
    overflow: hidden;
}

/* REMOVE RANDOM GREEN TITLE LINE */
.section-title::after {
    display: none !important;
}

/* BACKGROUND GLOW */
.bg-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(34,197,94,0.16), transparent 70%);
    filter: blur(95px);
    top: 18%;
    left: 32%;
    z-index: 0;
}



/* TITLE */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

/* TIMELINE */
.timeline {
    position: relative;
    padding-left: 40px;
}

/* VERTICAL LINE */
.timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255,255,255,0.14);
}

/* ITEM */
.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

/* DOT */
.timeline-dot {
    position: absolute;
    left: 11px;
    top: 15px;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(34,197,94,0.65);
}

/* CARD */
.education-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    transition: 0.3s ease;
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

/* HOVER */
.education-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34,197,94,0.5);
    box-shadow: 0 25px 70px rgba(34,197,94,0.2);
}

/* TOP */
.edu-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.edu-top img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
}

/* TEXT */
.edu-school {
    font-size: 14px;
    color: #94a3b8;
}

.edu-date {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}

.edu-desc {
    color: #cbd5f5;
    margin-bottom: 15px;
    line-height: 1.6;
}

.edu-points {
    padding-left: 18px;
}

.edu-points li {
    margin-bottom: 6px;
    font-size: 14px;
    color: #e2e8f0;
}

.highlight {
    color: #22c55e;
}

/* CERTIFICATIONS */
.certifications-section {
    padding: 10px 20px 100px;
    position: relative;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cert-card {
    display: block;
    text-decoration: none;
    color: white;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    transition: 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34,197,94,0.45);
    box-shadow: 0 24px 60px rgba(34,197,94,0.18);
}

.cert-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.cert-card p {
    font-size: 14px;
    color: #94a3b8;
}

/* POPUP */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 999;
}

.popup-overlay:target {
    opacity: 1;
    pointer-events: auto;
}

.popup-box {
    position: relative;
    width: min(900px, 90%);
    max-height: 90vh;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 18px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    overflow: auto;
}

.popup-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* CLOSE */
.close {
    position: absolute;
    top: 10px;
    right: 16px;
    text-decoration: none;
    font-size: 30px;
    color: white;
    z-index: 2;
}

.close:hover {
    color: #22c55e;
}

/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .timeline {
        padding-left: 25px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-dot {
        left: 3px;
    }

    .education-card {
        padding: 24px;
    }

    .section-title {
        font-size: 32px;
    }
}


.timeline-dot {
    display: none;
}


