/* Certifications Page Styling */

.cert-hero {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(59, 130, 246, 0.95) 100%), url('/assets/images/hero-banner.webp') center/cover;
    padding: 6rem 1rem;
    text-align: center;
    color: white;
}

.cert-hero h1 {
    color: white;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.cert-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.cert-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.cert-hero .breadcrumb a:hover {
    color: white;
}

.cert-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.cert-grid-section {
    padding: 5rem 1.5rem;
    background: var(--bg-secondary);
}

.cert-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.cert-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.cert-intro h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.cert-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.cert-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-secondary);
}

.cert-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bg-tertiary), #e2e8f0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 3px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cert-initials {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

.cert-img-wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.cert-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cert-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.cert-meta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    padding: 0.75rem 0;
    border-top: 1px dashed var(--border-color);
}

.cert-label {
    color: var(--text-muted);
    font-weight: 500;
}

.cert-value {
    color: var(--accent-primary);
    font-weight: 600;
    font-family: var(--font-mono);
}

.cert-cta {
    padding: 4rem 1.5rem;
    background: white;
    border-top: 1px solid var(--border-color);
}