/* object sec */
.objectSec {
    position: relative;
    overflow: hidden;

    &::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        height: 420px;
        width: 400px;
        background-image: url(../images/home/product-right-bg.png);
        background-repeat: no-repeat;
        background-size: cover;
        transform: translateY(100%);
        transition: transform 1.5s ease-out;
        opacity: 0;
        z-index: 1;
    }

    &.active {
        &::after {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .objectSecBtm {
        padding-top: 15px;
        position: relative;
        z-index: 2;

        .objectCard {
            width: 100%;
            height: 290px;
            border-radius: 25px;
            background-color: #fff;
            padding: 20px 25px;
            transition: all 0.5s;

            .objectCardTop {
                display: flex;
                justify-content: space-between;

                .objectHeadDiv {
                    padding-top: 25px;
                    margin-bottom: 12px;

                    .objectHead {
                        color: #3C3C3C;
                        font-family: "Nunito_Sans";
                        font-size: 25px;
                        font-weight: 700;
                        line-height: 20px;
                        transition: all 0.3s;
                    }
                }

                .objectImg {
                    width: 60px;
                    height: 60px;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                        filter: brightness(0) saturate(100%) invert(17%) sepia(92%) saturate(1138%) hue-rotate(167deg) brightness(94%) contrast(101%);
                    }
                }
            }

            .objectCardPara {
                height: 180px;
                overflow-y: auto;
                padding-right: 8px;

                p {
                    color: #000;
                    transition: all 0.3s;
                }
            }

            &:hover {
                background-color: #00435e;

                * {
                    color: #fff;
                }

                .objectCardTop {
                    .objectHeadDiv {
                        .objectHead {
                            color: #fff;
                        }
                    }

                    .objectImg {
                        img {
                            filter: brightness(0) saturate(100%) invert(100%) sepia(3%) saturate(0%) hue-rotate(169deg) brightness(102%) contrast(105%);
                        }
                    }
                }

                .objectCardPara {
                    p {
                        color: #fff;
                    }
                }

            }
        }
    }
}

/* quality section */
.qualitySec {
    &::before {
        content: '';
        position: absolute;
        top: -40px;
        left: -90px;
        background-image: url(../images/common/chilli-bg.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 350px;
        height: 350px;
        z-index: 1;
        transform: translateY(-150%);
        transition: transform 1s cubic-bezier(.68, -0.6, .32, 1.6);
        opacity: 0;
        animation: none !important;
    }

    &.active {
        &::before {
            transform: translateY(0);
            opacity: 1;
        }
    }

    &::after {
        content: normal;
    }

    .frosAbtBtm {
        .frosAbtCard {
            .frosAbtImg {
                width: 65px;
                height: 65px;
                margin: 0px auto 12px;
            }

            .frosAbtHead {
                text-align: center;
                color: #000;
                font-family: "Nunito_Sans";
                font-size: 25px;
                font-weight: 700;
            }

            .frosAbtPara {
                text-align: center;
            }
        }
    }
}

/* why section */
.about-page {
    .whySec {
        &::before {
            content: normal;
        }
    }
}

/* sell section */
.sellSec {
    .sellSecBtm {
        .sellSecCard {
            position: relative;
            width: 100%;
            height: 550px;
            border-radius: 25px;
            overflow: hidden;

            .sellCardImg {
                position: absolute;
                width: 100%;
                height: 100%;
                overflow: hidden;
                transition: all 0.5s;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    overflow: hidden;
                    transition: all 0.5s;
                }
            }

            .sellBtnDiv {
                position: absolute;
                bottom: 20px;
                width: calc(100% - 40px);
                left: 20px;
                overflow: hidden;
                transition: all 0.5s;

                a {
                    display: inline-block;
                    /* width: auto; */
                    width: 250px;
                    /* min-width: 160px; */
                    background-color: #fff;
                    color: #000;
                    font-family: "Instrument_Sans";
                    font-size: 25px;
                    font-weight: 500;
                    padding: 15px 40px;
                    border-radius: 50px;
                    transition: all 0.5s;
                    text-align: center;
                    position: relative;

                    .btnText {
                        transition: all 0.5s;
                    }

                    &::after {
                        content: '';
                        position: absolute;
                        right: 6px;
                        top: 50%;
                        transform: translateY(-50%) scale(0.5);
                        width: 40px;
                        height: 40px;
                        border-radius: 50%;
                        background-image: url(../images/common/Arrow.png);
                        background-repeat: no-repeat;
                        background-size: 18px;
                        background-position: center center;
                        background-color: #FFF;
                        opacity: 0;
                        visibility: visible;
                        transition: all 0.5s;
                    }
                }
            }

            &:hover {
                .sellCardImg {
                    img {
                        transform: scale(1.15);
                    }
                }

                .sellBtnDiv {
                    a {
                        background-color: #C19A63;
                        display: block;
                        width: 100%;
                        /* padding: 15px 30px; */
                        text-align: left;
                        color: #fff;

                        .btnText {
                            transform: translateX(10px);
                        }

                        &::after {
                            opacity: 1;
                            visibility: visible;
                            transform: translateY(-50%) scale(1);
                        }
                    }
                }
            }
        }
    }
}

/* start responsive */

@media (max-width: 1768px) {
    .qualitySec {
        &::before {
            top: -40px;
            left: -90px;
            width: 280px;
            height: 230px;
        }
    }
}


@media(max-width: 1600px) {
    .objectSec {
        background-size: 350px 350px;
    }

    /* start sell section */
    .sellSec {
        .sellSecBtm {
            .sellSecCard {
                height: 450px;

                .sellBtnDiv {
                    a {
                        width: 260px;
                        font-size: 22px;
                    }
                }
            }
        }
    }

    /* end sell section */

    /* start quality section */
    .qualitySec {
        &::before {
            width: 260px;
            height: 260px;
        }

        .frosAbtBtm {
            .frosAbtCard {
                height: 330px;

                .frosAbtImg {
                    width: 54px;
                    height: 54px;
                }

                .frosAbtHead {
                    font-size: 22px;
                }
            }
        }
    }

    /* end quality section */

    .recipeSec {
        &::before {
            top: -80px;
            left: -60px;
            width: 200px;
            height: 200px;
        }
    }
}

@media (max-width: 1440px) {
    .sellSec {
        .sellSecBtm {
            .sellSecCard {
                height: 350px;

                .sellBtnDiv {
                    a {
                        width: 200px;
                        font-size: 18px;
                        padding: 12px 25px;

                        &::after {
                            width: 36px;
                            height: 36px;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 1480px) {
    .qualitySec {
        &::before {
            width: 200px;
            height: 200px;
            top: -10px;
            left: -60px;
        }
    }
}

@media (max-width: 1024px) {
    .objectSec {
        &::after {
            height: 300px;
            width: 300px;
        }
    }
}

@media (max-width: 991px) {

    .objectSec {
        .objectSecBtm {
            .objectCard {
                height: auto;
                padding: 20px 25px 40px;

                .objectCardPara {
                    height: auto;
                }
            }
        }
    }

    .qualitySec {
        &::before {
            width: 160px;
            height: 160px;
            left: -40px;
            opacity: 0.5 !important;
            content: normal;
        }

        .frosAbtBtm {
            .frosAbtCard {
                height: 280px;
            }
        }
    }

    .sellSec {
        .sellSecBtm {
            .sellSecCard {
                height: 300px;

                .sellBtnDiv {
                    bottom: 15px;
                    width: calc(100% - 30px);
                    left: 15px;

                    a {
                        background-color: #C19A63;
                        display: block;
                        width: 100%;
                        font-size: 16px;
                        padding: 12px 15px;
                        color: #fff;

                        .btnText {
                            transform: translateX(0);
                        }

                        &::after {
                            width: 36px;
                            height: 36px;
                            opacity: 1;
                            visibility: visible;
                            transform: translateY(-50%) scale(1);
                            background-size: 15px;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 768px) {
    .objectSec {
        .objectSecBtm {
            transform: none !important;
            .objectCard {
                .objectCardTop {
                    justify-content: center;
                    align-items: center;
                    flex-direction: column-reverse;
                    gap: 8px;
                    margin-bottom: 15px;

                    .objectImg {
                        width: 50px;
                        height: 50px;
                    }

                    .objectHeadDiv {
                        padding-top: 0;
                        margin-bottom: 0;
                    }
                }

                .objectCardPara {
                    text-align: center;
                }
            }
        }
    }

    .sellSec {
        .sellSecBtm {
            transform: none !important;
        }
    }
}

@media (max-width: 575px) {
    .sellSec {
        .sellSecBtm {
            .sellSecCard {
                .sellBtnDiv {
                    bottom: 10px;
                    width: calc(100% - 20px);
                    left: 10px;
                }
            }
        }
    }
}

/* end responsive */