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

/* ===========================
   Guide 3
   =========================== */
.guide3 {
    position: relative;
    background-color: #EFF3FA;
    z-index: 1;
    overflow: hidden;

    .row {
        margin-bottom: -50px;

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

    .container {
        max-width: 1500px;
        margin: 0 auto;
    }

    &__bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.8;
        mix-blend-mode: multiply;
        z-index: -1;
    }


    &__card1 {
        text-align: start;
        border-bottom: vars.rem(4) solid vars.$color-primary;
        margin-bottom: 134px;
        margin-right: 50px;

        @media (max-width: 1399px) {
            margin-right: 0;
            margin-bottom: 30px;
        }
    }

    &__card2 {
        margin-bottom: 200px;
        margin-right: 50px;
        border-top: vars.rem(4) solid vars.$color-primary;

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

    &__card3 {
        margin-bottom: 134px;
        margin-left: 50px;
        border-bottom: vars.rem(4) solid vars.$color-primary;

        @media (max-width: 1399px) {
            margin-left: 0;
            margin-bottom: 30px;
        }
    }

    &__card4 {
        margin-left: 50px;
        border-top: vars.rem(4) solid vars.$color-primary;
        margin-bottom: 200px;

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

    &__card5 {

        border-top: vars.rem(4) solid vars.$color-primary;
    }

    &__card {
        background: vars.$color-white;
        border-radius: vars.rem(15);
        padding: vars.rem(30);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: center;
        gap: vars.rem(20);
        height: 100%;
        transition: all 0.3s ease;
        position: relative;
        z-index: 5;

        &:hover {
            transform: translateY(vars.rem(-5));
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }

        @media (max-width: 1399px) {
            padding: vars.rem(20);
            gap: vars.rem(15);
        }

        @media (max-width: 1199px) {
            padding: vars.rem(25);
            gap: vars.rem(15);
        }

                @media (max-width: 991px) {
             justify-content: center;
             max-width: 600px;
             margin-left: auto;
             margin-right: auto;
        }

        @media (max-width: 575px) {
            flex-direction: column;
            text-align: center;

            &--reverse {
                flex-direction: column;
                text-align: center;
            }
        }

        &-icon {
            width: vars.rem(80);
            height: vars.rem(80);
            background: #F1F5F9;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;

            @media (max-width: 1399px) {
                width: vars.rem(60);
                height: vars.rem(60);
            }

            img {
                width: vars.rem(45);
                height: auto;

                @media (max-width: 1399px) {
                    width: vars.rem(35);
                }
            }
        }

        &-title {
            font-size: vars.rem(22);
            font-weight: 800;
            color: vars.$color-heading;
            margin-bottom: vars.rem(12);
            line-height: 1.3;
            text-align: start;
            max-width: 205px;

            @media (max-width: 1399px) {
                font-size: vars.rem(20);
                max-width: 100%;
            }
        }

        &-desc {
            font-family: vars.$font-family-base;
            font-weight: 500;
            font-size: 15px;
            line-height: 28px;
            letter-spacing: 0%;
            color: vars.$color-text2;
            margin-bottom: 0;
            text-align: start;

            @media (max-width: 1399px) {
                font-size: vars.rem(14);
            }
        }

        &--reverse {
            flex-direction: row-reverse;
            text-align: right;
            padding-right: vars.rem(30);

            @media (max-width: 1199px) {
                padding-right: vars.rem(25);
            }

            @media (max-width: 575px) {
                padding-right: vars.rem(25);
                flex-direction: column-reverse;
            }
        }
    }

    &__thumb-wrap {
        position: relative;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    &__thumb {
        position: relative;
        width: 100%;
        max-width: vars.rem(420);
        border-radius: vars.rem(20);
        overflow: hidden;
        z-index: 2;
        margin-bottom: 50px;

        &-shape1 {
            position: absolute;
            top: 29%;
            left: -130px;
            transform: translateY(-29%);
            z-index: 1;

            @media (max-width: 1399px) {
                display: none;
            }
        }

        &-shape2 {
            position: absolute;
            top: 29%;
            right: -130px;
            transform: translateY(-29%);
            z-index: 1;

            @media (max-width: 1399px) {
                display: none;
            }
        }

        &-shape3 {
            position: absolute;
            left: 50%;
            bottom: 188px;
            transform: translateX(-50%);
            z-index: 1;

            @media (max-width: 1399px) {
                display: none;
            }
        }

        img {
            width: 100%;
            height: auto;
            display: block;
        }
    }



}
