*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#f4efe7;
    color:#1f2b1f;
    overflow-x:hidden;
}

.container{
    width:1200px;
    max-width:95%;
    margin:auto;
}

/* ================= HEADER ================= */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(255,255,255,0.75);
    backdrop-filter:blur(15px);
    border-bottom:1px solid rgba(0,0,0,0.05);
}

.nav{
    height:80px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    font-size:34px;
    font-family:'Cormorant Garamond',serif;
    font-weight:700;
    color:#29442c;
}

.menu{
    display:flex;
    gap:40px;
}

.menu a{
    text-decoration:none;
    color:#1e2a1f;
    font-weight:500;
    transition:.3s;
    position:relative;
}

.menu a::after{
    content:'';
    position:absolute;
    bottom:-8px;
    left:0;
    width:0;
    height:2px;
    background:#476a41;
    transition:.3s;
}

.menu a:hover::after{
    width:100%;
}

/* ================= HERO ================= */

.hero{
    
    position:relative;
}

.slider{
    position:relative;
    height:720px;
    overflow:hidden;
    border-radius:40px;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:1.2s ease;
    transform:scale(1.08);
}

.slide.active{
    opacity:1;
    transform:scale(1);
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to right, rgba(0,0,0,.45), rgba(0,0,0,.15));
}

.hero-content{
    position:absolute;
    z-index:5;
    left:8%;
    top:50%;
    transform:translateY(-50%);
    max-width:650px;
    color:#fff;
}

.hero-content h1{
    font-size:80px;
    line-height:1;
    margin-bottom:25px;
    font-family:'Cormorant Garamond',serif;
    animation:fadeUp 1s ease forwards;
}

.hero-content p{
    font-size:18px;
    line-height:1.8;
    margin-bottom:35px;
    animation:fadeUp 1.4s ease forwards;
}

.btn{
    display:inline-block;
    padding:15px 40px;
    border-radius:50px;
    background:#547c4e;
    color:#fff;
    text-decoration:none;
    transition:.4s;
    font-weight:600;
}

.btn:hover{
    transform:translateY(-5px);
    background:#365132;
}

/* floating icon */

.floating{
    position:absolute;
    width:120px;
    animation:float 5s ease-in-out infinite;
    z-index:4;
}

.floating.one{
    top:140px;
    right:100px;
}

.floating.two{
    bottom:50px;
    left:80px;
}

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

.section{
    padding:20px 0;
}

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title h2{
    font-size:62px;
    font-family:'Cormorant Garamond',serif;
    color:#203321;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.about-image{
    overflow:hidden;
    border-radius:30px;
    box-shadow:0 25px 60px rgba(0,0,0,.15);
}

.about-image img{
    width:100%;
    display:block;
    transition:1s;
}

.about-image:hover img{
    transform:scale(1.1);
}

.about-content h3{
    font-size:52px;
    margin-bottom:25px;
    font-family:'Cormorant Garamond',serif;
}

.about-content p{
    line-height:2;
    margin-bottom:20px;
    color:#555;
}

/* ================= STATS ================= */

.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-top:70px;
}

.stat-box{
    background:#fff;
    padding:50px 30px;
    border-radius:30px;
    text-align:center;
    box-shadow:0 15px 45px rgba(0,0,0,.08);
    transition:.5s;
}

.stat-box:hover{
    transform:translateY(-12px);
}

.stat-number{
    font-size:58px;
    font-weight:700;
    color:#355635;
    margin-bottom:15px;
}

.stat-box p{
    color:#555;
}

/* ================= PRODUCTS ================= */

.products{
    background:#edf4e7;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.product-card{
    background:#fff;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 10px 40px rgba(0,0,0,.08);
    transition:.5s;
}

.product-card:hover{
    transform:translateY(-15px);
}

.product-img{
    height:280px;
    overflow:hidden;
}

.product-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:1s;
}

.product-card:hover img{
    transform:scale(1.12);
}

.product-content{
    padding:30px;
}

.product-content h4{
    font-size:34px;
    margin-bottom:15px;
    font-family:'Cormorant Garamond',serif;
}

.product-content p{
    color:#666;
    line-height:1.8;
}

/* ================= FACTORY ================= */

.factory-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:20px;
}

.factory-grid img{
    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:25px;
    transition:.8s;
}

.factory-grid img:hover{
    transform:scale(1.04);
}

/* ================= NEWS ================= */

.news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.news-card{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.4s;
}

.news-card:hover{
    transform:translateY(-12px);
}

.news-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.news-content{
    padding:25px;
}

.news-content h4{
    font-size:26px;
    margin-bottom:12px;
    font-family:'Cormorant Garamond',serif;
}

.news-content p{
    color:#666;
    line-height:1.7;
}

/* ================= FOOTER ================= */

footer{
    background:#5c824f;
    color:#fff;
    padding:90px 0;
    margin-top:100px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
}

footer h4{
    margin-bottom:20px;
    font-size:24px;
    font-family:'Cormorant Garamond',serif;
}

footer p,
footer a{
    color:#e7e7e7;
    line-height:2;
    text-decoration:none;
}

/* ================= ANIMATION ================= */

.reveal{
    opacity:0;
    transform:translateY(80px);
    transition:1s ease;
}

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

.zoom{
    opacity:0;
    transform:scale(.85);
    transition:1s;
}

.zoom.active{
    opacity:1;
    transform:scale(1);
}

@keyframes float{
    0%{
        transform:translateY(0px) rotate(0deg);
    }
    50%{
        transform:translateY(-20px) rotate(5deg);
    }
    100%{
        transform:translateY(0px) rotate(0deg);
    }
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ================= MOBILE ================= */

@media(max-width:992px){

    .menu{
        display:none;
    }

    .hero-content h1{
        font-size:52px;
    }

    .about-grid,
    .product-grid,
    .stats,
    .factory-grid,
    .news-grid,
    .footer-grid{
        grid-template-columns:1fr;
    }

    .slider{
        height:600px;
    }

    .section-title h2{
        font-size:42px;
    }

    .about-content h3{
        font-size:40px;
    }

    .floating{
        width:70px;
    }
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#f3f0e9;
    font-family:'Inter', sans-serif;
    color:#12321d;
}

.product-section{
    width:100%;
    padding:60px 40px;
}

.container{
    max-width:1400px;
    margin:auto;
}

.title-box{
    text-align:center;
    margin-bottom:50px;
}

.title-box h1{
    font-size:72px;
    font-family:'Cormorant Garamond', serif;
    font-weight:700;
    margin-bottom:20px;
    color:#0f2f1c;
}

.discover-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:180px;
    height:52px;
    background:#1f5b2c;
    color:#fff;
    border-radius:50px;
    text-decoration:none;
    font-size:18px;
    transition:0.3s;
}

.discover-btn:hover{
    background:#174723;
}

.product-grid{
    display:grid;
    grid-template-columns:1fr 420px 1fr;
    gap:50px;
    align-items:start;
}

.side-column{
    display:flex;
    flex-direction:column;
    gap:65px;
}

.product-item{
    position:relative;
    text-align:center;
    padding:0 10px;
}

.product-item h2{
    font-size:54px;
    line-height:1;
    margin-bottom:18px;
    font-family:'Cormorant Garamond', serif;
    font-weight:700;
    color:#0f2f1c;
}

.product-item p{
    font-size:15px;
    line-height:1.9;
    color:#314635;
}

.product-item img.small-icon{
    width:90px;
    position:absolute;
}

.left .product-item:nth-child(1) img{
    right:-10px;
    top:100px;
}

.left .product-item:nth-child(2) img{
    right:-10px;
    top:110px;
}

.left .product-item:nth-child(3) img{
    right:-5px;
    top:130px;
}

.left .product-item:nth-child(4) img{
    right:-5px;
    top:130px;
}

.right .product-item:nth-child(1) img{
    left:-5px;
    top:90px;
}

.right .product-item:nth-child(2) img{
    left:-5px;
    top:120px;
}

.right .product-item:nth-child(3) img{
    left:-5px;
    top:120px;
}

.right .product-item:nth-child(4) img{
    left:-5px;
    top:120px;
}

.center-image{
    display:flex;
    justify-content:center;
}

.center-image img{
    width:100%;
    border-radius:30px;
    object-fit:cover;
    border:3px solid #d6d1c8;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

/* Responsive */

@media(max-width:1200px){

    .product-grid{
        grid-template-columns:1fr;
    }

    .center-image{
        order:-1;
        margin-bottom:40px;
    }

    .center-image img{
        max-width:500px;
    }

    .side-column{
        gap:10px;
    }

    .product-item{
        max-width:700px;
        margin:auto;
    }

    .product-item img.small-icon{
        position:relative !important;
        top:auto !important;
        left:auto !important;
        right:auto !important;
        margin-top:20px;
    }
}

@media(max-width:768px){

    .product-section{
        padding:40px 20px;
    }

    .title-box h1{
        font-size:48px;
    }

    .product-item h2{
        font-size:42px;
    }

    .product-item p{
        font-size:17px;
        line-height:1.7;
    }
}


/* =========================
ANIMATION
========================= */

.product-item{
    position:relative;
    text-align:center;
    padding:0 10px;

    opacity:0;
    transform:translateY(60px);
    animation:fadeUp 1s ease forwards;
}

/* Delay từng khối */

.left .product-item:nth-child(1){
    animation-delay:0.2s;
}

.left .product-item:nth-child(2){
    animation-delay:0.5s;
}

.left .product-item:nth-child(3){
    animation-delay:0.8s;
}

.left .product-item:nth-child(4){
    animation-delay:1.1s;
}

.right .product-item:nth-child(1){
    animation-delay:0.4s;
}

.right .product-item:nth-child(2){
    animation-delay:0.7s;
}

.right .product-item:nth-child(3){
    animation-delay:1s;
}

.right .product-item:nth-child(4){
    animation-delay:1.3s;
}

/* Ảnh giữa */

.center-image{
    display:flex;
    justify-content:center;

    opacity:0;
    transform:scale(0.9);
    animation:zoomIn 1.2s ease forwards;
    animation-delay:0.3s;
}

/* Hover effect */

.product-item{
    transition:all 0.4s ease;
}

.product-item:hover{
    transform:translateY(-10px);
}

.product-item img.small-icon{
    transition:0.5s;
}

.product-item:hover img.small-icon{
    transform:rotate(12deg) scale(1.15);
}

/* Button animation */

.discover-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:180px;
    height:52px;
    background:#1f5b2c;
    color:#fff;
    border-radius:50px;
    text-decoration:none;
    font-size:18px;
    transition:0.35s;
    position:relative;
    overflow:hidden;
}

.discover-btn::before{
    content:'';
    position:absolute;
    width:0;
    height:100%;
    left:0;
    top:0;
    background:rgba(255,255,255,0.15);
    transition:0.4s;
}

.discover-btn:hover::before{
    width:100%;
}

.discover-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* Animation keyframes */

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(60px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes zoomIn{
    from{
        opacity:0;
        transform:scale(0.8);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

/* =========================
FLOATING ICON
========================= */

.floating-icon{
    animation:floating 3s ease-in-out infinite;
}

/* mỗi icon lệch nhịp khác nhau */

.left .product-item:nth-child(2) .floating-icon{
    animation-delay:0.5s;
}

.left .product-item:nth-child(3) .floating-icon{
    animation-delay:1s;
}

.right .product-item:nth-child(2) .floating-icon{
    animation-delay:1.5s;
}

.right .product-item:nth-child(3) .floating-icon{
    animation-delay:2s;
}

@keyframes floating{
    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-12px);
    }

    100%{
        transform:translateY(0px);
    }
}

/* =========================
SMOOTH HOVER
========================= */

.product-item{
    transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}

.product-item:hover{
    transform:translateY(-12px);
}

/* Ảnh giữa hover nhẹ */

.center-image img{
    transition:transform 0.8s ease;
}

.center-image:hover img{
    transform:scale(1.03);
}


.about-section{
    width:100%;
    padding:40px 30px;
}

.container{
    max-width:1450px;
    margin:auto;
}

.about-grid{
    display:grid;
    grid-template-columns:520px 1fr;
    gap:40px;
    align-items:start;
}

/* LEFT */

.left-side p.top-text{
    font-size:15px;
    line-height:1.8;
    margin-bottom:25px;
    color:#314c3c;
}

.left-image{
    border-radius:30px;
    overflow:hidden;
    border:3px solid #d7d2ca;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.left-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* RIGHT */

.right-image{
    border-radius:30px;
    overflow:hidden;
    border:3px solid #d7d2ca;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
    margin-bottom:35px;
}

.right-image img{
    width:100%;
    display:block;
    object-fit:cover;
}

.content-text{
    font-size:15px;
    line-height:1.9;
    color:#314c3c;
    margin-bottom:45px;
}

/* FEATURE GRID */

.feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

.feature-item h3{
    font-size:22px;
    line-height:1.5;
    margin-bottom:12px;
    font-weight:700;
    color:#173321;
}

.feature-item ul{
    list-style:none;
}

.feature-item ul li{
    font-size:19px;
    line-height:1.8;
    margin-bottom:8px;
    position:relative;
    padding-left:18px;
    color:#314c3c;
}

.feature-item ul li::before{
    content:"•";
    position:absolute;
    left:0;
    top:0;
    color:#173321;
}

/* HOVER */

.left-image img,
.right-image img{
    transition:0.7s ease;
}

.left-image:hover img,
.right-image:hover img{
    transform:scale(1.05);
}

/* RESPONSIVE */

@media(max-width:1200px){

    .about-grid{
        grid-template-columns:1fr;
    }

    .left-side{
        max-width:700px;
        margin:auto;
    }

    .feature-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){

    .about-section{
        padding:20px;
    }

    .left-side p.top-text,
    .content-text{
        font-size:17px;
    }

    .feature-item h3{
        font-size:20px;
    }

    .feature-item ul li{
        font-size:17px;
    }
}




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

.stats-section{
    width:100%;
    padding:80px 50px;
}

.container{
    max-width:1500px;
    margin:auto;
}

/* =========================
GRID
========================= */

.stats-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px 80px;
}

/* =========================
ITEM
========================= */

.stat-item{
    position:relative;
    transition:0.5s ease;
}

.stat-item:hover{
    transform:translateY(-10px);
}

/* =========================
NUMBER EFFECT
========================= */

.stat-number{
    font-size:50px;
    line-height:1;
    font-weight:800;
    color:#002d16;
    margin-bottom:20px;
    display:inline-block;
    position:relative;

    animation:
    floatNumber 5s ease-in-out infinite,
    pulseNumber 3s ease-in-out infinite;
}

/* glow effect */

.stat-number::after{
    content:'';
    position:absolute;
    left:50%;
    top:50%;
    width:100%;
    height:100%;
    transform:translate(-50%,-50%);
    background:rgba(0,60,30,0.08);
    filter:blur(30px);
    z-index:-1;
    opacity:0;
    transition:0.5s;
}

.stat-item:hover .stat-number::after{
    opacity:1;
}

/* hover zoom */

.stat-item:hover .stat-number{
    transform:scale(1.08);
    letter-spacing:2px;
}

/* =========================
TEXT
========================= */

.stat-text{
    font-size:15px;
    line-height:1.7;
    color:#173826;
}

/* =========================
BIG CONTENT
========================= */

.big-title{
    font-size:35px;
    line-height:1.05;
    font-weight:800;
    color:#002d16;
    margin-bottom:25px;

    animation:
    floatBig 6s ease-in-out infinite;
}

.big-description{
    font-size:18px;
    line-height:1.7;
    color:#173826;
}

/* =========================
ALIGN
========================= */

.center{
    text-align:center;
}

.right{
    text-align:right;
}

/* =========================
ANIMATION
========================= */

@keyframes floatNumber{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0px);
    }
}

@keyframes pulseNumber{

    0%{
        scale:1;
    }

    50%{
        scale:1.03;
    }

    100%{
        scale:1;
    }
}

@keyframes floatBig{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-15px);
    }

    100%{
        transform:translateY(0px);
    }
}

/* =========================
SCROLL ANIMATION
========================= */

.fade-up{
    opacity:0;
    transform:translateY(80px);
    transition:1s ease;
}

.fade-up.active{
    opacity:1;
    transform:translateY(0);
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:1200px){

    .stats-grid{
        grid-template-columns:1fr 1fr;
    }

    .big-title{
        font-size:70px;
    }

    .stat-number{
        font-size:80px;
    }
}

@media(max-width:768px){

    .stats-section{
        padding:50px 20px;
    }

    .stats-grid{
        grid-template-columns:1fr;
        gap:60px;
    }

    .center,
    .right{
        text-align:left;
    }

    .big-title{
        font-size:58px;
    }

    .big-description{
        font-size:22px;
    }

    .stat-number{
        font-size:70px;
    }

    .stat-text{
        font-size:12px;
    }
}


/* ================= MENU 2 CẤP ================= */

.menu{
    display:flex;
    align-items:center;
}

.main-menu{
    display:flex;
    gap:35px;
    list-style:none;
}

.main-menu > li{
    position:relative;
}

.main-menu > li > a{
    text-decoration:none;
    color:#1f2b1f;
    font-weight:600;
    padding:15px 0;
    display:flex;
    align-items:center;
    gap:6px;
    transition:.3s;
    position:relative;
}

.main-menu > li > a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:5px;
    width:0;
    height:2px;
    background:#4d7148;
    transition:.4s;
}

.main-menu > li:hover > a::after{
    width:100%;
}

.main-menu > li:hover > a{
    color:#4d7148;
}

/* SUB MENU */

.sub-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:220px;
    background:#fff;
    border-radius:18px;
    padding:15px 0;
    list-style:none;
    box-shadow:0 20px 45px rgba(0,0,0,.12);

    opacity:0;
    visibility:hidden;
    transform:translateY(20px);

    transition:.4s;
    z-index:999;
}

.has-dropdown:hover .sub-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.sub-menu li a{
    display:block;
    padding:13px 25px;
    text-decoration:none;
    color:#1f2b1f;
    font-size:15px;
    transition:.3s;
}

.sub-menu li a:hover{
    background:#edf4e7;
    color:#4d7148;
    padding-left:35px;
}

/* ICON ARROW */

.has-dropdown > a::before{
    content:'▼';
    font-size:10px;
    position:absolute;
    right:-16px;
    top:50%;
    transform:translateY(-50%);
}

/* MOBILE */

@media(max-width:992px){

    .menu{
        width:100%;
    }

    .main-menu{
        flex-direction:column;
        gap:0;
        width:100%;
    }

    .main-menu > li{
        width:100%;
        border-bottom:1px solid rgba(0,0,0,.05);
    }

    .main-menu > li > a{
        padding:18px 0;
    }

    .sub-menu{
        position:relative;
        opacity:1;
        visibility:visible;
        transform:none;
        box-shadow:none;
        background:#f6f6f6;
        display:none;
        margin-top:10px;
    }

    .has-dropdown.active .sub-menu{
        display:block;
    }

}