/* CSS Reset & Cơ bản */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0b5aa6;
}
.nav-links {
    display: flex;
    gap: 20px;
}
.nav-links a {
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #d32f2f;
}
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* --- Hero Banner (Cập nhật) --- */
.hero {
    /* Giữ nguyên background của bạn */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x600?text=Bechnologies+Banner') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Cập nhật style cho thẻ p trong hero */
.hero p {
    font-size: 16px; /* Kích thước font chữ nhỏ hơn cho văn bản này */
    font-weight: normal; /* Font chữ bình thường */
    color: #fff; /* Giữ màu trắng cho văn bản */
    max-width: 800px;
    margin: 0 auto 50px auto; /* Tăng margin-bottom để tạo khoảng cách với stats */
}

/* Thêm màu xanh dương cho span.bechnologies-group */
.hero span.bechnologies-group {
    color: #0b5aa6; /* Màu xanh Intech gốc của bạn */
    font-weight: bold; /* Tùy chọn: làm cho tên nhóm đậm hơn */
}


/* --- Stats Section (Cập nhật) --- */
/* --- Stats Section (Cập nhật) --- */
.stats {
    display: flex;
    justify-content: space-between; /* Dàn đều 4 cột ra hai bên */
    align-items: flex-start;
    gap: 20px;
    max-width: 1000px; /* Thu hẹp lại một chút để các cột sát nhau hơn */
    margin: 0 auto;
    width: 100%;
}

.stat-item {
    background: none;
    padding: 20px 0;
    border-radius: 0;
    border: none;
    display: flex;
    flex-direction: column; /* Xếp dọc phần Top và phần Label */
    align-items: flex-start; /* Căn trái cho các phần tử bên trong */
    flex: 1; /* Chia đều không gian cho 4 cột */
}

/* Phần bao gồm Icon và Number nằm ngang */
.stat-top {
    display: flex;
    align-items: center; /* Căn giữa icon và chữ số theo chiều ngang */
    gap: 15px; /* Khoảng cách giữa icon và chữ số */
    margin-bottom: 10px; /* Khoảng cách với dòng chữ bên dưới */
}

.stat-icon {
    height: 45px; /* Tăng size icon lên một chút cho cân đối */
    width: auto;
    color: #f0dbdb;
}

.stat-number {
    font-size: 48px;
    color: #f0dbdb;
    margin: 0;
    font-weight: bold;
    line-height: 1; /* Chống lệch chiều cao dòng */
}

.stat-label {
    font-size: 15px;
    color: #333; /* Đổi thành màu xám đậm cho giống hình mẫu thay vì màu xanh */
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
}

/* Các Section dùng chung */
.section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: #0b5aa6;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #d32f2f;
    margin: 10px auto 0;
}

/* Lưới 4 cột */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.card {
    background: #f9f9f9;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    border-bottom: 3px solid #0b5aa6;
}
.card h3 {
    margin-bottom: 15px;
    color: #333;
}
.card p {
    font-size: 14px;
    color: #666;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 50px 5% 20px;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
}
.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.footer-col p {
    font-size: 14px;
    margin-bottom: 10px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
        padding: 20px 5%;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 28px;
    }
    .stats {
        gap: 15px;
    }
    .stat-item {
        flex: 1 1 40%;
    }
}