:root {
    --brand-blue: #003366;
    --brand-green: #28a745;
    --text-gray: #666;
    --bg-light: #f8f9fa;
}

.certificate-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.certificate-section-title h2 {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 10px;
}

.certificate-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 50px 50px 50px;
    box-sizing: border-box;
}

.swiper-certificates {
    width: 100%;
    padding: 20px 0 50px 0;
}

.certificate-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    box-sizing: border-box;
    margin: 10px;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.certificate-icon {
    font-size: 40px;
    color: var(--brand-green);
    margin-bottom: 20px;
}

.certificate-title {
    font-size: 1.25rem;
    color: var(--brand-blue);
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.certificate-count {
    background: var(--brand-green);
    color: #fff;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 10px;
}

.certificate-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    min-height: 60px;
}

.certificate-gallery {
    margin-bottom: 20px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
}

.certificate-thumb {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.certificate-view-all {
    background-color: var(--brand-blue);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.certificate-view-all:hover {
    background-color: #002244;
}

.swiper-pagination-bullet-active {
    background: var(--brand-green) !important;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--brand-blue) !important;
    background: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .certificate-container {
        padding: 0 20px 50px 20px;
    }
}
