/* Certificates Section */
#certificates {
    background: #ffffff;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

/* Background Pattern */
#certificates::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#e2e8f0 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    opacity: 0.4;
    z-index: 0;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.cert-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.cert-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.2);
}

.cert-card:hover::after {
    transform: scaleX(1);
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7fafc;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.cert-card:hover .cert-icon {
    background: var(--primary-gradient);
}

.cert-icon svg {
    width: 45px;
    height: 45px;
    fill: #4a5568;
    transition: all 0.4s ease;
}

.cert-card:hover .cert-icon svg {
    fill: white;
    transform: scale(1.1);
}

.cert-card h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cert-card p {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
}