/**
* Custom CSS for Dragon Group
* Version: 1.0.1
*/



* {
  font-family: Arial, sans-serif;
}

body {
  background-color: #f0f4f8;
}

/* Left Section */
.left-section {
  background-color: #e6ecf0;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
}

.left-section h1 {
  font-size: 1.75rem;
  color: #333;
  margin-bottom: 15px;
}

.left-section p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}

.left-section button {
  background-color: #007bff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.left-section button:hover {
  background-color: #222222;
}

/* SDG Boxes */
.sdg-box {
  background-color: #fff;
  color: white;
  padding: 15px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  height: 100%;
}

/* Hiệu ứng hover: phóng to và giữ độ sáng */
.sdg-box:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 1 !important; /* Đảm bảo ô được hover không bị mờ */
}

/* Khi hover vào bất kỳ ô nào, các ô khác mờ đi */
.right-section:hover .sdg-box {
  opacity: 0.4;
}

.sdg-box .number {
  font-size: 1.5rem;
  font-weight: bold;
}

.sdg-box .title {
  margin-top: 10px;
  font-size: 0.75rem;
  line-height: 1.2;
}

/* SDG Colors */
.sdg-1 { background-color: #5732fd; }
.sdg-2 { background-color: #dda63a; }
.sdg-3 { background-color: #4c9f38; }
.sdg-4 { background-color: #c5192d; }
.sdg-5 { background-color: #ff8521; }
.sdg-6 { background-color: #26bde2; }
.sdg-7 { background-color: #b89acc; }

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .left-section h1 {
      font-size: 1.5rem;
  }

  .left-section p {
      font-size: 0.85rem;
  }

  .sdg-box .number {
      font-size: 1.25rem;
  }

  .sdg-box .title {
      font-size: 0.7rem;
  }

  /* Tắt hiệu ứng mờ trên mobile để cải thiện trải nghiệm */
  .right-section:hover .sdg-box {
      opacity: 1;
  }
}


.khung-tin-tuc {
  aspect-ratio: 3 / 2; /* Tá»· lá»‡ khung hĂ¬nh 16:9 */
  width: 100%; /* Äáº£m báº£o chiá»u rá»™ng cá»§a khung chá»©a */
  background-color: #f0f0f0; /* MĂ u ná»n trong trÆ°á»ng há»£p khĂ´ng cĂ³ hĂ¬nh áº£nh */
  border-radius: 6px;
}

.card-title a{
  font-size: 18px;
  color: #222222;
  font-weight: bold;
}

.khung-tin-tuc img{
  width: 100%;
  border-radius: 4px 4px 0px 0px;
  height: 100%;
  object-fit: cover; /* HĂ¬nh áº£nh láº¥p Ä‘áº§y khung chá»©a vĂ  giá»¯ tá»· lá»‡ */
}
.text-center{
  text-align: center !important;
}

.f-ngay{
  font-size: 14px;
  font-style: italic;
  color: #888;
}


.khung-sp-home{
  padding: 10px;
  border-radius: 14px;
  background-color: #fff;
  transition: top .3s ease 0s;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  top: 0px;
  position: relative;
}
.khung-sp-home:hover{
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  top: -6px;
}
.khung-sp-home h2 a{
  color: #092e4b;
}

.khung-sp-home img{
  width: 100%;
}

.khung-sp-home h4 a{
  color: #092e4b;
}
.khung-sp-home i{
  font-size: 20px;
  color: #D8AE24;
  
}

.khung-gth-gt{
  height: 99%;
}
.ss-ans{
  background-color: #fff;
 background-image: url('../img/dotted_map_blue.svg');
 
 border-radius: 8px;
   background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
/* Header Section */
.header-section {
box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.7); 
  border: 1px solid #f1f1f1;
}

.header-title {
  font-size: 2rem;
  font-weight: bold;
  color: #222222; /* Màu xanh đậm */
  position: relative;
  padding-left: 20px;
  margin-bottom: 20px;
}

.header-title-1{
  font-size: 1.8rem;
  font-weight: bold;
  color: #222222; /* Màu xanh đậm */
  position: relative;
}

.header-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background-color: #222222; /* Thanh dọc màu xanh */
}

.header-description {
  font-size: 1rem;
  color: #000;
  line-height: 1.6;
  padding-left: 20px;
}


.congnghegt img{
  width: 100%;
  border-radius: 8px;
}

.t-c{
  font-weight: bold;
  top: 4px;
  position: relative;
  color: #222222;
}

.t-c h3{
  color: #222222;
  font-size: 1.4rem;
}



/* Responsive Adjustments for Header */
@media (max-width: 767.98px) {
  .header-title {
      font-size: 1.75rem;
      padding-left: 15px;
  }

  .t-c h3{
    font-size: 1.2rem;
  }

  .header-title::before {
      width: 4px;
  }
  .header-title-1 {
    font-size: 1.4rem;
}
  .header-description {
      font-size: 0.9rem;
      padding-left: 15px;
  }

  .header-section {
      padding: 30px 0;
  }
}

.news-card{
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* News Swiper Global Styles */
#news-swiper {
  padding: 30px 0;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

#news-swiper .swiper-slide {
  height: auto;
  transition: transform 0.3s;
  width: 100%;
  box-sizing: border-box;
}

#news-swiper .card-img-top {
  height: 200px;
  object-fit: cover;
}

#news-swiper .card-body {
  padding: 15px;
}

#news-swiper .card-title {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

#news-swiper .swiper-button-next,
#news-swiper .swiper-button-prev {
  background-color: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#news-swiper .swiper-button-next:after,
#news-swiper .swiper-button-prev:after {
  font-size: 20px;
}

#news-swiper .swiper-pagination {
  bottom: -5px;
}

#news-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 0.7;
}

#news-swiper .swiper-pagination-bullet-active {
  background-color: var(--accent-color, #0d6efd);
}

/* Responsive adjustments for news swiper on small screens */
@media (max-width: 575.98px) {
  #news-swiper {
    padding: 20px 5px;
  }
  
  #news-swiper .card-img-top {
    height: 160px;
  }
  
  #news-swiper .card-title {
    font-size: 16px;
  }
  
  #news-swiper .swiper-button-next,
  #news-swiper .swiper-button-prev {
    width: 32px;
    height: 32px;
  }
  
  #news-swiper .swiper-button-next:after,
  #news-swiper .swiper-button-prev:after {
    font-size: 16px;
  }
}

@media (max-width: 575.98px) {
  .header-title {
      font-size: 1.5rem;
  }
  .header-title-1 {
    font-size: 1.3rem;
  }
  .t-c h3{
    font-size: 1.1rem;
  }
  .header-description {
      font-size: 0.85rem;
  }
}

/* Custom styles for the section */
.new1-section-title {
  color: #003087; /* Màu xanh đậm giống trong hình */
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.new1-card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.new1-card:hover {
  transform: translateY(-5px);
}

.new1-card-img-left {
  width: 120px; /* Kích thước hình ảnh bên trái */
  height: 100%;
  object-fit: cover;
}

.new1-card-body {
  position: relative;
  padding: 1rem;
  flex: 1; /* Để phần nội dung chiếm toàn bộ không gian còn lại */
}

.new1-card-text {
  font-size: 1.1rem;
  color: #3b3b3b;
}
.new1-card-text:hover {
  color: #222222;
}
.new1-card-title{
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0;
  line-height: 1.3;
}

.badge {
  font-size: 0.75rem;
  padding: 0.4em 0.8em;
}

.new1-stretched-link {
  color: #003087;
  font-size: 1.2rem;
  align-self: flex-end; /* Đặt mũi tên ở dưới cùng bên phải */
}

.new1-stretched-link:hover {
  color: #222222;
}

.text-blue-news{
  color: #222222;
}
  .news-card {
      border: none;
      border-radius: 0.5rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .news-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-top-left-radius: 0.5rem;
      border-bottom-left-radius: 0.5rem;
    }
    .news-btn {
      background-color: #293C5D !important;
      border-color: #0045a5;

    }
    .news-btn:hover {
      background-color: #003d91;
      border-color: #003d91;
    }
/* Responsive adjustments */
@media (max-width: 576px) {
  .new1-card {
      flex-direction: column; /* Chuyển về bố cục dọc trên màn hình nhỏ */
  }

  .new1-card-img-left {
      width: 30%;
      height: 100%;
  }
}

/* Fix for Swiper overflow issues */
.featured-services .container {
  overflow: hidden;
  padding-left: 15px;
  padding-right: 15px;
}

.swiper-container {
  width: 100%;
  overflow: hidden;
}

.swiper-slide {
  width: auto;
  box-sizing: border-box;
}

/* Scroll to top button styles */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #D8AE24;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

#scroll-top.active {
  opacity: 1;
  visibility: visible;
}

#scroll-top:hover {
  background-color: #0d6efd;
  transform: translateY(-3px);
}

#scroll-top i {
  font-size: 24px;
}

/* Floating Contact Buttons styles */
.addThis_listSharing {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 99;
}

.addThis_listing {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.addThis_item {
  margin: 0;
  transition: all 0.3s ease;
}

.addThis_item:hover {
  transform: translateY(-3px);
}

.addThis_item--icon {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.addThis_item--icon img {
  border-radius: 50%;
}

.tooltip-text {
  position: absolute;
  right: 55px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.tooltip-text:after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent #333;
}

.addThis_item--icon:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
  right: 50px;
}

.top-pixel{
  top: -40px;position: relative;
}
.ansinh-xh{
  position: relative;
  top: -100px;
}


.top-150{
  margin-top: 120px;
}
.ansinh-before{
  position: relative;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;

}



/* Responsive adjustments for floating buttons */
@media (max-width: 767px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
  }
  
  .addThis_listSharing {
    bottom: 70px;
  }
  
  .addThis_item--icon {
    width: 40px;
    height: 40px;
  }
  
  .tooltip-text {
    display: none;
  }
}




/* box so do to chuc */
* {
  box-sizing: border-box;
}

.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.level {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.box {
  background-color: #fff;
  border: 2px solid #D8AE24;
  border-radius: 10px;
  padding: 15px 25px;
  text-align: center;
  font-weight: bold;
  min-width: 200px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.box.hdqt {
  background-color: #D8AE24;
  color: white;
}

.hdqt img{
  width: 100%;
  max-width: 100px;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .level {
    flex-direction: column;
  }
}

.page-title{
  background-color: #f7f7f7;
}



/* Styling for article content */
.noidung {
  text-align: justify !important;
  line-height: 1.8 !important;
  font-size: 15px !important;
  color: #333 !important;
  font-family: var(--default-font) !important;
}

.noidung h1, 
.noidung h2, 
.noidung h3, 
.noidung h4, 
.noidung h5, 
.noidung h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.noidung p {
  margin-bottom: 1.2rem;
}

.noidung img {
  max-width: 90% !important;
  height: auto;
  text-align: center !important;
  margin: 0px auto !important;
}

.noidung ul, 
.noidung ol {
  margin-bottom: 1.2rem;
  padding-left: 2rem;
}
.noidung li{
  list-style-type: square !important;
}

.noidung a {
  color: #0d6efd;
  text-decoration: none;
}

.noidung a:hover {
  text-decoration: underline;
}

.noidung table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.noidung table th,
.noidung table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
}

.noidung table th {
  background-color: #f8f9fa;
  text-align: left;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .noidung {
    font-size: 15px;
  }
  
  .noidung h1 {
    font-size: 1.8rem;
  }
  
  .noidung h2 {
    font-size: 1.5rem;
  }
}



.hero-title h1{
  color: #fff;
}