/* Reset cơ bản */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Font chữ hiện đại, sạch sẽ giống web trường */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    display: flex; /* Dùng Flexbox để chia layout trang */
    background-color: #f4f6f9; /* Màu nền phần nội dung bên phải */
}

/* --- STYLE CHO SIDEBAR --- */
:root {
    --sidebar-bg: #0f4c81;     /* Màu xanh dương đậm */
    --sidebar-hover: #165b99;  /* Màu xanh nhạt hơn khi đưa chuột vào */
    --text-normal: #e0e6ed;    /* Màu chữ trắng xám */
    --text-active: #f39c12;    /* Màu vàng cam cho mục đang chọn */
}

.sidebar {
    width: 260px;
    height: 100vh; /* Chiều cao bằng 100% màn hình */
    background-color: var(--sidebar-bg);
    color: var(--text-normal);
    position: fixed; /* Cố định sidebar không bị trượt khi cuộn nội dung */
    top: 0;
    left: 0;
    overflow-y: auto; /* Cho phép cuộn nếu menu quá dài */
    padding-top: 20px;
    border-right: 1px solid #0a3d6b;
}

/* Tùy chỉnh thanh cuộn cho đẹp (Webkit) */
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background-color: #0a3d6b; border-radius: 4px; }

.logo-area {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #1c62a1;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

/* Menu List */
.menu {
    display: flex;
    flex-direction: column;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: var(--text-normal);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
}

.menu-item i {
    width: 25px; /* Cố định chiều rộng icon để chữ thẳng hàng */
    font-size: 16px;
    margin-right: 10px;
    text-align: center;
}

/* Hiệu ứng khi đưa chuột qua */
.menu-item:hover {
    background-color: var(--sidebar-hover);
    color: #fff;
}

/* Hiệu ứng cho mục đang xem (Active) */
.menu-item.active {
    color: var(--text-active);
    font-weight: 600;
    background-color: #0d4270;
    border-left: 4px solid var(--text-active);
    padding-left: 16px; 
}

/* --- STYLE CHO KHU VỰC NỘI DUNG --- */
.main-content {
    margin-left: 260px; /* Đẩy nội dung sang phải nhường chỗ cho Sidebar */
    padding: 40px;
    width: 100%;
}
/* =========================================
   STYLE CHO LANDING PAGE (Phần Ruột)
   ========================================= */

/* Định nghĩa màu sắc chuẩn theo thiết kế */
:root {
    --brand-dark: #0f1e3d; /* Xanh Navy đậm */
    --brand-orange: #f39c12; /* Cam nổi bật */
    --brand-light: #f8f9fa; /* Xám nhạt nền */
}

/* Override lại main-content cho landing page để full sát viền */
.landing-page {
    padding: 0 !important; 
}

.landing-page section {
    padding: 60px 40px;
}

.bg-dark { background-color: var(--brand-dark); color: #fff; }
.bg-light { background-color: var(--brand-light); }
.text-dark { color: var(--brand-dark); }
.text-white { color: #fff; }

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.highlight-text { color: var(--brand-orange); }

/* --- 1. HERO SECTION --- */
.hero-section {
    background: linear-gradient(135deg, #091326 0%, var(--brand-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content { flex: 1; }
.hero-content h1 { font-size: 36px; line-height: 1.3; margin-bottom: 15px; }
.hero-content h1 .highlight { color: var(--brand-orange); font-size: 42px; display: block;}
.hero-desc { font-size: 16px; margin-bottom: 30px; opacity: 0.9; line-height: 1.6; }

/* Buttons */
.hero-actions { display: flex; gap: 15px; margin-bottom: 40px; }
.btn { padding: 12px 24px; font-weight: bold; border-radius: 4px; text-decoration: none; font-size: 14px; transition: 0.3s; }
.btn-primary { background-color: var(--brand-orange); color: #fff; border: 1px solid var(--brand-orange); }
.btn-primary:hover { background-color: #d68910; }
.btn-outline { background-color: transparent; color: #fff; border: 1px solid #fff; }
.btn-outline:hover { background-color: rgba(255,255,255,0.1); }

/* Hero Features */
.hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: bold; }
.feature-item i { color: var(--brand-orange); font-size: 24px; }
.feature-item small { font-weight: normal; opacity: 0.8; font-size: 12px; }

.hero-image { flex: 1; text-align: right; }
.hero-image img { max-width: 100%; border-radius: 8px; object-fit: cover; }

/* --- 2. GRID HỆ THỐNG --- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* --- 3. WHY CHOOSE US (Card Box) --- */
.card-box {
    background: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}
.card-box:hover { border-bottom-color: var(--brand-orange); transform: translateY(-5px); }
.icon-circle { width: 60px; height: 60px; line-height: 60px; border-radius: 50%; background: #fdf5e6; color: var(--brand-orange); font-size: 24px; margin: 0 auto 15px; }
.card-box h3 { font-size: 16px; color: var(--brand-dark); margin-bottom: 10px; height: 40px; }
.card-box p { font-size: 14px; color: #666; line-height: 1.5; }

/* --- 4. SERVICES --- */
.service-card { background: #1a2a4f; border-radius: 8px; overflow: hidden; border: 1px solid #2a3b65; }
.service-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.service-info { padding: 20px; }
.service-info h3 { color: var(--brand-orange); font-size: 18px; margin-bottom: 15px; border-bottom: 1px dashed #3a4b75; padding-bottom: 10px; }
.service-info ul { list-style: none; padding: 0; }
.service-info ul li { margin-bottom: 10px; font-size: 14px; color: #ddd; }
.service-info ul li i { color: var(--brand-orange); margin-right: 8px; }

/* Responsive cơ bản cho màn hình nhỏ hơn */
@media (max-width: 1200px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hero-section { flex-direction: column; }
    .grid-3 { grid-template-columns: repeat(1, 1fr); }
}