* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

:root {
    --primary-blue: #1875D2;
    --accent-orange: #F26D2B;
    --light-bg: #f1f5f9;
    --dark-bg: #0f172a;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --text-muted: #64748b;
    --header-height: 70px;
}

/* ==========================================
   ABOUT SECTION STYLES
   ========================================== */
.about-section {
    background-color: var(--light-bg, #f8fafc);
    padding: 80px 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #ffffff;
    padding: 24px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color, #e2e8f0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-bottom: 3px solid var(--accent-orange, #F26D2B);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue, #1875D2);
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted, #64748b);
    font-weight: 600;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.about-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--border-color, #e2e8f0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(24, 117, 210, 0.1);
    border-color: var(--primary-blue, #1875D2);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(24, 117, 210, 0.1);
    color: var(--primary-blue, #1875D2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 20px;
    color: var(--primary-blue, #1875D2);
    margin-bottom: 15px;
    font-weight: 700;
}

.about-card p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 12px;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.about-card p strong {
    color: #1e293b;
}

.about-card.highlighted {
    border-top: 4px solid var(--accent-orange, #F26D2B);
}

.about-card.highlighted .card-icon {
    background-color: rgba(242, 109, 43, 0.1);
    color: var(--accent-orange, #F26D2B);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        grid-template-columns: 1fr;
    }
}

section {
    scroll-margin-top: var(--header-height);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #d85a1a;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--accent-orange);
    color: var(--white);
}




.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-orange);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.hero {
    margin-top: var(--header-height);
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.92), rgba(15, 23, 42, 0.95)), 
                url('https://images.unsplash.com/photo-1581092335397-9583fe92d232?q=80&w=1600') center/cover no-repeat;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 18px;
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto 30px auto;
}



.section {
    padding: 80px 0;
}

.bg-white {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.bg-light {
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 30px;
    color: var(--primary-blue);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-orange);
}

.section-title p {
    color: var(--text-muted);
    margin-top: 10px;
    font-size: 15px;
}

/* ==========================================
   PRODUCT SEARCH BAR STYLES
   ========================================== */
.product-filter-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 550px;
}

.search-box input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 25px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.search-box input:focus {
    border-color: var(--primary-blue, #1875D2);
    box-shadow: 0 0 0 3px rgba(24, 117, 210, 0.15);
}

.search-box .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted, #64748b);
    font-size: 16px;
}

/* ==========================================
   LƯỚI SẢN PHẨM
   ========================================== */
#productGrid, .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.product-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(24, 117, 210, 0.12);
    border-color: #1875D2;
}

.product-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #f8fafc;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-tag {
    align-self: flex-start;
    background-color: rgba(24, 117, 210, 0.1);
    color: #1875D2;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info h3 {
    font-size: 17px;
    color: #1e293b;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.4;
}

.product-info p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.btn-detail {
    display: block;
    text-align: center;
    background-color: #f1f5f9;
    color: #1875D2;
    padding: 9px 15px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.btn-detail:hover {
    background-color: #1875D2;
    color: #ffffff;
    border-color: #1875D2;
}

/* ==========================================
   LƯỚI DỰ ÁN & MÀU TRẠNG THÁI
   ========================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.project-img {
    position: relative;
    height: 220px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* THẺ TRẠNG THÁI DỰ ÁN */
.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Trạng thái Đã Hoàn Thành -> MÀU XANH LÁ */
.project-status.completed {
    background-color: #10B981;
    color: #ffffff;
}

/* Trạng thái Đang Thi Công -> MÀU CAM / TỐI */
.project-status.ongoing {
    background-color: rgba(10, 37, 64, 0.88);
    color: #ffffff;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 19px;
    color: var(--primary-blue);
    margin-bottom: 6px;
}

.project-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.project-info p i {
    color: var(--accent-orange);
    margin-right: 5px;
}

/* FOOTER */
.footer {
    background-color: var(--dark-bg);
    color: #94a3b8;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.footer h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 15px;
}

.footer h3 span {
    color: var(--accent-orange);
}

.footer h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 15px;
}

.footer p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer p i {
    color: var(--accent-orange);
    margin-right: 8px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: #64748b;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .projects-grid, .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= HEADER & LOGO TRÀN SÁT MÉP (KHÔNG BO GÓC) ================= */
.header {
    background-color: #007bff; /* Màu xanh dương chủ đạo */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Bỏ padding trên/dưới để logo dính khít */
    height: 60px;    /* Chiều cao cố định của thanh Menu */
}

.logo-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

/* Logo ở Header: Tràn sát trên & dưới, không bo góc */
.logo-header-full {
    height: 100%;
    width: auto;
    object-fit: fill; /* Hoặc cover/contain tùy tỉ lệ ảnh */
    display: block;
    border-radius: 0 !important; /* Xóa bỏ bo góc hoàn toàn */
    box-shadow: none;
}

/* ================= FOOTER & LOGO NHÍCH LÊN SÁT MÉP TRÊN ================= */
.footer {
    background-color: #0d1b2a;
    color: #d1d5db;
    padding: 50px 0 20px 0; /* Giữ padding chuẩn cho footer cân đối */
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo-wrapper {
    /* Đẩy riêng logo nhích lên sát mép trên cùng của Footer mà không làm ảnh hưởng nội dung khác */
    margin-top: -50px; 
    margin-bottom: 15px;
}

/* Logo ở Footer: Nhích lên trên, vuông vắn không bo góc */
.logo-footer-top {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 0 !important; /* Xóa bo góc */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}