* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    line-height: 1.5;
    background: #ffffff;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e2e8f0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: auto;
    max-height: 55px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4d3e 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

.logo-text h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.logo-text p {
    font-size: 0.7rem;
    color: #2d6a4f;
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.nav a:hover {
    color: #2d6a4f;
}

.btn-outline {
    border: 2px solid #2d6a4f;
    background: transparent;
    padding: 8px 24px;
    border-radius: 40px;
    color: #2d6a4f;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #2d6a4f;
    color: white;
}

.mobile-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #2d6a4f;
}

/* ========== HERO ========== */
.hero {
    padding-top: 110px;
    padding-bottom: 50px;
    background: linear-gradient(125deg, #f0fdf4 0%, #dcfce7 50%, #eef2ff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    background: rgba(45, 106, 79, 0.12);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d6a4f;
    margin-bottom: 16px;
}

.hero h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #0f172a;
}

.hero p {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4d3e 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.25);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(45, 106, 79, 0.35);
}

.btn-secondary {
    background: white;
    color: #2d6a4f;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #2d6a4f;
    transform: translateY(-2px);
}

.hero-image {
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
    border-radius: 28px;
    height: 340px;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== SERVICES ========== */
.services {
    padding: 50px 0 45px;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 35px;
}

.section-header h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0f172a;
}

.section-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.35s;
    border: 1px solid #eef2ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.12);
}

.card-image {
    width: 100%;
    height: 170px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 16px 16px 8px;
    color: #0f172a;
}

.card p {
    color: #64748b;
    margin: 0 16px 16px;
    line-height: 1.5;
    font-size: 0.85rem;
}

.card-link {
    color: #2d6a4f;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 16px 18px;
}

.card-link:hover {
    gap: 10px;
}

/* ========== CATEGORY CARDS NỔI BẬT ========== */
.categories-highlight {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.category-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #2d6a4f;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.category-card-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}

/* ========== PRODUCTS ========== */
.products {
    background: #f8fafc;
    padding: 50px 0;
}

.category {
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 4px solid #2d6a4f;
    color: #0f172a;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.product-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 160px;
    overflow: hidden;
    background: #f1f5f9;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-item:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 12px 12px 14px;
}

.product-info h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #0f172a;
}

.product-info p {
    font-size: 0.75rem;
    color: #64748b;
}

/* ========== CONTACT ========== */
.contact-section {
    padding: 50px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 32px;
    padding: 35px;
}

.contact-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.contact-detail {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-detail div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #334155;
    font-size: 0.85rem;
}

.contact-detail i {
    width: 25px;
    color: #2d6a4f;
    font-size: 1rem;
}

.map-placeholder {
    background: #e2e8f0;
    border-radius: 20px;
    height: 150px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    gap: 8px;
    font-size: 0.8rem;
}

.form-group {
    margin-bottom: 14px;
}

input, select, textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    background: white;
    font-size: 0.85rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2d6a4f;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

/* ========== FOOTER ========== */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 35px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 14px;
    font-size: 1rem;
    font-weight: 600;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #2d6a4f;
}

.copyright {
    text-align: center;
    padding-top: 18px;
    border-top: 1px solid #1e293b;
    font-size: 0.7rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero h2 {
        font-size: 2.2rem;
    }
    .categories-highlight {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }
    .nav.show {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 95px;
        padding-bottom: 40px;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .section-header h3 {
        font-size: 1.6rem;
    }
    .contact-grid {
        padding: 25px;
    }
    .logo-text h1 {
        font-size: 1.2rem;
    }
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .categories-highlight {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn-primary, .btn-secondary {
        text-align: center;
    }
    .category-title {
        font-size: 1.2rem;
    }
    .logo-text h1 {
        font-size: 1rem;
    }
    .logo-text p {
        font-size: 0.55rem;
    }
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}
/* Modal liên hệ */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: #2d6a4f;
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.modal-close {
    font-size: 28px;
    cursor: pointer;
    transition: 0.2s;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 24px;
    text-align: center;
}

.modal-body p {
    margin-bottom: 20px;
    color: #475569;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.contact-option i {
    font-size: 28px;
}

.contact-option div {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-option strong {
    font-size: 1rem;
}

.contact-option span {
    font-size: 0.85rem;
    color: #64748b;
}

.call-option {
    background: #f0fdf4;
    border-color: #2d6a4f;
    color: #2d6a4f;
}

.call-option:hover {
    background: #2d6a4f;
    color: white;
    transform: translateY(-2px);
}

.call-option:hover span {
    color: white;
}

.zalo-option {
    background: #eef2ff;
    border-color: #0068ff;
    color: #0068ff;
}

.zalo-option:hover {
    background: #0068ff;
    color: white;
    transform: translateY(-2px);
}

.zalo-option:hover span {
    color: white;
}