﻿.home-about {
    background-image: url(../../../Design/img/Layer50.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-bottom: 82px;
    padding-top: 195px;
}

.img-right-helper {
    position: absolute;
    bottom: -12%;
    width: auto;
    left: 39%;
}

    .img-right-helper img {
        width: 62%;
    }

.home-about-container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.home-about-left {
    width: 51%;
}

.about-us {
    color: var(--default-color-4);
    font-size: 24px;
}

.about-cty {
    margin: 2px 0;
    font-family: 'monB';
    font-size: 32px;
    color: var(--default-white);
}

.slogan {
    font-size: 21px;
    text-transform: uppercase;
    color: var(--default-white);
}

.home-about-left-bottom {
    padding-top: 20px;
    position: relative;
    font-size: 19px;
    color: var(--default-white);
}

    .home-about-left-bottom:before {
        content: "";
        position: absolute;
        width: 14%;
        height: 1px;
        background: var(--default-color-4);
        top: 17px;
    }

.about-more:hover span {
    color: var(--default-white);
}

.about-more span {
    position: relative;
    display: inline-block;
    color: var(--default-color-1);
    padding-right: 20px;
    transition: all 0.3s ease;
}

    .about-more span::after {
        content: '→';
        position: absolute;
        right: 0;
        top: 0;
        transition: transform 0.3s ease;
    }

.about-more:hover span::after {
    transform: translateX(5px);
}

.about-more:hover {
    background-color: #ff0000;
}

.about-more {
    margin-top: 26px;
    padding: 12px 29px;
    text-transform: uppercase;
    width: 33%;
    background: var(--default-white);
    border-radius: 47px;
    color: var(--default-color-3);
}

.home-about-right {
    display: flex;
    gap: 15px;
}

.img-right-behind img {
    width: 265px;
    height: 315px;
    border-radius: 20px;
}

.img-right-behind {
    width: 265px;
    height: 315px;
    margin-top: 108px;
}

.img-right-font {
    height: 473px;
    width: 343px;
}

    .img-right-font img {
        height: 473px;
        width: 343px;
        border-radius: 20px;
    }




    .img-right-font img,
    .img-right-behind img {
        transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); /* Mượt & uyển chuyển hơn */
        will-change: transform, filter;
    }

    /* Hover riêng ảnh phía trước */
    .img-right-font:hover img {
        transform: scale(1.06);
        filter: brightness(1.03);
    }

/* Hover riêng ảnh phía sau */
.img-right-behind:hover img {
    transform: translateY(-10px) scale(1.04);
}


@media(max-width:739px) {
    .home-about-right {
        /* display: none; */
    }

    .home-about-left {
        width: 100%;
        z-index: 3;
    }

    .about-more {
        width: 34%;
        font-size: 12px;
        padding: 12px 13px;
    }

    .img-right-helper {
        left: 117px;
        bottom: -7%;
        z-index: 2;
    }

        .img-right-helper img {
            width: 63%;
            display: none;
        }

    .home-about-container {
        flex-direction: column-reverse
    }

    .img-right-font img, .img-right-font {
        height: 140px;
        width: 100%;
    }

    .img-right-behind {
        margin-top: 0;
        width: 100%;
        height: 100%;
    }

        .img-right-behind img {
            height: 140px;
            width: 100%;
        }

    .home-about {
        padding-bottom: 20px
    }

    .about-us {
        font-size: 12px;
    }

    .about-cty {
        font-size: 22px;
    }

    .slogan {
        font-size: 14px
    }

    .home-about-left-bottom {
        font-size: 14px
    }
}
