:root {
    --primary-blue: #1e62d0;
    --dark-bg: #0a192f;
    --text-white: #ffffff;
    --text-gray: #666;
    --section-pad: 80px;
    --container-width: 1200px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-white { color: var(--text-white); }
.section-padding { padding: var(--section-pad) 0; }
.bg-light { background-color: #f8f9fa; }

/* Header */
.header {
    background: #f39c12; /* Màu cam ở top banner */
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}
.logo span {
    background:#ffffff
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
    font-size: 14px;
}

.btn-contact {
    background: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 20px;
}

/* Hero Section */
.hero {
    background: url('./images/hero-phone.png') no-repeat center center/cover;
    padding: 100px 0;
    background-color: #000;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content h1 { font-size: 4rem; margin-bottom: 10px;color: #A4EEFF }
.hero-content .subtitle { font-size: 1.5rem; color: #4facfe; margin-bottom: 20px; }
.hero-content .description { margin-bottom: 30px; opacity: 0.8;color:#7889A6 }

.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
}

.btn-second {
    background: #265EBB;
    color: #D1E7FF;
    padding: 12px 30px;
    border-radius: 25px;
    border: 1px solid #3F81C9;
    text-decoration: none;
    display: inline-block;
}

.btn-third {
    background: #E29D41;
    color: white;
    padding: 4px 12px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}
.container-right {
    text-align: right;
    width: 100%; /* Đảm bảo thẻ cha chiếm hết chiều ngang */
}


.hero-image img { width: 100%; height: auto; }

/* Categories Section */
.categories {
    background: url('./images/earth-bg.png') no-repeat center center/cover;
    background-color: #000;
}

.category-label {
    color: white;
    margin: 40px 0 20px;
    display: inline-block;
    position: relative; /* Làm gốc tọa độ cho đường kẻ */
    padding-bottom: 8px; /* Tạo khoảng cách giữa chữ và đường kẻ */
}

.category-label::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0; /* Căn lề trái theo chữ */

    /* FIX WIDTH TẠI ĐÂY */
    width: 60px;  /* Bạn có thể chỉnh 50px, 80px tùy ý */
    height: 2px;  /* Độ dày của line */

    background-color: var(--primary-blue);
    border-radius: 2px; /* Bo tròn 2 đầu line cho mượt (tùy chọn) */
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

.category-card img { width: 100%; object-fit: cover; display: block; }
.card-body { padding: 20px; text-align: center; }
.card-body h4 { margin-bottom: 10px; }
.card-body p { font-size: 0.9rem; color: var(--text-gray); }

/* Products Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.product-grid img { width: 100%; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

.product-label {
    color: black;
    margin: 40px 0 20px;
    display: inline-block;
    position: relative; /* Làm gốc tọa độ cho đường kẻ */
    padding-bottom: 8px; /* Tạo khoảng cách giữa chữ và đường kẻ */
}

.product-label::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0; /* Căn lề trái theo chữ */

    /* FIX WIDTH TẠI ĐÂY */
    width: 60px;  /* Bạn có thể chỉnh 50px, 80px tùy ý */
    height: 2px;  /* Độ dày của line */

    background-color: var(--primary-blue);
    border-radius: 2px; /* Bo tròn 2 đầu line cho mượt (tùy chọn) */
}

.product-desc {
    color: #4D5562;
}

/* Core Values */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-item {
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.value-icon { font-size: 40px; margin-bottom: 20px; }

/* Footer */
.footer {
    background: #1c252e;
    color: white;
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 100px;
}

.footer span {
    color: #6DD4EC;
    }
.footer-bottom {
    padding: 12px 0;
background:#06050A;
 display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 100px;
}
.footer-bottom p {
font-size: 10px;
    font-weight: bold;
}

.footer-bottom a {
    display: inline-flex;    /* Quan trọng: Giúp icon và chữ nằm trên 1 dòng */
    align-items: center;     /* Căn giữa icon và chữ theo chiều dọc */
    gap: 10px;               /* Khoảng cách giữa icon và chữ */
    text-decoration: none;   /* Bỏ gạch chân nếu dùng thẻ <a> */
    color: #6DD4EC;
}
.contact-link {
    display: inline-flex;    /* Quan trọng: Giúp icon và chữ nằm trên 1 dòng */
    align-items: center;     /* Căn giữa icon và chữ theo chiều dọc */
    gap: 10px;               /* Khoảng cách giữa icon và chữ */
    text-decoration: none;   /* Bỏ gạch chân nếu dùng thẻ <a> */
    color: inherit;          /* Lấy màu chữ từ thẻ cha */
}

.contact-icon {
    width: 20px;             /* Fix lại kích thước icon cho vừa với chữ */
    height: auto;
    display: block;          /* Loại bỏ khoảng hở inline mặc định của ảnh */
}

input {
    width: 100%;
    height: 40px;
    background: #2c3e50;
    border: none;
    padding: 15px;
    color: white;
    border-radius: 5px;
    margin-top: 10px;
}
textarea {
    width: 100%;
    height: 100px;
    background: #2c3e50;
    border: none;
    padding: 15px;
    color: white;
    border-radius: 5px;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .hero-grid, .category-grid, .value-grid, .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .nav-links { display: none; } /* Có thể làm menu burger sau */
    .hero-content h1 { font-size: 2.5rem; }
}

.hero-image-responsive {
    width: 100%;
    height: auto;
    display: block;
    max-height: none;
}

@media (min-width: 768px) {
    .hero-image-responsive {
        width: auto;
        max-height: 340px;
    }
}