/*==============================
SCROLL REVEAL ANIMATIONS
==============================*/
.reveal{
    opacity:0;
    transform:translateY(60px);
    transition:opacity .8s ease, transform .8s ease;
}

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

/* stagger the core value icons */
.core-values-row .reveal:nth-child(1){transition-delay:.05s}
.core-values-row .reveal:nth-child(3){transition-delay:.15s}
.core-values-row .reveal:nth-child(5){transition-delay:.25s}
.core-values-row .reveal:nth-child(7){transition-delay:.35s}

/* stagger the snack cards */
.snack-slider-track .reveal:nth-child(1){transition-delay:.05s}
.snack-slider-track .reveal:nth-child(2){transition-delay:.15s}
.snack-slider-track .reveal:nth-child(3){transition-delay:.25s}
.snack-slider-track .reveal:nth-child(4){transition-delay:.35s}
.snack-slider-track .reveal:nth-child(5){transition-delay:.45s}
.snack-slider-track .reveal:nth-child(6){transition-delay:.05s}
.snack-slider-track .reveal:nth-child(7){transition-delay:.15s}
.snack-slider-track .reveal:nth-child(8){transition-delay:.25s}

/*==============================
ABOUT SECTION
==============================*/

.about-section{
    padding:60px 0;
    background:#fff;
}

.about-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}

/* GALLERY (RIGHT) */

.about-gallery{
    width:44%;
}

.gallery-container{
    position:relative;
    width:100%;
    max-width:420px;
    height:400px;
    margin-left:auto;
    overflow:hidden;
}

/* CARD */

.gallery-card{
    position:absolute;
    border-radius:18px;
    overflow:hidden;
    background-size:cover;
    background-position:center;
    cursor:pointer;
    transition:.55s ease;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.gallery-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to top,
            rgba(0,0,0,.8),
            rgba(0,0,0,.15));
}

/* CARD CONTENT */

.gallery-content{
    position:absolute;
    left:20px;
    bottom:20px;
    color:#fff;
    z-index:2;
}

.gallery-content h3{
    margin:0;
    font-size:22px;
    font-weight:700;
}

.gallery-content p{
    margin-top:6px;
    font-size:14px;
    opacity:0;
    transform:translateY(15px);
    transition:.4s;
}

.gallery-card:hover .gallery-content p{
    opacity:1;
    transform:translateY(0);
}

/* CARD POSITION */

.card1{
    width:100%;
    height:230px;
    top:0;
    left:0;
}

.card2{
    width:160px;
    height:150px;
    left:0;
    top:250px; /* = container height (400) - card height (150), replaces bottom:0
                  so top can transition smoothly instead of jumping from auto */
}

.card3{
    width:245px;
    height:220px;
    right:0;
    bottom:0;
    border:5px solid #fff;
}

/* HOVER */

.card1:hover,
.card2:hover{
    width:100%;
    height:400px;
    top:0;
    left:0;
    z-index:100;
}

.card3:hover{
    width:100%;
    height:400px;
    right:0;
    bottom:0;
    z-index:100;
}

.gallery-card:hover{
    box-shadow:0 30px 60px rgba(0,0,0,.30);
}

/* LEFT CONTENT */

.about-content{
    width:52%;
}

.section-tag{
    display:inline-block;
    color:#0b79bd;
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:14px;
}

.about-content h2{
    font-size:30px;
    line-height:1.3;
    margin-bottom:20px;
    font-weight:700;

    background:linear-gradient(90deg, #ff7a00, #bd110b, #7b2ff7);
    background-size:100% 100%;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    color:transparent;
    display:inline-block;
}

.about-content p{
    color:#666;
    font-size:16px;
    line-height:1.8;
    margin-bottom:14px;
}

.about-btn{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-top:14px;
    background:linear-gradient(90deg, #ff7a00, #ff2d78);
    background-size:200% 100%;
    background-position:0% 0%;
    color:#fff;
    padding:14px 32px;
    border-radius:40px;
    text-decoration:none;
    font-weight:600;
    letter-spacing:.3px;
    overflow:hidden;
    box-shadow:0 10px 24px rgba(255,77,120,.35);
    transition:background-position .5s ease, transform .3s ease, box-shadow .3s ease;
}

.about-btn .btn-arrow{
    font-style:normal;
    display:inline-block;
    transform:translateX(0);
    transition:transform .35s ease;
}

.about-btn:hover{
    background-position:100% 0%;
    transform:translateY(-3px);
    box-shadow:0 16px 32px rgba(123,47,247,.4);
}

.about-btn:hover .btn-arrow{
    transform:translateX(6px);
}

.about-btn:active{
    transform:translateY(0);
    box-shadow:0 8px 18px rgba(255,77,120,.35);
}

/* RESPONSIVE */

@media(max-width:991px){

.about-section{
    padding:50px 0;
}

.about-wrapper{
    flex-direction:column-reverse;
    gap:36px;
}

.about-gallery,
.about-content{
    width:100%;
}

.gallery-container{
    width:100%;
    max-width:420px;
    margin:auto;
}

.card1:hover,
.card2:hover,
.card3:hover{
    width:100%;
}

.about-content{
    margin-top:0;
    text-align:center;
}

.about-content h2{
    font-size:26px;
}

.about-content p{
    text-align:left;
}

.about-btn{
    margin-left:auto;
    margin-right:auto;
}

}

@media(max-width:576px){

.gallery-container{
    height:300px;
}

.card1{
    height:170px;
}

.card2{
    width:44%;
    height:115px;
    top:185px; /* = 300 (container) - 115 (card height) */
}

.card3{
    width:56%;
    height:150px;
}

.card1:hover, .card2:hover, .card3:hover{
    height:300px;
}

.about-content h2{
    font-size:22px;
}

.about-content p{
    font-size:14px;
    line-height:1.7;
}

.about-btn{
    width:100%;
    justify-content:center;
    padding:13px 20px;
}

}

/*==============================
CORE VALUES SECTION
==============================*/

.core-values-section{
    position:relative;
    padding:70px 0 80px;
    background:
        linear-gradient(rgba(250,251,253,.92), rgba(250,251,253,.92)),
        url('assets/image/fruits.png') center/cover no-repeat;
}

.core-values-header{
    text-align:center;
    max-width:720px;
    margin:0 auto 50px;
}

.core-values-header h2{
    font-size:30px;
    font-weight:700;
    line-height:1.4;
    color:#1d1d1d;
    margin:0;
}

.core-values-header h2 span{
    background:linear-gradient(90deg, #ff7a00, #bd110b);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    color:transparent;
}

.core-values-row{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
}

.core-value-item{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:0 12px;
}

.core-value-icon{
    width:64px;
    height:64px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
    color:#ff7a00;
    background:#fff2e6;
    box-shadow:0 8px 20px rgba(255,122,0,.18);
    transition:transform .3s ease, box-shadow .3s ease;
}

.core-value-icon svg{
    width:28px;
    height:28px;
}

.core-value-item:hover .core-value-icon{
    transform:translateY(-6px);
    box-shadow:0 14px 28px rgba(255,122,0,.28);
}

.core-value-item h4{
    font-size:17px;
    font-weight:700;
    color:#1d1d1d;
    margin:0 0 6px;
}

.core-value-item p{
    font-size:14px;
    color:#777;
    line-height:1.6;
    margin:0;
}

.core-value-divider{
    width:1px;
    align-self:stretch;
    background:#e3e3e3;
    margin-top:32px;
}

/* RESPONSIVE */

@media(max-width:900px){

.core-values-row{
    flex-wrap:wrap;
    row-gap:36px;
}

.core-value-item{
    flex:1 1 40%;
    min-width:150px;
}

.core-value-divider{
    display:none;
}

}

@media(max-width:576px){

.core-values-section{
    padding:50px 0 60px;
}

.core-values-header h2{
    font-size:24px;
}

.core-value-item{
    flex:1 1 100%;
}

}

/*==============================
CTA BANNER SECTION
==============================*/

.cta-banner{
    position:relative;
    background:linear-gradient(120deg, #1B3A5C 0%, #122A44 100%);
    overflow:visible;
    margin-top:10px;
    z-index:1;
}

.cta-shapes-wrap{
    position:absolute;
    inset:0;
    overflow:hidden;
    border-radius:inherit;
    z-index:1;
    pointer-events:none;
}

.cta-banner .container{
    max-width:1200px;
    margin:0 auto;
    padding:0 24px;
}

.cta-banner-wrapper{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:40px;
    min-height:220px;
    position:relative;
    z-index:2;
}

/* LEFT IMAGE */
.cta-image{
    flex:0 0 42%;
    max-width:440px;
    align-self:flex-end;
    margin-bottom:0;
    position:relative;
    z-index:3;
}

.cta-image img{
    display:block;
    width:100%;
    height:auto;
    max-height:640px;
    object-fit:contain;
    object-position:bottom;
    margin-top:-290px;
    filter:drop-shadow(0 25px 30px rgba(0,0,0,.4));
}

/* RIGHT CONTENT */
.cta-content{
    flex:1;
    color:#fff;
    padding:36px 0;
    position:relative;
    z-index:2;
}

.cta-content h2{
    font-size:30px;
    font-weight:700;
    line-height:1.35;
    margin:0 0 20px;
    color:#fff;
}

.cta-content h2 span{
    color:#F4B400;
}

.cta-banner-btn{
    display:inline-block;
    padding:14px 36px;
    border:2px solid #F4B400;
    border-radius:40px;
    color:#fff;
    font-weight:600;
    font-size:15px;
    text-decoration:none;
    letter-spacing:.3px;
    transition:all .3s ease;
}

.cta-banner-btn:hover{
    background:#F4B400;
    color:#122A44;
    transform:translateY(-3px);
    box-shadow:0 12px 26px rgba(244,180,0,.35);
}

/* DECORATIVE SHAPES */
.cta-shape{
    position:absolute;
    border-radius:50%;
    z-index:1;
    pointer-events:none;
}

.cta-shape-1{
    width:260px;
    height:260px;
    background:rgba(244,180,0,.08);
    top:-80px;
    right:-60px;
}

.cta-shape-2{
    width:180px;
    height:180px;
    background:rgba(255,255,255,.05);
    bottom:-60px;
    left:20%;
}
@media(max-width:900px){

    .cta-banner{
        margin-top:20px;
        overflow:visible;
    }

    .cta-banner-wrapper{
        flex-direction:row;
        align-items:center;
        text-align:left;
        min-height:auto;
        padding-top:0;
        gap:16px;
    }

    .cta-image{
        flex:0 0 48%;          /* was 40% — bigger image */
        max-width:220px;       /* was 180px */
        align-self:center;
    }

    .cta-image img{
        margin-top:0;
        max-height:280px;      /* was 220px */
        object-position:bottom;
    }

    .cta-content{
        flex:1;
        padding:24px 0 36px;
        text-align:left;
    }

    .cta-content h2{
        font-size:17px;        /* was 22px — smaller heading */
        line-height:1.3;
        margin:0 0 14px;
    }

    .cta-banner-btn{
        display:inline-block;
        padding:9px 22px;      /* was default 14px 36px — smaller button */
        font-size:12px;
    }
}

@media(max-width:576px){

    .cta-banner{
        margin-top:16px;
    }

    .cta-banner-wrapper{
        flex-direction:row;
        gap:10px;
    }

    .cta-image{
        max-width:150px;       /* was 130px — bigger image */
    }

    .cta-image img{
        margin-top:0;
        max-height:190px;      /* was 160px */
    }

    .cta-content h2{
        font-size:15px;        /* was 18px — smaller heading */
        margin:0 0 10px;
    }

    .cta-banner-btn{
        padding:7px 16px;      /* was 10px 24px — smaller button */
        font-size:11px;
    }
}

/*==============================
SNACK PRODUCTS SLIDER SECTION
==============================*/

.snack-slider-section{
    padding:70px 0 80px;
    background:#fff;
}

.snack-slider-header{
    text-align:center;
    max-width:640px;
    margin:0 auto 44px;
}

.snack-slider-header .section-tag{
    display:inline-block;
    color:#0b79bd;
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:12px;
}

.snack-slider-header h2{
    font-size:30px;
    font-weight:700;
    line-height:1.35;
    color:#1d1d1d;
    margin:0 0 14px;
}

.snack-slider-header h2 span{
    background:linear-gradient(90deg, #ff7a00, #bd110b);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    color:transparent;
}

.snack-slider-header p{
    font-size:15px;
    color:#777;
    line-height:1.7;
    margin:0;
}

/* SLIDER WRAP */
.snack-slider-wrap{
    position:relative;
    display:flex;
    align-items:center;
    gap:14px;
}

.snack-slider-track{
    flex:1;
    display:flex;
    gap:24px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scroll-snap-type:x mandatory;
    padding:8px 4px 16px;
    scrollbar-width:none;
}

.snack-slider-track::-webkit-scrollbar{
    display:none;
}

/* CARD */
.snack-card{
    flex:0 0 calc((100% - 48px) / 3);
    scroll-snap-align:start;
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 10px 28px rgba(0,0,0,.08);
    border:1px solid #f0f0f0;
    transition:transform .35s ease, box-shadow .35s ease;
}

.snack-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.14);
}

.snack-card-img{
    height:320px;
    background-size:cover;
    background-position:center;
    background-color:#f4f4f4;
}

.snack-card-body{
    padding:24px 26px 30px;
    text-align:center;
}

.snack-card-body h4{
    font-size:20px;
    font-weight:700;
    color:#1d1d1d;
    margin:0 0 8px;
}

.snack-card-body p{
    font-size:14.5px;
    color:#888;
    margin:0;
}

/* NAV BUTTONS */
.snack-nav{
    flex:0 0 auto;
    width:46px;
    height:46px;
    border-radius:50%;
    border:2px solid #F4B400;
    background:#fff;
    color:#122A44;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:all .25s ease;
    z-index:2;
}

.snack-nav:hover{
    background:#F4B400;
    color:#122A44;
    transform:scale(1.08);
}

.snack-nav svg{
    width:20px;
    height:20px;
}

/* RESPONSIVE */
@media(max-width:991px){

    .snack-card{
        flex:0 0 calc((100% - 24px) / 2);
    }
}

@media(max-width:576px){

    .snack-slider-header h2{
        font-size:24px;
    }

    .snack-slider-track{
        gap:16px;
    }

    .snack-card{
        flex:0 0 100%;
    }

    .snack-card-img{
        height:240px;
    }

    .snack-nav{
        width:38px;
        height:38px;
    }

    .snack-nav svg{
        width:16px;
        height:16px;
    }
}