.about-main-block .about-gallery {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    max-width: 99.1vw;
    margin: 0 auto;
}
.about-main-block .gallery-img {
    width: 100%;
    height: auto;
    max-height: 455px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.about-main-block .gallery-img:before {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    transition: 0.5s;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.25);
    background-image: url(images/loopBig.png);
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}
.about-main-block .gallery-img:hover:before {
    opacity: 1;
}
.about-main-block .gallery-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1/1;
}
.about-main-block .main-wrapper {
    margin-bottom: 30px;
}
.about-main-block .wrapper {
    display: flex;
    gap: 30px;
}
.about-main-block .left-side {
    width: 50%;
    display: flex;
    flex-direction: column;
}
.about-main-block .left-side .btn {
    margin-top: 30px;
}
.about-main-block .certs-holder {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 50%;
}
.about-main-block .certs {
    width: calc(100% - 90px);
}
.about-main-block .nav-btns {
    flex-direction: column;
    gap: 10px;
}
.about-main-block .cert-item {
    min-height: 360px;
    max-height: 360px;
    display: flex;
    height: 100%;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}
.about-main-block .cert-item:before {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    transition: 0.5s;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.25);
    background-image: url(images/loopBig.png);
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}
.about-main-block .cert-item:hover:before {
    opacity: 1;
}
.about-main-block .swiper-slide {
    height: auto;
}
.about-main-block .cert-img {
    width: 100%;
    height: 100%;
    display: flex;
}
.about-main-block .cert-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.about-main-block .cert-name {
    transition: 0.5s;
    opacity: 0;
    position: absolute;
    width: calc(100% - 40px);
    bottom: 20px;
    left: 20px;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.02em;
    color: var(--background);
}
.about-main-block .cert-item:hover .cert-name {
    opacity: 1;
}
.about-main-block .second-wrapper {
    margin-top: 40px;
}
.about-main-block .achives {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.about-main-block .achive-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    border-left: 1px solid var(--stroke);
    max-width: calc((100% - 20px) / 3);
    flex-grow: 1;
}
.about-main-block .achive-value {
    font-weight: 600;
    font-size: 35px;
    line-height: 125%;
    color: var(--hover);
}
.about-main-block .achive-name {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.02em;
    color: var(--main-text-primary);
}


@media (max-width: 1600px) {
    .about-main-block .achive-item {
        padding: 10px;
        gap: 10px;
    }
}

@media (max-width: 1400px) {
    .about-main-block .achive-value {
        font-size: 24px;
    }
    .about-main-block .achive-name {
        font-size: 14px;
    }
    .about-main-block .about-gallery {
        gap: 10px;
    }
    .about-main-block .second-wrapper {
        margin-top: 10px;
    }
}

@media (max-width: 1200px) {
    .about-main-block .certs {
        width: calc(100% - 70px);
    }
    .about-main-block .cert-item {
        min-height: unset;
    }
}

@media (max-width: 996px) {
    .about-main-block .certs-holder {
        gap: 10px;
    }
    .about-main-block .certs {
        width: calc(100% - 50px);
    }
    .about-main-block .achive-item {
        flex-direction: column;
        gap: 3px;
        align-items: flex-start;
    }
    .about-main-block .left-side .btn {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .about-main-block .about-gallery {
        grid-template-columns: repeat(2,1fr);
    }
    .about-main-block .wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .about-main-block .left-side {
        width: 100%;
    }
    .about-main-block .certs-holder {
        width: 100%;
    }
    .about-main-block .achives {
        gap: unset;
    }
}

@media (max-width: 600px) {
    .about-main-block .achives {
        display: flex;
        flex-wrap: wrap;
    }
    .about-main-block .achive-item {
        max-width: unset;
        width: calc(100% / 2);
        flex-grow: 1;
    }
}


@media (max-width: 400px) {
    .about-main-block .achives {
        flex-direction: column;
    }
    .about-main-block .achive-item {
        width: 100%;
    }
}