/* Base styles */
.contact-sa .box {
    margin-top: 100px;
}

.services-cst {
    position: relative;
    margin: 15px;
    z-index: 3;
    background-color: var(--theme-color);
    color: var(--main-color);
    border-radius: 24px;
}

.services-cst .img-patern {
    position: absolute;
    bottom: 10%;
    left: -15%;
    width: 30%;
    filter: invert(1);
    opacity: 0.07;
    z-index: -1;
}

.services-cst .item {
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.4s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.services-cst .item h6 {
    font-size: 18px;
}

.services-cst .item .title {
    text-align: center;
    position: relative;
}

.services-cst .item .title h2 {
    font-size: 36px;
    font-weight: 400;
    white-space: nowrap;
    line-height: 1;
    letter-spacing: 1px;
}

.services-cst .item .title .list {
    opacity: 0;
    transition: all 0.2s;
}

.services-cst .item .title .list span {
    padding: 7px 12px;
    background: var(--main-color);
    border-radius: 30px;
    position: absolute;
    font-size: 14px;
    color: var(--theme-color);
    opacity: 0;
    transition: all 0.4s;
}

.services-cst .item .title .list span:nth-of-type(1) {
    top: 0;
    left: 15%;
    transform: translateY(-50%);
}

.services-cst .item .title .list span:nth-of-type(2) {
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(-50%);
    transition-delay: 0.2s;
}

.services-cst .item .title .list span:nth-of-type(3) {
    bottom: 0;
    right: 15%;
    transform: translateY(50%);
    transition-delay: 0.4s;
}

.services-cst .item .title .list span:nth-of-type(4) {
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(50%);
    transition-delay: 0.5s;
}

.services-cst .item p {
    opacity: 0;
    transition: all 0.4s;
}

.services-cst .item .icon {
    width: 45px;
    height: 45px;
    line-height: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    display: inline-block;
}

.services-cst .item .icon img {
    width: 30px;
    color: var(--main-color);
}

.services-cst .item:hover .title .list {
    opacity: 1;
}

.services-cst .item:hover .title .list span {
    opacity: 1;
}

.numbers-dm .item h2 {
    font-size: 120px;
    font-weight: 200;
}

.numbers-dm .item h2 span {
    font-size: 50px;
}

.numbers-dm .item h6 {
    font-size: 18px;
}


/* Responsive styles for max-width: 1280px */
@media (min-width: 768px) and (max-width: 1279px) {
    .contact-sa .box {
        margin-top: 80px;
    }

    .services-cst .img-patern {
        width: 28%;
        left: -14%;
    }

    .services-cst .item .title h2 {
        font-size: 33px;
    }

    .services-cst .item .title .list span {
        padding: 6px 11px;
        font-size: 13px;
    }

    .services-cst .item .icon {
        width: 42px;
        height: 42px;
        line-height: 37px;
    }

    .services-cst .item .icon img {
        width: 27px;
    }

    .numbers-dm .item h2 {
        font-size: 110px;
    }

    .numbers-dm .item h2 span {
        font-size: 45px;
    }
}


/* Responsive styles for max-width: 768px */
@media screen and (max-width: 767px) {
    .contact-sa .box {
        margin-top: 70px;
    }

    .services-cst .img-patern {
        width: 25%;
        left: -12%;
    }

    .services-cst .item .title h2 {
        font-size: 30px;
    }

    .services-cst .item .title .list span {
        padding: 6px 11px;
        font-size: 13px;
    }

    .services-cst .item .icon {
        width: 40px;
        height: 40px;
        line-height: 35px;
    }

    .services-cst .item .icon img {
        width: 25px;
    }

    .numbers-dm .item h2 {
        font-size: 100px;
    }

    .numbers-dm .item h2 span {
        font-size: 40px;
    }
}


/* Responsive styles for max-width: 480px */
@media screen and (max-width: 480px) {
    .contact-sa .box {
        margin-top: 50px;
    }

    .services-cst .section-padding {
        padding-top: 80px;
        padding-bottom: 90px;
    }

    .services-cst {
        margin: 10px;
        width: 95%;
    }

    .services-cst .img-patern {
        width: 20%;
        left: -10%;
    }

    .services-cst .item {
        padding: 15px 0;
        gap: 10px;
        overflow-x: auto;
    }

    .services-cst .item .title h2 {
        font-size: 24px;
    }

    .services-cst .item .title .list span {
        padding: 5px 10px;
        font-size: 12px;
    }

    .services-cst .item .icon {
        width: 35px;
        height: 35px;
        line-height: 30px;
    }

    .services-cst .item .icon img {
        width: 20px;
    }

    .numbers-dm .item h2 {
        font-size: 80px;
    }

    .numbers-dm .item h2 span {
        font-size: 30px;
    }
}
