
:root {
    background-image: url('anh/comchim2.jpg');
    --secondary-bg: #ffe8d6; 
    --accent-orange: #f28b5e;
    --text-dark: #333;
    --text-medium: #666;
    --text-light: #999;
    --border-radius-large: 30px;
    --border-radius-medium: 20px;
    --border-radius-small: 10px;
    --shadow-soft: rgba(0, 0, 0, 0.5) 0px 4px 12px;
    --shadow-lighter: rgba(0, 0, 0, 0.05) 0px 2px 8px;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
main {
  display: block;
  width: 100%;
  text-align: left;
}
body {
    font-family: 'Open Sans', sans-serif;
    background-image: url('anh/comchim2.jpg');
    background-size: cover;         
    background-repeat: no-repeat;   
    background-position: center;    
    background-attachment: fixed;   
    width: 100%;                            
    margin: 0;
    padding: 0;
    overflow-y: auto;   
    color: white;   
    position: relative;
    z-index: 0;
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url('anh/comchim2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}
.dashboard-container {
    display: flex;
    width: 100%;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-soft);
    overflow: visible; 
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  color: #333;
  margin: 0;
}
.simple-header-text {
  margin: 0;
  position: relative;
  width: 100vw;
  height: 300px;
  background-color:url('anh/comchim2.jpg') center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 80px;
}
.simple-header-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.simple-header-text h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 64px;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  animation: fadeIn 2s ease forwards;
  opacity: 0;
  margin: 0;
}
.header-bg-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px 40px;
}
.underline {
  margin: 20px auto 0;
  width: 600px;
  height: 1px;
  background-color: #f7941d;
  z-index: 2;
  position: relative;
  margin-bottom: 30px;
  margin-top: 50px;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.breadcrumb {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 8px;
  color: orange;
}
.breadcrumb-item a {
  text-decoration: none;
  color: orange;
}
.breadcrumb-item.active {
  color: white;
}
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}


/* Dropdown hiển thị khi hover vào li (giữ lại khi chuột ở trong menu con) */
.dropdown:hover .dropdown-content,
.dropdown .dropdown-content:hover {
  display: block;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 38px;
  left: 0;
  background-color: #ebdab6;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 300px;
  padding: 20px;
  z-index: 1000;
}
.menu-columns {
  display: flex;
  justify-content: space-between;
}
.column {
  flex: 1;
  margin-right: 20px;
}
.column a {
  display: block;
  color: #333;
  text-decoration: none;
  margin-bottom: 10px;
}
.column a:hover {
  text-decoration: underline;
}

html {
  scroll-behavior: smooth;
}
/*PHAN MENU*/
.top-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 10px 20px;
  position: relative;
  z-index: 1000;
}

.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-menu > li {
  position: relative;
  margin-right: 30px;
}

.main-menu > li > a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  padding: 8px 12px;
  display: inline-block;
}
.phan-noidung {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #fff;
  padding: 40px;
  box-sizing: border-box;
  color: #333;
  overflow-wrap: break-word;
  position: relative;
}
.noidung-chinh h2 {
    font-size: 24px;
    margin: 40px 20px 10px;
    color: #333;
}
.noidung-chinh p {
    margin: 0 20px 30px;
    color: #444;
    line-height: 1.6;
}
/*.noidung-chinh img{
  height: 500px;
  width: 600px;
}*/
.toggle-btn {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#toggle-icon {
    font-size: 16px;
    margin-left: 10px;
}
#toc-content {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}
.hidden {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}
.layout-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.cot-trai {
  flex: 6;
  padding: 10px 0px 0px 40px;
}

.cot-phai {
  flex: 2;
  max-width: 300px;
}
.muc-luc-sticky {
  position: relative; 
   height: 100%/* ✅ Giới hạn sticky bên trong .phan-noidung */
}
.muc-luc-box {
  position: sticky;
  top: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 10;
}

/* TIÊU ĐỀ MỤC LỤC */
.toc-title {
  background-color: #009245;
  color: white;
  padding: 12px 16px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* DANH SÁCH MỤC LỤC */
#toc-list {
  margin-top: 16px;
  list-style: none;
  padding-left: 0;
  max-height: 500px;
  overflow-y: auto;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

#toc-list.hidden {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#toc-list li {
  margin-bottom: 10px;
}

#toc-list li a {
  color: #006837;
  font-weight: 600;
  text-decoration: none;
}

#toc-list li a:hover {
  text-decoration: underline;
}

/* THÊM PHONG CÁCH CHUNG */
.main-title {
  font-size: 50px;
  color: #1a1a1a;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease;
}
.main-title.active {
  opacity: 1;
  transform: scale(1);
}
.noidung-chinh {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}
.noidung-chinh.active {
  opacity: 1;
  transform: translateY(0);
}
.intro-text.active {
  opacity: 1;
  transform: scale(1);
}
.intro-text {
  text-align: left;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #444;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease;
}

.noidung-chinh h2 {
  font-size: 22px;
  margin: 30px 0 10px;
  color: #1a1a1a;
}

.noidung-chinh p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

.artist-img {
  width: 100%;
  height: 300px;           /* ✅ đảm bảo ảnh đều chiều cao */
  object-fit: cover;       /* ✅ cắt ảnh gọn đẹp */
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}
.image-caption {
  text-align: center;
  font-style: italic;
  font-size: 5px;
  color: #666;
  margin-bottom: 20px;
}
.line-text{
  height: 2px;
  background-color: #999;
  width: 700px;       /* Hoặc 80%, tùy chiều dài bạn muốn */
  margin: 20px auto; /* Căn giữa và tạo khoảng cách */
}
.artist-img-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.artist-img-row .img-box {
  flex: 1;
  max-width: 48%;
}
.artist-img-row .artist-img {
  height: 500px;            /* ✅ Đặt chiều cao cố định */
  width: 100%;
  object-fit: cover;        /* ✅ Ảnh sẽ giữ tỷ lệ và cắt phần dư */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.artist-img-row .image-caption {
  text-align: center;
  font-style: italic;
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}
.artist-img {
  width: 100%;
  height: 300px;           /* ✅ đảm bảo ảnh đều chiều cao */
  object-fit: cover;       /* ✅ cắt ảnh gọn đẹp */
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.artist-img:hover {
  transform: scale(1.02);
}

.image-caption {
  font-style: italic;
  font-size: 5px;
  color: #666;
  margin-top: 10px;
  margin-bottom: 20px;
}
.artist-img-bot{
  width: 700px;

}

/* Hiệu ứng fade */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.artist-img-bot {
  display: flex;
  justify-content: center; /* 👉 Căn giữa nội dung bên trong theo chiều ngang */
  margin-top: 20px;
  margin-bottom: 15px;

}
.img-box-bot {
  text-align: center;       /* 👉 Căn chữ ở giữa */
}
.artist-img-bot {
  width: 100%;
  max-width: 1000px;        /* 👈 Bạn muốn ảnh dài đến đâu thì chỉnh tại đây */
  height: 500px;            /* 👈 Chiều cao ảnh */
  object-fit: cover;
  display: block;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}
.artist-img-row p {
  margin-bottom: 5px;
}
.img-box-bot p{
  font-size: 14px;
}
#hoasi5  {
  margin-top: 70px; 
}
#hoasi7 {
  margin-top: 70px; 
}
#hoasi8  {
  margin-top: 70px; 
}
 #hoasi9 {
  margin-top: 70px; 
}
 #hoasi10 {
  margin-top: 70px; 
}




.hello{
  margin-left:10px;
  text-align: center;
}
/*KHAM PHA THEM */
.explore-wrapper {
  background-color: white;
  border-radius: 0;
  padding: 0px ;
  width:100%;
  overflow-x: hidden;
}
.explore-more {
  padding: 30px 20px;
  max-width: 1450px;
  margin: 0 auto;
  text-align: center;
}
.explore-title {
  font-size: 50px;
  color: #400e57;
  margin-bottom: 60px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.explore-title.visible {
  opacity: 1;
  transform: scale(1);
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.explore-item {
  background: #f8f8f8;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.explore-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.explore-item img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
  height: 200px;
  object-fit: cover;
}

.explore-item h3 {
  font-size: 20px;
  margin: 10px 0;
  color: #222;
}

.know {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.desc {
  font-size: 15px;
  color: #444;
}
.explore-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.explore-heading .linekhampha {
  flex: 1;
  height: 1px;
  background-color: #ccc;
  opacity: 0.6;
  position: relative;
  top: 0;
}

.explore-title {
  font-size: 50px;
  color: #400e57;
  margin: 0;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}
.explore-title.visible {
  opacity: 1;
  transform: scale(1);
}
h3 a {
  text-decoration: none;
  color: #222; /* màu ban đầu */
  transition: color 0.3s ease;
}

h3 a:hover {
  color: #d7ae73; /* màu tím khi hover */
  text-decoration: none;
}
.home-button {
  text-align: center;
  margin-top: 20px;
}

.home-button button {
  background-color: #7db471;
  color: white;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.home-button button:hover {
  background-color: #52814a;
  transform: scale(1.05);
}

/*hghjghfjg8*/
.news-grid {
  padding: 60px 40px; 
  width: 100%;        
  max-width: none;    
  margin: 0 auto;
  background-color:  #ffffff;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.news-left {
  flex: 2;
}
.news-right {
  flex: 1;
  border-left: 1px solid #ddd;
  padding-left: 20px;
}

/* ===== PHAN TIEU DE BEN TRAI */
.news-heading {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #222;
  border-left: 4px solid #c63a3a;
  padding-left: 10px;

  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.news-heading.visible {
  opacity: 1;
  transform: translateX(0);
}
/* ===== MỖI TIN (CỘT TRÁI): scale in ===== */
.news-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;

  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.news-item.visible {
  opacity: 1;
  transform: scale(1);
}
.news-img {
  width: 220px;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.news-info {
  flex: 1;
}
.news-category {
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.news-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #111;
}
.news-desc {
  font-size: 15px;
  line-height: 1.5;
  color: #444;
}

/* ===== PHAN TIEU DE COT PHAIPHAI */
.right-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #222;
  border-bottom: 2px solid #c63a3a;
  padding-bottom: 6px;

  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.right-title.visible {
  opacity: 1;
  transform: translateX(0);
}
/* ===== DANH SÁCH LINK: fade in ===== */
.news-list {
  list-style: none;
  padding-left: 0;
}
.news-list li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  margin-bottom: 12px;
}
.news-list li.visible {
  opacity: 1;
  transform: translateY(0);
}
.news-list a {
  font-size: 15px;
  color: #222;
}
.news-list a:hover {
  text-decoration: underline;
  color: #c63a3a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .news-grid {
    flex-direction: column;
  }
  .news-right {
    border-left: none;
    padding-left: 0;
    margin-top: 40px;
  }
}
.news-list-img {
  display: block;
  margin-top: 10px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}




