:root{
  --blue-900:#12375b;
  --blue-800:#1c4d7c;
  --blue-700:#2a6298;
  --gold:#c79b3b;
  --gold-soft:#ebddb6;
  --ink:#1f2e3d;
  --muted:#5b6b78;
  --line:#d7dee6;
  --paper:#ffffff;
  --bg:#eef3f7;
  --navy:#0c2742;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Times New Roman", Georgia, serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.7;
}
a{color:var(--blue-800);text-decoration:none}
a:hover{text-decoration:underline}
.container{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
}
.gov-topline{
  height:10px;
  background:linear-gradient(90deg, var(--gold) 0%, #ddc17a 30%, var(--gold) 60%, #a77d27 100%);
}
.site-header{
  background:linear-gradient(180deg, #f8fbfd 0%, #edf3f8 100%);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  gap:18px;
  padding:20px 0;
}
.crest{
  width:76px;
  height:76px;
  min-width:76px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 30%, #e8d7a9, var(--gold));
  border:4px solid #a17822;
  color:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:28px;
  letter-spacing:1px;
  box-shadow:0 6px 18px rgba(70,50,10,.18);
}
.header-kicker{
  font-size:13px;
  letter-spacing:.12em;
  color:var(--blue-800);
  font-weight:700;
}
.header-title{
  font-size:30px;
  line-height:1.25;
  font-weight:700;
  color:var(--navy);
  text-transform:uppercase;
}
.header-subtitle{
  color:var(--muted);
  font-size:16px;
  margin-top:4px;
}
.section-ribbon{
  background:var(--blue-900);
  color:#fff;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:4px solid var(--gold);
}
.ribbon-inner{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  padding:10px 0;
  font-size:14px;
}
.ribbon-inner span{
  position:relative;
  padding-right:18px;
}
.ribbon-inner span::after{
  content:"";
  position:absolute;
  right:6px;
  top:50%;
  width:5px;
  height:5px;
  background:var(--gold);
  border-radius:50%;
  transform:translateY(-50%);
}
.ribbon-inner span:last-child::after{display:none}
.main-nav{
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:0 1px 0 rgba(0,0,0,.03);
}
.nav-inner{
  display:flex;
  flex-wrap:wrap;
  gap:2px;
}
.main-nav a{
  padding:14px 16px;
  font-weight:700;
  color:var(--navy);
  border-bottom:3px solid transparent;
}
.main-nav a.active,
.main-nav a:hover{
  text-decoration:none;
  background:#f5f8fb;
  border-bottom-color:var(--gold);
}
.hero{
  background:
    linear-gradient(rgba(16,42,69,.72), rgba(16,42,69,.72)),
    linear-gradient(135deg, #476f9c 0%, #244b76 45%, #14375a 100%);
  color:#fff;
  padding:42px 0;
  border-bottom:5px solid var(--gold);
}
.hero-inner{
  display:grid;
  grid-template-columns:1.45fr .8fr;
  gap:24px;
  align-items:start;
}
.hero-label{
  display:inline-block;
  padding:8px 14px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.08);
  letter-spacing:.08em;
  font-size:12px;
  font-weight:700;
}
.hero h1{
  margin:18px 0 14px;
  font-size:40px;
  line-height:1.22;
}
.hero p{
  font-size:18px;
  max-width:800px;
  color:#edf4fb;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}
.btn{
  display:inline-block;
  padding:12px 18px;
  font-weight:700;
  border-radius:0;
}
.btn-primary{
  background:var(--gold);
  color:#222;
}
.btn-primary:hover{text-decoration:none;background:#d6af59}
.btn-outline{
  border:1px solid rgba(255,255,255,.4);
  color:#fff;
}
.btn-outline:hover{text-decoration:none;background:rgba(255,255,255,.08)}
.hero-panel{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  padding:20px;
  box-shadow:0 10px 25px rgba(0,0,0,.12);
}
.panel-heading{
  font-size:14px;
  letter-spacing:.08em;
  font-weight:700;
  border-bottom:1px solid rgba(255,255,255,.2);
  padding-bottom:10px;
  margin-bottom:10px;
}
.panel-item{
  padding:12px 0;
  border-bottom:1px dashed rgba(255,255,255,.18);
}
.panel-item:last-child{border-bottom:none}
.panel-item strong{
  display:block;
  margin-bottom:4px;
  color:#fff;
}
.main-wrapper{
  padding:28px 0 44px;
}
.content-shell{
  background:transparent;
}
.article-card{
  background:var(--paper);
  border:1px solid var(--line);
  box-shadow:0 8px 28px rgba(7,28,49,.06);
}
.article-header{
  padding:26px 28px 14px;
  background:linear-gradient(180deg, #fcfdff 0%, #f5f8fb 100%);
  border-bottom:1px solid var(--line);
}
.article-header h1{
  margin:0;
  color:var(--navy);
  font-size:34px;
  text-transform:uppercase;
}
.article-line{
  width:140px;
  height:4px;
  background:var(--gold);
  margin-top:14px;
}
.article-body{
  padding:26px 28px 34px;
  font-size:18px;
}
.article-body h2,
.article-body h3{
  color:var(--blue-900);
  margin-top:28px;
}
.article-body blockquote{
  margin:18px 0;
  padding:14px 18px;
  background:#f7f2e6;
  border-left:5px solid var(--gold);
}
.article-body table{
  width:100%;
  border-collapse:collapse;
  margin:18px 0;
}
.article-body th,
.article-body td{
  border:1px solid var(--line);
  padding:10px 12px;
  text-align:left;
}
.article-body th{
  background:#eef4f9;
  color:var(--navy);
}
.article-body ul,
.article-body ol{
  padding-left:24px;
}
.site-footer{
  background:var(--navy);
  color:#dfe9f2;
  padding:34px 0;
  margin-top:18px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:24px;
}
.site-footer h4{
  color:#fff;
  margin-top:0;
  border-bottom:1px solid rgba(255,255,255,.18);
  padding-bottom:8px;
}
.site-footer ul{
  margin:0;
  padding-left:18px;
}
.site-footer a{color:#dfe9f2}
@media (max-width: 980px){
  .hero-inner,.footer-grid{grid-template-columns:1fr}
  .header-title{font-size:24px}
  .hero h1{font-size:30px}
}
.crest{
  min-width:92px;
  width:auto;
  height:auto;
  background:transparent;
  border:none;
  border-radius:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  box-shadow:none;
  padding:0;
}

.crest img{
  max-width:92px;
  max-height:92px;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
  padding:0;
  background:transparent;
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:18px;
  margin-top:20px;
}

.gallery-item{
  background:#fff;
  border:1px solid #d7dee6;
  padding:8px;
  box-shadow:0 4px 14px rgba(0,0,0,.06);
}

.gallery-image{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
}

.gallery-caption{
  margin-top:8px;
  font-size:14px;
  color:#44525f;
  text-align:center;
  word-break:break-word;
}
.home-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
  margin-top:20px;
}

.home-grid div{
  background:#fff;
  border:1px solid #d7dee6;
  padding:10px;
  text-align:center;
}

.home-grid img{
  width:100%;
  height:140px;
  object-fit:cover;
  margin-bottom:10px;
}

.home-grid h3{
  margin:5px 0;
  color:#12375b;
}
/* --- TỔNG THỂ & TIỆN ÍCH --- */
:root {
    --primary-color: #004085; /* Xanh đậm chuyên nghiệp hơn */
    --accent-color: #f7941d; /* Màu cam xây dựng */
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f9f9f9;
}

.section-padding { padding: 80px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.text-center { text-align: center; }
.m-b-40 { margin-bottom: 40px; }
.m-b-50 { margin-bottom: 50px; }
.m-t-50 { margin-top: 50px; }
.text-white { color: #fff !important; }

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 15px 0 25px 0;
}

/* --- FLEXBOX GRID (CHO Z-PATTERN) --- */
.flex-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.items-center { align-items: center; }
.col-6 { width: 50%; padding: 0 15px; }

/* --- HERO & BANNER --- (Như trước nhưng thêm hiệu ứng) */
.banner-wrapper { position: relative; overflow: hidden; border-radius: 0 0 20px 20px; } /* Bo góc dưới */
.main-banner { width: 100%; height: 500px; object-fit: cover; }
.banner-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white; padding: 50px; text-align: center;
}

/* --- HIỆU ỨNG HÌNH ẢNH TRONG PHẦN GIỚI THIỆU --- */
.text-content h2 { font-size: 2.5rem; color: var(--primary-color); }
.sub-title { color: var(--accent-color); font-weight: bold; letter-spacing: 2px; }

.img-wrapper {
    overflow: hidden;
    border-radius: 15px;
    border: 5px solid #fff; /* Viền trắng như khung ảnh */
    transition: all 0.5s ease;
}

.img-wrapper img { width: 100%; height: auto; display: block; }
.shadow-lg { box-shadow: 0 15px 35px rgba(0,0,0,0.15); }

/* Hiệu ứng xoay nhẹ tạo sự sinh động */
.rotate-right { transform: rotate(2deg); }
.rotate-left { transform: rotate(-2deg); }

.img-wrapper:hover {
    transform: rotate(0deg) scale(1.03); /* Về thẳng và phóng to nhẹ */
}

/* Badge Phòng thí nghiệm */
.lab-badge-large {
    background: #fff; padding: 30px; border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.lab-badge-large i { font-size: 3rem; color: var(--primary-color); margin-bottom: 15px; }

/* --- THÔNG TIN LIÊN HỆ (PARALLAX BG) --- */
.parralax-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Hiệu ứng cuộn nền */
}

.overlay-dark {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 64, 133, 0.8); /* Màu xanh trùng màu chính */
}
.relative { position: relative; z-index: 1; }

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: rgba(255, 255, 255, 0.1); /* Nền trong suốt */
    border: 1px solid rgba(255,255,255,0.2);
    padding: 30px; border-radius: 10px;
    display: flex; align-items: center; color: #fff;
    transition: 0.3s;
}

.info-card:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-5px); }
.info-card i { font-size: 2.5rem; color: var(--accent-color); margin-right: 20px; width: 50px; text-align: center;}
.card-info-content h4 { margin: 0 0 5px 0; font-size: 1.1rem; color: #fff; }
.card-info-content p { margin: 0; opacity: 0.9; }

/* --- GRID CÔNG KHAI (CARD) --- */
.grid-section { background-color: var(--bg-light); }
.home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.card {
    background: #fff; border-radius: 15px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; text-align: center;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 12px 25px rgba(0,0,0,0.15); }
.card-img { height: 200px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card:hover .card-img img { transform: scale(1.1); }
.card-body h3 { margin: 15px 0; font-size: 1.2rem; color: var(--primary-color); }

/* --- RESPONSIVE CHUYÊN ĐỘNG --- */
@media (max-width: 768px) {
    .col-6 { width: 100%; margin-bottom: 30px; }
    .reverse-mobile { flex-direction: column-reverse; }
    .hero-section .main-banner { height: 300px; }
    .parralax-bg { background-attachment: scroll; } /* Tắt parallax trên mobile */
}
.table-wrap{
  width:100%;
  overflow-x:auto;
  margin:18px 0 24px;
}

.cbnl-table{
  width:100%;
  min-width:900px;
  border-collapse:collapse;
  background:#fff;
}

.cbnl-table th,
.cbnl-table td{
  border:1px solid #d7dee6;
  padding:10px 12px;
  vertical-align:top;
  text-align:left;
}

.cbnl-table th{
  background:#eef4f9;
  color:#12375b;
  font-weight:700;
}

.cbnl-table tr:nth-child(even){
  background:#fafcfe;
}