/* service 2 start  ---------------------------------- */
.service-list {
    position: relative;
    height: 636px;
    border-radius: 24px;
    z-index: 2;
    -webkit-transition: 0.7s ease-in-out;
    transition: 0.7s ease-in-out;
    cursor: pointer;
    overflow: hidden;
    /* Medium devices */
}

@media (max-width: 991px) {
    .service-list {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        max-height: 160px;
    }
}

.service-list:before {
    content: "";
    position: absolute;
    inset: 0;
    background: -webkit-linear-gradient(top, rgba(11, 20, 34, 0) 0%, #0b1422 100%), url("path_to_image");
    background: linear-gradient(180deg, rgba(11, 20, 34, 0) 0%, #0b1422 100%), url("path_to_image");
    border-radius: 24px;
    z-index: -1;
}

.service-list-area {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 24px;
    /* Medium devices */
}

@media (max-width: 991px) {
    .service-list-area {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

.service-list .service-content {
    /* Large devices */
    /* Medium devices */
}

@media (max-width: 1199px) {
    .service-list .service-content {
        bottom: 18%;
        left: 20px;
    }
}

@media (max-width: 991px) {
    .service-list .service-content {
        left: 20px;
        bottom: 25%;
    }
}

.service-list .service-content.g4-content {
    width: 88%;
    opacity: 0;
    visibility: hidden;
    bottom: 40px;
    left: -100px;
    right: 40px;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    /* Extra small devices */
}

@media (max-width: 575px) {
    .service-list .service-content.g4-content {
        left: 20px;
        right: 20px;
    }
}

.service-list-wrap {
    -webkit-box-flex: 100%;
    -webkit-flex: 100%;
    -ms-flex: 100%;
    flex: 100%;
    box-sizing: border-box;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.service-list-wrap.style2.active {
    -webkit-box-flex: 205%;
    -webkit-flex: 205%;
    -ms-flex: 205%;
    flex: 205%;
}

.service-list-wrap.style3 .service-list:before {
    content: "";
    position: absolute;
    inset: 0;
    background: -webkit-linear-gradient(top, rgba(17, 61, 72, 0) 0%, rgba(3, 12, 14, 0.480252) 54.5%, rgba(0, 0, 0, 0.6) 79.33%);
    background: linear-gradient(180deg, rgba(17, 61, 72, 0) 0%, rgba(3, 12, 14, 0.480252) 54.5%, rgba(0, 0, 0, 0.6) 79.33%);
    border-radius: 24px;
    z-index: -1;
}

.service-list-wrap.style3 .service-content {
    opacity: 0;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    bottom: -30px;
    left: 40px;
    /* Large devices */
}

@media (max-width: 1199px) {
    .service-list-wrap.style3 .service-content {
        left: 20px;
        bottom: -20px;
    }
}

.service-list-wrap.style3 .service-subtitle {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #F8BC22;
    display: block;
    margin-bottom: 10px;
}

.service-list-wrap.style3 .icon-btn {
    background-color: transparent;
    border: none;
    font-size: 18px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border: 1px solid #fff;
    border-radius: 50%;
    color: #fff;
    position: absolute;
    right: 24px;
    top: 24px;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.service-list-wrap.style3 .icon-btn:hover {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.service-list-wrap.style3.active .service-content {
    opacity: 1;
}

.service-list-wrap.style3.active .icon-btn {
    opacity: 1;
    visibility: visible;
}

.service-list-wrap.active {
    -webkit-box-flex: 324%;
    -webkit-flex: 324%;
    -ms-flex: 324%;
    flex: 324%;
    /* Large devices */
}

@media (max-width: 1199px) {
    .service-list-wrap.active {
        max-width: 100%;
    }
}

.service-list-wrap.active .service-list {
    /* Medium devices */
}

@media (max-width: 991px) {
    .service-list-wrap.active .service-list {
        max-height: 345px;
    }
}

.service-list-wrap.active .th-btn {
    opacity: 1;
    visibility: visible;
}

.service-list-wrap.active .case-action.g4-bgn {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.service-list-wrap.active .box-content {
    visibility: visible;
    opacity: 1;
    width: 100%;
    max-height: 325px;
}

.service-list-wrap.active .service-icon {
    top: 61%;
    /* Large devices */
    /* Medium devices */
}

@media (max-width: 1199px) {
    .service-list-wrap.active .service-icon {
        top: 50%;
    }
}

@media (max-width: 991px) {
    .service-list-wrap.active .service-icon {
        top: 10%;
        opacity: 1;
        visibility: visible;
    }
}

.service-list-wrap.active .service-content {
    left: 40px;
    bottom: 40px;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    /* Large devices */
}

@media (max-width: 1199px) {
    .service-list-wrap.active .service-content {
        left: 20px;
        bottom: 20px;
    }
}

.service-list-wrap.active .g4-content {
    opacity: 1;
    visibility: visible;
    left: 40px;
    /* Large devices */
}

@media (max-width: 1199px) {
    .service-list-wrap.active .g4-content {
        left: 20px;
    }
}

.service-list-wrap.sv-list2.active .service-content {
    /* Large devices */
}

@media (max-width: 1199px) {
    .service-list-wrap.sv-list2.active .service-content {
        left: 20px;
        bottom: 90px;
    }
}

.service-list .service-icon {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 24px;
    left: 35px;
    text-align: center;
    line-height: 100px;
    display: inline-block;
    background-color: #fff;
    border-radius: 50%;
    -webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
    /* Large devices */
    /* Medium devices */
}

@media (max-width: 1199px) {
    .service-list .service-icon {
        left: 20px;
    }
}

@media (max-width: 991px) {
    .service-list .service-icon {
        opacity: 0;
        visibility: hidden;
    }
}

.service-list .service-content {
    position: absolute;
    width: 335px;
    right: -50px;
    left: auto;
    bottom: 157px;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
    /* Medium Large devices */
    /* Large devices */
    /* Medium devices */
    /* Extra small devices */
}

@media (max-width: 1299px) {
    .service-list .service-content {
        width: 290px;
    }
}

@media (max-width: 1199px) {
    .service-list .service-content {
        right: -53%;
    }
}

@media (max-width: 991px) {
    .service-list .service-content {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 375px) {
    .service-list .service-content {
        width: 250px;
    }
}

.service-list .box-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 40px;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 0;
    /* Extra small devices */
}

@media (max-width: 375px) {
    .service-list .box-title {
        font-size: 18px;
        line-height: 28px;
    }
}

.service-list .service-subtitle {
    color: #fff;
}

.service-list .th-btn {
    position: absolute;
    right: 40px;
    bottom: 40px;
    padding: 10px 30px;
    opacity: 0;
    visibility: hidden;
    /* Large devices */
}

@media (max-width: 1199px) {
    .service-list .th-btn {
        right: 20px;
        bottom: 20px;
        padding: 10px 20px;
    }
}

.service-list .box-icon {
    padding: 30px 40px;
    border-bottom: 3px solid #fff;
}

.service-list .box-content {
    visibility: hidden;
    opacity: 0;
    width: 100%;
    max-height: 0;
    padding: 30px 30px 40px 40px;
    overflow: hidden;
}

.service-title {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.02em;
    color: var(--theme-color);
}

.service-item {
    background-color: var(--smoke-color);
    border-radius: 16px;
    text-align: center;
}

.service-item_img {
    border-radius: 16px 16px 0px 0px;
    /* Medium devices */
}

@media (max-width: 991px) {
    .service-item_img {
        margin-bottom: 0;
    }
}

.service-item .service-content {
    padding: 30px 0 24px 0;
}

.service-item .box-title {
    color: #000;
    margin-bottom: 30px;
    /* Medium Large devices */
}

@media (max-width: 1399px) {
    .service-item .box-title {
        font-size: 20px;
    }
}

.service-item .service-text {
    color: #000;
    margin-bottom: 20px;
}

.service-item .th-btn {
    padding: 10px 25px;
    border: 1px solid var(--theme-color);
    font-weight: 500;
}

.service-item .th-btn:after {
    -webkit-mask-image: url("../img/icon/arrow-right2.svg");
    mask-image: url("../img/icon/arrow-right2.svg");
    width: 15px;
    height: 15px;
}

.service-item img {
    width: 100%;
}

.service-item2 {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.service-item2 .box-img {
    position: relative;
    border: 10px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    overflow: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    /* Medium devices */
}

@media (max-width: 991px) {
    .service-item2 .box-img {
        margin-bottom: 0;
    }
}

.service-item2 .box-img:before {
    content: "";
    position: absolute;
    inset: 0;
    background: -webkit-linear-gradient(top, rgba(4, 4, 4, 0) 44.5%, rgba(13, 13, 12, 0.6) 100%);
    background: linear-gradient(180deg, rgba(4, 4, 4, 0) 44.5%, rgba(13, 13, 12, 0.6) 100%);
    border-radius: 24px;
    z-index: 10;
}

.service-item2 .box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-item2 .box-content {
    position: absolute;
    left: 34px;
    bottom: 34px;
    z-index: 11;
}

.service-item2 .box-title {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
    /* Medium devices */
}

@media (max-width: 991px) {
    .service-item2 .box-title {
        font-size: 22px;
    }
}

.service-item2 .box-text {
    color: #fff;
    display: block;
}

.service-item2:hover .box-img {
    border-color: #fff;
}

.service-btn .th-btn {
    padding: 19px 30px;
}


.th-btn.style2 {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.th-btn.style2:hover {
    color: #0D0D0C;
    background-color: #fff;
    border: 1px solid #fff;
}

.th-btn.style2:hover:after {
    background-color: #0B1422;
}

.th-btn.style2:before {
    background-color: #fff;
}


.th-btn:before {
    content: '';
    width: 0;
    height: 100%;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: -5%;
    background-color: #0B1422;
    -webkit-transition: .5s ease;
    transition: .5s ease;
    display: block;
    z-index: -1;
}