/* Reset đơn giản */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* Header tổng thể */
.navbar {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 3px solid red; /* ← thêm dòng này */
}

/* Logo */
.logo-section {
  flex-shrink: 0;
}

.logo {
  height: 50px;
  width: auto;
}

/* Menu chính */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s, background-color 0.3s;
  border-radius: 4px;
}

.nav-links li a:hover {
  color: #a3080f; /* Màu thương hiệu */
  background-color: rgba(163, 8, 15, 0.08); /* Tông màu nhẹ */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(163, 8, 15, 0.2); /* Đổ bóng nhẹ */
  transform: translateY(-1px);
  transition: all 0.3s ease;
}

/* Icon và flag */
.icon,
.flag {
  margin-right: 6px;
}

/* Responsive (tùy chọn, nếu cần) */
@media (max-width: 768px) {
  .nav-links {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Main */
main {
  width: 100%;
  height: auto;
}
/* Slide container */
.slider {
  position: relative;
  width: 100%;
  /* max-width: 1200px; */
  height: 500px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
}

/* Slide wrapper */
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Individual slide */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 0;
}

/* Active slide */
.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Navigation buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Liên hệ */
.contact-wrapper {
  background: #f9f9f9;
  padding: 60px 20px;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

/* ========== LEFT INFO PANEL ========== */
.contact-info {
  flex: 1;
  padding: 40px;
  background-color: #660707;
  color: white;
}

.contact-info h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.contact-info h4 {
  font-weight: normal;
  color: #cce6ff;
  margin-bottom: 15px;
  font-size: 18px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 12px;
}

.contact-info i {
  margin-right: 8px;
  color: #cce6ff;
}

/* ========== SOCIAL ICONS ========== */
.social-icons {
  margin-top: 25px;
}

.social-icons a {
  display: inline-block;
  margin-right: 12px;
  color: #fff;
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s;
}

.social-icons a:hover {
  color: #ffcc00;
  transform: scale(1.2);
}

/* ========== FORM ========== */
.contact-form {
  flex: 1;
  padding: 40px;
  background: #fff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border 0.3s, box-shadow 0.3s;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0066cc;
  box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
  outline: none;
}

.contact-form button {
  background: #004d99;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button i {
  margin-right: 8px;
}

.contact-form button:hover {
  background: #0066cc;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .contact-card {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    padding: 30px 20px;
  }

  .contact-info h2 {
    font-size: 26px;
  }
}
/* Khách hàng & Đối tác */
.partners-section {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
}

.marquee-container {
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused; /* dừng lại khi hover */
}

.partner-item {
  flex: 0 0 auto;
  margin: 0 20px;
}

.partner-item img {
  height: 60px;
  filter: grayscale(0%);
  transition: transform 0.3s ease;
}

.partner-item:hover img {
  transform: scale(1.1);
}

/* Animation */
@keyframes marqueeScroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Footer */
.footer {
  /* background-color: #880315; */
  color: #f1f5f9;
  font-size: 0.95rem;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-between; */
  gap: 40px;
  /* max-width: 1200px; */
  width: 100%;
  /* margin: auto; */
  background-color: #7c0f0f;
  /* align-items: center; */
}

.footer h3 {
  margin-bottom: 12px;
  color: #f5f6f7;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #f1f5f9;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #38bdf8;
}

.footer-bottom {
  text-align: center;
  /* margin-top: 30px; */
  border-top: 1px solid #07a166be;
  padding-top: 12px;
  font-size: 0.85rem;
  color: #f6f6f7;
  background-color: #dfa403;
}
.footer-map {
  flex: 1 1 300px;
}

.footer-map h3 {
  color: #f5f7f8;
  margin-bottom: 12px;
}

.map-container iframe {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
