/* ============================================
   FOOTER CERTIFICATIONS COMPONENT
   ============================================ */

/* Certification link styling */
.certification-link {
    display: inline-block;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin-bottom: var(--space-lg);
}

.certification-link:hover {
    transform: scale(1.02);
}

.certification-image {
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.certification-link:hover .certification-image {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.certification-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-lg);
}

.certification-link:hover .certification-overlay {
    opacity: 0.9;
}

.certification-icon {
    font-size: 1.5rem;
    color: var(--white);
    margin-right: var(--space-xs);
}

.certification-text {
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Container for certification (Legacy, can be removed if unused) */
.certification-container {
    position: relative;
    display: inline-block;
    width: auto;
    height: auto;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .certification-image {
        max-height: 100px; /* Limit height on mobile to prevent huge images */
    }

    .certification-text {
        font-size: var(--text-xs);
    }

    .certification-icon {
        font-size: 1.2rem;
    }
}