/* certificates.css */

.certificates-main {
    padding-top: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #64B2F4;
    margin-bottom: 1.5rem;
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: #333;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.certificates-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.certificate-card {
    flex-basis: calc(50% - 1rem);
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.certificate-icon {
    background-color: #64B2F4;
    padding: 2rem;
    text-align: center;
}

.icon-placeholder {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto;
}

.certificate-content {
    padding: 2rem;
}

.certificate-content h2 {
    font-size: 1.5rem;
    color: #64B2F4;
    margin-bottom: 0.5rem;
}

.certifying-entity {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.certificate-description {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.download-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #F5A664;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.download-button:hover {
    background-color: #e69354;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .certificates-container {
        flex-direction: column;
    }

    .certificate-card {
        flex-basis: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .certificate-content h2 {
        font-size: 1.3rem;
    }

    .certificate-description {
        font-size: 0.9rem;
    }
}

/* Animation for card entry */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.certificate-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.certificate-card:nth-child(2) {
    animation-delay: 0.2s;
}

/* Ensure consistency with other pages */
.cta-section,
.site-footer {
    margin-top: 4rem;
}