/* certificates.css - Styles for certificate download section */
.certificates-section {
    background: linear-gradient(135deg, #fff6f6 0%, #fff7f0 100%);
    padding: 40px 0 60px 0;
    min-height: 100vh;
}
.certificates-header {
    text-align: center;
    margin-bottom: 32px;
}
.certificates-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 12px;
    color: #222;
}
.certificates-header .highlight {
    color: #ff4e50;
    background: linear-gradient(90deg, #ff4e50, #fc913a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.certificates-header p {
    font-size: 1.2rem;
    color: #444;
}
.certificates-search-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}
.cert-search-input {
    width: 400px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid #eee;
    font-size: 1rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(255, 78, 80, 0.05);
}
.cert-filter-select {
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid #eee;
    font-size: 1rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(252, 145, 58, 0.05);
}
.certificates-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}
.certificate-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(255, 78, 80, 0.08);
    padding: 28px 24px 24px 24px;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: box-shadow 0.2s;
}
.certificate-card:hover {
    box-shadow: 0 8px 32px rgba(252, 145, 58, 0.15);
}
.cert-icon {
    background: linear-gradient(135deg, #ff4e50 0%, #fc913a 100%);
    color: #fff;
    border-radius: 12px;
    padding: 10px;
    font-size: 1.6rem;
    margin-bottom: 8px;
    display: inline-block;
}
.cert-type {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    background: #ffe5e5;
    color: #ff4e50;
    box-shadow: 0 2px 8px rgba(255, 78, 80, 0.08);
}
.cert-type.professional {
    background: #ffe5f7;
    color: #d72660;
}
.cert-type.specialization {
    background: #fff3e5;
    color: #fc913a;
}
.cert-type.leadership {
    background: #e5f7ff;
    color: #2a9d8f;
}
.cert-type.technical {
    background: #f3e5ff;
    color: #6c63ff;
}
.cert-type.security {
    background: #e5ffe5;
    color: #43aa8b;
}
.certificate-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 12px 0 8px 0;
    color: #222;
}
.certificate-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 16px;
}
.cert-details {
    font-size: 0.98rem;
    color: #888;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.download-btn {
    background: linear-gradient(90deg, #ff4e50 0%, #fc913a 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 0;
    width: 100%;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 78, 80, 0.08);
    transition: background 0.2s;
}
.download-btn:hover {
    background: linear-gradient(90deg, #fc913a 0%, #ff4e50 100%);
}
@media (max-width: 900px) {
    .certificates-list {
        flex-direction: column;
        align-items: center;
    }
    .certificate-card {
        width: 90vw;
        max-width: 350px;
    }
    .certificates-search-bar {
        flex-direction: column;
        gap: 10px;
    }
    .cert-search-input {
        width: 90vw;
        max-width: 400px;
    }
}
