/* Basic CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Optimize for touch and scroll performance */
    -webkit-tap-highlight-color: transparent;
}

/* CSS Variables for colors and fonts */
:root {
    --primary-red: #E8304F;
    --accent-red : #E8304F;
    --dark-grey: rgb(52, 52, 52);
    --accent-green: #9fcc4b;
    --primary-green: rgb(124, 186, 73);
    --accent-orange: rgb(243, 156, 18);
    --light-bg: #fdfdfd; /* A very light, almost white background for hero */

    --font-family-sans-serif: "Roboto Flex", sans-serif;;
    --font-family-serif: 'Georgia', serif;
    --font-size-base: 16px;
    --font-size-large: 1.25em;
    --font-size-small: 0.875em;
}

@font-face {
    font-family: 'Cooper Bold';
    src: url('./Assets/fonts/CooperLtBT-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Cooper Regular';
    src: url('./Assets/fonts/CooperMdBT-Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Fredoka Bold';
    src: url('./Assets/fonts/Fredoka-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Body Styles */
html {
    scroll-behavior: smooth;
    scroll-snap-type: none;
}

body {
    font-family: var(--font-family-sans-serif);
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-color-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-snap-type: none;
}

/* Disable snap on touch devices - they handle scrolling better naturally */
@media (hover: none) and (pointer: coarse) {
    html {
        scroll-behavior: auto;
    }
}

a {
    text-decoration: none;
}

/* NavBar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100px;
    min-height: 70px;
    background-color: transparent;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    z-index: 100;
    gap: 2rem;
}

nav img {
    width: clamp(80px, 12vw, 150px);
    height: auto;
    flex-shrink: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex: 1;
    margin: 0;
}

.nav-links a {
    color: var(--dark-grey);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease-in-out, border-bottom 0.3s ease-in-out;
    border-bottom: 2px solid transparent;
    display: block;
}

.nav-links a:hover {
    color: var(--primary-red);
    border-bottom: var(--primary-red) 2px solid;
}

.nav-contact {
    border: 2px solid var(--accent-green);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.nav-contact svg {
    width: 20px;
    height: 20px;
    color: var(--primary-green);
    flex-shrink: 0;
}

.nav-contact a {
    color: var(--primary-green);
    font-weight: 600;
}

.main-content {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    /* margin-top: 100px; */
}

.navbar.add-trans {
    background-color: #ffffff9d;
}

/* Hero */
.hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    text-align: center;
    background-color: var(--light-bg);
    z-index: 1;
    will-change: transform;
    /* backface-visibility: hidden; */
}

.hero-group {
    width: 100%;
    height: 100%;

}

.hero-laeves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 100; /* Ensures leaves are behind other hero content */
    overflow: hidden; /* Ensure leaves don't appear outside hero */
}

.leaf {
    position: absolute;
    animation: leafFall linear infinite;
    opacity: 0; /* Start invisible, animation will handle appearance */
    transform-origin: center; /* Ensure rotation is around the center */
    scale: 1.5;
}

.leaf-1 {
    left: 10%;
    width: 80px;
    animation-duration: 10s;
    animation-delay: 0s;
}

.leaf-2 {
    left: 25%;
    width: 120px;
    animation-duration: 12s;
    animation-delay: 2s;
}

.leaf-3 {
    left: 40%;
    width: 100px;
    animation-duration: 8s;
    animation-delay: 4s;
}

.leaf-4 {
    left: 55%;
    width: 90px;
    animation-duration: 11s;
    animation-delay: 1s;
}

.leaf-5 {
    left: 70%;
    width: 70px;
    animation-duration: 9s;
    animation-delay: 3s;
}

.leaf-6 {
    left: 85%;
    width: 110px;
    animation-duration: 13s;
    animation-delay: 5s;
}

@keyframes leafFall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-mbl-view {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

@keyframes marquee-horizontal {
    0% {
        transform: translate(25%, 5%);
    }
    100% {
        transform: translate(-25%, 5%); 
    }
}

.moving-txt {
    position: absolute;
    /* top: 5%; */
    display: flex;
    flex-direction: row;
    width: 400vh;
    transform: translateY(-5%);
    animation: marquee-horizontal 22.5s linear infinite;
}

.hero-big-dot {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6vh;
    height: 6vh;
    border-radius: 100%;
    border: var(--primary-green) 5px solid;
}

.hero .heading {
    font-weight:bolder;
    position: absolute;
    top: 17%;
    letter-spacing: 1vw;
    text-transform: uppercase;
    font-size: 1.8vh;
    color: var(--dark-grey);
}

.hero .heading h1 {
    transform: scaleY(1.2);
}

.hero-image-sticky-wrapper {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
}

/* .original-hero-image {
    width: auto;
    height: 80vh;
    object-fit: cover;
    object-position: center;
} */

.hero-chick {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-chick img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 80vh;
    z-index: 2;
}

.shadow-image {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130vh;
}

.hero-bottom {
    width: 75%;
    position: absolute;
    bottom: 10%;
    left: 10%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-tag {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5vw;
    list-style: none;
}

.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3vw;
}

.hero-dot {
    width: 0.5vw;
    height: 0.5vw;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5vw;
}

.hero-tag li {
    color: var(--dark-grey);
    text-transform: capitalize;
}

.btn {
    width: 18vh;
    padding: 0.5vw 2vw;
    border-radius: 100px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.btn-primary {
    background-color: var(--primary-green);
    border: var(--primary-green) 2px solid;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-green);
    color: white;
}

.btn-secondary {
    /* background-color: transparent; */
    color: var(--primary-green);
    border: var(--primary-green) 2px solid;
    transition: all 0.3s ease-in-out;
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: white;
    border: none;
}

@media (max-width: 1000px) {
    .hero-bottom {
        width: 100%;
        flex-direction: column;
        gap: 3vh;
        bottom: 13%;
        left: 0;
        scale: 1.2;
    }

    .hero-btns {
        gap: 5vh;
        /* flex-direction: column; */
        /* width: 50%; */
    }

    .btn {
        width: 15vw;
        font-size: 1.2vh;
        padding: 1vh 0vh;
        scale: 1.2;
    }

    .hero-mbl-view {
        transform: translateY(-10%);
        scale: 0.7;
    }
}

@media (max-width: 768px) {
    .hero-btns {
        gap: 2vh;
        flex-direction: column;
        width: 45%;
    }

    .btn {
        width: 100%;
    }
}

/* hero loading animation */
/* Animations */
@keyframes popup {
    0% {
        opacity: 0;
        transform: translate(0%, 20%) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translate(0%, 0%) scale(1);
    }
}

@keyframes slideFromTop {
    0% {
        opacity: 0;
        transform: translate(0%, -250%);
    }
    100% {
        opacity: 1;
        transform: translate(0%, 0%);
    }
}

@keyframes slideFromBottom {
    0% {
        opacity: 0;
        transform: translate(-0%, 250%);
    }
    100% {
        opacity: 1;
        transform: translate(-0%, 0%);
    }
}

/* Apply animations */
@keyframes navSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

nav {
    animation: navSlideIn 0.8s ease-out forwards;
    opacity: 0; /* Initial state before animation */
}

.hero-tag {
    animation: slideFromBottom 1s ease-out forwards;
    opacity: 0; /* Initial state before animation */
    animation-delay: 0.9s;
}

.hero-btns {
    animation: slideFromBottom 1s ease-out forwards;
    opacity: 0; /* Initial state before animation */
    animation-delay: 1.1s;
}

.hero-image-sticky-wrapper {
    animation: popup 1s ease-out forwards;
    opacity: 0; /* Initial state before animation */
    animation-delay: 0.5s;
}

.hero .heading {
    animation: slideFromTop 1s ease-out forwards;
    opacity: 0; /* Initial state before animation */
    animation-delay: 0.2s;
}

/* scroll transition - removed old scroll classes, animations handled by JS */
.main-content.show-products .products {
    transform: translateY(-100%);
}

/* Products Section */
.products {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--light-bg);
    z-index: 2;
    background: url("./Assets/feather-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateY(0);
}

.products-container {
    width: 100%;
    height: 100vh;
    z-index: 3;
    background-color:  rgba(255, 255, 255, 0.6) ;
    
}

@keyframes slideLeft {
    0% {
        transform: translateX(-100vw) translateY(0);
        opacity: 0;
    }
    100% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(100vw) translateY(0);
        opacity: 0;
    }
    100% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

.pdt-hide {
    display: flex;
}

.pdt-mbl {
    display: none;
}

.healthy-kuttan {
    position: absolute;
    top: 15%;
    left: 0%;
    transform: translate(-50%, -50%);
    min-width: 420px;
    width: 30vw;
    height: auto;
    object-fit: contain;
    z-index: 3;
    opacity: 0;
}

.products.products-scattered .healthy-kuttan {
    animation: slideLeft 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.1s;
}

.pdt-tag {
    background-color: rgba(124, 186, 73, 0.5);
    border-radius: 15px;
    box-shadow: 0 0 5px #E8304F;
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 15%;
    right: 5%;
    min-width: 500px;
    width: 30vw;
    padding: 1vh 3vh;
    line-height: 2rem;
    opacity: 0;
}

.pdt-tag p {
    font-size: 2.0vh;
    color: var(--primary-red);
    font-weight: 600;
}

.pdt-tag span {
    /* font-size: 1.5vh; */
    color: var(--primary-red);
    font-weight: 400;
}

.pdt-tag label {
    font-weight: 600;
    color: var(--dark-grey);
}

.pdt-tag img {
    position: absolute;
    top: 50%;
    left: -1%;
    transform: translate(-50%, -50%) rotate(-20deg);
    width: 10vh;
}

.products.products-scattered .pdt-tag {
    animation: slideRight 1.5s ease-out forwards;
    animation-delay: 0.1s;
}

@keyframes chickenPopUp {
    0% {
        transform: translateX(-50%) translateY(100%) scale(0.5);
        opacity: 0;
    }
    70% {
        transform: translateX(-50%) translateY(-5%) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(0) scale(1); /* Settle at final position */
        opacity: 1;
    }
}

.chicken-popup-image {
    min-height: 300px;
    height: 35vw;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
    z-index: 3;
}

.products.chickenpop .chicken-popup-image {
    animation: chickenPopUp 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes lineDraw {
    0% {
        stroke-dashoffset: 100%;
        opacity: 0;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.product-group {
    /* background-color: blue; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1vw;
    position: absolute;
    width: 35vh;
    height: 20vh;
    z-index: 3;
    scale: 1.2;
    opacity: 0;
}

.scatter-product-image {
    width: 15vh;
    z-index: 1;
}

.product-line {
    width: 8vh;
    opacity: 0;
}

.products.lines-drawn .product-line{
    animation: lineDraw 1s ease-out forwards;
}

.product-txt {
    scale: 1.1;
    display: flex;
    flex-direction: column;
    font-family: "Cooper Bold", sans-serif;
    color: var(--primary-red);
    width: 10.5vh;
    line-height: 1.5vh;
    opacity: 0;
}

.product-txt span {
    color: var(--dark-grey);
    font-family: "Cooper Regular", sans-serif;
}

.products.lines-drawn .product-txt {
    animation: lineDraw 1s ease-out forwards;
    animation-delay: 0.5s;
}

.product-thigh {
    top: 65%;
    right: 66%;
    /* transform: translate(40%, 20%); */
}

.product-line1 {
    rotate: 70deg;
    transform: translate(-20%, -25%);
}

.product-txt1 {
    transform: translateX(40%);
}

.product-chest {
    top: 42%;
    right: 60%;
    rotate: 10deg;
    /* transform: translate(40%, 20%); */
}

.product-line2 {
    scale: 1.1;
    rotate: 50deg;
    transform: translate(15%, -40%);
}

.product-txt2 {
    transform: translate(60%, -30%);
}

.product-leg {
    top: 38%;
    left: 50%;
}

.product-line3 {
    scale: 1.4;
    rotate: 0deg;
    transform: translate(30%, 90%);
}

.product-txt3 {
    transform: translate(80%, -30%);
}

.product-wings {
    top: 45%;
    left: 60%;
    /* transform: translate(40%, 20%); */
}

.product-line4 {
    scale: 1.2;
    rotate: 30deg;
    transform: translate(-50%, -20%);
}

.product-txt4 {
    transform: translate(-10%, -120%);
}

.product-liver {
    top: 65%;
    left: 67%;
    /* transform: translate(40%, 20%); */
}

.product-line5 {
    scale: 1.2;
    rotate: -30deg;
    transform: translate(-40%, -70%);
}

.product-txt5 {
    transform: translate(-40%, -50%);
}

@keyframes productScatterThigh {
    from {
        transform: translateX(100%) translateY(150%) scale(0.1);
        opacity: 0;
    }
    to {
        transform: translateX(calc(0% - 0%)) translateY(0) rotate(0deg) scale(1); /* Far left-top from chicken's base */
        opacity: 1;
    }
}


@keyframes productScatterChest {
    from {
        transform: translateX(75%) translateY(150%) scale(0.1);
        opacity: 0;
    }
    to {
        transform: translateX(calc(0% - 0%)) translateY(0vw) rotate(0deg) scale(1); /* Mid left-top from chicken's base */
        opacity: 1;
    }
}

@keyframes productScatterLeg {
    from {
        transform: translateX(0%) translateY(150%) scale(0.1);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(-50%) rotate(0deg) scale(1); /* Top-center from chicken's base */
        opacity: 1;
    }
}

@keyframes productScatterWing {
    from {
        transform: translateX(-75%) translateY(150%) scale(0.1);
        opacity: 0;
    }
    to {
        transform: translateX(calc(0% + 0vw)) translateY(0vw) rotate(0deg) scale(1); /* Mid right-top from chicken's base */
        opacity: 1;
    }
}

@keyframes productScatterLiver {
    from {
        transform: translateX(-100%) translateY(100%) scale(0.1);
        opacity: 0;
    }
    to {
        transform: translateX(calc(0% + 0vw)) translateY(0vw) rotate(0deg) scale(1); /* Far right-top from chicken's base */
        opacity: 1;
    }
}

/* Trigger scatter animation when products section has 'products-scattered' class */
.products.products-scattered .product-thigh {
    animation: productScatterThigh 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.products.products-scattered .product-chest {
    animation: productScatterChest 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.products.products-scattered .product-leg {
    animation: productScatterLeg 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.products.products-scattered .product-wings {
    animation: productScatterWing 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

.products.products-scattered .product-liver {
    animation: productScatterLiver 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

@media (max-width: 1000px) {
    .pdt-hide {
        display: none;
    }

    .pdt-mbl {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 95vh;
        padding: 5vh 10vh;
        position: absolute;
        bottom: 5vw;
        /* left: 50%; */
        /* transform: translate(-50%, -50%); */
    }

    .pdt-group-mbl {
        scale: 0.9;
    }

    .pdt-group-mbl {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2vh;
        width: 100%;
    }

    .pdt-mbl-img {
        width: 15vh;
        height: auto;
    }

    .pdt-mbl-arrow {
        width: 10vh;
        height: auto;
        opacity: 0;
    }

    .pdt-mbl-txt {
        min-width: 10vh;
        scale: 1.1;
        display: flex;
        flex-direction: column;
        font-family: "Cooper Bold", sans-serif;
        color: var(--primary-red);
        width: 10.5vh;
        line-height: 1.5vh;
        opacity: 0;
    }

    .pdt-mbl-txt span {
        color: var(--dark-grey);
        font-family: "Cooper Regular", sans-serif;
    }

    .mbl-right {
        flex-direction: row-reverse;
    }

    .mbl-right .pdt-mbl-arrow {
        transform: rotate(180deg);
    }

    .mbl-center {
        opacity: 0;
    }

    .mbl-left {
        justify-content: left;
        opacity: 0;
    }

    .mbl-right {
        justify-content: right;
        opacity: 0;
    }

    @keyframes popoutRight {
        from {
            transform: translateX(-20%) translateY(1000%) scale(0.1);
            opacity: 0;
        }
        to {
            transform: translateX(calc(0% - 0%)) translateY(0) rotate(0deg) scale(1); /* Far left-top from chicken's base */
            opacity: 1;
        }
    }


    @keyframes popoutLeft {
        from {
            transform: translateX(20%) translateY(1000%) scale(0.1);
            opacity: 0;
        }
        to {
            transform: translateX(calc(0% - 0%)) translateY(0vw) rotate(0deg) scale(1); /* Mid left-top from chicken's base */
            opacity: 1;
        }
    }

    @keyframes popoutCenter {
        from {
            transform: translateX(0%) translateY(1000%) scale(0.1);
            opacity: 0;
        }
        to {
            transform: translateX(0%) translateY(0%) rotate(0deg) scale(1); /* Top-center from chicken's base */
            opacity: 1;
        }
    }

    .products.products-scattered .mbl-left {
        animation: popoutLeft 0.8s ease-out forwards;
        animation-delay: 0.2s;
    }

    .products.products-scattered .mbl-right {
        animation: popoutRight 0.8s ease-out forwards;
        animation-delay: 0.3s;
    }

    .products.products-scattered .mbl-center {
        animation: popoutCenter 0.8s ease-out forwards;
        animation-delay: 0.4s;
    }

    .products.lines-drawn .pdt-mbl-txt {
        animation: lineDraw 1s ease-out forwards;
        animation-delay: 0.5s; /* Delay to sync with line drawing */
    }

    .products.lines-drawn .pdt-mbl-arrow{
        animation: lineDraw 2s ease-out forwards;
    }

    .healthy-kuttan {
        top: 8%;
        width: 30vh;
    }

    .pdt-tag {
        display: none;
    }
}

@media (max-width: 768px) {
    .healthy-kuttan {
        left: -50px;
    }
    .mbl-right, .mbl-left {
        justify-content: center;
    }
    .pdt-group-mbl {
        width: 100vw;
    }
    .pdt-mbl-txt {
        width: 12.5vh;
        line-height: 2vh;
    }
}

@media (max-width: 568px) {
    .chicken-popup-image {
        width: auto;
        min-height: unset;
        height: 30vh;
    }
}

/* Hamburger menu styles */
.nav-toggle {
    display: none; /* Hide checkbox input - used only for state management */
}

.hamburger-menu {
    display: none; /* Hidden by default on larger screens */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 110; /* Above navbar content */
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--dark-grey);
    transition: all 0.3s ease-in-out;
}

/* Mobile menu container */
.mobile-menu {
    display: flex;
    flex-direction: row; /* Default for desktop */
    align-items: center;
    gap: 3vw;
}

/* Media queries for responsiveness */

@media (max-width: 1000px) {
    nav {
        padding: 0.75rem 1.5rem;
    }
    
    nav img {
        width: clamp(70px, 10vw, 130px);
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    .nav-contact {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
        height: 60px;
        /* background-color: #fff; */
    }

    nav img {
        width: clamp(60px, 15vw, 100px);
    }

    .nav-links,
    .nav-contact {
        display: none; /* Hide desktop nav elements by default on mobile */
    }

    .hamburger-menu {
        display: flex; /* Show hamburger on mobile */
        position: relative;
        z-index: 110;
    }

    .mobile-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--light-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 2rem;
        display: none;
        transition: transform 0.3s ease-in-out;
        z-index: 105; /* Above main content, below hamburger */
        overflow-y: auto;
    }

    .mobile-menu.active {
        transform: translateX(0);
        display: flex;
    }

    .mobile-menu .nav-links {
        display: flex; /* Show nav links in mobile menu */
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
        width: 100%;
        align-items: center;
        flex: unset;
    }

    .mobile-menu .nav-links a {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: center;
    }

    .mobile-menu .nav-contact {
        display: flex; /* Show contact in mobile menu */
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    /* Hamburger animation to 'X' */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    body.no-scroll {
        position: fixed;
        width: 100%;
        overflow: hidden;
    }
    
    html {
        scroll-padding-top: 60px;
        -webkit-scroll-padding-top: 60px;
    }
}

.why-us {
    width: 100%;
    height: 90vh;
    background-color: var(--light-bg);
    position: relative;
    top: 0;
    left: 0;
    z-index: 3;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-overflow-scrolling: touch;
}

.why-us-top > *,
.why-us-cards .card,
.meat-img {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
}

.why-us.is-visible .why-us-top > *,
.why-us.is-visible .why-us-cards .card,
.why-us.is-visible .meat-img {
    animation: slideZoomUp 0.6s ease-out forwards;
}

.why-us.is-visible .why-us-top > :nth-child(1) { animation-delay: 0.1s; }
.why-us.is-visible .why-us-top > :nth-child(2) { animation-delay: 0.2s; }
.why-us.is-visible .why-us-top > :nth-child(3) { animation-delay: 0.3s; }
.why-us.is-visible .why-us-cards .card:nth-child(1) { animation-delay: 0.15s; }
.why-us.is-visible .why-us-cards .card:nth-child(2) { animation-delay: 0.25s; }
.why-us.is-visible .why-us-cards .card:nth-child(3) { animation-delay: 0.35s; }
.why-us.is-visible .why-us-cards .card:nth-child(4) { animation-delay: 0.45s; }
.why-us.is-visible .meat-img { animation-delay: 0.55s; }

@keyframes slideZoomUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.why-us-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 2vw;
}

.purchase.is-visible .purchase-actions {
    animation: slideZoomUp 0.6s ease-out forwards;
    animation-delay: 0.4s;
}

.why-us-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 20px;
    width: 800px;
    gap: 0.6vw;
}

.why-us-top .label {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent-red);
    font-size: 14px;
    letter-spacing: .2vw;
}

.why-us-top h2 {
    color: var(--dark-grey);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Fredoka Bold";
    line-height: 50px;
    font-size: 50px;
    margin-bottom: 10px;
}

.why-us-top h2 span {
    color: var(--primary-green);
}

.why-us-top p {
    font-size: 18px;
    font-weight: 300;
    color: var(--accent-red);
    text-align: center;
}

.why-us-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 5px 10px;
}

.why-us-cards .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1vw;
    padding: 15px 10px;
    /* border: #9fcc4b 2px solid; */
    border-radius: 15px;
    box-shadow: 0 2px 5px #0000003b;
    min-height: 230px;
    height: 20vw;
    max-height: 250px;
    min-width: 220px;
    width: 17vw;
    /* max-width: 300px; */
    text-align: center;
}

.card .card-icon {
    background-color: rgba(114, 99, 99, 0.155);
    border-radius: 15px;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card .card-icon svg {
    width: auto;
    height: 30px;
}

.card h2 {
    font-family: "Fredoka Bold";
    font-size: 20px;
}

.card p {
    font-size: 15px;
}

.meat-img {
    width: 70vw;
    height: 20vw;
    max-height: 230px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

.meat-img img {
    width: 70vw;
    height: 230px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1000px) {
    .why-us {
        min-height: 90vh;
        height: fit-content;
        width: 100%;

    }

    .why-us-cards {
        padding: unset;
    }

    .meat-img {
        /* display: none; */
        max-height: unset;
        height: 20vw;
        width: 80vw;
    }

    .meat-img img {
        height: auto;
        width: 80vw;
    }

    .why-us-top {
        width: 90vw;
    }

    .why-us-cards .card {
        width: 40%;
        min-height: unset;
        height: 20vh;
    }

    .why-us-container {
        margin-top: 50px;
    }

}

@media (max-width: 568px) {

    .why-us-cards .card {
        justify-content: unset;
    }

    .why-us-top h2 {
        font-size: 45px;
    }

    .why-us-top p {
        font-size: 16px;
    }

    .why-us-cards .card {
        width: 80%;
        min-height: unset;
        height: fit-content;
    }

    .meat-img {
        /* display: none; */
        margin-top: 2vh;
        max-height: unset;
        height: 20vw;
        width: 100%;
        border-radius: 0;
    }

    .meat-img img {
        height: auto;
        width: 100%;
    }
}

.purchase {
    width: 100%;
    height: fit-content;
    background: radial-gradient(circle at top left, #fff7f2 0%, #f7fff1 45%, #ffffff 100%);
    position: relative;
    top: 0;
    left: 0;
    z-index: 3;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    -webkit-overflow-scrolling: touch;
}

.purchase-container {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
}

.purchase-head {
    display: flex;
    flex-direction: column;
    gap: 0.6vw;
}

.purchase-head > *,
.purchase-cards .pcards,
.purchase-info .info-item {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
}

.purchase.is-visible .purchase-head > *,
.purchase.is-visible .purchase-cards .pcards,
.purchase.is-visible .purchase-info .info-item {
    animation: slideZoomUp 0.6s ease-out forwards;
}

.purchase.is-visible .purchase-head > :nth-child(1) { animation-delay: 0.1s; }
.purchase.is-visible .purchase-head > :nth-child(2) { animation-delay: 0.2s; }
.purchase.is-visible .purchase-head > :nth-child(3) { animation-delay: 0.3s; }
.purchase.is-visible .purchase-actions { animation-delay: 0.4s; }
.purchase.is-visible .purchase-cards .pcards:nth-child(1) { animation-delay: 0.15s; }
.purchase.is-visible .purchase-cards .pcards:nth-child(2) { animation-delay: 0.25s; }
.purchase.is-visible .purchase-cards .pcards:nth-child(3) { animation-delay: 0.35s; }
.purchase.is-visible .purchase-info .info-item:nth-child(1) { animation-delay: 0.45s; }
.purchase.is-visible .purchase-info .info-item:nth-child(2) { animation-delay: 0.55s; }
.purchase.is-visible .purchase-info .info-item:nth-child(3) { animation-delay: 0.65s; }

.purchase-head .label {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent-red);
    font-size: 14px;
    letter-spacing: .2vw;
}

.purchase-head h2 {
    font-family: "Fredoka Bold";
    font-size: 50px;
    line-height: 1.05;
    color: var(--dark-grey);
}

.purchase-head p {
    font-size: 18px;
    font-weight: 300;
    color: var(--accent-red);
    max-width: 700px;
}

.purchase-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2vw;
    flex-wrap: wrap;
}

.purchase-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.purchase-tags .tag {
    border: 1px solid rgba(232, 48, 79, 0.3);
    color: var(--accent-red);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.8);
}

.purchase-cta {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #e8304f 0%, #f39c12 100%);
    padding: 10px 22px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(232, 48, 79, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.purchase-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(232, 48, 79, 0.35);
}

/* .pcards {
    display: none;
} */

.purchase-cards {
    width: 70%;
    display: flex;
    gap: 2vw;
    justify-content: space-between;
}

.pcards {
    height: fit-content;
    width: 30%;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
}

.pimg {
    width: 100%;
    height: 190px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at top, #fff 0%, #f6f6f6 100%);
}

.pimg img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center;
}

.pgrams {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #ffffff;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.plabel {
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.pname {
    font-size: 20px;
    font-weight: 700;
}

.prate {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-green);
}

.pline {
    width: 90%;
    font-size: 14px;
    color: var(--accent-red);
}

.pline span {
    color: var(--accent-orange);
    font-weight: 500;
}

.pcards a {
    background-color: var(--accent-orange);
    width: 90%;
    padding: 12px 0;
    text-align: center;
    color: var(--light-bg);
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    margin-top: 20px;
    transition: all 0.3s ease-in;
}

.pcards a:hover {
    background-color: var(--accent-green);
}

.purchase-info {
    width: 65%;
    display: flex;
    justify-content: space-between;
    gap: 2vw;
    color: #2b2b2b;
    font-size: 15px;
    margin-bottom: 2vw;
}

.purchase-info .info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.6);
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.purchase-info .info-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(159, 204, 75, 0.2);
}

@media (max-width: 1000px) {
    .purchase {
        height: fit-content;
        /* gap: 0vw; */
        padding: 70px 0;
    }

    .purchase-container {
        width: 85%;
        height: fit-content;
        
    }

    .purchase-head h2 {
        font-size: 40px;
    }

    .purchase-info {
        width: 85%;
    }

    .purchase-cards {
        width: 85%;
        /* flex-direction: column; */
        align-items: center;
    }

}

/* Ensure purchase elements are visible on small screens even before animation triggers */
@media (max-width: 1000px) {
    .purchase-head > *,
    .purchase-cards .pcards,
    .purchase-info .info-item,
    .purchase-actions,
    .why-us-top > *,
    .why-us-cards .card,
    .meat-img,
    .contact-head > *,
    .contact-info .info-item,
    .contact-actions .contact-btn,
    .contact-group {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

@media (max-width: 768px) {

    .purchase {
        padding-bottom: 0;
    }
    .purchase-head {
        text-align: center;
        gap: 2vw;
        margin-bottom: 2vw;
    }

    .purchase-head h2 {
        font-size: 45px;
    }

    .purchase-head p {
        font-size: 16px;
    }

    .purchase-actions {
        justify-content: center;
        gap: 4vw;
        margin-bottom: 2vw;
    }

    .purchase-cards {
        flex-direction: column;
        align-items: center;
    }

    .pcards {
        width: 100%;
    }

    .purchase-info {
        flex-direction: column;;
    }
}

/* @media (man) */

/* ===== Scroll Performance Optimizations ===== */

/* Optimize scroll performance for all sections */
.hero,
.products,
.why-us,
.purchase {
    will-change: transform;
    contain: layout style paint;
}

/* Optimize animations for better performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Ensure smooth scroll snap behavior on all browsers */
html {
    scroll-snap-type: none;
    scroll-padding-top: 0;
    -webkit-scroll-padding-top: 0;
}

/* Contact Section */
.contact {
    width: 100%;
    height: fit-content;
    background: linear-gradient(135deg, #f0fdf4 0%, #fef2f2 50%, #fdf8f0 100%);
    position: relative;
    z-index: 3;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    padding: 2vw 0vw;
    -webkit-overflow-scrolling: touch;
    margin-top: 50px;
}

.contact-container {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.contact-head {
    display: flex;
    flex-direction: column;
    gap: 0.6vw;
}

.contact-head > *,
.contact-info .info-item,
.contact-actions .contact-btn {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
}

.contact.is-visible .contact-head > *,
.contact.is-visible .contact-info .info-item,
.contact.is-visible .contact-actions .contact-btn {
    animation: slideZoomUp 0.6s ease-out forwards;
}

.contact.is-visible .contact-head > :nth-child(1) { animation-delay: 0.1s; }
.contact.is-visible .contact-head > :nth-child(2) { animation-delay: 0.2s; }
.contact.is-visible .contact-head > :nth-child(3) { animation-delay: 0.3s; }
.contact.is-visible .contact-info .info-item:nth-child(1) { animation-delay: 0.15s; }
.contact.is-visible .contact-info .info-item:nth-child(2) { animation-delay: 0.25s; }
.contact.is-visible .contact-info .info-item:nth-child(3) { animation-delay: 0.35s; }
.contact.is-visible .contact-actions .contact-btn:nth-child(1) { animation-delay: 0.45s; }
.contact.is-visible .contact-actions .contact-btn:nth-child(2) { animation-delay: 0.55s; }

.contact-head .label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2vw;
    color: var(--accent-red);
}

.contact-head h2 {
    font-family: 'fredoka bold', sans-serif;
    font-size: 50px;
    font-weight: 700;
    color: var(--dark-grey);
    line-height: 1.05;
}

.contact-head h2 span {
    color: var(--primary-red);
}

.contact-head p {
    font-size: 18px;
    color: var(--accent-red);
    font-weight: 300;
    max-width: 700px;
}

.contact-group {
    display: flex;
    gap: 1vw;
    flex-wrap: wrap;
    align-items: center;
    min-width: 950px;
    width: 70vw;
    opacity: 0;
    transform: translateY(30px) scale(0.96);
}

.contact.is-visible .contact-group {
    animation: slideZoomUp 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

.contact-actions {
    display: flex;
    gap: 2vw;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8vw;
    padding: 1vw 2vw;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    width: 350px;
    height: 70px;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.call-btn {
    background-color: var(--primary-green);
    color: white;
    border: 2px solid var(--primary-green);
}

.call-btn:hover {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(159, 204, 75, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2vw;
    width: 500px;
    /* margin-top: 1.5vw; */
}

.contact-info .info-item {
    display: flex;
    gap: 1vw;
    /* align-items: flex-start; */
    align-items: center;
    background-color: #9fcc4b16;
    padding: 10px 14px;
    border-radius: 15px;
}

.contact-info .info-dot {
    /* display: none; */
    width: 10px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(159, 204, 75, 0.2);
}

.contact-info .info-item p {
    font-size: 18px;
    font-weight: 300;
    color: var(--dark-grey);
    /* line-height: 2.6; */
}

/* Tablet styles */
@media (max-width: 1064px) {
    .contact-group {
        min-width: unset;
        width: 100%;
        flex-direction: column;
        gap: 3vw;
    }

    .contact-info {
        width: 100%;
    }

    .contact-actions {
        width: 100%;
    }

    .contact-btn {
        width: 100%;
    }

    .contact-container {
        justify-content: center;
        align-items: center;
    }

    .contact-head {
        text-align: center;
        gap: 1vw;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .contact {
        width: 100%;
    }
    .contact-container {
        width: 90%;
        gap: 4vw;
    }

    .contact-info .info-item {
        gap: 4vw;
    }
}

/* Footer styles */
.footer {
    width: 100%;
    background-color: #222;
    color: #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3vw 2vw 2vw;
    gap: 2vw;
}

.footer-main {
    width: 90%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10vw;
}

.footer-group {
    width: 40%;
    display: flex;
    flex-direction: row;
    gap: 10vw;
}

.footer-logo-desc {
    max-width: 20vw;
    flex: 1 1 50px;
    display: flex;
    flex-direction: column;
    gap: 1vw;
    height: fit-content;
}

.footer-logo {
    width: clamp(100px, 10vw, 150px);
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
}

.footer-links {
    flex: 1 1 50px;
    margin-left: 50px;
}

.footer-links h3 {
    font-size: 24px;
    margin-bottom: 0.8vw;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6vw;
}

.footer-links a {
    color: #ccc;
    font-size: 18px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-social {
    flex: 1 1 100px;
}

.footer-social h3 {
    font-size: 24px;
    margin-bottom: 0.8vw;
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 1vw;
}

.social-icon {
    color: #ccc;
    transition: color 0.2s;
}

.social-icon:hover {
    color: var(--primary-green);
}

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 0.9vw;
    color: #888;
    border-top: 1px solid #444;
    padding-top: 1vw;
}

@media (max-width: 1024px) {
    .footer-main {
        width: 100%;
        flex-direction: row;
        /* align-items: center; */
        /* flex-wrap: wrap; */
        gap: 5vw;
    }
    .social-icons {
        gap: 3vw;
    }
}

@media (max-width: 768px) {
    .footer h3 {
        font-size: 18px;
    }

    .footer p, .footer a {
        font-size: 14px;
    }
    .footer-main {
        padding: 4vw 2vw 3vw;
        width: 80%;
        flex-direction: column;
        align-items: left;
        gap: 4vw;
    }

    .footer-links {
        margin-left: 0;
    }

    .footer-group {
        display: flex;
        flex-direction: row;
        gap: 5vw;
        width: 100%;
    }

    .footer-logo-desc {
        max-width: unset;
        width: 100%;
    }
}