.certificates-block {
    padding: 90px 0;
    background: var(--bg_sec);
}

.certificates-block .swiper-wrapper{
    height: auto;
}

.certificates-block__title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 40px;
    font-weight: 700;
}

.certificate-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); */
    transition: transform 0.4s ease;
    /* height: 100%; */
    display: flex;
    flex-direction: column;
}

.certificate-card:hover {
    /* transform: translateY(-10px); */
}

.certificate-card__image {
    height: 320px;
    overflow: hidden;
    padding: 20px 0;
}

.certificate-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.certificate-card:hover img {
    transform: scale(1.05);
}

.certificate-card__content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.certificate-card__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #1a1a1a;
}

.certificate-card__desc {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.certificates-block__slider-controls{
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
    gap: 10px;
}

/* Адаптив */
@media (max-width: 768px) {
    .certificates-block {
        padding: 70px 0;
    }
    .certificates-block__title {
        font-size: 34px;
        margin-bottom: 40px;
    }
    .certificate-card__image {
        height: 260px;
    }
}
