:root {
    --green-700: #0f7a43;
    --green-600: #11a24e;
    --green-800: #075a2f;
    --muted: #6b7280;
    --max-width: 1200px;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    color: #222;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto
}


/* HEADER */

.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    padding: 0 8px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--green-700);
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center
}

.company {
    font-weight: 600;
    color: #1f2937
}

.main-nav {
    display: flex;
    gap: 26px;
    align-items: center
}

.main-nav a {
    color: var(--green-700);
    text-decoration: none;
    font-weight: 500
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--green-600);
    background: transparent;
    color: var(--green-600);
    cursor: pointer;
    font-weight: 700
}

.nav a.active {
    color: var(--green-700);
    font-weight: 600;
}


/* SERVICES */

.services-section {
    margin-top: 10px;
}

.center {
    text-align: center
}

.section-title {
    font-size: 44px;
    margin: 10px 0 6px;
    font-weight: 300
}

.section-sub {
    color: var(--muted);
    max-width: 760px;
    margin: 0 auto 28px
}


/* cards */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 28px
}

.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    overflow: hidden
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block
}

.card-body {
    padding: 22px
}

.card-body h3 {
    color: var(--green-700);
    margin: 0 0 8px
}

.card-body p {
    color: var(--muted);
    margin: 0 0 12px
}

.link-more {
    color: var(--green-600);
    font-weight: 600;
    text-decoration: none
}


/* STATS BAND */

.stats-band {
    background: linear-gradient(90deg, var(--green-700), var(--green-600));
    color: #fff;
    padding: 36px 0;
    margin-top: 40px
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    text-align: center
}

.stat .num {
    font-size: 28px;
    font-weight: 700
}

.stat .label {
    opacity: .95
}


/* CTA */

.cta {
    padding: 48px 0
}

.cta-buttons {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    justify-content: center
}

.btn {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer
}

.btn.primary {
    background: var(--green-600);
    color: #fff
}

.btn.outline {
    background: #fff;
    border-color: var(--green-600);
    color: var(--green-600)
}


/* Footer */

.site-footer {
    background-color: #048b2f;
    color: #e6e6e6;
    padding: 40px 20px 20px;
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    align-items: start;
}

.footer-logo {
    display: flex;
    gap: 10px;
}

.logo-box img {
    width: 150px;
    height: auto;
    padding-left: 0px;
}

.footer-col h4 {
    font-size: 17px;
    margin-bottom: 10px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin: 6px 0;
}

.footer-col ul li {
    color: #d0e7d3;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col a {
    text-decoration: none;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    margin-top: 25px;
    padding-top: 12px;
    font-size: 14px;
    color: #d5f5d3;
}


/* Admin button */

.admin-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: var(--green-600);
    color: #fff;
    padding: 12px 14px;
    border-radius: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    font-weight: 600
}


/* Responsive */

@media (max-width:1000px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr)
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:700px) {
    .main-nav {
        display: none
    }
    .cards-grid {
        grid-template-columns: 1fr
    }
    .header-inner {
        padding: 0 12px
    }
    .section-title {
        font-size: 36px
    }
    .hero-slider {
        height: 360px
    }
}


/* Hiệu ứng chuyển trang trượt lên */

.page-transition {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.page-transition.active {
    opacity: 1;
    transform: translateY(0);
}


/* Product Section */

.product-section {
    padding: 60px 100px;
    text-align: left;
}

.product-section h2 {
    text-align: center;
    color: var(--green-700);
    font-size: 26px;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin: 15px 0 6px 20px;
}

.product-card p {
    color: #555;
    font-size: 15px;
    margin: 0 0 10px 20px;
}

.product-card ul {
    list-style-type: disc;
    padding-left: 40px;
    margin: 0 0 10px;
    color: #333;
    font-size: 14px;
}

.product-card li {
    margin-bottom: 6px;
}

.product-card a {
    display: inline-block;
    margin: 10px 0 20px 20px;
    color: var(--green-600);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.product-card a:hover {
    color: var(--green-800);
}


/* CTA section */

.cta {
    background: #cdcdcd;
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    border-radius: 14px;
    width: 85%;
    margin: 60px auto;
}

.cta h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.cta button {
    background: #fff;
    color: #018f3d;
    border: none;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.cta button:hover {
    background: #e6f6ec;
}


/* Animation */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive */

@media (max-width: 768px) {
    .news-section {
        padding: 40px 20px;
    }
}

.news-section {
    text-align: center;
    margin: 60px auto;
    max-width: 1200px;
}

.news-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #14532d;
}

.news-section p {
    color: #555;
    margin-bottom: 30px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 cột */
    gap: 24px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: left;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 16px;
}

.news-tag {
    background-color: #e6f7ec;
    color: #0f9d58;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.news-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.news-content a {
    color: #0f9d58;
    font-weight: 500;
    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}