/* ===== SPACING UTILITIES ===== */
.p-4 { padding: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-0 { margin-bottom: 0; }
.pb-3 { padding-bottom: 1rem; }

/* ===== TEXT UTILITIES ===== */
.fw-bold { font-weight: 700; }
.text-dark { color: #212529; }
.text-secondary { color: #6c757d; }

/* ===== MAIN CONTAINER ===== */
/* .main-content-hero {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
} */

/* ===== SECTION HEADER ===== */
.section-header {
    border-bottom: 1px solid #e9ecef;
}

.border-bottom {
    border-bottom: 1px solid #dee2e6;
}

/* ===== TIMELINE STRUCTURE ===== */
.timeline-wrapper {
    position: relative;
    padding: 10px 0;
    margin-left: 20px;
    border-left: 1px solid #dee2e6;
}

.timeline-block {
    position: relative;
    padding-left: 35px;
    margin-bottom: 45px;
    transition: all 0.3s ease;
}

.timeline-block:last-child {
    margin-bottom: 0;
}

/* ===== DIAMOND MARKER ===== */
.timeline-marker-diamond {
    position: absolute;
    left: -8.5px;
    top: 5px;
    width: 16px;
    height: 16px;
    background-color: #ffffff;
    border: 2px solid #adb5bd;
    transform: rotate(45deg);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

.timeline-block:hover .timeline-marker-diamond {
    background-color: #212529;
    border-color: #212529;
    transform: rotate(45deg) scale(1.2);
}

/* ===== TIMELINE CONTENT ===== */
.timeline-info { }

.timeline-date {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #adb5bd;
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 4px;
}

.timeline-org {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #495057;
    text-align: justify;
}

/* ===== ICON BASE ===== */
.bi {
    display: inline-block;
    vertical-align: middle;
    font-style: normal;
}

/* Simple dot replacement */
.bi-dot::before {
    content: "•";
    margin-right: 6px;
}

.cert-img-container {
    width: 100px;
    height: 60px;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 5px;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
}




/* Layout logo + contenuto */
.timeline-info {
    gap: 20px;
    align-items: flex-start;
}

/* Wrapper logo */
.timeline-logo-wrapper {
    flex-shrink: 0;
}

/* Logo aziendale */
.timeline-logo {
    object-fit: contain;
    filter: grayscale(10%);
    transition: transform 0.2s ease, filter 0.2s ease;

    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Effetto hover elegante */
.timeline-block:hover .timeline-logo {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Contenuto testuale */
.timeline-content {
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {

    .timeline-info {
        flex-direction: column;
    }

    .timeline-logo {
        margin-bottom: 10px;
    }
}