@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary-color: #ff6600;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --white-color: #ffffff;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

/* --- Cấu hình cho Menu Mobile (Quan trọng) --- */

.mobile-menu-button {
    display: block; /* Mặc định hiển thị nút này */
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
    z-index: 1001; /* Luôn nổi trên cùng */
}

.main-nav {
    display: none; /* Mặc định ẩn menu */
    position: absolute;
    top: 72px; /* Chiều cao của header */
    left: 0;
    right: 0;
    background-color: var(--white-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.main-nav.active {
    display: block; /* Hiện menu khi có class 'active' */
}

        .main-nav ul {
            list-style: none;
            display: flex;
            flex-direction: column;
        }

        .main-nav ul li {
            margin-left: 25px;
                margin: 0;
    text-align: center;
    border-bottom: 1px solid var(--light-color);
        }
.main-nav ul li:last-child {
    border-bottom: none;
}

        .main-nav a {
            text-decoration: none;
            color: var(--dark-color);
            font-weight: 500;
            padding: 15px;
            transition: color 0.3s ease;
                display: block;
    padding: 15px;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    border-bottom: none; /* Bỏ gạch chân trên mobile */
        }

        .main-nav a:hover,
        .main-nav a.active {
            color: var(--primary-color);
            background-color: var(--light-color);
            border-bottom: 2px solid var(--primary-color);
        }




/* --- Cấu hình cho màn hình lớn (Desktop) --- */
@media (min-width: 768px) {
    .mobile-menu-button {
        display: none; /* Ẩn nút hamburger trên desktop */
    }
    
    .main-nav {
        display: block; /* Luôn hiện menu trên desktop */
        position: static; /* Vị trí bình thường */
        background: none;
        box-shadow: none;
    }

    .main-nav ul {
        flex-direction: row; /* Xếp ngang */
    }

    .main-nav ul li {
        margin-left: 25px;
        border: none;
    }

    .main-nav a {
        padding: 5px 0;
    }

    .main-nav a:hover, .main-nav a.active {
        background: none;
        color: var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
    }
}


/* --- Các Style khác giữ nguyên --- */

/* Main Content */
.main-content { flex: 1; }

/* Trang chủ */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1555774698-0b77e0abfe79?q=80&w=2070') center/cover no-repeat;
    color: var(--white-color);
    padding: 80px 20px;
    text-align: center;
}
.hero-content h1 { font-size: 36px; margin-bottom: 20px; }
.hero-content p { font-size: 18px; margin-bottom: 30px; }
.hero-button { background-color: var(--primary-color); color: var(--white-color); padding: 15px 30px; text-decoration: none; border-radius: 8px; font-weight: 700; transition: background-color 0.3s ease; }
.hero-button:hover { background-color: #e65c00; }

.features { padding: 60px 0; background-color: var(--white-color); }
.features .container { display: flex; flex-direction: column; gap: 40px; text-align: center; }
.feature-item i { font-size: 40px; color: var(--primary-color); margin-bottom: 15px; }
.feature-item h3 { font-size: 22px; margin-bottom: 10px; }

/* Trang tra cứu */
.page-container { display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.lookup-card { background: var(--white-color); padding: 20px; border-radius: 10px; box-shadow: var(--box-shadow); text-align: center; max-width: 600px; width: 100%; }
.lookup-header .fa-shield-alt { font-size: 42px; color: var(--primary-color); margin-bottom: 15px; }
.lookup-header h1 { font-size: 24px; margin-bottom: 10px; }
.lookup-header p { color: #777; margin-bottom: 30px; font-size: 15px; }
.lookup-form { display: flex; flex-direction: column; gap: 15px; }
.input-group { position: relative; }
.input-group .fa-search { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #aaa; }
#searchInput, #searchButton { font-size: 16px; padding: 15px; border-radius: 8px; }
#searchInput { width: 100%; border: 1px solid #ddd; padding-left: 45px; }
#searchInput:focus { outline: none; border-color: var(--primary-color); }
#searchButton { background-color: var(--primary-color); color: var(--white-color); border: none; font-weight: 700; cursor: pointer; transition: background-color 0.3s ease; }
#searchButton:hover { background-color: #e65c00; }
.lookup-result { margin-top: 30px; text-align: left; border-radius: 8px; display: none; }
.lookup-result.success { display: block; }
.lookup-result.error { background-color: #ffebee; border: 1px solid #ef9a9a; color: #c62828; display: block; padding: 15px; }
.lookup-result h3 { margin-bottom: 15px; border-bottom: 1px solid #ddd; padding-bottom: 10px; }
.lookup-result p { margin-bottom: 5px; }
.lookup-result strong { min-width: 120px; display: inline-block; }

/* Footer */
.footer { background-color: var(--dark-color); color: var(--white-color); padding: 20px 0; text-align: center; }
.footer .container { display: flex; flex-direction: column; gap: 15px; }
.social-links a { color: var(--white-color); margin: 0 10px; font-size: 18px; transition: color 0.3s ease; }
.social-links a:hover { color: var(--primary-color); }

/* Responsive cho desktop */
@media (min-width: 768px) {
    .hero { padding: 120px 0; }
    .hero-content h1 { font-size: 48px; }
    .hero-content p { font-size: 20px; }
    .features .container { flex-direction: row; }
    .lookup-card { padding: 40px; }
    .lookup-header h1 { font-size: 28px; }
    .footer .container { flex-direction: row; justify-content: space-between; }
}

/* ========================================================= */
/* === CSS NÂNG CẤP CHO TRANG DỊCH VỤ (UI/UX & CTA)      === */
/* ========================================================= */

/* --- Tiêu đề trang (Page Header) --- */
.page-header {
    background: var(--dark-color) url('https://images.unsplash.com/photo-1593640408182-31c70c8268f5?q=80&w=2042') center/cover no-repeat;
    background-blend-mode: overlay;
    color: var(--white-color);
    text-align: center;
    padding: 80px 20px;
}
.page-header h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 700;
}
.page-header p {
    font-size: 20px;
    color: #ddd;
    font-weight: 300;
}

/* --- Lưới dịch vụ --- */
.services-grid {
    padding: 80px 0;
    background-color: var(--light-color);
}
.services-grid .container {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));*/
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}
.service-category-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.card-icon {
    font-size: 36px;
    color: var(--white-color);
    background-color: var(--primary-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.card-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-color);
}
.service-list {
    list-style: none;
    padding: 0;
    text-align: left;
}
.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}
.service-item:last-child {
    border-bottom: none;
}
.service-name {
    color: #555;
}
.service-price {
    font-weight: 700;
    color: var(--primary-color);
   /* white-space: nowrap;*/
    padding-left: 15px;
}

/* --- Khu vực Kêu gọi hành động (CTA) --- */
.cta-section {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 80px 20px;
    text-align: center;
}
.cta-title {
    font-size: 36px;
    margin-bottom: 15px;
}
.cta-subtitle {
    font-size: 18px;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 30px auto;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cta-button {
    text-decoration: none;
    color: var(--white-color);
    font-size: 18px;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.cta-button.phone {
    background-color: var(--primary-color);
}
.cta-button.phone:hover {
    background-color: #e65c00;
    transform: scale(1.05);
}
.cta-button.zalo {
    background-color: #0068ff;
}
.cta-button.zalo:hover {
    background-color: #005ae0;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
   /* .page-header { padding: 60px 20px; }*/
    .page-header h1 { font-size: 36px; }
   /* .services-grid { padding: 60px 20px; }*/
   /* .cta-section { padding: 60px 20px; }*/
    .cta-title { font-size: 28px; }
}
