/* Certifications slider - custom CSS (style.css format) */

.certifications-slider-section {
    padding: 60px 0;
    background: var(--light, #fafafa);
}

.certifications-slider-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.certifications-slider-header {
    text-align: center;
    margin-bottom: 40px;
}

.certifications-slider-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--gray-800, #333);
    margin-bottom: 8px;
}

.certifications-slider-header p {
    font-size: 1rem;
    color: var(--gray-600, #666);
}

.certifications-slider-track {
    display: flex;
    align-items: center;
    gap: 32px;
    overflow-x: auto;
    padding: 16px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.certifications-slider-track::-webkit-scrollbar {
    height: 6px;
}

.certifications-slider-track::-webkit-scrollbar-thumb {
    background: var(--gray-300, #ccc);
    border-radius: 3px;
}

.cert-slide-item {
    flex: 0 0 auto;
    width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: var(--radius-md, 8px);
    border: 1px solid var(--gray-200, #e5e5e5);
    padding: 12px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cert-slide-item:hover {
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.08));
    border-color: var(--primary, #1428A0);
}

.cert-slide-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 767px) {
    .certifications-slider-section {
        padding: 40px 0;
    }
    .cert-slide-item {
        width: 120px;
        height: 70px;
    }
}
