body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
p {
  margin-bottom: 0px;
  font-size: 14px;
  font-weight: 300;
  color: #4a4a4a;
  line-height: 24px;
}
a {
  text-decoration: none !important;
}
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0px;
}

ul.social-icons li {
  display: inline-block;
  margin-right: 3px;
}

ul.social-icons li:last-child {
  margin-right: 0px;
}

ul.social-icons li a {
  width: 50px;
  height: 50px;
  display: inline-block;
  line-height: 50px;
  background-color: #eee;
  color: #121212;
  font-size: 18px;
  text-align: center;
  transition: all 0.3s;
}

ul.social-icons li a:hover {
  background-color: #f33f3f;
  color: #fff;
}
a.filled-button {
  background-color: #f33f3f;
  color: #fff;
  font-size: 14px;
  text-transform: capitalize;
  font-weight: 300;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
  transition: all 0.3s;
}

a.filled-button:hover {
  background-color: #121212;
  color: #fff;
}

.section-heading {
  text-align: left;
  margin-bottom: 60px;
  border-bottom: 1px solid #eee;
}

.section-heading h2 {
  font-size: 28px;
  font-weight: 400;
  color: #1e1e1e;
  margin-bottom: 15px;
}

.page-heading {
  padding: 210px 0px 130px 0px;
  text-align: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-heading .text-content h4 {
  color: #f33f3f;
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-heading .text-content h2 {
  color: #fff;
  font-size: 62px;
  text-transform: uppercase;
  letter-spacing: 5px;
}

#preloader {
  overflow: hidden;
  background: #f33f3f;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: fixed;
  z-index: 9999999;
  color: #fff;
}

#preloader .jumper {
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: block;
  position: absolute;
  margin: auto;
  width: 50px;
  height: 50px;
}
#preloader .jumper > div {
  background-color: #fff;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  position: absolute;
  opacity: 0;
  width: 50px;
  height: 50px;
  -webkit-animation: jumper 1s 0s linear infinite;
  animation: jumper 1s 0s linear infinite;
}

#preloader .jumper > div:nth-child(2) {
  -webkit-animation-delay: 0.33333s;
  animation-delay: 0.33333s;
}

#preloader .jumper > div:nth-child(3) {
  -webkit-animation-delay: 0.66666s;
  animation-delay: 0.66666s;
}

@-webkit-keyframes jumper {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  5% {
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes jumper {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  5% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* Sticky Menu */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #000; /* Màu nền menu */
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Danh sách menu */
.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 15px;
}

/* Mỗi mục trong menu */
.nav-menu li {
  position: relative;
}

.nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-menu li a:hover {
  background-color: #fbdada;
  color: #fff;
}

/* Icon trong menu */
.nav-menu i {
  margin-left: 6px;
}

/* Responsive Menu Mobile (nếu cần) */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    align-items: center;
  }

  .main-nav {
    padding: 15px 0;
  }
}

.facebook-link {
  color: #1877f2; /* Màu xanh Facebook */
  font-weight: bold;
  margin-left: 20px;
  text-decoration: none;
}

.facebook-link i {
  margin-right: 5px;
}

.facebook-link:hover {
  text-decoration: underline;
  color: #0e5ab6;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.top-bar {
  background: #fff;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.top-bar .left i,
.top-bar .right i {
  margin-right: 5px;
  color: #c00;
}

.top-bar .right span {
  margin-left: 20px;
}

.logo-small {
  height: 40px;
  margin-right: 10px;
}

.logo-main {
  height: 50px;
  margin-left: 20px;
}

.main-nav {
  background: #151515;
  color: white;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.nav-menu li {
  margin: 0 15px;
}

.nav-menu li a {
  display: block;
  padding: 15px 5px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-menu li a:hover {
  color: #ff0000;
}

.nav-menu i {
  margin-right: 5px;
}
/* Banner Style */
.owl-banner .owl-dots .owl-dot {
  border-radius: 3px;
}
.owl-banner .owl-dots {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
}
.owl-banner .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 10px;
  background-color: #fff;
  opacity: 0.5;
}
.owl-banner .owl-dots .owl-dot:focus {
  outline: none;
}
.owl-banner .owl-dots .owl-dot.active {
  background-color: #fff;
  opacity: 1;
}

h2 {
  margin-top: 30px;
}
.tabs,
.main-button {
  text-align: center;
  margin: 20px;
}
h2 {
  margin-top: 40px;
  color: #1877f2;
  margin-left: 30px;
}
.section-featured-sp {
  margin-left: 50px;
  margin-top: 30px;
}

.tabs,
.main-button {
  text-align: center;
  margin: 20px;
}
.tab-button,
.main-button {
  margin: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}
.tab-button.active {
  background-color: #d00;
  color: #fff;
  border: none;
}
.tab-button {
  padding: 10px 15px;
  border: 2px solid red;
  background-color: white;
  color: red;
  cursor: pointer;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.tab-button:hover {
  background-color: #ffecec;
  color: darkred;
  transform: scale(1.05);
}

.main-button {
  font-size: 25px;
  text-align: center;
  font-weight: bolder;
  margin: 30px 0;
  padding: 10px 15px;
  border: 2px solid red;
  background-color: #fff;
  color: #c00;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  border-radius: 20px;
  margin: 5px 10px; /* 👈 giảm khoảng cách xuống */
}

.main-button:hover {
  background-color: rgb(138, 2, 206);
  color: #ffd700;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1100px;
  margin: auto;
}
.product-card {
  perspective: 1000px;
  height: 280px;
}
.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}
.product-card.flipped .card-inner {
  transform: rotateY(180deg);
}
.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: white;
  backface-visibility: hidden;
  transition: transform 0.6s ease;
}
.card-front {
  z-index: 2;
}
.card-front img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  cursor: pointer;
}
.card-front h3 {
  padding: 10px;
}
.menu-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: red;
  color: white;
  padding: 5px 10px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  z-index: 3;
}
.card-back {
  transform: rotateY(180deg);
  z-index: 1;
  background: #ffd700;
  color: #000;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-back h3 {
  background: #000;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}
/* Latest Produtcs */

.latest-products {
  margin-top: 100px;
}

.section-heading a {
  float: right;
  margin-top: -35px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  color: #f33f3f;
}

.product-item {
  border: 1px solid #eee;
  margin-bottom: 30px;
}

.product-item .down-content {
  padding: 30px;
  position: relative;
}

.product-item img {
  width: 100%;
  overflow: hidden;
}

.product-item .down-content h4 {
  font-size: 17px;
  color: #1a6692;
  margin-bottom: 20px;
}

.product-item .down-content h6 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #121212;
}

.product-item .down-content h6 small {
  color: #999;
}

.product-item .down-content p {
  margin-bottom: 20px;
}

.product-item .down-content ul li {
  display: inline-block;
}

.product-item .down-content ul li i {
  color: #f33f3f;
  font-size: 14px;
}

.product-item .down-content span {
  position: absolute;
  right: 30px;
  bottom: 30px;
  font-size: 13px;
  color: #f33f3f;
  font-weight: 500;
}

.product-item .down-content span a {
  color: #f33f3f;
  display: inline-block;
  margin-bottom: 3px;
}

.modal-dialog {
  margin-top: 10%;
}
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
}

.best-features {
  background-color: #e0f7fa; /* Màu nền xanh nhẹ */
  padding: 20px 0;
}

.section-heading h2 {
  display: inline-block; /* Rất quan trọng */
  position: relative;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left; /* hoặc center tuỳ ý */
}

.section-heading h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%; /* phủ hết chiều rộng của h2 */
  height: 4px;
  background-color: #00bcd4;
  border-radius: 10px;
}

.left-content {
  padding-right: 40px;
}

.left-content h3 a {
  font-size: 24px;
  color: #0077b6;
  font-weight: bold;
  text-decoration: none;
}

.left-content h3 a:hover {
  color: #023e8a;
}

.featured-list {
  list-style: disc inside;
  margin-top: 20px;
  color: #333;
  line-height: 1.7;
  padding-left: 0;
}

.featured-list li {
  margin-bottom: 10px;
}

.filled-button {
  display: inline-block;
  background-color: #f44336;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  margin-top: 20px;
  text-decoration: none;
  transition: background 0.3s;
}

.filled-button:hover {
  background-color: #d32f2f;
}

.right-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.right-image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 70%;
  border: 5px solid #00bcd4;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.right-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .right-image {
    justify-content: center;
    margin-top: 30px;
  }

  .left-content {
    padding-right: 0;
    text-align: center;
  }
}
.banner img {
  width: 80%;
  display: block;
  display: block;
  margin: 0 auto;
}
.hero-section {
  position: relative;
  background: #e60012;
  color: white;
  padding: 10px 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 100%, 0 25%);
}
.hero-section p {
  color: aliceblue;
  font-size: large;
}
.content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.blink-banner {
  animation: blink 1s infinite alternate;
}

@keyframes blink {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.7;
    transform: scale(1.02);
  }
}
/* ---------- SLIDER (4 bài có nút trượt) ---------- */
.news-slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}

.news-slider {
  display: flex;
  transition: transform 0.4s ease;
  gap: 20px;
}

.news-slider .news-item {
  flex: 0 0 calc(25% - 15px); /* 4 items per row with gap */
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-slider .news-item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.news-slider .news-item:active {
  transform: scale(0.98);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.news-slider .news-item img {
  width: 100%;
  border-radius: 5px;
}

/* ---------- NÚT SLIDER ---------- */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-btn.left {
  left: -10px;
}

.slider-btn.right {
  right: -10px;
}

/* ---------- 3 BÀI VIẾT TRÊN 1 DÒNG (KHÁC SLIDER) ---------- */
.news-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
}

.news-section .news-item {
  flex: 0 0 calc(33.333% - 20px); /* 3 cột */
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 15px;
}

.news-section .news-item img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.news-section .news-item h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.news-section .news-item p {
  font-size: 14px;
  color: #555;
}

.news-section .news-item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.news-section .news-item:active {
  transform: scale(0.98);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .news-section .news-item {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 576px) {
  .news-section .news-item {
    flex: 0 0 100%;
  }
}

/* ---------- BUTTON “XEM TẤT CẢ” ---------- */
.view-all-btn {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  margin: 20px auto;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  box-shadow: none;
  margin-left: 43%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.view-all-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #fff;
  z-index: -1;
  transition: all 0.4s ease;
}

.view-all-btn:hover::before {
  width: 100%;
}

.view-all-btn:hover {
  color: #e74c3c; /* đỏ nhạt */
  border-color: #e74c3c;
  box-shadow: 0 4px 12px #f5303066;
}
.footer {
  background-color: #111;
  color: #fff;
  padding: 40px 0;
  font-family: "Arial", sans-serif;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.footer-contact,
.footer-col,
.footer-youtube,
.footer-map {
  flex: 1 1 22%;
  min-width: 250px;
}

.footer h3,
.footer h4 {
  color: #f53030;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer p {
  margin: 6px 0;
  font-size: 14px;
  color: #fff;
}

.footer i {
  margin-right: 8px;
}

.payment-icons img {
  height: 50px;
  margin-right: 8px;
}

.footer iframe {
  border-radius: 8px;
  width: 100%;
  border: none;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 14px;
}
.hotline-fixed {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #f53030;
  color: white;
  padding: 10px 15px;
  border-radius: 30px;
  font-weight: bold;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.hotline-fixed a {
  color: white;
  text-decoration: none;
}

.hotline-fixed a:hover {
  background-color: #c12828;
  border-radius: 30px;
}

.contact-fixed {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.contact-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.15);
}

.contact-icon.phone {
  background-color: #e91e1e;
  color: white;
  font-size: 22px;
}

.contact-icon.zalo img {
  width: 40px;
  height: 40px;
}

/* Tooltip */
.tooltip {
  position: absolute;
  right: 60px;
  background: #000;
  color: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.contact-icon:hover .tooltip {
  opacity: 1;
  right: 65px;
}
/* Áp dụng cho cả hotline và zalo */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

.contact-icon {
  animation: pulse 2s infinite;
}

/* Tùy chỉnh màu nhấp nháy riêng nếu muốn */
.contact-icon.zalo {
  animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 136, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(0, 136, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 136, 255, 0);
  }
}
.product-card .price {
  text-align: center; /* Căn giữa */
  font-weight: bold; /* Chữ đậm */
  font-size: 1em; /* Tùy chọn: điều chỉnh kích thước chữ nếu cần */
  margin-top: 3px; /* Khoảng cách giữa tên xe và giá */
}
.product-card h3 {
  text-align: center;
  font-weight: bolder;
  font-size: medium;
  margin-top: 3px;
}
.card-front img {
  width: 100%; /* Đảm bảo ảnh chiếm hết chiều rộng của thẻ */
  height: 200px; /* Cố định chiều cao của ảnh */
  object-fit: cover; /* Đảm bảo ảnh không bị bóp méo, tự động cắt nếu cần */
  border-radius: 10px; /* Góc bo tròn (tuỳ chọn) */
  transition: transform 0.4s ease, box-shadow 0.4s ease; /* Thêm hiệu ứng nếu cần */
}

.card-front img:hover {
  transform: rotate(5deg); /* Nghiêng ảnh */
}
/* Nút lên đầu trang */

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #007bff;
  color: white;
  font-size: 24px;
  text-align: center;
  border-radius: 5px; /* Góc vuông */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: none; /* Ẩn nút khi không cần thiết */
  transition: background-color 0.3s ease;
}

.scroll-to-top i {
  line-height: 50px; /* Canh giữa mũi tên trong nút */
}

.scroll-to-top:hover {
  background-color: #0056b3;
}

 /* Overlay nền mờ */
 .overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}

/* Banner chính */
.sukien-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.4s ease;
}

/* Phần ảnh sự kiện */
.sukien img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

/* Nút đóng */
.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  z-index: 10000;
}

/* Hiệu ứng */
@keyframes fadeIn {
  from {opacity: 0; transform: translate(-50%, -60%);}
  to {opacity: 1; transform: translate(-50%, -50%);}
}

/* Ẩn hiện */
.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 850px) {
  .sukien-wrapper {
    width: 90%;
  }
}

.news-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.news-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
}

.news-slider::-webkit-scrollbar {
  display: none;
}

.news-item {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.news-item h3 {
  font-size: 18px;
  margin: 10px 0 5px;
}

.news-item p {
  font-size: 14px;
  color: #555;
}

.slider-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  font-size: 24px;
  background: rgba(0,0,0,0.1);
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.slider-btn.left {
  left: 0;
}

.slider-btn.right {
  right: 0;
}
/*tin tức
/* Vị trí tương đối để menu con nằm đúng */
.has-dropdown {
  position: relative;
}

/* Mặc định ẩn menu con */
.has-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  padding: 10px 0;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
}

/* Hiện menu con khi rê chuột vào */
.has-dropdown:hover .dropdown-menu {
  display: block;
}

/* Kiểu cho item bên trong */
.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #f0f0f0;
}
/* Responsive Banner cho điện thoại */
@media (max-width: 576px) {
  /* Banner chung */
  .banner img {
    width: 100%;        /* Chiếm toàn bộ chiều rộng màn hình */
    height: auto;       /* Tự động co chiều cao */
  }

  /* Banner sự kiện popup */
  .sukien-wrapper {
    width: 95%;         /* Co nhỏ để vừa màn hình */
    max-width: 400px;   /* Giới hạn tối đa */
  }

  .sukien img {
    max-width: 100%;    /* Đảm bảo ảnh không vượt quá khung */
    height: auto;
  }

  /* Hero section */
  .hero-section {
    clip-path: none;    /* Bỏ cắt góc cho dễ đọc trên mobile */
    padding: 20px 10px; /* Thêm khoảng thở */
    text-align: center;
  }

  .hero-section p {
    font-size: 14px;    /* Giảm chữ cho dễ nhìn */
  }

  /* Nội dung căn giữa */
  .content {
    padding: 0 10px;
  }
}

/* Ẩn menu chính trên điện thoại */
@media (max-width: 768px) {
  .main-nav,
  .nav-menu {
    display: none;
  }
}
