/* ==================================
   CERTIFICATIONS PAGE COMPONENTS
   ================================== */

/* Certificate Categories */
.cert-category {
    margin-bottom: 4rem;
}

.cert-category h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.cert-category h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

/* Certificate Grid */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.cert-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.cert-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cert-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.cert-details span {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
    background: #f9fafb;
    padding: 0.5rem;
    border-radius: 6px;
}

/* Certificate Lists */
.cert-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.cert-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #4b5563;
    font-weight: 500;
}

.cert-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color, #10b981);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Standards Grid */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.standard-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.standard-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.standard-item h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.standard-item p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* Future Certifications */
.future-certs {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.future-certs h2 {
    color: #475569;
    margin-bottom: 1.5rem;
}

.future-cert-info p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.contact-cta {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.contact-cta p {
    color: #374151;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cert-card {
        padding: 1.5rem;
    }
    
    .standards-grid {
        grid-template-columns: 1fr;
    }
    
    .future-certs {
        padding: 2rem 1rem;
    }
    
    .cert-category h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .cert-card {
        padding: 1rem;
    }
    
    .cert-icon {
        font-size: 2.5rem;
    }
    
    .contact-cta {
        padding: 1.5rem;
    }
}

/* Focus States */
.cert-card:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
