/* Reset mặc định */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
/* Căn chỉnh chung */
body {
    font-family: Arial, sans-serif;
    padding-top: 90px; /* Đẩy nội dung xuống dưới navbar */
  }
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 15px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10000; /* Giữ navbar luôn trên cùng */
    height: 80px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .logo {
    height: 65px;
  }
  
  /* Menu */
  .menu {
    list-style: none;
    display: flex;
    gap: 30px;
  }
  
  .menu li {
    position: relative;
  }
  
  .menu li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 5px;
    transition: color 0.3s ease-in-out;
  }
  
  /* Hiệu ứng khi hover vào menu cha */
  .menu li a:hover {
    color: blue;
  }
  
  /* Menu con */
  .submenu {
    list-style: none;
    padding: 10px 0;
    margin: 0;
    position: absolute;
    left: 0;
    top: 100%;
    background: white;
    display: none;
    min-width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    overflow: hidden;
    z-index: 10001; /* Đảm bảo menu con hiển thị trên cùng */
  }
  
  /* Các mục trong menu con */
  .submenu li {
    border-bottom: 1px solid #eee;
  }
  
  .submenu li:last-child {
    border-bottom: none;
  }
  
  .submenu a {
    padding: 12px 20px;
    display: block;
    color: #333;
    font-size: 16px;
    transition: background 0.3s ease-in-out;
  }
  
  /* Hiệu ứng hover menu con */
  .submenu a:hover {
    background: #f5f5f5;
  }
  
  /* Hiển thị menu con khi hover */
  .menu li:hover .submenu {
    display: block;
  }
  
  /* Nút menu cho mobile */
  #menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
  }

.text_layer {
    position: relative;
    display: flex;
    align-items: center;
    /* Căn giữa theo chiều dọc */
    justify-content: flex-start;
    /* Căn chữ về bên trái */
}

.breadcrumb {
    display: flex;
    padding: 2px;
}

.breadcrumb_1 {
    color: #8D8D8D;
}

.breadcrumb_2 {
    color: #0068d0;
}

.background-image {
    width: 100%;
    height: auto;
}

.text {
    position: absolute;
    left: 10%;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.main_content h1 {
    color: #0d47a1;
    font-size: 32px;
    font-weight: bold;
    line-height: 36px;
}
.main_content img {
  max-width: 100%;  /* Ảnh không vượt quá chiều rộng của container */
    height: auto;  /* Giữ tỷ lệ ảnh */
    display: block; /* Loại bỏ khoảng trắng dư thừa */
    margin: 0 auto; /* Căn giữa ảnh */
}

.content {
    display: flex;
}

.row_left {
    flex: 2;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding-left: 10%;
}

.row_right {
    flex: 1;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding-right: 10%;
}

.intro img {
    border-style: solid;
    border-width: 1px;
    width: 567px;
}

.intro_1 {
    font-weight: bold;
}

.row_right h2 {
    font-size: 30px;
    color: #f4f4f4;
    background-color: #1b82fb;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.feature {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 10px;
    padding-bottom: 15px;
    text-align: center;
}

.feature img {
    width: 115px;
    height: 115px;
}

.feature a {
    margin: 0;
    font-size: 16px;
    color: #0a3e79;
    font-weight: bold;
}

.related_posts {
    text-align: center;
    margin-top: 30px;
    color: #0068d0;
    font-weight: 500;
    font-size: 30px;
}

.slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 100%;
    /* Nếu có 3 ảnh */
    transition: transform 1s ease-in-out;
    /* Slow motion */
}

.slides img {
    width: 100%;
    flex: 0 0 100%;
}

/* Mũi tên điều hướng */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    border: none;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Hiển thị mũi tên rõ hơn khi hover vào slider */
.slider:hover .prev,
.slider:hover .next {
    background-color: rgba(0, 0, 0, 0.3);
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}
 /* Định dạng footer */
.footer {
  background-color: #2c4878;
  color: white;
  padding: 30px 10%;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-column {
  width: 30%;
}

.footer-column h3 {
  border-bottom: 2px solid white;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-size: 18px;
}

/* Danh sách liên kết */
.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 8px 0;
}

.footer-column ul li i {
  margin-right: 8px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
}
.footer-column0{
  display: flex;
  gap: 20px;
}
.footer-column1 a img {
  width: 200px; /* Tăng kích thước ảnh CH Play & App Store */
  height: auto;
}

/* Icon mạng xã hội */
.social-icons a {
  color: white;
  margin-right: 10px;
  font-size: 20px;
}

/* QR Code và App Links */
.qr-code {
  width: 120px;
  height: auto;
  margin-bottom: 10px;
}

.footer-column img {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}
@media (max-width: 1024px) {
  .menu {
      display: none;
      flex-direction: column;
      width: 100%;
      background: white;
      position: absolute;
      top: 80px;
      left: 0;
      padding: 10px 0;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      z-index: 10001;
  }

  /* Hiển thị menu khi có class "active" */
  .menu.active {
      display: flex;
  }

  .menu li {
      text-align: center;
      padding: 10px 0;
      width: 100%;
  }

  .menu li a {
      display: block;
      padding: 12px 20px;
      text-align: center;
      font-size: 18px;
      font-weight: bold;
  }

  /* Nút menu toggle */
  #menu-toggle {
      display: block;
      font-size: 24px;
      background: none;
      border: none;
      color: black;
      cursor: pointer;
  }

  /* Điều chỉnh icon trên mobile */
  .icons {
      margin-top: 10px;
  }

}
/* ✅ Mobile & Tablet */
@media (max-width: 1024px) {
  .content {
      flex-direction: column;
      width: 100%;
      padding: 10px;
  }

  .row_left {
      width: 100%;
  }

  .main_content {
      padding: 15px;
  }

  .main_content h1 {
      font-size: 24px;
  }

  .features_list ul {
      padding-left: 10px;
  }

  .features_list li {
      font-size: 14px;
  }

  .text_layer h1 {
      font-size: 22px;
  }
}

/* ✅ Mobile (≤ 768px) */
@media (max-width: 768px) {
  .text_layer h1 {
      font-size: 18px;
      margin-bottom: 10px;
  }

  .breadcrumb {
      font-size: 12px;
      text-align: center;
  }

  .main_content {
      padding: 10px;
  }

  .main_content h1 {
      font-size: 20px;
  }

  .update_time {
      font-size: 10px;
  }

  .features_list li {
      font-size: 12px;
  }

  .features_list img {
      max-width: 100%;
      height: auto;
  }
}

/* ✅ Mobile nhỏ (≤ 480px) */
@media (max-width: 480px) {
  .content {
      padding: 5px;
  }

  .text_layer h1 {
      font-size: 16px;
  }

  .main_content h1 {
      font-size: 18px;
  }

  .update_time {
      font-size: 10px;
  }

  .features_list li {
      font-size: 12px;
  }

  .features_list img {
      width: 100%;
      height: auto;
  }
}


/* ✅ Mobile nhỏ (≤ 480px) */
@media (max-width: 480px) {
  .background-image {
      width: 100%;
      height: auto;
  }
}
/* ✅ Responsive cho màn hình nhỏ hơn 1024px (Tablet & Mobile) */
@media (max-width: 1024px) {
  .row_right {
      max-width: 100%;
      padding: 10px;
  }
  
  .feature {
      display: flex;
      align-items: center;
      gap: 10px;
  }

  .feature img {
      width: 60px;
      height: 60px;
  }

  .feature a {
      font-size: 16px;
  }
}

/* ✅ Responsive cho màn hình nhỏ hơn 768px (Mobile) */
@media (max-width: 768px) {
  .row_right {
      max-width: 100%;
      padding: 5px;
  }

  .feature {
      flex-direction: column;
      text-align: center;
  }

  .feature img {
      width: 80px;
      height: 80px;
  }

  .feature a {
      font-size: 14px;
  }

  

  /* Ẩn nút prev/next trên mobile */
  .prev, .next {
      display: none;
  }
}
/* ✅ Responsive Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .footer-container {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .footer-column {
        width: 45%; /* Hiển thị 2 cột */
    }
}

/* ✅ Responsive Mobile (≤767px) */
@media (max-width: 767px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        width: 100%; /* Chuyển thành 1 cột */
        margin-bottom: 20px;
    }

    .footer-column ul {
        padding-left: 0;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-column img {
        width: 120px; /* Giảm kích thước ảnh */
    }

    .qr-code {
        width: 100px; /* Giảm kích thước QR Code */
    }
}

