 {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Be VietNam Pro, sans-serif;
  line-height: 1.6;
  background-color: #fdfaf5;
  color:	#333333;
}
/* =================== CONTAINER =================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =================== HEADER =================== */
.header {
  background-color: #0a4a5a; /* Màu nền header */
  padding: 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo img {
  height: 150px; /* Tuỳ chỉnh chiều cao logo */
}

.navbar ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.banner {
  width: 100%;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
/* =================== NAVBAR =================== */
.navbar {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}
.navbar li {
  position: relative;
}

.navbar a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  padding: 8px 12px;
}

.navbar a:hover {
  color: #663399;
  border-bottom: 2px solid #663399;
}
.navbar {
  transition: all 0.3s ease;
}

/* ===== DROPDOWN MENU ===== */
.navbar ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  list-style: none;
  min-width: 180px;
  z-index: 1000;
}

.navbar li:hover > ul {
  display: block;
}

.navbar ul ul li a {
  padding: 10px;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
  }

  .navbar.active {
    display: flex;
  }

  .navbar li {
    width: 100%;
    text-align: left;
  }
}

/* =================== HERO =================== */
.hero {
  background: #446b50
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  background-color: #f7c0aa;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

/* =================== FLEX 2-COLUMN =================== */
.flex-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin: 60px 0;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.text-col,
.image-col,
.video-section {
  flex: 1 1 45%;
  max-width: 48%;
}

.text-col {
  font-size: 1.1rem;
  line-height: 1.7;
}

.text-col h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #b35e14;
}

.image-col img,
.video-section video {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


/* =================== ABOUT PAGE =================== */
.page-content {
  padding: 40px 20px;
}

.about-section {
  max-width: 800px;
  margin: 0 auto;
}

.about-section h1 {
  font-size: 2rem;
  color: #663399;
  margin-bottom: 16px;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
  .container {
    flex-direction: row;
    align-items: flex-start;
  }

  .navbar {
    flex-direction: column;
    width: 100%;
    display: none;
    background: #fff;
  }

  .navbar.active {
    display: flex;
  }

  .navbar li {
    width: 100%;
  }

  .navbar ul ul {
    position: static;
    box-shadow: none;
  }

  .navbar ul ul li a {
    padding-left: 30px;
  }

  .menu-toggle {
    display: flex;
  }

  .flex-row {
    flex-direction: row;
    gap: 24px;
  }

  .text-col,
  .image-col,
  .video-section {
    max-width: 100%;
  }

  .text-col h2 {
    font-size: 1.5rem;
  }
}
.slideshow-box {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  text-align: center;
  margin: 40px auto;
}

.slide-img {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 0;
}

.slide-img.active {
  opacity: 1;
  z-index: 1;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.flex-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 30px;
}

.text-col, .image-col, .video-section {
  flex: 1 1 48%;
}

.text-col {
  padding: 10px;
}

.image-col img, .video-section video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .flex-row {
    flex-direction: row;
    gap: 20px;
  }

  .text-col, .image-col, .video-section {
    flex: 1 1 100%;
  }

  .btn-primary, .cta-btn {
    font-size: 16px;
    padding: 10px 20px;
  }
}
.services, .tests {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.services .section-title,
.tests .section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

.service-box, .test-box {
  width: 22%;
  background: #fff;
  padding: 20px;
  margin: 1%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  text-align: center;
}

.service-container, .test-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service-box img, .test-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.footer {
  background-color:  #0a4a5a;;
  color: white;
  padding: 10px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-logo, .footer-links, .footer-contact {
  flex: 1 1 30%;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 150px;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li a {
  color: white;
  text-decoration: none;
}

.footer-contact p {
  margin: 5px 0;
}

.social-icons img {
  width: 24px;
  margin-right: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 14px;
}
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  padding: 20px;
}

.box {
  width: calc(25% - 20px);
  background: #fff;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  text-align: justify !important;
  box-sizing: border-box;
}

.box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin: 40px 0 20px;
}
/* === Slide Show Fix === */
.slide-img {
  display: none;
  transition: opacity 1s ease-in-out;
}

.slide-img.active {
  display: block;
}

/* === Fix Hero Text === */
.hero-content {
  text-align: center;
  color: white;
  font-size: 1.8rem;
  max-width: 600px;
  line-height: 1.4;
  margin: 0 auto;
}

/* === Fix Header Layout === */
.header-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  padding: 10px 20px;
}

/* === Primary Color #0a4a5a === */
.cta-btn {
  background-color: #0a4a5a;
  color: white;
}

.cta-btn:hover {
  background-color: #083b48;
}

.navbar a.active,
.navbar a:hover {
  color: #0a4a5a;
  border-bottom: 2px solid #0a4a5a;
}

.text-col h2,
.about-section h1,
.section-title {
  color: #0a4a5a;
}
/* ==== MÀU CHỦ ĐẠO ==== */
:root {
  --primary-color: #0a4a5a;
  --primary-hover: #083b48;
}

body {
  color: #333;
}

body, h1, h2, h3 {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--primary-color);
}
h4 {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: #f4c095
  }

h5 {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: #c49b66;
}

h6 {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: #fdfaf5;
}
/* Nút chính */
.cta-datlich {
  background-color: var(--primary-color) !important;
  color: #fff !important;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}

.cta-datlich:hover {
  background-color: var(--primary-hover) !important;
}
.cta-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 60px auto;
  text-align: center;
}


/* Menu link active + hover */
.navbar a.active,
.navbar a:hover {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/* Footer (nếu có màu nền) */
footer {
  background-color: #f8f8f8;
  color: var(--primary-color);
  padding: 30px 0;
  text-align: left;
}
.cta-btn {
  display: inline-block;
  background-color: #64a587;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  margin: 8px;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #9f7aea;
}
/* ======== CONTACT SECTION ======== */
.contact-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.contact-intro {
  text-align: center;
  max-width: 700px;
  margin: 10px auto 40px;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.contact-info-form {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.contact-info {
  flex: 1 1 40%;
  font-size: 1rem;
  color: #333;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 16px;
}

.contact-form {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.contact-form .cta-btn {
  align-self: flex-start;
  padding: 12px 24px;
  font-size: 1rem;
}

.faq-section {
  margin-top: 60px;
}

.faq-section h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.faq-section ul {
  list-style: none;
  padding-left: 0;
}

.faq-section li {
  margin-bottom: 20px;
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  line-height: 1.6;
}

/* === Responsive Contact === */
@media (max-width: 768px) {
  .contact-info-form {
    flex-direction: column;
  }

  .contact-info, .contact-form {
    flex: 1 1 100%;
  }

  .contact-form .cta-btn {
    width: 100%;
    text-align: center;
  }
}
.box img {
  width: 100%;
  height: 180px; /* hoặc 200px nếu chị muốn cao hơn */
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: flex-start;
    background: #fff;
    padding: 10px;
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .btn-primary, .cta-btn {
    font-size: 14px;
    padding: 10px 16px;
  }

  .grid {
    flex-direction: column;
    padding: 10px;
  }

  .box {
    width: 100%;
    margin-bottom: 20px;
  }

  .flex-row {
    flex-direction: row;
    gap: 24px;
    padding: 20px;
  }

  .text-col, .image-col, .video-section {
    max-width: 100%;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo, .footer-links, .footer-contact {
    flex: 1 1 100%;
  }

  .footer-links ul li a {
    font-size: 14px;
  }

  .social-icons img {
    margin: 0 8px;
  }
.footer {
  margin-top: 40px;
}
  
.slogan-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 20px; /* tạo khoảng cách giữa hình và nút */
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}
.hero-banner {
  background: url('images/donghanh.jpg') center center / cover no-repeat;
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-banner .hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero-banner .hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  width: 100%;
}

.hero-banner img.slogan-img {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}
@media (max-width: 768px) {
  .hero-banner {
    min-height: 250px;
    background-position: center center;
  }

  .hero-banner img.slogan-img {
    max-width: 95%;
  }

  .hero-banner .btn-primary {
    font-size: 14px;
    padding: 10px 20px;
  }
}
.hero {
  background-color: #f0f0f0;
  padding: 60px 20px;
  text-align: center;
  color: var(--primary-color);
}
/* ==== LOGO ==== */
.logo img {
  height: 150px; /* Tuỳ chỉnh chiều cao logo */
}

/* ==== NAVBAR ==== */
.navbar {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.navbar ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  position: relative;
}

.navbar a {
  text-decoration: none;
  color: #ffffff; /* Màu chữ menu */
  font-weight: 500;
  padding: 8px 12px;
}

.navbar a:hover {
  color: #ffffff; /* Màu chữ hover */
  border-bottom: 2px solid #663399;
}

/* ==== DROPDOWN MENU ==== */
.navbar ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: black;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  list-style: none;
  min-width: 180px;
  z-index: 1000;
}

.navbar li:hover > ul {
  display: block;
}

.navbar ul ul li a {
  padding: 10px;
  white-space: nowrap;
}

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #000;
  }

  .navbar.active {
    display: flex;
  }

  .navbar li {
    width: 100%;
    text-align: left;
  }
}
.flex-row {
  display: flex !important;
  flex-wrap: wrap;
  flex-direction: row !important;
}

.text-col,
.image-col,
.video-section {
  flex: 1 1 45% !important;
  max-width: 48% !important;
}
/* --- Menu Toggle cho mobile an toàn --- */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
  color: #fff; /* Luôn trắng để nổi trên header tối */
}

/* Giữ màu menu khi click hoặc focus */
.navbar a,
.navbar a:visited {
  color: #000;
  text-decoration: none;
}

.navbar a:hover,
.navbar a:focus,
.navbar a:active {
  color: #000;
  background-color: rgba(0, 0, 0, 0.05);
}

/* Chỉ áp dụng cho mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
    padding: 10px;
  }

  .navbar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 10px;
    background: #222; /* nền tối khi xổ */
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1000;
  }

  .navbar ul {
    flex-direction: column;
    gap: 10px;
  }

  /* Khi click vào toggle thì hiện menu */
  .navbar.show-menu {
    display: flex;
  }

  /* Link trong menu mobile */
  .navbar a {
    color: #fff;  /* chữ trắng */
    background: none;
    text-decoration: none;
  }

  .navbar a:hover,
  .navbar a:focus,
  .navbar a:active,
  .navbar a:visited {
    color: #fff;
    background: none;
  }
}

@media (max-width: 768px) {
  .flex-row {
    flex-direction: column !important;
  }

  .text-col,
  .image-col,
  .video-section {
    width: 100% !important;
    max-width: 100% !important;
  }

  .text-col {
    margin-bottom: 20px;
  }
 
.services-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 20px !important;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.services-container .box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

 .services-container .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.services-container .box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.services-container .box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0a4a5a;
}

.services-container .box p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
}

.cta-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #63a693;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #4d8274;
}

.intro {
  background-color: #63a693;
  padding: 40px 20px;
  max-width: 900px;
  margin: 30px auto;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.intro p {
  color: #0a4a5a;
  font-size: 18px;
  line-height: 1.6;
}
.box-blog {
  width: 22%;
  background: #fff;
  padding: 20px;
  margin: 1%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  text-align: center;
}

.box-wheel {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px; /* hoặc chiều cao muốn */
  background-color: #eee; /* nếu muốn có màu nền */
}
