.cert-section {
    max-width: 1100px;
    margin: auto;
}

.category-title {
    margin-top: 40px;
    font-size: 1.5rem;
    /**border-left: 4px solid #2563eb;**/
    padding-left: 10px;
    color: #111;
}

.cert-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    margin-bottom: 15px;
}

.cert-logo img {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

/* Card */
.cert-card {
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.cert-card:hover {
    transform: translateY(-5px);
}

.cert-title {
    font-weight: bold;
    margin-bottom: 6px;
    text-align: center;
}

.cert-meta {
    font-size: 1.2rem;
    color: #666;
}

/* Button */
.cert-btn {
    display: block;
    margin: 30px auto;
    background: black;
    color: #B8962E;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Hidden */
.hidden {
    display: none;
}




:root{
    --primary:#B8962E;
    --primary-light:rgba(184,150,46,.15);

    --bg:#ffffff;
    --card:#fcfaf3;
    --card-hover:#fffdf8;

    --title:#222;
    --text:#555;
    --muted:#777;

    --border:#ece5d0;
    --line:#ddd;
}

/**{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:var(--bg);
    color:var(--text);
}*/

.timeline-section{
    max-width:900px;
    margin:80px auto;
    padding:0 20px;
}

.timeline-title{
    text-align:center;
    font-size:2.5rem;
    color:var(--title);
    margin-bottom:60px;
    position:relative;
}

.timeline-title::after{
    content:"";
    width:70px;
    height:4px;
    background:var(--primary);
    display:block;
    margin:15px auto 0;
    border-radius:50px;
}

/* Section Heading */

.timeline-heading{
    font-size:1.6rem;
    color:var(--primary);
    font-weight:700;
    margin-bottom:35px;
    display:flex;
    align-items:center;
    gap:12px;
}

.timeline-heading::before{
    content:"";
    width:16px;
    height:16px;
    border-radius:50%;
    background:var(--primary);
}

/* Timeline */

.timeline_1{
    position:relative;
    margin-left:20px;
    padding-left:40px;
}

.timeline_1::before{
    content:"";
    position:absolute;
    top:0;
    left:8px;
    width:3px;
    height:100%;
    background:var(--line);
}

.timeline-item{
    position:relative;
    margin-bottom:35px;
}

.timeline-item:last-child{
    margin-bottom:0;
}

.timeline-dot{
    position:absolute;
    left:-40px;
    top:25px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:var(--primary);
    border:4px solid #fff;
    box-shadow:0 0 0 3px var(--primary-light);
}

.timeline-card{
    background:var(--card);
    border:1px solid var(--border);
    border-left:5px solid var(--primary);
    border-radius:14px;
    padding:22px 24px;
    transition:.35s ease;
}

.timeline-card:hover{
    transform:translateY(-5px);
    background:var(--card-hover);
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.timeline-date{
    font-size:.9rem;
    font-weight:600;
    color:var(--primary);
    margin-bottom:8px;
}

.timeline-company{
    font-size:1.25rem;
    color:var(--title);
    margin-bottom:6px;
}

.timeline-role{
    color:var(--muted);
    font-weight:600;
    margin-bottom:12px;
}

.timeline-desc{
    color:var(--text);
    line-height:1.7;
}

.timeline-desc a{
    color:var(--primary);
    text-decoration:none;
}

.timeline-desc a:hover{
    text-decoration:underline;
}

/* Space between sections */

.timeline-group{
    margin-bottom:70px;
}

/* Mobile */

@media (max-width:768px){

    .timeline-title{
        font-size:2rem;
    }

    .timeline-heading{
        font-size:1.35rem;
    }

    .timeline_1{
        margin-left:0;
        padding-left:30px;
    }

    .timeline_1::before{
        left:6px;
    }

    .timeline-dot{
        left:-30px;
        width:16px;
        height:16px;
    }

    .timeline-card{
        padding:18px;
    }

}