.banner-section{
    background-image: url('../images/banner/banner-1.webp');
    margin-top: 70px;
    background-size: cover;
    background-position: center;
    height: 500px;
    transition: background-image 0.4s ease-in-out;
    position: relative;
}

.banner-section .container{
    position: relative;
    height: 100%;
}
.title-page{
    position: absolute;
    color: var(--white);
    bottom: 50px;
    left: 0;
}
.title-page h1, a{
    color: var(--white);
}
.title-page .current{
    color: var(--white);
}

.title-page span{
    color: var(--text-main);
}

/* hình ảnh */


.img-first {
    width: 70%;
    margin: var(--spacing-3) auto 0;
    position: relative;

}

.img-first img {
    width: 100%;
    height: 600px;
    display: block;
    object-fit: cover;
    border-radius: var(--border-radius);

}

.overview-card{
    position: absolute;

    width: 600px;

    left: 40%;
    bottom: -100px;
    background: #fff;
    padding: 45px 60px;

    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0,0,0,.12);

    z-index: 2;
}

.overview-card p{
    width: 100%;
    text-align: justify;
}
.overview-card span{
    font-size: 1.5rem;
    font-weight: 500;
}


/*năng lực sản xuất*/
.capability-section{
    background:#fafafa;
}

.capability-wrapper{
    width:min(94vw,1200px);
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1.15fr;
    gap:70px;
    align-items:start;
}
.capability-left{
    position:sticky;
    top:120px;
}

.capability-left h3{
    font-size:60px;
    line-height:1.05;
    max-width:550px;
    margin:25px 0;
}

.capability-left p{
    max-width:500px;
    margin-bottom:60px;
}

.capability-left img{
    width:100%;
    height:720px;
    object-fit:cover;
}
.capability-item{
    display:grid;
    grid-template-columns:50px 1fr 220px;
    gap:50px;
    align-items:center;
    padding:50px 0;
    border-bottom:1px solid #ececec;
}
.number{
    font-size:72px;
    font-weight:300;
    color:#9CB77B;
    line-height:1;
}
.content h3{
    margin-bottom:10px;
    color:#111;
}

.content p{
    max-width:420px;
}
.capability-item img{
    width:220px;
    height:130px;
    object-fit:cover;
}


/* năng lực thương mại */



.trading-wrapper{
    margin:auto;
}
.section-title{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;

    margin-bottom:50px;

    font-size:18px;
    font-weight:600;
    letter-spacing:3px;
    color:var(--color-text);
}

.section-title::before,
.section-title::after{
    content:"";

    flex: 1;
    height:1px;

    background:#d9d9d9;
}


.trading-header{
    display:grid;
    grid-template-columns:1.2fr 320px 1fr;
    gap:80px;
    margin-bottom:100px;
}
.heading,
.trading-stat,
.market-map{
    height: 100%;
}

.heading h3{
    margin:20px 0 30px;
    color: var(--secondary-color);
}


.trading-stat{
    text-align:center;
}

.trading-stat .number{
    display:block;
    font-size:110px;
    font-weight:300;
    color:var(--primary-color);
}

.trading-stat .unit{
    display:block;
    margin:10px 0 20px;
    font-size:38px;
    font-weight:600;
    letter-spacing:2px;
    color:var(--primary-color);
}

.market-map img{
    width:100%;
    display:block;
}

.product-gallery{
    margin-bottom:120px;
    overflow:visible;
}

.product-gallery h3{
    text-align:center;
    margin-bottom:50px;
    letter-spacing:3px;
    font-size:18px;
}

.products-wrapper{
    position:relative;
}

.products-scroll{
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    -ms-overflow-style:none;
    scrollbar-width:none;
}

.products-scroll::-webkit-scrollbar{
    display:none;
}

.products{
    display:flex;
    gap:35px;
}

.product{
    flex:0 0 calc((100% - 35px * 2) / 3);
    overflow:hidden;
}

.product img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:.45s;
}

.product:hover img{
    transform:scale(1.05);
}

.product span{
    display:block;
    margin-top:18px;
    text-align:center;
    font-size:18px;
    font-weight:600;
}

.products-nav{
    position:absolute;
    top:130px;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    border-radius:50%;
    border:1px solid #d9d9d9;
    background:#fff;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    color:#555;
    z-index:2;
    transition:all .3s;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.products-nav:hover{
    background:var(--primary-color);
    color:#fff;
    border-color:var(--primary-color);
}

.products-nav--prev{
    left:-64px;
}

.products-nav--next{
    right:-64px;
}



.trade-process h3{
    text-align:center;
    margin-bottom:60px;
    letter-spacing:3px;
    font-size:18px;
}

.process{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:25px;
}

.step{
    flex:1;
    text-align:center;
}

.icon{
    width:78px;
    height:78px;
    margin:0 auto 25px;
    border-radius:50%;
    background:#edf7ee;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    color:var(--primary-color);
}

.step h4{

    margin-bottom:15px;
    font-size:22px;
}



.arrow{
    font-size:26px;
    color:#b5b5b5;
    margin-top:28px;
}


.step:hover .icon{
    transform:translateY(-6px);
    transition:.35s;
}

.step:hover h4{
    color:var(--color-primary);
    transition:.35s;
}


/* ============================================================
   RESPONSIVE – agriculture.css
   ============================================================ */

/* ----- Tablet: ≤ 992px ----- */
@media (max-width:992px){

    /* Banner */
    .banner-section{
        height:400px;
    }
    .banner-section h1{
        font-size:2.4rem;
    }
    .breadcrumb{
        font-size:0.95rem;
    }

    /* Picture + overview card */
    .img-first{
        width:90%;
    }
    .img-first img{
        height:450px;
    }
    .overview-card{
        width:500px;
        left:30%;
        bottom:-60px;
        padding:35px 45px;
    }

    /* Capability */
    .capability-wrapper{
        grid-template-columns:1fr;
        gap:50px;
    }
    .capability-left{
        position:static;
        top:auto;
    }
    .capability-left img{
        height:450px;
    }
    .capability-left h3{
        font-size:48px;
    }
    .capability-left p{
        max-width:none;
        margin-bottom:40px;
    }
    .capability-item{
        padding:40px 0;
        gap:35px;
    }
    .number{
        font-size:64px;
    }

    /* Trading header */
    .trading-header{
        grid-template-columns:1fr 1fr;
        gap:50px;
        margin-bottom:80px;
    }
    .market-map{
        grid-column:1 / -1;
        max-width:420px;
        justify-self:center;
    }
    .trading-stat .number{
        font-size:90px;
    }
    .trading-stat .unit{
        font-size:32px;
    }

    /* Product gallery — 2 items */
    .product{
        flex:0 0 calc((100% - 35px) / 2);
    }
    .product img{
        height:240px;
    }
    .products-nav--prev{
        left:-22px;
    }
    .products-nav--next{
        right:-22px;
    }

    /* Trade process — 3 columns, hide arrows */
    .process{
        flex-wrap:wrap;
        justify-content:center;
        gap:30px 15px;
    }
    .step{
        flex:0 0 calc(33.333% - 15px);
    }
    .arrow{
        display:none;
    }
    .trade-process h3{
        margin-bottom:45px;
    }
}

/* ----- Mobile: ≤ 768px ----- */
@media (max-width:768px){

    /* Banner */
    .banner-section{
        margin-top:60px;
        height:320px;
    }
    .banner-section h1{
        font-size:2rem;
    }
    .title-page{
        bottom:35px;
    }

    /* Picture + overview card */
    .img-first{
        width:100%;
    }
    .img-first img{
        height:320px;
    }
    .overview-card{
        position:static;
        width:100%;
        transform:none;
        margin-top:25px;
        padding:35px;
    }

    /* Capability */
    .capability-wrapper{
        gap:40px;
    }
    .capability-left img{
        height:350px;
    }
    .capability-left h3{
        font-size:38px;
    }
    .capability-left p{
        margin-bottom:35px;
    }
    .capability-item{
        grid-template-columns:1fr;
        gap:20px;
        text-align:center;
        padding:35px 0;
    }
    .number{
        font-size:56px;
    }
    .content p{
        max-width:none;
    }
    .capability-item img{
        width:100%;
        height:220px;
    }

    /* Trading header — single column */
    .trading-header{
        grid-template-columns:1fr;
        gap:40px;
        margin-bottom:70px;
    }
    .heading h3{
        font-size:1.8rem;
    }
    .trading-stat .number{
        font-size:80px;
    }
    .trading-stat .unit{
        font-size:26px;
    }
    .market-map{
        grid-column:unset;
        max-width:300px;
        justify-self:center;
        margin:0 auto;
    }

    /* Section title */
    .section-title{
        font-size:16px;
        letter-spacing:2px;
        gap:12px;
        margin-bottom:35px;
    }

    /* Product gallery — 1 item + peek */
    .product-gallery{
        margin-bottom:80px;
    }
    .products{
        gap:20px;
    }
    .product{
        flex:0 0 80%;
    }
    .product img{
        height:220px;
    }
    .products-nav{
        width:36px;
        height:36px;
        font-size:14px;
        top:110px;
    }
    .products-nav--prev{
        left:-10px;
    }
    .products-nav--next{
        right:-10px;
    }

    /* Trade process — single column, arrows rotate down */
    .process{
        flex-direction:column;
        align-items:center;
        gap:20px;
    }
    .step{
        flex:0 0 100%;
        max-width:380px;
    }
    .arrow{
        display:block;
        transform:rotate(90deg);
        margin:0;
        font-size:22px;
    }
    .trade-process h3{
        margin-bottom:40px;
    }
    .icon{
        width:68px;
        height:68px;
        font-size:26px;
    }
    .step h4{
        font-size:1.3rem;
    }
}

/* ----- Small Mobile: ≤ 480px ----- */
@media (max-width:480px){

    /* Banner */
    .banner-section{
        margin-top:56px;
        height:260px;
    }
    .banner-section h1{
        font-size:1.6rem;
    }
    .title-page{
        bottom:25px;
    }
    .breadcrumb{
        font-size:0.85rem;
    }

    /* Overview card */
    .overview-card{
        padding:25px;
    }
    .overview-card h2{
        font-size:1.5rem;
    }

    /* Capability */
    .capability-left img{
        height:260px;
    }
    .capability-left h3{
        font-size:30px;
    }
    .capability-item{
        padding:30px 0;
        gap:15px;
    }
    .number{
        font-size:50px;
    }

    /* Trading header */
    .trading-header{
        gap:30px;
        margin-bottom:50px;
    }
    .heading h3{
        font-size:1.5rem;
    }
    .trading-stat .number{
        font-size:70px;
    }
    .trading-stat .unit{
        font-size:22px;
    }
    .market-map{
        max-width:240px;
    }

    /* Section title */
    .section-title{
        font-size:14px;
        letter-spacing:1.5px;
        gap:10px;
        margin-bottom:30px;
    }

    /* Product gallery */
    .product-gallery{
        margin-bottom:60px;
    }
    .product{
        flex:0 0 85%;
    }
    .product img{
        height:200px;
    }
    .product span{
        font-size:16px;
    }
    .products-nav{
        width:30px;
        height:30px;
        font-size:12px;
        top:100px;
    }
    .products-nav--prev{
        left:-4px;
    }
    .products-nav--next{
        right:-4px;
    }

    /* Trade process */
    .process{
        gap:15px;
    }
    .icon{
        width:60px;
        height:60px;
        font-size:22px;
        margin-bottom:18px;
    }
    .step h4{
        font-size:1.1rem;
    }
    .step p{
        font-size:0.9rem;
    }
    .arrow{
        font-size:18px;
    }
}










