@use "../abstracts/variables" as vars;




/* ===========================
   WCU 2 (Why Choose Us 2)
   =========================== */
.wcu2 {

    &__card {
        background-color: vars.$color-white;
        border-radius: vars.rem(80);
        padding: vars.rem(40) vars.rem(35) vars.rem(35);
        position: relative;
        overflow: hidden;
        border: 2px solid transparent;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0px 0px 50px 0px #00000014;


        &:hover,
        &--active {
            border-color: vars.$color-primary;
            box-shadow: 0 vars.rem(20) vars.rem(60) rgba(0, 115, 230, 0.1);
        }
    }

    &__card-bg-shape {
        position: absolute;
        bottom: -25px;
        right: -62px;
        pointer-events: none;
        /* opacity: 0.5; */
        z-index: 0;
    }

    &__card-inner {
        position: relative;
        z-index: 1;
    }

    &__icon-wrap {
        width: vars.rem(80);
        height: vars.rem(80);
        background-color: rgba(0, 115, 230, 1);
        border-top-left-radius: vars.rem(50);
        border-top-right-radius: vars.rem(8);
        border-bottom-right-radius: vars.rem(8);
        border-bottom-left-radius: vars.rem(8);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: vars.rem(25);
        flex-shrink: 0;

        @media (max-width: 1199px) {
            width: vars.rem(70);
            height: vars.rem(70);
            margin-bottom: vars.rem(15);
        }
    }

    &__icon-wrap img {
        width: vars.rem(42);
        height: vars.rem(42);
        object-fit: contain;
    }

    &__title {
        font-family: "DM Sans", sans-serif;
        font-weight: 700;
        font-size: vars.rem(24);
        line-height: 100%;
        letter-spacing: -0.02em;
        color: vars.$color-heading;
        margin-bottom: 0;

        @media (max-width: 1199px) {
            font-size: 20px;
            line-height: 28px;
        }
    }

    &__header {
        display: flex;
        align-items: center;
        gap: vars.rem(20);
        margin-bottom: vars.rem(20);

        @media (max-width: 1199px) {
            gap: vars.rem(10);
            margin-bottom: vars.rem(10);
        }
    }

    &__desc {
        font-family: "DM Sans", sans-serif;
        font-weight: 500;
        font-size: vars.rem(16);
        line-height: vars.rem(28);
        letter-spacing: -0.02em;
        color: vars.$color-secondary;
        margin-top: vars.rem(20);
        margin-bottom: vars.rem(25);

        @media (max-width: 1199px) {
            font-size: 14px;
            line-height: 24px;
            margin-top: vars.rem(10);
            margin-bottom: vars.rem(15);
        }
    }

    &__link {
        font-family: "DM Sans", sans-serif;
        font-weight: 700;
        font-size: vars.rem(16);
        line-height: 100%;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: vars.$color-heading;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: vars.rem(10);
        transition: color 0.3s ease;

        @media (max-width: 1199px) {
            font-size: 14px;
            line-height: 24px;
        }

        i {
            font-size: vars.rem(14);
            transition: transform 0.3s ease;
        }

        &:hover {
            color: vars.$color-primary;
            text-decoration: none;

            i {
                transform: translateX(4px);
            }
        }
    }

    // Responsive
    @media (max-width: 991px) {
        &__card {
            margin-bottom: 0;
        }
    }

    @media (max-width: 767px) {
        &__card {
            border-radius: vars.rem(40);
            padding: vars.rem(30) vars.rem(25);
        }
    }
}