/* 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;
}

/* Tuyển dụng */
/* Toàn bộ trang */
body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to right, #e0f7fa, #f1f8ff);
  margin: 0;
  padding: 0;
  color: #333;
}

/* Khối chính */
.container {
  max-width: 1100px;
  margin: 50px auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Tiêu đề */
h1 {
  color: #0077b6;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

/* Layout 2 cột */
.container-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.job-column,
.form-column {
  flex: 1;
  min-width: 300px;
}

/* Mô tả công việc */
.job-description {
  background-color: #f0f9ff;
  padding: 25px 30px;
  border-radius: 12px;
  border-left: 6px solid #0077b6;
  font-size: 15px;
  line-height: 1.8;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}

/* Ảnh minh họa */
.illustration {
  margin-top: 25px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Form input */
.form-group {
  margin-bottom: 20px;
}

label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  color: #333;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccddee;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #0077b6;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.2);
  outline: none;
}

/* Nút Gửi */
button {
  background-color: #0077b6;
  color: white;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: backgroun;
}

/* 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);
}
