
.about__container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}
.about__images {
    display: flex;
    justify-content: center;
    gap: 1rem;
    order: 2;
    width: 100%;
    max-height: 600px;
}
.about__img {
    position: relative;
    width: 100%;
    max-width: 398px;
    height: 0;
    padding-top: 86%;
    border-radius: var(--border-radius-small);
    overflow: hidden;
}


.about__img img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.about__img:first-child {
    margin-bottom: 3rem;
}
.about__img:last-child {
margin-top: 3rem;
}
.about__line {
    display: none;
}
.about__text {
    margin-bottom: 3rem;
}
.section__btn {
    margin: 0 auto;
}
.amounts__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 16px;
}
.amount {
    padding: 1rem;
    flex: 1 1 calc(50% - 0.5rem);
    display: flex;
    justify-content: center;
    
}
.amount__wrapper {
    width: fit-content;
    display: flex;
    flex-direction: column;
}
.amount__numb {
    font-family: 'Bruno Ace SC', sans-serif;
    font-size: 2.5rem;
    color: var(--color-primary);
}
.services__block {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    padding: 0;
}
.service {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56%;
    cursor: pointer;
    border: 1px solid var(--color-gray-5);
    border-radius: var(--border-radius-small);
}

.service__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    padding: 0 2rem;
    width: 100%;
    transition: all 0.6s;
}
.service__bg::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
}

.service__info {
    position: relative;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.service__top {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.service__icon {
    display: flex;
    justify-content: center;
    transform: translateX(-6px);
}
.service__title {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--color-title);
}
.service__arrow-top,
.service__arrow-bottom {
    height: 100%;
}

.service__arrow-top::after,
.service__arrow-bottom::after {
    content: '';
    position: relative;
    left: 0;
    display: block;
    width: 16px;
    height: 100%;
    border-left: 3px solid var(--color-gray-30);
    border-right: 2px solid var(--color-gray-30);
    z-index: 2;
    transition: all 0.6s;
}

.service:after {
    width: 0;
    opacity: 0;
    background: unset;
    transition: all 0.6s;
}

.service__text {
    display: none;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}
.service__btn {
    display: none;
    margin: unset;
}
.service:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 1; 
    transition: all 0.3s;
}
.service:hover:after {
    background: rgba(255, 255, 255, 0.2);
}

.section__slider .swiper-pagination-bullet {
    opacity: 1 !important;
    border-radius: 4px;
    width: 6px;
    height: 6px;
}
.section__slider .swiper-pagination-bullet-active {
    width: 20px;
}

.companies {
       background-color: rgba(230, 230, 230, 0.6);
   }
.companies__container {
    display: flex;
   flex-direction: column;
}
.companies__desc-left {
    background-color: var(--color-gray-5);
    padding: var(--section-bottom-space) 0;
}
.companies__logo-wrapper {
    display: flex;
    flex-direction: column;
    padding: calc(var(--section-bottom-space)/2) 0;
}
.companies__logo {
   padding: 1rem 0;
}

.company__logo {
    max-width: 280px;
    max-height: 100px;
    flex-shrink: 0;
}
.company__logo img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.companies__row {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.company__logo {
    filter: grayscale(100%) brightness(120%);
    transition: all 0.3s;
}
.company__logo-dark {
    filter: grayscale(100%) brightness(150%);
}
.company__logo:hover {
    filter: grayscale(0) brightness(100%);
}
.company__logo.sz {
    grid-area: sz;
    display: flex;
    align-items: center;
}
.company__logo.kharok {
    grid-area: kharok;
    max-width: 200px;
}
.company__logo.sofiamall {
    grid-area: sofiamall;
}
.company__logo.edelweiss {
    grid-area: edelweiss;
}
.company__logo.sofiamall img {
    height: 100px;
}
.company__logo.veles {
    grid-area: veles;
    background: #e1251b;
    padding: 10px 20px;
    border-radius: 4px;
    max-width: 170px;
    height: fit-content;
}
.company__logo.silpo {
    grid-area: silpo;
    max-width: 200px;
}
.company__logo.fora {
    grid-area: fora;
}
.company__logo.fourroom {
    grid-area: fourroom;
    display: flex;
    align-items: center;
}

@media screen and (min-width: 560px) {
        .about__images {
            padding: 0 2rem;
        }
    
}
@media screen and (min-width: 620px) {
    .amount {
        flex: 0 1 calc(100% / 3);
        justify-content: flex-start;
    }
    .services__block {
        grid-template-columns: repeat(2, 1fr);
    }
    .service {
        padding-top: 70%;
    }
    .service__bg {
        justify-content: start;
    }
}
@media screen and (min-width: 700px) {
    .about__img {
        padding-top: 68%;
    }
}
@media screen and (min-width: 768px) {
    .about__images {
        gap: 2rem;
    }
    .service {
        padding-top: 60%;
    }
}
@media screen and (min-width: 880px) {
    .about__container {
        flex-direction: row;
        gap: 2rem;
    }
    .amounts__container {
        width: 80%;
        margin: 0 auto;
    }
    .about__images {
        flex-basis: 49.3%;
        gap: 24px;
        padding: 0 0 0 2rem;
        order: 1;
    }
    .about__img {
        padding-top: 78%;
    }
    .about__line {
        display: block;
        width: 3px;
        background: var(--color-primary);
        margin: 0 4rem 0 4rem;
        order: 2;
    }
    .about__desc {
        flex: 0 0 40%;
        order: 3;
        padding-top: 2rem;
    }
    .section__btn {
        margin: 0;
    }
    .about__images {
        max-height: unset;
        padding: 0;
    }
    .service:after {
        background: rgba(255, 255, 255, 0.5);
    }
    .service__text {
        display: block;
    }
}
@media screen and (min-width: 1024px) {
    .about__container {
            gap: 3rem;
        }
    .projects__slider {
        padding-bottom: 20px;
    }

    .companies__container {
        flex-direction: row;
        align-items: center;
    }
    .companies__desc-left {
        flex-basis: 40%;
        flex-shrink: 0;
        display: flex;
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 32px;
        position: relative;
        z-index: 2;
    }
 
    .company__logo.kharok {
        max-width: 240px;
    }
}

@media screen and (min-width: 1200px) {
    .services__block {
            grid-template-columns: repeat(4, 1fr);
            padding: 0;
        }
    
        .service {
            padding-top: 150%;
        }
    
        .service__bg {
            justify-content: start;
            padding: 0 1rem 0 1.5rem;
        }
        .service__bg::before {
            background-color: rgba(255, 255, 255, 0.4);
            backdrop-filter: unset;
            -webkit-backdrop-filter: unset;            
        }
        .service__arrow-top {
            flex-basis: 12%;
            flex-shrink: 0;
            flex-grow: 0;
        }
    
        .service__title {
            font-size: 1rem;
        }
    
        .service__icon {
            display: none;
        }
    
        .service:hover:after {
            opacity: 1;
            width: 100%;
            background: rgba(255, 255, 255, 0.7);
        }
    
        .service:hover .service__arrow-top::after,
        .service:hover .service__arrow-bottom::after {
            position: absolute;
            top: 0;
            left: calc(100% - 1rem - 20px);
        }
    
        .service .service__info {
            position: relative;
            top: 0;
            width: calc(100% - 30px);
        }
    
        .service__text,
        .service__btn {
            display: none;
        }
    
        .service:hover .service__text {
            display: block;
            opacity: 1;
        }
    
        .service:hover .service__btn {
            display: flex;
            opacity: 1;
        }
    .service__text,
    .service__btn {
        display: none;
        opacity: 0;
        transition: all 0.6s;
    }
    .service__arrow-top {
        flex-basis: 20%;
    }
    .service__text {
        margin-bottom: 1rem;
        font-size: 0.875rem;
    }
    .service__title {
        font-size: 1rem;
    }
    .companies__row {
        gap: 4rem;
    }
    .section__slider .swiper-pagination-bullet {
        border-radius: 6px;
        width: 8px;
        height: 8px;
        background: var(--color-gray-20) !important;
    }
    .section__slider .swiper-pagination-bullet-active {
        width: 24px;
    }
  }
@media screen and (min-width: 1440px) {
    .about__container {
            gap: 4rem;
        }
    .about__img:first-child {
        margin-bottom: 5rem;
    }
    .about__img:last-child {
    margin-top: 5rem;
    }
    .about__line {
        margin: 0 6rem 3rem 6rem;
    }
    .service {
        padding-top: 130%;
    }
    .service__bg {
        padding: 0 1rem 0 2rem;
    }
    .service__text {
        font-size: 0.9rem;
    }
    .services__block {
       gap: 12px;
    }
     .service__arrow-top::after,
    .service__arrow-bottom::after {
        border-left: 3px solid var(--color-service-border);
        border-right: 2px solid var(--color-service-border);
    }
    
}
@media screen and (min-width: 1600px) {
    .service__title {
            font-size: 1.2rem;
        }
}
@media screen and (min-width: 1800px) {
    .service__title {
            font-size: 1.3rem;
        }
}
 @keyframes showBlock {
     0% {
         transform: translate(0, 50%) scale(0.7);
         opacity: 0;
     }
     100% {
        transform: translate(0, 50%) scale(1);
        opacity: 1;
     }
 }

 @media screen and (min-width: 1600px) {
     .service__text {
        font-size: 1rem;;
     }
}

