.text-neutral-500{
    color: #868686;
}

.text-neutral-300{
    color: #B2B2B2;
}

.text-neutral-100{
    color: #DFDFDF;
}

.text-light-blue {
    color: #249FF4;
}

.text-blue-300{
    color: #6F96BF;
}


.gallery-slider {
    display: flex;
    overflow: hidden;
    mask: linear-gradient(to left, transparent 0%, black 20%, black 80%, transparent 100%);

    .hori-column {
        display: flex;
        width: 200%;
        gap: 16px;
        --animation: slide;
        animation: var(--animation, none) 16s infinite linear;
        --direction: -50%;

        img, a {
            transition: all .2s ease;
        }

        .img-gallery {
            width: 550px;
            height: 386px;
            flex-shrink: 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            border-radius: 16px;
        }
    }
}

@-webkit-keyframes slide {
    to {
        -webkit-transform: translateX(var(--direction, -50%));
        transform: translateX(var(--direction, -50%));
    }
}
@keyframes slide {
    to {
      -webkit-transform: translateX(var(--direction, -50%));
      transform: translateX(var(--direction, -50%));
    }
}

/* sect 2 -advantages */
.sect-desc{
    font-family: "Lexend", sans-serif;
}

.advantages{
    background: linear-gradient(180deg, #EDF6FE 0%, #FFFFFF 30%);

    .card{
        border: 2px solid #E2EEFF;
        border-radius: 10px;
        background-color: #F1F9FF;

        &:hover{
            .card-text {
                -webkit-line-clamp: unset;
                max-height: 10em;
            }

            .card-text-content{
                padding-top: 120px;
                background: #F1F9FF;
                background: linear-gradient(180deg, rgba(241, 249, 255, 0) 0%, rgba(241, 249, 255, 1) 35%, rgba(241, 249, 255, 1) 100%);
            }
        }

        .card-content{
            @media (min-width: 1400px) {
                height: 420px;
            }
        }

        .card-text-content{
            position: absolute;
            bottom: 32px;
            left: 0;
            right: 0;
            padding: 24px 32px 0;
            transition: all .3s ease-in-out;

            gap: 8px;
            display: flex;
            flex-direction: column;
        }

        .card-title{
            font-family: "Lexend";
            font-weight: 700;
            font-style: Bold;
            font-size: 32px;
            leading-trim: NONE;
            line-height: 1.3;
            letter-spacing: 1%;
            vertical-align: middle;
            color: #17436B;
            margin-bottom: 0;
        }

        .card-subtitle{
            font-family: "Lexend";
            font-weight: 700;
            font-style: Bold;
            font-size: 20px;
            leading-trim: NONE;
            line-height: 1.5;
            letter-spacing: 0%;
            vertical-align: middle;
            color: #474747;
            margin-bottom: 0;
        }

        .card-text{
            font-family: "Lexend";
            font-weight: 400;
            font-style: Regular;
            font-size: 16px;
            leading-trim: NONE;
            line-height: 1.5;
            letter-spacing: 0%;
            vertical-align: middle;
            color: #868686;
            margin-bottom: 0;

            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;  
            -webkit-box-orient: vertical;

            max-height: 3em; /* ~2 lines at 1.5 line-height */
            transition: max-height .3s ease-in-out;
        }

        .img-card{
            position: absolute;
        }

        .img-card.--1a{
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgb(0 0 0 / 20%));
            mask-repeat: no-repeat;
            mask-size: 100% 55%;
        }

        .img-card.--1b{
            top: 190px;
            left: 50%;
            transform: translateX(-50%);
        }

        .img-card.--2a{
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgb(0 0 0 / 20%));
            mask-repeat: no-repeat;
            mask-size: 100% 55%;
        }

        .img-card.--2b{
            top: 100px;
            left: 50%;
            transform: translateX(-45%);
            width: 370px;
        }

        .img-card.--3a{
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgb(0 0 0 / 0));
            mask-repeat: no-repeat;
            mask-size: 100% 75%;
            width: 300px;
        }

        .img-card.--3b{
            top: 50px;
            left: 50%;
            transform: translateX(-50%);
            width: 400px;
        }
    }
}

/* sect 3 */
.bg-dark-blue {
    background: linear-gradient(180deg, #0E295D 0%, #0A1D39 74.38%);
    overflow-x: hidden;
}

h3{
    color: #FAFAFA;
    font-family: "Lexend";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.2px;
}

.video{
    h3{margin-left: -0.7rem;}
}

.img-video{
    width: 50px;
    height: auto;
    position: absolute;
    left: 50%;
    top: -150px;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
}

.video-player{
    border-radius: 12px;
    transition: all .3s ease-in-out;
    pointer-events: all;

    &:hover{
        filter: brightness(0.6);
    }
}

.title-mid{
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-family: Lexend;
    font-size: 31px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.483px;
}

.desc-sm{
    font-family: Lexend;
    font-size: 15.466px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 0;
}

.success-stats{
    .col-6{
        border-left: 2px solid #FFF;
        padding: 12px 24px;
    }
}

.orange-glow{
    background: linear-gradient(90deg, #EE4345 0%, #EE4345 100%);
    box-shadow: 0 11.056px 18.427px 0 rgba(181, 30, 30, 0.60);
    padding: 14px 32px;
    border-radius: 35px;
}

.hori-glow{
    position: absolute;
}
.hori-glow.--1{
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 900px;
}

/* testimonials */
.card-testimonials {
    border-radius: 10px;
    border: 1px solid #DADADA;
    background: #FBFBFB;
    box-shadow: 0 4px 16px 0 rgba(186, 225, 255, 0.50);
    padding: 24px;

    .testimonials-details {
        .logo-testimonials {
            width: auto;
            height: 36px;
            margin-bottom: 25px;
        }

        h3 {
            font-family: "Lexend", sans-serif;
            font-weight: 400;
            font-size: 16px;
            line-height: 150%;
            color: #545454;
            margin-bottom: 0;
        }

        .bottom-text{
            .mid{
                color: #333;
                font-family: "Lexend";
                font-size: 18px;
                font-style: normal;
                font-weight: 600;
                line-height: 120%;
                margin-bottom: 4px;
            }
            .sm{
                margin-top: 4px;
                color: #818181;
                font-family: "Lexend";
                font-size: 14px;
                font-style: normal;
                font-weight: 300;
                line-height: 120%;
            }
        }

        .button{
            text-decoration: none;
            align-items: center;
            transition: all .3s ease;

            .fa-arrow-right {
                background-color: #6F96BF;
                vertical-align: middle;
                width: 10px;
                height: 12px;
                transition: all .3s ease;
            }

            &:hover{
                span {color: #2B5279;}

                .fa-arrow-right {
                    background-color: #2B5279;
                }
            }
        }
    }
}

.testimonials{
    .owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next {
        background: #FFF;
        border-radius: 40px;
        padding: 5px 9px !important;
        margin: 0;
        transition: all .3s ease;
        box-shadow: 0px 4px 9.8px 0px #0000004A;

        &:hover{
            background: #4A7BAF;
            box-shadow: 0px 4px 8.3px 0px #0000004A;
        }
    }
    .owl-carousel .owl-nav button.owl-next {
        position: absolute;
        right: -50px;
    }
    .owl-carousel .owl-nav button.owl-prev {
        position: absolute;
        left: -50px;
    }
    .owl-theme .owl-nav {
        position: absolute;
        top: 40%;
        transform: translateY(-50%);
        width: 100%;
    }
    .owl-carousel .owl-nav button.owl-prev, & .owl-carousel .owl-nav button.owl-next {
        svg {
            width: 16px;
            height: 20px;
        }
    }
    .owl-theme .owl-dots {
        margin-top: 18px;
    }
}

.btn-wa-long{
    padding: 14px 32px;
    background: linear-gradient(90deg, #1B9D59 0%, #30CC6B 100%);
    border-radius: 36px;
    color: rgb(255, 255, 255);
    gap: 10px;
    text-decoration: none;
    transition: 0.3s;
    justify-content: center;
    box-shadow: 0px 11.06px 18.43px 0px #1DA05A80;

    &:hover{
        background: linear-gradient(90deg, #117440 0%, #11863E 100%);
        color: #FFF;
    }
}

.btn-orange{
    &:hover{
        background: linear-gradient(90deg, #B23333 0%, #B23333 100%);
    }
}

.last-img{
    width: auto;
    height: 430px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}

.quote-img{
    width: 100px;
    height: auto;
    position: absolute;
    top: -50px;
    right: 0;
    backdrop-filter: blur(3.7px);
    opacity: 0.3;
}

.quote-img.--2{
    top: auto;
    bottom: -50px;
    left: 0;
    right: auto;
    transform: rotate(180deg);
    width: 180px;
    opacity: 0.1;
}

.owl-carousel .owl-stage-outer{
    padding-top: 12px;
    padding-bottom: 12px;
}


/* responsive */
@media (max-width: 1399px) {
    .video-player{
        width: 100%;
        height: auto;
        margin-top: 48px;
    }

    .advantages{
        .card{
            margin-bottom: 24px;
            height: 400px;

            .img-card{
                width: 100%;

                &.--1b{
                    width: 65px;
                    top: 155px;
                }
                &.--2b{
                    width: 320px;
                    transform: translateX(-49%);
                    top: 90px;
                }
                &.--3b{
                    width: 350px;
                    top: 40px;
                }
            }
        }
    }
}

@media (max-width: 1199px) {
    .img-video{
        top: -120px;
    }

    .advantages{
        .card{
            margin-bottom: 24px;
            height: 400px;

            .img-card{
                width: 100%;

                &.--1b{
                    width: 55px;
                    top: 145px;
                }
                &.--2b{
                    width: 100%;
                    transform: translateX(-49%);
                    top: 90px;
                }
                &.--3b{
                    width: 100%;
                    top: 40px;
                }
            }
        }
    }
}

@media (max-width: 992px) {
    .img-video{
        top: -170px;
    }
    

    .advantages{
        .card{
            margin-bottom: 24px;
            height: 400px;

            .img-card{
                width: 100%;

                &.--1b{
                    width: 65px;
                    top: 155px;
                }
                &.--2b{
                    width: 320px;
                    transform: translateX(-49%);
                    top: 90px;
                }
                &.--3b{
                    width: 350px;
                    top: 40px;
                }
            }
        }
    }
}

@media (max-width: 767px) {
    .img-video{
        top: -130px;
    }
}

@media (max-width: 576px) {
    .gallery-slider{
        .hori-column {
            gap: 8px;

            .img-gallery {
                width: 300px;
                height: 210px;
            }
        }
    }

    .advantages{
        .card{
            height: 320px;
            overflow: hidden;
            margin-bottom: 24px;

            .card-title{
                font-size: 16px;
            }
            .card-subtitle{
                font-size: 14px;
            }
            .card-text{
                font-size: 12px;
            }

            .card-text-content{
                padding: 24px 16px 0;
                gap: 4px;
            }

            &:hover{
                .card-text-content{
                    padding-top: 70px;
                }
            }

            .img-card{
                &.--1a{
                    top: -5px;
                    left: 50%;
                    transform: translateX(-50%);
                    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgb(0 0 0 / 0));
                    mask-repeat: no-repeat;
                    mask-size: 100% 60%;
                }
                &.--1b{
                    top: 160px;
                    width: 65px;
                }
                &.--2a{
                    top: -5px;
                    left: 50%;
                    transform: translateX(-50%);
                    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgb(0 0 0 / 0));
                    mask-repeat: no-repeat;
                    mask-size: 100% 60%;
                }
                &.--2b{
                    top: 80px;
                    left: 50%;
                    transform: translateX(-50%);
                }
                &.--3a{
                    top: -5px;
                    left: 50%;
                    transform: translateX(-50%);
                    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgb(0 0 0 / 0));
                    mask-repeat: no-repeat;
                    mask-size: 100% 60%;
                }
                &.--3b{
                    top: 30px;
                }
            }
        }
    }

    .video{
        h3{margin-left: unset;}
    }

    .success-stats{
        margin: 0 4px;
    }

    .title-mid{
        font-size: 20px;
        margin-bottom: 7.5px !important;
    }

    .desc-sm{
        font-size: 12px;
    }

    .video-player{
        width: 100%;
        height: auto;
        border-radius: 6px;
        margin-top: 32px;
    }

    .img-video{
        top: -100px;
    }

    .btn{
        font-size: 14px;
        padding: 10px 24px;
    }

    .last-sect{
        overflow: hidden;
        position: relative;

        .last-img{
            height: 300px;
        }

        .d-flex{
            flex-direction: column;
            gap: 10px !important;
        }
    }

    .owl-carousel .owl-stage-outer{
        overflow: hidden;
    }

    .owl-nav{
        display: none;
    }
}