.swiper-a:hover .ri-arrow-right-line {
    animation: right 0.3s ease-out forwards;
}

@keyframes right {
    0% {
        margin-left: 0px;
    }

    100% {
        margin-left: 10px;
    }

}

.swiper-btn-container {
    width: 80%;
    margin: 0 auto 30px;
}

.swiper-btn-container #carousel-box-2 {
    margin: 0 20px;
}

.carousel-item h1 {
    line-height: 1.2;
}

.psc-container h1 {
    line-height: 1.2;
}

.about-bg {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-bg::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    left: 0px;
    top: 50%;
    z-index: 9;
    background: linear-gradient(to right, #022e4f, #041523);

}

.about-container {
    position: relative;
    z-index: 99;
}

.card {
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    position: relative;
    background-size: cover;
    background-position: center;
    backface-visibility: hidden;
    will-change: transform;
}


.card1 {
    background-image: linear-gradient(165deg, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0.1) 80%), url("../images/card1.jpg")
}

.card2 {
    background-image: linear-gradient(165deg, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0.1) 80%), url("../images/card2.jpg")
}

.card3 {
    background-image: linear-gradient(165deg, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0.1) 80%), url("../images/card3.jpg")
}

.card:hover::before {
    opacity: 0;
}

.card:hover {
    background-image: none;
    background-color: #fff;
    box-shadow: 0px 0 5px rgba(0, 0, 0, 0.3);
}

.card:hover h5 {
    color: #003763;
}

.card:hover .category {
    display: none;
}

.learn-more-btn {
    margin-top: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
}

.learn-more-btn p {
    display: block;
    width: 100%;
}

.learn-more-btn img {
    width: 41px;
    height: 41px;
}

.card:hover .learn-more-btn {
    opacity: 1;
    transform: translateY(0);
}

.servers-bg {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #022e4f, #041523);
}


.swiper-slide .swiper-bg {
    width: 100%;
    height: 400px;
    object-fit: cover;


}

.swiper-slide::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(201deg,
            rgba(0, 0, 0, .071) 36.59%,
            rgba(0, 0, 0, .702) 79.92%);
    transition: opacity .5s ease-out;
    z-index: 9;
    opacity: 0;
}

.swiper-slide:hover::before {
    opacity: 1;
}

.swiper-content {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(201deg, rgba(0, 0, 0, .071) 36.59%, rgba(0, 0, 0, .702) 79.92%);
    display: flex;
    align-items: flex-end;
    padding: 40px 20px;
    z-index: 99;
}

.swiper-text {
    text-align: left;
    width: calc(100% - 100px);
}

.swiper-right {
    width: 41px;
    height: 41px;
    position: absolute;
    right: 40px;
    bottom: -40px;
    opacity: 0;
}



.swiper-slide-next::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    height: 3px;
    width: 100%;
    background-color: #e1523d;
    animation: swiper 4s ease-in-out forwards;
    z-index: 999;
}

.swiper-slide-next:hover .swiper-right {
    animation: swiperRight 0.3s ease-out forwards;
}

@keyframes swiperRight {
    0% {
        bottom: 0px;
        opacity: 0;
    }

    100% {
        bottom: 40px;
        opacity: 1;
    }

}

@keyframes swiper {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.swiper-bottom {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 50px;
}

.swiper-pagination {
    position: relative !important;
    text-align: left !important;
}

.swiper-btn {
    display: flex;
}

.swiper-prev {
    margin-right: 20px;
}


.news-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.expertise-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s ease-out;
    margin-right: 10px;
}

.expertise-item.show {
    opacity: 1;
    transform: translateY(0);
}

.news-item::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0px;
    height: 3px;
    width: 0%;
    background-color: #e1523d;
    z-index: 9;
}

.news-title {
    overflow: hidden;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    display: -webkit-box;
}

.new-content {
    overflow: hidden;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    display: none;
}

.news-right {
    width: 41px;
    height: 41px;
    position: absolute;
    left: 20px;
    bottom: -40px;
}


.news-item:hover .new-content {
    display: -webkit-box;
}

.news-item:hover .news-img {
    animation: img 0.3s ease-out forwards;
}

.news-item:hover .news-right {
    animation: newsRight 0.3s ease-out forwards;
}

.news-item:hover::after {
    animation: newsAfter 2s ease-in-out forwards;
}

@keyframes img {
    0% {
        opacity: 1;
        display: none;
    }

    100% {
        opacity: 0;
        display: none;

    }
}

@keyframes newsRight {
    0% {
        bottom: -40px;
        opacity: 0;
        display: none;
    }

    100% {
        bottom: 40px;
        opacity: 1;
        display: block;
    }
}

@keyframes newsAfter {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.contact-btn {
    display: inline-block;
    background-color: #d43821;
    width: 210px;
}

.contact-btn:hover .ri-arrow-right-line {
    animation: right 0.3s ease-out forwards;
}

.offer-a:hover .ri-arrow-right-line {
    animation: right 0.3s ease-out forwards;
}




@media screen and (min-width: 980px) {
    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
        transition: 300ms;
        transform: scale(0.8);
    }

    .swiper-slide-next {
        transform: scale(1.1);
        position: relative;
    }
}

@media screen and (max-width: 980px) {
    .carousel-box {
        display: none;
    }

    .carousel-box.active {
        width: 100% !important;
        margin: 0 auto 30px;
    }

    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
        transition: 300ms;
        transform: scale(0.8);
    }

    .swiper-slide-active {
        transform: scale(1.1);
        position: relative;
    }
}