/* ==========================================================
   --- 1. ຕັ້ງຄ່າພື້ນຖານ (Reset & Base Styles) ---
   ========================================================== */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, "Phetsarath OT", "Noto Sans Lao", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333333;
    line-height: 1.5;
}

h1, h2, h3 {
    font-family: Arial, "Phetsarath OT", "Noto Sans Lao", sans-serif;
}

/* ==========================================================
   --- 2. HEADER (ໂລໂກ້ ແລະ ແບຣນເນີ) ---
   ========================================================== */
header {
    background-color: #ffffff;
    border-bottom: 5px solid #0056b3;
    padding: 15px 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#logo {
    font-size: 2em;
    font-weight: bold;
    color: #0056b3;
    margin-right: 30px;
}

#banner h1 {
    margin: 0;
    color: #555555;
    font-size: 1.5em;
    font-weight: normal;
}

/* ==========================================================
   --- 3. NAVIGATION (ເມນູຫຼັກແບບທັນສະໄໝ ແລະ ລະອຽດອ່ອນ) ---
   ========================================================== */
   
nav {
    background-color: #e8f5e9; /* ສີຂຽວອ່ອນອ່ອນ (Light Green Background) */
    border-bottom: 2px solid #c8e6c9;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    padding-left: 30px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px; /* ເພີ່ມ Padding ໃຫ້ກ່ອງເມນູໃຫຍ່ຂຶ້ນກວ່າເກົ່າ */
    text-decoration: none;
    color: #ffffff; /* ຕົວໜັງສືສີຂາວ ເພື່ອໃຫ້ຕັດກັບພື້ນຫຼັງສີຂຽວ */
    font-weight: bold;
    font-size: 1.05rem; /* ເພີ່ມຂະໜາດຕົວໜັງສືໃຫ້ໃຫຍ່ຂຶ້ນເລັກນ້ອຍ */
    transition: background-color 0.25s ease;
}

nav ul li a i {
    font-size: 1rem; /* ໃຫ້ Icon ໃຫຍ່ຂຶ້ນຕາມຕົວໜັງສື */
    opacity: 0.9;
}

nav ul li a:hover {
    background-color: #1b5e20; /* ສີຂຽວເຂັ້ມຂຶ້ນເວລາเอาເມົ້າຊີ້ (Hover) */
}
/* ==========================================================
   --- 4. DROPDOWN MENU (ເມນູຍ່ອຍແບບ Fade & Slide Nian ໆ) ---
   ========================================================== */
.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 280px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    border-radius: 0 0 8px 8px;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #0056b3;
    padding: 6px 0;
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-content a {
    color: #333333 !important;
    padding: 10px 18px;
    text-decoration: none;
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-weight: normal !important;
    border-bottom: 1px solid #f1f1f1;
    transition: all 0.2s ease;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f1f5f9;
    color: #0056b3 !important;
    padding-left: 22px; /* ເກີດ Effect ເລື່ອນຂວາໜ້ອຍໜຶ່ງເວລາຊີ້ */
}

/* ສະແດງເມນູຍ່ອຍເມື່ອເມົ້າຊີ້ທີ່ເມນູຫຼັກ */
.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   --- 5. MAIN CONTENT (ພື້ນທີ່ສະແດງເນື້ອໃນ) ---
   ========================================================== */
#content-area {
    padding: 30px 50px;
    min-height: 60vh;
}

.content-article {
    border: 1px solid #dddddd;
    padding: 25px;
    border-left: 5px solid #ff9900;
    border-radius: 6px;
    background-color: #ffffff;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.content-article h2 {
    color: #ff9900;
    border-bottom: 1px dashed #ff9900;
    padding-bottom: 8px;
    margin-top: 0;
}

/* ==========================================================
   --- 6. FOOTER (ສ່ວນທ້າຍ) ---
   ========================================================== */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333333;
    color: #ffffff;
    font-size: 0.9em;
    margin-top: 40px;
}