/* ==================== 1. RESET CƠ BẢN (GỐC CỦA BẠN) ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f9fbf9; /* Thay đổi nhẹ sang màu nền trang chi tiết cho đồng bộ */
}

/* ==========================================================================
   BỔ SUNG ĐẦU TRANG (HEADER BANNER & LOGO) - KHÔNG ẢNH HƯỞNG CODE CŨ
   ========================================================================== */
.top-banner {
    width: 100%;
    background-color: #ffffff;
    padding: 10px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-box {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.logo-circle-img {
    height: 150px;
    width: auto;
    display: block;
    object-fit: contain;
}

.banner-box {
    flex: 1;
    display: flex;
    align-items: center;
}

.banner-img {
    width: 120%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

/* ==========================================================================
   BỔ SUNG THANH MENU NAV BAR
   ========================================================================== */
.menu {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #dcdcdc;
    height: 50px;
    width: 100%;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.menu-links, .menu-auth {
    display: flex;
    align-items: center;
    height: 100%;
}

.menu-links a, .menu-auth a {
    text-decoration: none;
    color: #004d20; 
    font-size: 15px;
    font-weight: bold;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
    transition: background-color 0.2s;
}

.menu-links a.active {
    background-color: #e8f5e9; 
}

.menu-links a:hover, .menu-auth a:hover {
    background-color: #f5f5f5;
}

/* Khung lớn bao ngoài - Đã nâng từ 1000px lên 1200px để form rộng to ra bằng đầu/chân trang */
.contact-wrapper {
    width: 100%;
    max-width: 1200px; /* Bạn có thể tự tăng lên 1300px hoặc 1400px nếu muốn to hơn nữa */
    margin: 40px auto; 
    padding: 0 20px;
}

/* Bo mạch chia đôi form trái/phải */
.contact-container {
    background-color: #ffffff;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(76, 175, 80, 0.15); /* Đổ bóng xanh lá */
    border: 1px solid #c8e6c9;
}

/* KHỐI THÔNG TIN BÊN TRÁI */
.contact-info {
    background-color: #f9fdf9; /* Xanh lá pastel rất nhạt */
    flex: 1;
    padding: 40px;
    border-right: 1px solid #c8e6c9;
}

.brand-name {
    font-size: 28px;
    font-weight: bold;
    color: #1b5e20; /* Xanh lá đậm */
    margin-bottom: 10px;
}

.contact-info h3 {
    font-size: 18px;
    color: #4a3429; /* Nâu socola vẫn giữ để tạo điểm nhấn */
    margin-bottom: 8px;
}

.sub-text {
    font-size: 13px;
    color: #7d665a;
    margin-bottom: 25px;
}

.info-details p {
    font-size: 14px;
    color: #4a3429;
    margin-bottom: 15px;
    line-height: 1.5;
}

.map-container {
    margin-top: 25px;
    border: 2px solid #a5d6a7;
    border-radius: 12px;
    overflow: hidden;
}

/* KHỐI FORM BÊN PHẢI */
.contact-form-box {
    flex: 1.2;
    padding: 40px;
}

.contact-form-box h2 {
    font-size: 24px;
    color: #4caf50; /* Xanh lá tươi */
    margin-bottom: 30px;
    position: relative;
}

/* Các ô nhập liệu */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #4a3429;
    margin-bottom: 8px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #a5d6a7;
    border-radius: 10px;
    font-size: 14px;
    color: #4a3429;
    background-color: #fcfcfc;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 8px rgba(46, 125, 50, 0.15);
    background-color: #ffffff;
}

/* CỤM NÚT BẤM ĐIỀU HƯỚNG */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

/* Nút gửi tin nhắn */
.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
}

.btn-submit:hover {
    background-color: #2e7d32;
    box-shadow: 0 6px 14px rgba(46, 125, 50, 0.35);
    transform: translateY(-1px);
}

/* Nút quay về trang chủ */
.btn-back {
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px;
    background-color: transparent;
    color: #2e7d32;
    border: 2.5px solid #2e7d32;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn-back:hover {
    background-color: #e8f5e9;
    color: #1b5e20;
}


/* ==========================================================================
   BỔ SUNG CHÂN TRANG (FOOTER ĐỒNG BỘ)
   ========================================================================== */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    margin-top: 60px;
    padding-top: 40px;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    color: #004d20;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-column p {
    color: #555555;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-column a {
    color: #555555;
    text-decoration: none;
}

.footer-column a:hover {
    color: #4caf50;
}

.footer-bottom {
    background-color: #e8f5e9;
    text-align: center;
    padding: 15px 20px;
    margin-top: 40px;
}

.footer-bottom p {
    color: #333333;
    font-size: 14px;
    margin: 0;
}


/* Xử lý tương thích màn hình điện thoại nhỏ */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
    }
    .logo-circle-img, .banner-img {
        height: auto;
        max-height: 70px;
    }
    .contact-container {
        flex-direction: column;
    }
    .contact-info {
        border-right: none;
        border-bottom: 1px solid #c8e6c9;
    }
    .footer-container {
        flex-direction: column;
    }
}