/* Why 1 ---------------------------------- */ 
.wcu-wrap1 {
    max-width: 630px;
}
.wcu-wrap2 {
    .sec-content {
        max-width: 600px;
    }
}
.wcu-img-half {
    height: 100%;
    margin-right: 126px;
    img {
        height: 100%;
        object-fit: cover;
        width: 100%;
    }
}
.wcu-box {
    background: $white-color;
    display: flex;
    padding: 30px;
    &_icon {
        flex: none;
        margin-right: 20px;
        transition: 0.4s;
    }
    &_title {
        margin-bottom: 0;
        font-size: 22px;
        a {
            color: $title-color;
            &:hover {
                color: $theme-color;
            }
        }
    }
    &:hover {
        .wcu-box_icon {
            transform: rotateY(180deg);
        }
    }
}
.appointment-form-wrap {
    --bs-gutter-x: 10px;
    width: 390px;
    margin-left: auto;
    transform: translate(0, -100%);
    margin-right: 56px;
    padding: 53px 50px 50px;
    margin-bottom: -511px;
    position: relative;
    &:after {
        content: '';
        position: absolute;
        width: 70px;
        height: 60px;
        top: 0;
        right: 0;
        border-bottom: solid 30px #B82110;
        border-left: solid 35px #B82110;
        border-right: solid 35px transparent;
        border-top: solid 30px transparent;
        transform: translate(0, -100%);
    }
}
.wcu-thumb-2 {
    margin-left: -120px;
}
.wcu-thumb-3 {
    &.img-half {
        width: 42.5%;
    } 
}
.wcu-card {
    background: $white-color;
    padding: 40px;
    &_icon {
        margin-bottom: 20px;
        img {
            transition: 0.4s;
        }
    }
    &_title {
        font-size: 22px;
        margin-top: -0.35em;
        margin-bottom: 5px;
        a {
            color: $title-color;
            &:hover {
                color: $theme-color;
            }
        }
    }
    &_text {
        margin-bottom: -0.4em;
    } 
    &:hover {
        .wcu-card_icon {
            img {
                transform: rotateY(180deg);
            }
        }
    }
    &.style2 {
        border-top: 2px solid $theme-color;
        padding: 35px;
        transition: 0.4s;
        .wcu-card_icon {
            margin-bottom: 30px;
            transition: 0.4s;
        }
        .wcu-card_title {
            margin-bottom: -0.35em;
            a {
                background-image: linear-gradient(to left, $white-color, $white-color);
                background-repeat: no-repeat;
                background-position: bottom left;
                background-size: 0 2px;
            }
        }
        &:hover {
            background: $theme-color;
            .wcu-card_icon {
                filter: brightness(99);
            }
            .wcu-card_title a {
                color: $white-color;                
                &:hover {
                    background-size: 100% 2px;
                }
            }
        }
    }
    &.style3 {
        transition: 0.4s;
        background: $white-color;
        padding: 35px;
        .wcu-card_text {
            transition: 0.4s;
        }
        .wcu-card_title {
            max-width: 170px;
            margin-bottom: 8px;
        }
        .wcu-card_icon {
            margin-bottom: 25px;
        }
        &:hover {
            background: $theme-color;      
            margin-top: -10px;     
            .wcu-card_icon {
                filter: brightness(99);
            }
            .wcu-card_title a {
                color: $white-color;                
                &:hover {
                    background-size: 100% 2px;
                }
            }
            .wcu-card_text {
                color: $white-color;
            }
        }
    }
    &.style4 {
        border-top: 2px solid $theme-color;
        padding: 35px;
        transition: 0.4s;
        background: $smoke-color;
        .wcu-card_icon {
            margin-bottom: 30px;
            transition: 0.4s;
        }
        .wcu-card_title {
            margin-bottom: -0.35em;
            a {
                background-image: linear-gradient(to left, $white-color, $white-color);
                background-repeat: no-repeat;
                background-position: bottom left;
                background-size: 0 2px;
            }
        }
        &:hover {
            background: $theme-color;
            .wcu-card_icon {
                filter: brightness(99);
            }
            .wcu-card_title a {
                color: $white-color;                
                &:hover {
                    background-size: 100% 2px;
                }
            }
        }
    }
}
.wcu-card-wrap {
    transition: 0.4s;
    &:hover {
        padding-bottom: 10px;
    }
}
.apppointment-area-1 {
    padding: 80px 80px 0;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    .appointment-form-wrap {
        transform: none;
        margin: 0;
        margin-left: auto;
        margin-bottom: -28px;
        &:after {
            display: none;
        }
    }
}
.appointment-wrap {
    max-width: 501px;
}
.apppointment-area-2 {
    padding: 80px;
    margin-top: -180px;
}
.why-sec-v3 {
    padding-top: calc(120px + 124.5px);
}
.wcu-card-slider {
    margin-right: -100px;
    .slick-center {
        .wcu-card-wrap {
            padding-bottom: 10px;
            .wcu-card.style3 {
                background: var(--theme-color);
                margin-top: -10px;
                .wcu-card_icon {
                    filter: brightness(99);
                }
                .wcu-card_title a {
                    color: $white-color;                
                    &:hover {
                        background-size: 100% 2px;
                    }
                }
                .wcu-card_text {
                    color: $white-color;
                }
            }
        }
    }
}
.why-sec-v5 {
    padding-top: calc(120px + 218px);
}
@include hd {
    .wcu-img-half {
        height: 651px;
    }
}
@include xxl {
    .wcu-thumb-2 {
        margin-left: -55px;
    }
}
@include ml {
    .wcu-card-slider {
        margin-right: 0;
    }
    .wcu-card.style4 {
        padding: 25px 25px 30px;
    }
}
@media (max-width: 1200px) {
    .wcu-wrap1 {
        max-width: 545px;
    }
    .wcu-box_title {
        font-size: 18px;
    }
    .wcu-box {
        padding: 25px;
        align-items: center;
    }
    .wcu-thumb-2 {
        margin-left: 0;
    }
    .wcu-card_title {
        font-size: 19px;
    }
    .apppointment-area-1 {
        margin-bottom: 0;
        .appointment-form-wrap {
            margin-bottom: 0;
        }
    }
    .wcu-card.style3 .wcu-card_text {
        font-size: 14px;
    }
}
@include lg {
    .wcu-wrap1 {
        max-width: 630px;
        margin: auto;
        text-align: center;
        .wcu-box {
            text-align: left;
        }
        .wcu-box_title {
            font-size: 20px;
        }
    }
    .wcu-card_title {
        font-size: 22px;
    }
    .apppointment-area-1 .appointment-form-wrap {
        margin: 60px 0 80px; 
        width: 510px;
    }
    .apppointment-area-2 {
        padding: 60px;
    }
    .why-sec-v3 {
        padding-top: calc(120px + 100.5px);
    }
}
@include md {
    .appointment-form-wrap {
        margin-right: 38px;
    }
    .wcu-img-half {
        margin-right: 108px;
        overflow: hidden;
        img {
            min-height: 650px;
        }
    }
    .wcu-card {
        padding: 30px;
    }
    .wcu-card_title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .wcu-card_text {
        font-size: 14px;
    }
    .apppointment-area-1 .appointment-form-wrap {
        width: auto;
    }
    .why-sec-v3 {
        padding-top: 80px;
    }
    .wcu-thumb-3.img-half {
        position: initial;
        width: 100%;
        margin: -80px 0 40px;
    }
    .wcu-card.style3 {
        text-align: center;
        padding: 25px;
        .wcu-card_title {
            margin-left: auto;
            margin-right: auto;
        }
    }
    .why-sec-v5 {
        padding-top: calc(120px + 177px);
    }
    .apppointment-area-2 {
        margin-top: -220px;
    }
}
@include sm {
    .wcu-wrap1 {
        max-width: none;
        margin: 0 40px;
    }
    .wcu-box {
        padding: 20px;
    }
    .apppointment-area-1 {
        padding: 50px 50px 0;
        .appointment-form-wrap {
            margin: 40px 0 50px;
        }
    }
    .wcu-card.style3 .wcu-card_text {
        font-size: 14px;
    }
}
@include xs {
    .wcu-img-half {
        margin-right: 85px;
        img {
            min-height: 200px;
        }
    }
    .appointment-form-wrap {
        margin: 0 15px;
        width: auto;
    }
    .wcu-wrap1 {
        margin: 0 15px;
    }
    .apppointment-area-1 {
        padding: 60px 30px;
        .appointment-form-wrap {
            margin: 40px 0 0px;
            padding: 30px;
        }
    }
    .wcu-card.style3 .wcu-card_text {
        font-size: 14px;
    }
    .wcu-card.style3 .wcu-card_details {
        max-width: 200px;
    }
    .apppointment-area-2 {
        padding: 40px;
    }
}
@include vxs {
    .wcu-img-half {
        margin: 0;
    }
    .appointment-form-wrap {
        padding: 33px 30px 30px;
        &:after {
            display: none;
        }
    }
    .wcu-card_title {
        font-size: 19px;
    }
    .apppointment-area-1 .appointment-form-wrap .th-btn {
        padding: 17.5px 10px;
    }
}
@media (max-width: 320px) {
    .apppointment-area-1 {
        padding: 60px 20px;
        .appointment-form-wrap {
            padding: 20px;
            .th-btn {
                padding: 17.5px 15px;
            }
        }
    }
    .appointment-form-wrap {
        .th-btn {
            padding: 17.5px 15px;
        }
    }
    .apppointment-area-2 {
        padding: 40px 30px;
        .about-info-wrap.style4 .about-info-link {
            font-size: 18px;
        }
        .appointment-form {
            .th-btn {
                padding: 17.5px 15px;
            }
        }
    }
}