*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:Arial,Helvetica,sans-serif;color:#222}

.container{
    max-width:1200px;
    margin:0 auto;
    padding:0 30px;   /* 👈 khoảng thở hai bên */
}

/* HEADER */
.header{
    position:sticky;
    top:0;
    background:#ffffff;
    z-index:999;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.header a{
    color:#1A1A1A;
    text-decoration:none;
    font-weight:600;
}

.header a:hover{
    color:#C6922B;
}

.nav-wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.header > .nav-wrap > #menu > ul{
    display:flex;
    gap:28px;
    list-style:none;
}

#hamburger{
    display:none;
    font-size:28px;
    cursor:pointer;
}

.logo img{
    height:40px;
    width:auto;
    display:block;
}

/* HERO SLIDER */
.hero-slider{
    position:relative;
    height:90vh;
    overflow:hidden;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity 1s ease-in-out;
    display:flex;
    align-items:center;
    justify-content:center;
}

.slide.active{
    opacity:1;
    z-index:1;
}

.hero-content{
    color:#fff;
    text-align:center;
    background:rgba(0,0,0,0.45);
    padding:30px 50px;
    border-radius:8px;
}

.hero-content h1{
    font-size:48px;
    margin-bottom:15px;
}
@media(max-width:768px){
    .hero-slider{
        height:65vh;
    }
}
/* SECTIONS */
.section{
    padding:80px 30px;   /* 👈 chữ không bao giờ dính lề nữa */
}
.gray{background:#f3f6f4}
.center{text-align:center;margin-bottom:40px}

/* TWO COLUMN */
.two-col{
    display:flex;
    gap:60px;
    align-items:center;
}

.two-col .col{
    flex:1;
}

.two-col img{
    width:100%;
    border-radius:8px;
    object-fit:cover;
}

.col.text{
    padding-right:40px;
    line-height:1.8;
    text-align: justify;
}

.col.text h2{
    margin-bottom:20px;
}

.col.text p{
    margin-bottom:15px;
}

/* ===== ABOUT PAGE ===== */

.about-intro,
.about-vision{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:60px;
    align-items:center;
    padding:70px 0;
}

.about-intro img,
.about-vision img{
    width:100%;
    height:380px;
    object-fit:cover;
    border-radius:8px;
}

.about-highlight{
    background:#f5f7f6;
    padding:60px 0;
}

.highlight-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
    text-align:center;
}

.highlight-grid h3{
    margin-bottom:10px;
    color:#0f5132;
}

@media(max-width:768px){
    .about-intro,
    .about-vision{
        grid-template-columns:1fr;
    }

    .highlight-grid{
        grid-template-columns:1fr;
    }
}

.about-text h2,
.vision-text h2{
    font-size:28px;
    margin-bottom:20px;
}

.about-text p,
.vision-text p{
    font-size:16px;
    line-height:1.9;
    margin-bottom:20px;
    text-align:justify;
}

/* PRODUCT INTRO */
.product-intro{
    padding:70px 0 30px;
    text-align:center;
}

.product-intro h2{
    font-size:30px;
    margin-bottom:15px;
}

.product-intro p{
    max-width:900px;
    margin:0 auto;
    line-height:1.9;
    color:#444;
}

/* PRODUCTS */
.product-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.product-card{
    background:#fff;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    padding:20px;
    border-radius:8px;
    text-align:left;
    text-decoration:none;
    color:#1A1A1A;
    transition:0.3s;
    display:block;
}

.product-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 25px rgba(0,0,0,0.15);
}

.product-card img{
    width:100%;
    height:300px;
    object-fit:cover;
    object-position:center;
    margin:0 auto 15px auto;
    border-radius:6px;
    display:block;
}

.product-card h3{
    margin-bottom:10px;
}

.product-card p{
    font-size:14px;
    line-height:1.6;
    margin-bottom:12px;
}

.more{
    color:#C6922B;
    font-weight:600;
}

/* PAGE BANNER */
.page-banner{
    position:relative;
    height:180px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    background:url('../images/banner.jpg') center/cover no-repeat;
    overflow:hidden;
}

/* lớp phủ tối */
.page-banner::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
}

.page-banner h1{
    position:relative;
    z-index:1;
    font-size:42px;
    letter-spacing:1px;
}

@media(max-width:768px){
    .page-banner{
        height:160px;
    }
    .page-banner h1{
        font-size:26px;
    }
}

/* FOOTER */
.footer{
    position:relative;
    color:#fff;
    padding:60px 0;
    border-top:1px solid #e0e0e0;
    background:url('../images/footer-bg.jpg') center/cover no-repeat;
    overflow:hidden;
}

/* lớp phủ tối giúp đọc chữ rõ */
.footer::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.65);
}

.footer .container{
    position:relative;
    z-index:1;
}

.footer a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

.footer a:hover{
    color:#C6922B;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(320px, 420px));
    justify-content:space-between;
    gap:40px;
    text-align:left;
}

.footer h3,
.footer h4{
    margin-bottom:15px;
}

.footer p{
    margin-bottom:8px;
    font-size:14px;
    line-height:1.6;
}

.footer .copyright{
    margin-top:30px;
    font-size:14px;
    text-align:center;
    color:#ffffff;
    font-weight:500;
    opacity:0.9;
    letter-spacing:0.3px;
}

/* Mobile */
@media(max-width:768px){
    .footer-grid{
        grid-template-columns:1fr;
        text-align:center;
        gap:30px;
    }
}
/* SLIDER DOTS */
.slider-dots{
    position:absolute;
    bottom:25px;
    width:100%;
    text-align:center;
    z-index:2;
}

.dot{
    height:12px;
    width:12px;
    margin:0 6px;
    background:#fff;
    border-radius:50%;
    display:inline-block;
    cursor:pointer;
    opacity:0.5;
    transition:0.3s;
}

.dot.active{
    opacity:1;
    background:#C6922B;
}

/* MOBILE */
@media(max-width:768px){

    #menu{
        position:absolute;
        top:70px;
        right:0;
        background:#ffffff;
        width:200px;
        display:none;
        flex-direction:column;
        padding:20px;
    }

    #menu a{
        color:#1A1A1A;
    }

    #menu.active{display:flex}

    #hamburger{display:block}

    .two-col{
flex-direction:column;
padding:0 10px; 
}
    .product-grid{grid-template-columns:1fr}

    .hero-content h1{font-size:26px}
}

/* ===== DROPDOWN CLEAN ===== */
.menu-root > li{
    position:relative;
}

.menu-root > li > .dropdown-content{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background:#fff;
    min-width:230px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    border-radius:8px;
    padding:10px 0;
    z-index:9999;
}

.dropdown-content li{
    list-style:none;
}

.dropdown-content a{
    display:block;
    padding:10px 20px;
    white-space:nowrap;
}

/* Desktop hover */
@media(min-width:769px){
    .dropdown:hover > .dropdown-content{
        display:block;
    }
}

/* Mobile click */
@media(max-width:768px){
    .dropdown-content{
        position:static;
        box-shadow:none;
        padding-left:15px;
    }
    .dropdown.open > .dropdown-content{
        display:block;
    }
}

/* Arrow */
.arrow::after{
    content:"▾";
    font-size:12px;
    margin-left:6px;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-page{
    padding:60px 30px;
    max-width:1200px;
    margin:0 auto;
}

.breadcrumb{
    font-size:14px;
    margin-bottom:25px;
    color:#666;
}

.breadcrumb a{
    color:#C6922B;
    text-decoration:none;
}

/* Top layout */
.product-top{
    display:flex;
    gap:60px;
    align-items:center;
    margin-bottom:50px;
}

.product-text{
    flex:1;
    line-height:1.8;
}

.product-text h1{
    margin-bottom:15px;
}

.product-image{
    flex:1;
    text-align:center;
}

.product-image img{
    width:50%;
    max-width:420px;
    border-radius:8px;
}

/* Specs section */
.product-specs{
    margin-top:40px;
}

.specs-title{
    text-align:center;
    margin-bottom:25px;
}

.spec-table{
    width:100%;
    border-collapse:collapse;
    font-size:14px;
}

.spec-table th,
.spec-table td{
    border:1px solid #ddd;
    padding:12px;
    text-align:center;
}

.spec-table th{
    background:#f3f6f4;
    font-weight:600;
}

/* Mobile */
@media(max-width:768px){
    .product-top{
        flex-direction:column;
    }
}

/* APPLICATIONS PAGE */
.app-section{
    padding:80px 30px;
    background:#f9fbfa;
}

.app-wrap{
    max-width:900px;
    margin:0 auto;
    background:#fff;
    padding:50px 60px;
    border-radius:8px;
    box-shadow:0 5px 20px rgba(0,0,0,0.06);
}

.app-wrap p{
    line-height:1.9;
    margin-bottom:20px;
    text-align:justify;
}

/* mobile */
@media(max-width:768px){
    .app-wrap{
        padding:30px 20px;
    }
}

.app-image{
    width:100%;
    height:360px;
    object-fit:cover;
    border-radius:8px;
    margin:30px 0;
}

/* NEWS */
.news-section{
    padding:80px 30px;
    background:#f9fbfa;
}

.news-container{
    max-width:1100px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.news-card{
    display:block;
    background:#fff;
    border-radius:8px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    text-decoration:none;
    color:#1A1A1A;
    transition:0.3s;
    overflow:hidden;
}

.news-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 25px rgba(0,0,0,0.15);
}

.news-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.news-card h3{
    padding:20px 20px 10px;
    font-size:18px;
}

.news-card p{
    padding:0 20px 15px;
    font-size:14px;
    line-height:1.6;
}

.read-more{
    padding:0 20px 20px;
    display:block;
    color:#C6922B;
    font-weight:600;
}

/* mobile */
@media(max-width:768px){
    .news-container{
        grid-template-columns:1fr;
    }
}

/* ARTICLE PAGE */
.article{
    padding:80px 30px;
    background:#f9fbfa;
}

.article-wrap{
    max-width:900px;
    margin:0 auto;
    background:#fff;
    padding:50px 60px;
    border-radius:8px;
    box-shadow:0 5px 20px rgba(0,0,0,0.06);
}

.breadcrumb{
    font-size:14px;
    margin-bottom:25px;
    color:#666;
}

.breadcrumb a{
    color:#C6922B;
    text-decoration:none;
}

.article h1{
    font-size:32px;
    margin-bottom:10px;
}

.article-date{
    color:#888;
    font-size:14px;
    margin-bottom:30px;
}

.article p{
    line-height:1.9;
    margin-bottom:18px;
    text-align:justify;
}

.article-image{
    width:100%;
    height:380px;
    object-fit:cover;
    border-radius:8px;
    margin:30px 0;
}

.article h3{
    margin-top:30px;
    margin-bottom:15px;
}

.article-source{
    padding-left:18px;
}

.article-source li{
    margin-bottom:10px;
    line-height:1.7;
}

/* mobile */
@media(max-width:768px){
    .article-wrap{
        padding:30px 20px;
    }
    .article h1{
        font-size:24px;
    }
}

.contact-grid{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:60px;
    margin-top:40px;
    align-items:start;
}

.map-box iframe{
    border-radius:8px;
}

.contact-info h3{
    margin-bottom:20px;
}

.contact-info p{
    margin-bottom:12px;
    line-height:1.7;
}

/* Mobile */
@media(max-width:768px){
    .contact-grid{
        grid-template-columns:1fr;
        gap:30px;
    }
}
.contact-icons{
    margin-top:15px;
    display:flex;
    gap:15px;
    align-items:center;
}

.contact-icons img{
    width:34px;
    height:34px;
    transition:0.3s;
    cursor:pointer;
}

.contact-icons img:hover{
    transform:scale(1.15);
}

/* PRODUCT VIDEO */
.product-video{
    padding:60px 0;
    background:#f5f7f6;
}

.video-wrap{
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

.video-wrap video{
    width:100%;
    height:420px;
    object-fit:cover;
    display:block;
}

/* Mobile */
@media(max-width:768px){
    .video-wrap video{
        height:240px;
    }
}

/* FIX MENU MOBILE TRÀN NGANG */
@media(max-width:768px){

    #menu ul{
        flex-direction:column !important;
        gap:12px;
    }

    #menu{
        width:220px;
    }

    .menu-root li{
        width:100%;
    }

    .menu-root a{
        display:block;
        width:100%;
        padding:8px 0;
    }
}