@import url(/assets/pages/breedingProgram.css);
@import url(/assets/pages/contact.css);
@import url(/assets/pages/evaluations.css);
@import url(/assets/pages/fruit/peach.css);
@import url(/assets/pages/news.css);
@import url(/assets/pages/releases.css);


[onclick] {
    cursor: pointer;
}

@keyframes buttonBg {
    0% {
        background-position: -300px 0px;
    }

    20% {
        background-position: -40px 0px;
    }

    40% {
        background-position: -80px 0px;
    }

    100% {
        background-position: 0px 0px;
    }
}

@keyframes buttonBg2 {
    0% {
        background-position: -160px 0px;
    }

    20% {
        background-position: 0px 0px;
    }

    40% {
        background-position: -40px 0px;
    }

    100% {
        background-position: 0px 0px;
    }
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

* {
    font-family: "Josefin Sans", sans-serif;
}

body {
    margin: 0px;
    background-color: white;
    overflow-x: hidden;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.content {
    display: flex;
    flex-direction: column;
    width: 100vw;
    overflow-x: hidden;
}

body:has(.black-overlay.show) {
    .dropdown {
        &::after {
            transform: translateY(14px) scale(1.5, 1) rotate(180deg) !important;
        }
    }
}

.header {
    display: flex;
    position: sticky;
    justify-content: center;
    top: 0px;
    width: 100vw;
    background-color: white;
    box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.25);
    z-index: 5;

    .menu {
        display: flex;
        flex: 1;
        justify-content: flex-end;
        align-content: center;

        button {
            background-color: transparent;
            border: none;
            transition: 0.25s;

            &::after {
                transition: 0.25s;
                display: block;
                content: '';
                background-color: transparent;
            }

            &:not(.dropdown):hover,
            &.active {
                color: #2b5b00;

                &::after {
                    display: block;
                    content: '';
                    background-color: #2b5b00;
                }

            }

            &.dropdown {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;

                &::after {
                    display: block;
                    content: '∨';
                    font-size: 6px;
                    text-align: center;
                    transform: translateY(10px) scale(1.5, 1);
                }

                &:hover,
                &.active {
                    color: #2b5b00;

                    &::after {
                        display: block;
                        transform: translateY(12px) scale(1.5, 1);
                    }

                }
            }
        }
    }
}

.banner {
    display: flex;
    position: relative;
    /* background: url(../img/5a9515_785f86ad96bb451a8979472aa1d0411a.avif); */
    overflow: hidden;

    .btn-prev,
    .btn-next {
        display: flex;
        position: absolute;
        top: calc(50% - 16px);
        width: 32px;
        height: 32px;
        background-color: #ffffffc4;
        ;
        z-index: 1;

        span {
            margin: auto;
            color: #2b5b00;
        }
    }

    .btn-prev {
        left: 0px;
        border-radius: 0px 10px 10px 0px;
    }

    .btn-next {
        right: 0px;
        border-radius: 10px 0px 0px 10px;
    }

    .banner-track {
        display: flex;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
    }

    .banner-slide {
        background-size: cover;
        animation: banner 20s ease-in-out alternate infinite;
        min-width: 100%;
        min-height: 100%;

        &.slide01 {
            background-image: url(../img/almond-conference-2024-bg01.jpg);
        }

        &.slide02 {
            background-image: url(../img/almond-conference-2024-bg02.jpg);
        }
    }

    .banner-overlay {
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: rgba(0, 0, 0, 0.25);
        flex: 1;
        color: white;
        text-align: center;
        min-height: 100%;

        button {
            display: flex;
            width: fit-content;
            border-radius: 5px;
            border: 1px solid white;
            color: white;
            background-color: transparent;
            justify-content: center;
            align-items: center;
            align-self: center;
            font-weight: bold;
            cursor: pointer;

            &:hover {
                background-color: white;
                color: #2b5b00;
            }
        }
    }
}

.introduction {
    display: flex;

    img {
        flex: 1;
    }

    .intro-img {
        transition: 0.1s ease-out;
        opacity: 0;
    }

    .intro-img2 {
        transition: 0.1s ease-out;
        opacity: 0;

        img {
            border-radius: 10px;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    }

    .intro-desc {
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;

        .title {
            display: flex;
            color: #2b5b00;

            >div {
                display: flex;
                flex: 1;
                flex-direction: column;
                justify-content: center;
                text-align: center;

                h1 {
                    transition: 2s;

                    &.hidden {
                        transform: translate(0px, 50px);
                        opacity: 0;
                    }
                }

                #gen-nth {
                    transition: 3s;
                    &.hidden {
                        transform: translate(0px, -30px);
                        opacity: 0;
                    }
                }
            }
        }

        p {
            color: #519a10;
        }
    }
}

.fruits {
    display: none;
    flex-wrap: wrap;
    justify-content: center;

    .card {
        display: flex;
        flex-direction: column;
        border-radius: 5px;
        background-color: #F3FFF2;
        overflow: hidden;

        .img {
            overflow: hidden;

            img {
                object-fit: cover;
            }
        }

        .detail {
            display: flex;
            flex-direction: column;
            flex: 1;

            h4 {
                color: #2b5b00;
            }

            p {
                color: #519a10;
                flex: 1;
            }

            button {
                border-radius: 5px;
                border: none;
                background-color: #519a10;
                background-image: linear-gradient(to bottom, #2b5b00, #2b5b00);
                background-repeat: no-repeat;
                background-size: 300px 50px;
                background-position: -300px 0px;
                color: white;

                &[disabled] {
                    filter: grayscale(1);
                    opacity: 0.75;
                }

                &:not([disabled]):hover {
                    animation: buttonBg 1s ease-out forwards;
                }
            }
        }
    }
}


.brochure {
    display: flex;

    .card {
        display: flex;
        border-radius: 5px;
        background-color: #F3FFF2;
        overflow: hidden;
        flex: 1;

        .img {
            overflow: hidden;

            img {
                object-fit: cover;
            }
        }

        .detail {
            display: flex;
            flex-direction: column;
            flex: 1;

            h4 {
                color: #2b5b00;
            }

            p {
                color: #519a10;
                flex: 1;
            }

            button {
                border-radius: 5px;
                border: none;
                background-color: #519a10;
                color: white;
                background-image: linear-gradient(to bottom, #2b5b00, #2b5b00);
                background-repeat: no-repeat;
                background-size: 160px 50px;
                background-position: -160px 0px;

                &:not([disabled]):hover {
                    animation: buttonBg2 0.75s ease-out forwards;
                }
            }
        }
    }
}

.video {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    background-image: url(../img/video-bg.jpg);
    background-position: center middle;
    background-size: cover;

    .video-play {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #2b5b00;
        border-radius: 50%;

        &::before,
        &::after {
            display: block;
            position: absolute;
            content: '';
            border-radius: 50%;
            background-color: #d4f8b4c4;
            animation: glow 2s infinite forwards;
            z-index: 0;
            pointer-events: none;
        }

        &::after {
            animation-delay: 1s;
        }
    }

    .material-symbols-outlined {
        color: white;
        z-index: 2;
        text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
    }
}

.footer {
    display: flex;
    flex: 1;
    flex-direction: column;
    background-color: #F3FFF2;
    justify-content: center;
    gap: 20px;

    .contact {
        display: flex;

        .col1 {

            a {
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 36px;
                background-color: #a1d475;
                text-decoration: none;
                color: #F3FFF2;

                &:hover {
                    background-color: #2b5b00;
                }
            }
        }

        .call {
            >div {
                display: flex;
            }
        }

        >div {
            color: #2b5b00;
            line-height: 2;

            .row {
                display: flex;
                gap: 5px;
            }
        }
    }

    h4 {
        margin: 2px 0px;
    }

    h6 {
        font-weight: normal;
        margin: 2px 0px;
    }

    h7 {
        text-align: center;
        font-weight: normal;
    }
}

.testimonial {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 50px 0px;
    gap: 20px;

    h2 {
        color: #2b5b00;
    }

    .slider {
        display: flex;
        overflow: auto;

        .testimonial-card {
            display: inline-flex;
            flex-direction: column;
            overflow: hidden;
            background-color: #F3FFF2;
            border-radius: 10px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);

            .testimonial-text {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                text-align: justify;
                flex: 1;

                p {
                    color: #519a10;

                    &::before,
                    &::after {
                        display: block;
                        opacity: 0.5;
                        color: #a1d475;
                    }

                    &::before {
                        text-align: left;
                        content: '❝';
                    }

                    &::after {
                        text-align: right;
                        content: '❞';
                    }
                }
            }

            .testimonial-author {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                background-color: #2b5b00;
                color: #F3FFF2;

                span {
                    color: #a1d475;
                }
            }

            &.current {
                box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
                z-index: 2;

                &+.testimonial-card {
                    z-index: 1;
                }
            }

            &:not(.visible, .current) {
                visibility: hidden;
                position: absolute;
            }
        }
    }
}

.scrollTop {
    display: flex;
    position: fixed;
    background-color: #2b5b00;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    transition: 0.25s;
    z-index: 3;

    .material-symbols-outlined {
        color: white;
    }

    &.hidden {
        opacity: 0;
    }
}

.black-overlay {
    display: flex;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #00000072;
    width: 100vw;
    height: 100vh;
    opacity: 1;
    backdrop-filter: blur(2px);
    transition: 0.5s;
    z-index: 4;

    &:not(.show) {
        visibility: hidden;
        opacity: 0;
    }

    .menu-wrapper {
        box-shadow: 0px 10px 8px rgba(0, 0, 0, 0.25);
        background-color: white;
        overflow: auto;
    }

    .menu-products {
        display: flex;
        flex-wrap: wrap;
        justify-content: left;
        transition: 0.25s;

        .card {
            display: flex;
            flex-direction: column;
            border-radius: 5px;
            background-color: #F3FFF2;
            overflow: hidden;

            .img {
                overflow: hidden;

                img {
                    object-fit: cover;
                }
            }

            .detail {
                display: flex;
                flex-direction: column;
                flex: 1;
                overflow: hidden;

                h4 {
                    color: #2b5b00;
                }

                p {
                    color: #519a10;
                    flex: 1;
                    mask-image: linear-gradient(to bottom, white 60%, transparent 95%);
                }

                button {
                    border-radius: 5px;
                    border: none;
                    background-color: #519a10;
                    background-image: linear-gradient(to bottom, #2b5b00, #2b5b00);
                    background-repeat: no-repeat;
                    background-size: 300px 50px;
                    background-position: -300px 0px;
                    color: white;

                    &[disabled] {
                        filter: grayscale(1);
                        opacity: 0.75;
                    }

                    &:not([disabled]):hover {
                        animation: buttonBg 1s ease-out forwards;
                    }
                }
            }
        }
    }
}

.modal-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;

    .modal {
        border-radius: 5px;
        box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.5);

        iframe {
            width: 100%;
            height: 100%;
            border-radius: 5px;
        }
    }

    &.hidden {
        display: none;
    }

    >button {
        display: flex;
        align-items: center;
        border: none;
        color: white;
        background-color: transparent;
        pointer-events: none;
    }
}

@media (orientation: portrait) and (max-width: 539px) {

    @keyframes banner {
        0% {
            background-position: calc(50% - 30px) bottom;
        }

        100% {
            background-position: calc(50% + 30px) bottom;
        }
    }

    @keyframes glow {
        0% {
            transform: scale(1);
            opacity: 0;
        }

        50% {
            opacity: 0.5;
        }

        100% {
            transform: scale(1.4);
            opacity: 0;
        }
    }

    h1 {
        font-size: 50px;
        margin: 10px 0px;
    }

    h2 {
        font-size: 28px;
        margin: 5px 0px;
    }

    h4 {
        font-size: 18px;
    }

    h6 {
        font-size: 14px;
    }

    p {
        font-size: 12px;
    }

    button {
        font-size: 14px;
    }

    .header {
        justify-content: space-between;

        .logo {
            img {
                height: 60px;
                margin: auto 5px;
            }
        }

        .menu {
            flex: 1;
            top: 60px;
            right: 0px;
            padding: 20px 0px;
            max-width: 600px;
            position: absolute;
            flex-direction: column;
            background-color: #F3FFF2;
            border-radius: 0px 0px 10px 10px;
            box-shadow: 2px 12px 8px rgba(0, 0, 0, 0.5);

            button {
                padding: 10px 30px;
                font-size: 16px;

                &::after {
                    transform: translate(0px, 28px);
                    width: 0px;
                    height: 5px;
                }

                &.dropdown {
                    &::after {
                        content: '';
                    }
                }

                &:hover,
                &.active {
                    &::after {
                        transform: translate(0px, 0px);
                        width: 5px;
                        height: 0px;
                    }

                }
            }

            &.hidden {
                display: none;
            }
        }

        .menuToggle {
            display: flex;
            padding: 10px 20px;
            align-items: center;
            color: #2b5b00;
            background-color: #F3FFF2;
        }

        &:has(.menu.hidden) {
            .menuToggle {
                color: black;
                background-color: transparent;
            }
        }
    }

    .banner {
        min-height: 100vh;
        /* background: url(../img/5a9515_785f86ad96bb451a8979472aa1d0411a.avif); */
        background-size: auto 100%;

        .banner-slide {
            animation-duration: 20s;

            .banner-overlay {
                gap: 6px;

                h1 {
                    margin: auto 0px 2px 0px;
                }

                button {
                    width: fit-content;
                    padding: 10px 20px;
                    font-size: 16px;
                    margin: 5px 0px 20% 0px;
                }
            }
        }

    }

    .introduction {
        flex-direction: column;
        justify-content: center;
        width: 100%;
        max-width: 420px;
        margin: 0px auto;
        height: fit-content;

        img {
            flex: 1;
            margin: 0px;
        }

        .intro-img {
            margin: 10px auto;
            width: 320px;

            img {
                width: 100%;
            }

            &::after {
                width: 300px;
                height: 320px;
                margin: -320px 0px 0px 10px;
            }
        }

        .intro-img2 {
            order: 1;
            width: 100%;

            img {
                width: calc(100% - 0px);
            }
        }

        .intro-desc {
            order: 2;
            padding: 10px 30px;

            .title {
                >div {
                    flex-direction: column;

                    h1 {
                        font-size: 120px;

                        &.hidden {
                            transform: translate(0px, 50px);
                        }
                    }
                    #gen-nth {
                        margin: -60px -90px 0px 0px;
                        font-size: 24px;
                    }
                }
            }
        }
    }

    .fruits {
        gap: 10px;
        margin: 20px auto;
        padding: 30px 10px;
        max-width: 600px;

        .card {
            flex-direction: column;
            width: calc(50% - 10px);
            height: 300px;

            .img {
                min-height: 120px;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .detail {
                padding: 10px 10px;
                flex: 1;

                h4 {
                    margin: 0px;
                }

                p::before {
                    display: block;
                    content: '';
                    background-image: linear-gradient(to bottom, transparent, #F3FFF2 50%);
                    transform: translateY(0px);
                    margin-bottom: -200px;
                    height: 200px;
                }

                button {
                    position: sticky;
                    bottom: 20px;
                    padding: 10px 10px;
                }
            }
        }
    }

    .brochure {
        flex-direction: column;
        padding: 20px;
        max-width: 600px;
        margin: 20px auto;
        gap: 20px;

        .card {
            flex: 1;
            height: 300px;

            .img {
                width: 50%;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .detail {
                padding: 10px 20px;
                flex: 1;

                h4 {
                    margin: 0px;
                }

                button {
                    padding: 10px 30px;
                    width: fit-content;
                    margin-left: auto;
                }
            }
        }
    }

    .video {
        min-height: 250px;
        background-position: center middle;
        background-size: cover;

        .video-play {
            width: 90px;
            height: 90px;

            &::before,
            &::after {
                width: 90px;
                height: 90px;
            }

        }

        .material-symbols-outlined {
            font-size: 80px;
        }
    }

    .testimonial {
        width: 100%;
        padding: 50px 0px;
        gap: 20px;

        .slider {
            width: fit-content;
            max-width: 500px;
            margin: 0px auto;
            padding: 20px 10px;
            gap: 10px;

            .testimonial-card {
                min-width: calc(100% - 10px);
                height: 340px;

                .testimonial-text {
                    padding: 10px;
                    flex: 1;

                    p {
                        padding: 0px 20px;
                        font-size: 16px;
                        &::before,
                        &::after {
                            font-size: 60px;
                        }

                        &::before {
                            margin: -20px 0px -10px -20px;
                        }

                        &::after {
                            margin: -10px -20px -45px 0px;
                        }
                    }
                }

                .testimonial-author {
                    padding: 0px 10px;
                    height: 60px;

                    span {
                        font-size: 10px;
                    }
                }


            }
        }
    }

    .footer {
        flex-direction: column;
        padding: 20px 10%;

        .contact {
            flex-direction: column;
            margin: 0px auto;

            .col1 {
                width: 100%;

                img {
                    height: 56px;
                }

                a {
                    width: 32px;
                    height: 32px;
                    margin: 12px 0px;
                    border-radius: 36px;
                }
            }

            .call {
                >div {
                    flex: 1;

                    >h6 {
                        flex: 1;

                        &:first-child {
                            max-width: 120px;
                        }
                    }

                }
            }

            >div {
                line-height: 2;
                padding: 10px 0px;

                .row {
                    gap: 15px;
                }

                &:not(:last-of-type) {
                    border-right: none;
                }
            }
        }

    }

    .scrollTop {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 40px;

        .material-symbols-outlined {
            font-size: 24px;
        }

        &.hidden {
            bottom: -50px;
        }
    }

    .black-overlay {
        &:not(.show) {
            .menu-products {
                margin-top: -100px;
            }
        }

        .menu-wrapper {
            height: fit-content;
            width: 100vw;
            max-height: calc(100vh - 100px);
        }

        .menu-products {
            gap: 6px;
            margin: 60px auto;
            padding: 0px 10px;
            height: fit-content;

            .card {
                flex-direction: row;
                width: calc(100% - 10px);
                height: 100px;

                .img {
                    flex: 1;
                    width: 30%;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }

                .detail {
                    padding: 5px 10px;
                    flex: 1;

                    h4 {
                        margin: 0px;
                    }

                    p {
                        flex: 1;
                        overflow: hidden;
                        margin: 4px 0px 0px 0px;
                    }

                    button {
                        padding: 5px 30px;
                    }
                }
            }
        }
    }

    .modal-container {
        top: 0px;
        left: 0px;
        width: 100vw;
        height: 100vh;

        &#modal-video,
        &#modal-video1,
        &#modal-video2 {
            .modal {
                width: 100vw;
                aspect-ratio: 1.78;
            }
        }

        &#modal-brochure,
        &#modal-rootstock,
        &#modal-pdf {
            .modal {
                width: calc(100vw - 20px);
                height: calc(100vh - 40px);
            }
        }

        >button {
            padding: 20px;
            font-size: 14px;

            .material-symbols-outlined {
                font-size: 18px;
            }
        }
    }
}

@media (orientation: portrait) and (min-width: 540px) {

    @keyframes banner {
        0% {
            background-position: 60% bottom;
        }

        100% {
            background-position: 40% bottom;
        }
    }

    @keyframes glow {
        0% {
            transform: scale(1);
            opacity: 0;
        }

        50% {
            opacity: 0.5;
        }

        100% {
            transform: scale(1.4);
            opacity: 0;
        }
    }

    h1 {
        font-size: 50px;
        margin: 10px 0px;
    }

    h2 {
        font-size: 28px;
        margin: 5px 0px;
    }

    h4 {
        font-size: 18px;
    }

    h6 {
        font-size: 12px;
    }

    p {
        font-size: 12px;
    }

    button {
        font-size: 14px;
    }

    .header {
        justify-content: space-between;

        .logo {
            img {
                height: 60px;
                margin: auto 5px;
            }
        }

        .menu {
            flex: 1;
            top: 60px;
            right: 0px;
            padding: 20px 0px;
            max-width: 600px;
            position: absolute;
            flex-direction: column;
            background-color: #F3FFF2;
            border-radius: 0px 0px 10px 10px;
            box-shadow: 2px 12px 8px rgba(0, 0, 0, 0.5);

            button {
                padding: 10px 30px;
                font-size: 16px;

                &::after {
                    transform: translate(0px, 28px);
                    width: 0px;
                    height: 5px;
                }

                &:hover,
                &.active {
                    &::after {
                        transform: translate(0px, 0px);
                        width: 5px;
                        height: 0px;
                    }

                }
            }

            &.hidden {
                display: none;
            }
        }

        .menuToggle {
            display: flex;
            padding: 10px 20px;
            align-items: center;
            color: #2b5b00;
            background-color: #F3FFF2;
        }

        &:has(.menu.hidden) {
            .menuToggle {
                color: black;
                background-color: transparent;
            }
        }
    }

    .banner {
        min-height: 100vh;
        background-size: auto 100%;

        .banner-slide {
            animation-duration: 50s;

            .banner-overlay {
                gap: 30px;

                button {
                    width: fit-content;
                    padding: 10px 20px;
                    font-size: 16px;
                }
            }
        }

    }

    .introduction {
        flex-direction: column;
        justify-content: center;
        width: 100%;
        max-width: 420px;
        margin: 0px auto;
        height: fit-content;
        img {
            flex: 1;
            margin: 0px;
        }

        .intro-img {
            margin: 10px auto;
            width: 320px;

            img {
                width: 100%;
            }

            &::after {
                width: 300px;
                height: 320px;
                margin: -320px 0px 0px 10px;
            }
        }

        .intro-img2 {
            order: 1;
            width: 100%;

            img {
                width: calc(100% - 0px);
            }
        }

        .intro-desc {
            order: 2;
            padding: 10px 30px;

            .title {
                >div {
                    flex-direction: column;

                    h1 {
                        font-size: 100px;
                        margin: 20px 0px;
                        &.hidden {
                            transform: translate(0px, 50px);
                        }
                    }
                    #gen-nth {
                        margin: -60px -85px 0px 0px;
                        font-size: 24px;
                    }
                }
            }
        }
    }

    .fruits {
        gap: 10px;
        margin: 20px auto;
        padding: 30px 10px;
        max-width: 600px;

        .card {
            flex-direction: column;
            width: calc(50% - 10px);
            height: 300px;

            .img {
                min-height: 120px;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .detail {
                padding: 10px 10px;
                flex: 1;

                h4 {
                    margin: 0px;
                }

                p::before {
                    display: block;
                    content: '';
                    background-image: linear-gradient(to bottom, transparent, #F3FFF2 50%);
                    transform: translateY(0px);
                    margin-bottom: -200px;
                    height: 200px;
                }

                button {
                    position: sticky;
                    bottom: 20px;
                    padding: 10px 10px;
                }
            }
        }
    }

    .brochure {
        flex-direction: column;
        padding: 20px;
        max-width: 600px;
        margin: 20px auto;
        gap: 20px;

        .card {
            flex: 1;
            height: 300px;

            .img {
                width: 50%;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .detail {
                padding: 10px 20px;
                flex: 1;

                h4 {
                    margin: 0px;
                }

                button {
                    padding: 10px 30px;
                    width: fit-content;
                    margin-left: auto;
                }
            }
        }
    }

    .video {
        min-height: 250px;
        background-position: center middle;
        background-size: cover;

        .video-play {
            width: 90px;
            height: 90px;

            &::before,
            &::after {
                width: 90px;
                height: 90px;
            }

        }

        .material-symbols-outlined {
            font-size: 80px;
        }
    }

    .testimonial {
        width: 100%;
        padding: 50px 0px;
        gap: 20px;

        .slider {
            width: calc(100% - 40px);
            max-width: 1200px;
            margin: 0px auto;
            padding: 30px 20px;
            gap: 10px;

            &:not(:has(.testimonial-card:nth-child(4))) {
                justify-content: center;
            }

            .testimonial-card {
                width: 240px;
                height: 280px;

                .testimonial-text {
                    padding: 5px;
                    flex: 1;

                    p {
                        padding: 0px 10px;

                        &::before,
                        &::after {
                            font-size: 40px;
                        }

                        &::before {
                            margin: -15px 0px -10px -10px
                        }

                        &::after {
                            margin: -10px -10px -15px 0px
                        }
                    }
                }

                .testimonial-author {
                    padding: 0px 10px;
                    height: 60px;

                    span {
                        font-size: 10px;
                    }
                }

                /* &.current {
                    transform: scale(1.1);

                    &+.testimonial-card {
                        transform: scale(0.9) translate(-20px, 0px);
                    }
                }

                &:has(+ .current) {
                    transform: scale(0.9) translate(20px, 0px);
                } */
            }
        }
    }

    .footer {
        flex-direction: column;
        padding: 20px 10px;

        .contact {
            flex-wrap: wrap;
            margin: 0px auto;

            .col1 {
                img {
                    height: 44px;
                }

                a {
                    width: 24px;
                    height: 24px;
                    margin: 10px 5px;
                    padding: 5px;
                }
            }

            >div {
                line-height: 2;
                padding: 10px 15px;
                flex: 1;
            }
        }

    }

    .scrollTop {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 40px;

        .material-symbols-outlined {
            font-size: 24px;
        }

        &.hidden {
            bottom: -50px;
        }
    }

    .black-overlay {
        &:not(.show) {
            .menu-products {
                margin-top: -300px;
            }
        }

        .menu-wrapper {
            height: fit-content;
            width: 100vw;
        }

        .menu-products {
            gap: 10px;
            margin: 60px auto;
            padding: 20px 10px;
            height: fit-content;
            max-height: calc(100vh - 100px);

            .card {
                flex-direction: column;
                width: calc(33% - 10px);
                height: 250px;

                .img {
                    height: 80px;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }

                .detail {
                    padding: 10px 20px;
                    flex: 1;

                    h4 {
                        margin: 0px;
                    }

                    p {
                        flex: 1;
                        overflow: hidden;
                        margin: 10px 0px 0px 0px;
                    }

                    button {
                        padding: 10px 30px;
                    }
                }
            }
        }
    }

    .modal-container {
        top: 0px;
        left: 0px;
        width: 100vw;
        height: 100vh;

        &#modal-video,
        &#modal-video1,
        &#modal-video2 {
            .modal {
                width: 100vw;
                aspect-ratio: 1.78;
            }
        }

        &#modal-brochure,
        &#modal-rootstock,
        &#modal-pdf {
            .modal {
                width: calc(100vw - 20px);
                height: calc(100vh - 40px);
            }
        }

        >button {
            padding: 20px;
            font-size: 14px;

            .material-symbols-outlined {
                font-size: 18px;
            }
        }
    }
}

@media (orientation: landscape) and (max-width: 1199px) {

    @keyframes banner {
        0% {
            background-position: calc(50% - 20px) bottom;
        }

        100% {
            background-position: calc(50% + 20px) bottom;
        }
    }

    @keyframes glow {
        0% {
            transform: scale(1);
            opacity: 0;
        }

        50% {
            opacity: 0.5;
        }

        100% {
            transform: scale(1.4);
            opacity: 0;
        }
    }

    h1 {
        font-size: 50px;
        margin: 10px 0px;
    }

    h2 {
        font-size: 28px;
        margin: 5px 0px;
    }

    h4 {
        font-size: 18px;
    }

    h6 {
        font-size: 14px;
    }

    p {
        font-size: 12px;
    }

    button {
        font-size: 14px;
    }

    .header {
        justify-content: space-between;

        .logo {
            img {
                height: 60px;
                margin: auto 5px;
            }
        }

        .menu {
            flex: 1;
            top: 60px;
            right: 0px;
            padding: 20px 0px;
            max-width: 600px;
            position: absolute;
            flex-direction: column;
            background-color: #F3FFF2;
            border-radius: 0px 0px 10px 10px;
            box-shadow: 2px 12px 8px rgba(0, 0, 0, 0.5);

            button {
                padding: 10px 30px;
                font-size: 16px;

                &::after {
                    transform: translate(0px, 28px);
                    width: 0px;
                    height: 5px;
                }

                &.dropdown {
                    &::after {
                        content: '';
                    }
                }

                &:hover,
                &.active {
                    &::after {
                        transform: translate(0px, 0px);
                        width: 5px;
                        height: 0px;
                    }

                }
            }

            &.hidden {
                display: none;
            }
        }

        .menuToggle {
            display: flex;
            padding: 10px 20px;
            align-items: center;
            color: #2b5b00;
            background-color: #F3FFF2;
        }

        &:has(.menu.hidden) {
            .menuToggle {
                color: black;
                background-color: transparent;
            }
        }
    }

    .banner {
        min-height: 100vh;
        background-size: auto 100%;

        .banner-slide {
            animation-duration: 10s;

            .banner-overlay {
                gap: 5px;

                h1 {
                    margin: auto 0px 2px 0px;
                }

                h2 {
                    margin: 0px;
                }

                button {
                    width: fit-content;
                    padding: 10px 20px;
                    font-size: 16px;
                    margin: 5px 0px 40px 0px;
                }
            }
        }
    }

    .introduction {
        flex-direction: column;
        justify-content: center;
        width: 100%;
        max-width: 420px;
        margin: 0px auto;
        height: fit-content;

        img {
            flex: 1;
            margin: 0px;
        }

        .intro-img {
            margin: 10px auto;
            width: 320px;

            img {
                width: 100%;
            }

            &::after {
                width: 300px;
                height: 320px;
                margin: -320px 0px 0px 10px;
            }
        }

        .intro-img2 {
            order: 1;
            width: 100%;

            img {
                width: calc(100% - 0px);
            }
        }

        .intro-desc {
            order: 2;
            padding: 10px 30px;

            .title {
                >div {
                    flex-direction: column;

                    h1 {
                        font-size: 120px;

                        &.hidden {
                            transform: translate(0px, 50px);
                        }
                    }
                    #gen-nth {
                        margin: -60px -85px 0px 0px;
                        font-size: 24px;
                    }
                }
            }
        }
    }

    .fruits {
        gap: 10px;
        margin: 20px auto;
        padding: 30px 10px;
        max-width: 600px;

        .card {
            flex-direction: column;
            width: calc(50% - 10px);
            height: 300px;

            .img {
                min-height: 120px;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .detail {
                padding: 10px 10px;
                flex: 1;

                h4 {
                    margin: 0px;
                }

                p::before {
                    display: block;
                    content: '';
                    background-image: linear-gradient(to bottom, transparent, #F3FFF2 50%);
                    transform: translateY(0px);
                    margin-bottom: -200px;
                    height: 200px;
                }

                button {
                    position: sticky;
                    bottom: 20px;
                    padding: 10px 10px;
                }
            }
        }
    }

    .brochure {
        flex-direction: column;
        padding: 20px;
        max-width: 600px;
        margin: 20px auto;
        gap: 20px;

        .card {
            flex: 1;
            height: 300px;

            .img {
                width: 50%;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .detail {
                padding: 10px 20px;
                flex: 1;

                h4 {
                    margin: 0px;
                }

                button {
                    padding: 10px 30px;
                    width: fit-content;
                    margin-left: auto;
                }
            }
        }
    }

    .video {
        min-height: 250px;
        background-position: center middle;
        background-size: cover;

        .video-play {
            width: 90px;
            height: 90px;

            &::before,
            &::after {
                width: 90px;
                height: 90px;
            }

        }

        .material-symbols-outlined {
            font-size: 80px;
        }
    }

    .testimonial {
        width: 100%;
        padding: 50px 0px;
        gap: 20px;

        .slider {
            width: fit-content;
            max-width: 1200px;
            margin: 0px auto;
            padding: 30px 20px;
            gap: 10px;

            .testimonial-card {
                width: 33%;
                height: 280px;

                .testimonial-text {
                    padding: 5px;
                    flex: 1;

                    p {
                        padding: 0px 10px;
                        font-size: 14px;
                        &::before,
                        &::after {
                            font-size: 40px;
                        }

                        &::before {
                            margin: -15px 0px -15px -10px;
                        }

                        &::after {
                            margin: -15px -10px -25px 0px;
                        }
                    }
                }

                .testimonial-author {
                    padding: 0px 10px;
                    height: 60px;

                    span {
                        font-size: 10px;
                    }
                }

                /* &.current {
                    transform: scale(1.1);

                    &+.testimonial-card {
                        transform: scale(0.9) translate(-20px, 0px);
                    }
                }

                &:has(+ .current) {
                    transform: scale(0.9) translate(20px, 0px);
                } */
            }
        }
    }

    .footer {
        flex-direction: column;
        padding: 20px 10%;

        .contact {
            flex-wrap: wrap;
            margin: 0px auto;

            .col1 {
                width: 100%;

                img {
                    height: 56px;
                }

                a {
                    width: 32px;
                    height: 32px;
                    margin: 12px 0px;
                    border-radius: 36px;
                }
            }

            .call {
                width: 50%;

                >div {
                    >h6 {
                        flex: 1;

                        &:first-child {
                            max-width: 120px;
                        }
                    }
                }
            }

            .col3 {
                flex: 1;
            }

            >div {
                line-height: 2;
                padding: 10px 0px;

                .row {
                    gap: 15px;
                }

                &:not(:last-of-type) {
                    border-right: none;
                }
            }
        }

    }

    .scrollTop {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 40px;

        .material-symbols-outlined {
            font-size: 24px;
        }

        &.hidden {
            bottom: -50px;
        }
    }

    .black-overlay {
        &:not(.show) {
            .menu-products {
                margin-top: -300px;
            }
        }

        .menu-wrapper {
            height: fit-content;
            width: 100vw;
        }

        .menu-products {
            gap: 5px;
            margin: 60px auto 0px auto;
            padding: 5px;
            height: fit-content;
            max-height: calc(100vh - 160px);
            max-width: 1200px;

            .card {
                flex-direction: column;
                width: calc(25% - 5px);
                height: 220px;

                .img {
                    height: 90px;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }

                .detail {
                    padding: 10px 20px;
                    flex: 1;

                    h4 {
                        margin: 0px;
                    }

                    p {
                        flex: 1;
                        overflow: hidden;
                        margin: 10px 0px 0px 0px;
                    }

                    button {
                        padding: 10px 30px;
                    }
                }
            }
        }
    }

    .modal-container {
        top: 0px;
        left: 0px;
        width: 100vw;
        height: 100vh;

        &#modal-video,
        &#modal-video1,
        &#modal-video2 {
            .modal {
                width: 100vw;
                aspect-ratio: 1.78;
            }
        }

        &#modal-brochure,
        &#modal-rootstock,
        &#modal-pdf {
            .modal {
                width: calc(100vw - 20px);
                height: calc(100vh - 40px);
            }
        }

        >button {
            padding: 20px;
            font-size: 14px;

            .material-symbols-outlined {
                font-size: 18px;
            }
        }
    }
}

@media (orientation: landscape) and (min-width: 1200px) {
    @keyframes banner {
        0% {
            background-position: calc(50% + 10px) bottom;
        }

        100% {
            background-position: calc(50% - 10px) bottom;
        }
    }

    @keyframes glow {
        0% {
            transform: scale(1);
            opacity: 0;
        }

        50% {
            opacity: 0.5;
        }

        100% {
            transform: scale(1.4);
            opacity: 0;
        }
    }

    h1 {
        font-size: 70px;
        margin: 10px 0px;
    }

    h2 {
        font-size: 28px;
        margin: 5px 0px;
    }

    h6 {
        font-size: 10px;
    }

    h7 {
        font-size: 8px;
    }

    p {
        font-size: 16px;
    }


    .header {

        .logo {
            img {
                height: 50px;
                margin: 5px 20px;
            }
        }

        .menu {
            flex: 1;
            padding: 0px 20px;
            max-width: 1360px;

            button {
                padding: 0px 20px;

                &::after {
                    transform: translate(0px, 18px);
                    width: 0px;
                    height: 5px;
                }

                &:hover,
                &.active {
                    &::after {
                        transform: translate(0px, 18px);
                        width: 100%;
                        height: 5px;
                    }

                }
            }
        }

        .menuToggle {
            display: none;
        }
    }

    .banner {
        min-height: 700px;
        background-size: cover;

        .banner-slide {
            animation-duration: 20s;
            background-size: cover;

            .banner-overlay {
                width: 100%;
                height: fit-content;

                h1 {
                    margin: auto 0px 10px 0px;
                }

                button {
                    width: fit-content;
                    padding: 10px 20px;
                    margin: 20px 0px 80px 0px;
                }
            }
        }
    }

    .introduction {
        width: 100%;
        max-width: 1000px;
        margin: 0px auto;
        height: fit-content;

        img {
            flex: 1;
            margin: 20px;
        }

        .intro-img {
            width: 50%;

            img {
                width: 90%;
                margin: auto;
            }
        }

        .intro-img2 {
            flex: 1;

            img {
                width: calc(100% - 0px);
            }
        }

        .intro-desc {
            flex: 1;

            .title {
                >div {
                    flex-direction: column;

                    h1 {
                        &.hidden {
                            transform: translate(0px, 50px);
                        }
                    }

                    #gen-nth {
                        margin: -45px -60px 0px 0px;
                        font-size: 24px;
                    }
                }
            }
        }
    }

    .fruits {
        gap: 30px;
        margin: 50px auto;
        padding: 30px 0px;
        max-width: 1200px;

        .card {
            flex-direction: column;
            width: 25%;
            height: 400px;

            .img {
                height: 150px;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .detail {
                padding: 10px 20px;
                flex: 1;

                h4 {
                    margin: 0px;
                }

                button {
                    padding: 10px 30px;
                }
            }
        }
    }



    .brochure {
        padding: 20px;
        max-width: 1200px;
        margin: 20px auto;
        gap: 20px;

        .card {
            flex: 1;
            height: 300px;

            .img {
                width: 50%;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .detail {
                padding: 10px 20px;
                flex: 1;

                h4 {
                    margin: 0px;
                }

                button {
                    padding: 10px 30px;
                    width: fit-content;
                    margin-left: auto;
                }
            }
        }
    }

    .video {
        min-height: 650px;
        background-position: center middle;
        background-size: cover;

        .video-play {
            width: 80px;
            height: 80px;

            &::before,
            &::after {
                width: 80px;
                height: 80px;
            }

        }

        .material-symbols-outlined {
            font-size: 64px;
        }
    }

    .footer {
        flex-direction: column;
        padding: 20px 40px;

        .contact {
            flex-wrap: wrap;
            margin: 0px auto;

            .col1 {
                min-width: 40%;
                padding-right: 20%;

                img {
                    height: 44px;
                }

                a {
                    width: 24px;
                    height: 24px;
                    margin: 10px 5px;
                    padding: 2px;
                }
            }

            .call {
                >div {
                    >h6 {
                        flex: 1;

                        &:first-child {
                            max-width: 80px;
                        }
                    }
                }
            }

            >div {
                line-height: 2;
                padding: 10px 15px;
                flex: 1;
            }
        }

    }

    .testimonial {
        width: 100%;
        padding: 50px 0px;
        gap: 20px;

        .slider {
            width: fit-content;
            max-width: 1200px;
            margin: 0px auto;
            padding: 30px 20px;
            gap: 20px;

            .testimonial-card {
                width: 300px;
                height: 350px;

                .testimonial-text {
                    padding: 10px;
                    flex: 1;

                    p {
                        padding: 0px 20px;
                        margin: 0px;
                        &::before,
                        &::after {
                            font-size: 60px;
                        }

                        &::before {
                            margin: -10px 0px -20px -20px;
                        }

                        &::after {
                            margin: -20px -20px -10px 0px;
                        }
                    }
                }

                .testimonial-author {
                    padding: 0px 20px;
                    height: 70px;
                    gap: 2px;

                    span {
                        font-size: 10px;
                    }
                }

                /* &.current {
                    transform: scale(1.1);

                    &+.testimonial-card {
                        transform: scale(0.9) translate(-20px, 0px);
                    }
                }

                &:has(+ .current) {
                    transform: scale(0.9) translate(20px, 0px);
                } */
            }
        }
    }

    .scrollTop {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 40px;

        &.hidden {
            bottom: -50px;
        }
    }

    .black-overlay {
        &:not(.show) {
            .menu-products {
                margin-top: -300px;
            }
        }

        .menu-wrapper {
            height: fit-content;
            width: 100vw;
        }

        .menu-products {
            gap: 5px;
            margin: 60px auto 0px auto;
            padding: 5px;
            height: fit-content;
            max-height: calc(100vh - 160px);
            max-width: 1200px;

            .card {
                flex-direction: column;
                width: calc(25% - 5px);
                height: 260px;

                .img {
                    height: 100px;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }

                .detail {
                    padding: 10px 20px;
                    flex: 1;

                    h4 {
                        margin: 0px;
                    }

                    p {
                        flex: 1;
                        overflow: hidden;
                        margin: 10px 0px 0px 0px;
                    }

                    button {
                        padding: 10px 30px;
                    }
                }
            }
        }
    }

    .modal-container {
        top: 0px;
        left: 0px;
        width: 100vw;
        height: 100vh;

        &#modal-video,
        &#modal-video1,
        &#modal-video2 {
            .modal {
                width: 1200px;
                aspect-ratio: 1.78;
            }
        }

        &#modal-brochure,
        &#modal-rootstock {
            .modal {
                width: 1000px;
                height: calc(100vh - 60px);
            }
        }

        &#modal-pdf {
            .modal {
                width: 1000px;
                height: calc(100vh - 60px);
            }
        }

        >button {
            padding: 10px;
        }
    }
}