@use "../abstracts" as *;

.wcu3 {
    &__wrap {
        position: relative;
    }

    &__thumb-wrap {
        overflow: hidden;
        height: 100%;
        min-height: rem(500); // adjust as needed
        margin-left: -300px;

        @media (max-width: 1199px) {
            margin-left: -200px;
            min-height: auto;
        }

        @media (max-width: 991px) {
            margin-left: 0px;
        }

        @media (max-width: 767px) {
            margin-left: 0;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .section-top {
        padding-top: 80px;

        @media (max-width: 1199px) {
            padding-top: 60px;
        }

        @media (max-width: 991px) {
            padding-top: 40px;
        }

        @media (max-width: 767px) {
            padding-top: 20px;
        }

        @media (max-width: 575px) {
            padding-top: 0px;
        }
    }

    &__subtitle {
        font-family: $font-family-base;
        font-size: rem(14);
        font-weight: 700;
        color: $color-primary;
        text-transform: uppercase;
        letter-spacing: rem(1.5);
        display: inline-block;
        margin-bottom: rem(15);

        span {
            color: #878C8F;
        }

        &::before {
            content: ">>>";
            margin-right: rem(8);
        }
    }

    .section-top {
        max-width: 561px;

        @media (max-width: 1199px) {
            max-width: 100%;
        }


        &__title {
            max-width: 461px;
        }
    }

    &__title {
        font-size: clamp(2rem, 3vw, 3rem);
        font-weight: 700;
        color: $color-heading;
        margin-bottom: rem(25);
        line-height: $line-height-heading;
    }

    &__desc {
        font-family: $font-family-base;
        font-weight: 500;
        font-size: 16px;
        line-height: 28px;
        letter-spacing: 0%;
        margin-bottom: rem(40);
        line-height: 1.8;
        color: #878C8F;
    }

    &__features-box {
        background-color: $color-black;
        padding: rem(35);
        border-radius: rem(15);
        display: flex;
        flex-wrap: wrap;
        gap: rem(24);
        margin-left: -130px;

        @media (max-width: 1199px) {
            margin-left: 0px;
        }


        @media (max-width: 575px) {
            padding: rem(25);
        }
    }

    &__feature-item {
        background-color: $color-white;
        padding: 9px 20px 9px 9px;
        border-radius: rem(10);
        flex: 1 1 calc(50% - #{rem(12)});
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s ease;
        text-decoration: none;
        height: 80px;

        @media (max-width: 767px) {
            flex: 1 1 100%;
        }

        &:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

            .wcu3__feature-arrow {
                color: $color-primary;
            }
        }
    }

    &__feature-left {
        display: flex;
        align-items: center;
        gap: rem(15);
    }

    &__feature-icon {
        width: rem(65);
        height: rem(65);
        background-color: $color-primary;
        border-radius: rem(8);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;

    }

    &__feature-title {
        font-size: rem(16);
        font-weight: 700;
        color: $color-heading;
        margin: 0;
    }

    &__feature-arrow {
        width: 40px;
        height: 40px;
        color: $color-heading;
        font-size: rem(18);
        transition: 0.3s ease;
        transform: rotate(-45deg);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    &__video-item {
        flex: 1 1 calc(50% - #{rem(12)});
        position: relative;
        border-radius: rem(12);
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: rem(120);
        margin-bottom: -70px;

        @media (max-width: 1199px) {
            margin-bottom: 0px;
        }




        @media (max-width: 767px) {
            flex: 1 1 100%;
            height: rem(200);
            margin-bottom: 0;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        &:hover {
            img {
                transform: scale(1.05);
            }

            .wcu3__video-btn {
                background-color: $color-white;
                color: $color-primary;
            }
        }
    }

    &__video-btn {
        position: absolute;
        width: rem(50);
        height: rem(50);
        background-color: $color-primary;
        color: $color-white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
        transition: all 0.3s ease;
        font-size: rem(18);
        text-decoration: none;
    }
}