@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Be Vietnam Pro", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Global Styles */

h1 {
  font-size: 50px;
  line-height: 64px;
  color: #222;
  text-transform: uppercase;
}

h2 {
  font-size: 46px;
  line-height: 54px;
  color: #222;
  text-transform: uppercase;
}

h4 {
  font-size: 20px;
  color: #222;
}

h6 {
  font-weight: 700;
  font-size: 12px;
}

p {
  font-size: 16px;
  color: #465b52;
  margin: 15px 0 20px 0;
}

.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

body{
  width: 100%;
  overflow-x: hidden;
}

/* Header Start*/
#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5vw;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  z-index: 999;
  position: sticky;
  top: 0;
  left: 0;
  flex-wrap: wrap;
  flex-direction: row;
}

.logo {
  max-height: 50px;
  height: auto;
  width: auto;
}

#navbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

#navbar li {
  list-style: none;
  padding: 0 0px;
  position: relative;
}

#navbar li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  transition: 0.3s ease;
}

#navbar li a:hover,
#navbar li a.active {
  color: #f4c27e;
}

#navbar li a.active::after,
#navbar li a:hover::after {
  content: "";
  width: 30%;
  height: 2px;
  background: #f4c27e;
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.language-dropdown {
  position: relative;
}

.language-dropdown .flag-icon {
  width: 20px;
  height: 14px;
  margin-right: 6px;
  vertical-align: middle;
  object-fit: contain;
}

.language-dropdown .current-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background-color: white;
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 140px; /* hoặc min-width: 140px */
  justify-content: space-between;
  white-space: nowrap;
}

.language-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 999;
  list-style: none;
  padding: 0;
  min-width: 160px;
}

.language-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  width: 100%;
  background-color: white;
  transition: background-color 0.3s ease;
}

.language-menu li a:hover {
  background:  transparent;
  color: #f4c27e;
}

.language-dropdown:hover .language-menu {
  display: block;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #999999;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.3s ease;
  margin-left: auto;
}

.menu-toggle i {
  font-size: 20px;
}

.menu-toggle:hover {
  color: #f4c27e;
}

.menu-toggle span {
  pointer-events: none;
}

@media (max-width: 768px) {
  #header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5vw;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1001;
  }

  .menu-toggle {
    display: flex;
  }

  #navbar {
    display: none;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 280px;
    background: white;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    z-index: 1000;
  }

  #navbar-wrapper {
    display: none !important;
  }


  #navbar li {
    text-align: center;
    width: 100%;
  }

  #navbar li a {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  #navbar li a.active::after,
  #navbar li a:hover::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .logo {
    max-height: 60px;
  }
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 260px;
  height: 100%;
  background-color: #ffffff;
  z-index: 1200;
  transition: left 0.3s ease;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
}

.mobile-sidebar.active {
  left: 0;
}

.sidebar-header {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
  max-width: 120px;
  height: auto;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.sidebar-menu a {
  display: block;
  padding: 14px 20px;
  color: black;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  text-transform: uppercase;
}

.sidebar-menu a:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #f4c27e;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  display: none;
}

.overlay.active {
  display: block;
}


#mobileSidebar .language-dropdown .current-lang {
  display: block;
  padding: 14px 20px;
  width: 100%;
  color: black;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  background-color: white;
  transition: background-color 0.3s ease;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

#mobileSidebar .language-dropdown .current-lang:hover {
  background-color: #f4f4f4;
}

#mobileSidebar .language-dropdown .flag-icon {
  width: 20px;
  height: 14px;
  object-fit: contain;
}

#mobileSidebar .language-menu {
  display: none;
  background: white;
  border: 1px solid #ddd;
  list-style: none;
  padding: 0;
  margin-top: 5px;
}

#mobileSidebar .language-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 500;
  color: #1a1a1a;
  background-color: white;
  width: 100%;
}

#mobileSidebar .language-menu li a:hover {
  background: #f4f4f4;
  color: #f4c27e;
}
/* Home Page*/
#hero{
	background-image: url("img/banner.png");
	height: 90vh;
	width:100%;
	background-size: cover;
	background-position: top 25% right 0;
	padding: 0 80px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
  margin-bottom: 50px;
  box-sizing: border-box; /* đảm bảo padding không làm rộng quá */
  position: relative;
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  position: relative; 
}

.hero-text {
  max-width: 600px;
  background: rgba(255, 255, 255, 0.75); /* nền trắng mờ */
  padding: 20px 30px;
  border-radius: 16px;
  backdrop-filter: blur(6px); /* hiệu ứng mờ nền sau */
  -webkit-backdrop-filter: blur(6px); /* hỗ trợ Safari */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* bóng nhẹ */
}

#hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7); /* giữ bóng để chữ nổi bật */
}

#hero h1 .hs {
  color: #b8860b; /* vàng nâu (darkgoldenrod) */
}

#hero h1 .dreams {
  color: #090551; /* xanh nước biển đậm */
}

#hero p {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 400;
  color: black;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff; /* viền trắng nhẹ tạo hiệu ứng nét chữ rõ hơn */
}

/* Responsive cho màn hình nhỏ */
@media (max-width: 768px) {
  #hero {
    padding: 0 20px;
    height: 60vh;
    background-position: center center;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero-text {
    max-width: 90%;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;

  }

  #hero h1 {
    font-size: 2.5rem;
  }

  #hero p {
    font-size: 1rem;
  }
}

.hero-logo {
  position: absolute;
  bottom: 20px;  /* cách đáy 20px */
  right: 20px;   /* cách phải 20px */
  width: 100px;  /* bạn chỉnh kích thước phù hợp */
  height: auto;
  opacity: 0.8;  /* có thể làm hơi mờ để không quá chói */
  user-select: none; /* không cho chọn ảnh khi kéo chuột */
}

/* Responsive: logo nhỏ hơn trên mobile */
@media (max-width: 768px) {
  .hero-logo {
    width: 60px;
    bottom: 10px;
    right: 10px;
  }
}

/* Media query cho màn hình nhỏ */
@media (max-width: 768px) {
  #hero {
    padding: 0 20px;  /* giảm padding lại cho vừa mobile */
    height: 60vh;     /* chiều cao hợp lý trên mobile */
    background-position: center center; /* căn giữa ảnh nền */
  }
}

.services-section {
  background: white;
  color: #3e2f00; /* chữ nâu đậm để nổi trên nền vàng */
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 12px;
  max-width: 1200px;    /* Giới hạn chiều rộng tối đa */
  margin: 0 auto;       /* Canh giữa */
  width: 90%;           /* Chiếm 90% chiều ngang của bố cục cha */
}

.services-section h2 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #090551;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  text-decoration: none;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  
  color: #3e2f00;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(160, 130, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(160, 130, 0, 0.5);
}

.service-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  z-index: 1;
  position: relative;
  transition: opacity 0.3s ease;
}

.service-card img.hover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  object-fit: contain; /* Giữ toàn bộ hình, không cắt logo */
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  background-color: white; /* Nếu hình nhỏ hơn container thì nền sẽ không bị trong suốt */
}

.service-card:hover img.hover-image {
  opacity: 1;
}

.service-card:hover img.main-image {
  opacity: 0;
}


.service-card h3 {
  font-size: 1.4rem;
  padding: 1.2rem;
  font-weight: bold;
  border-top: 1px solid #e9d87a;
  background-color: #f9f1b7;
  margin: 0;
  color: #4b3b00;
  position: relative;
  z-index: 3;
}

#feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding: 60px 40px;
  background-color: #fffaf0;
  justify-items: center;
  align-items: start;
}

#feature .fe-box {
  background: #ffffff;
  border: 1px solid #f4c27e;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(244, 194, 126, 0.2);
  text-align: center;
  padding: 30px 20px;
  width: 100%;
  max-width: 220px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#feature .fe-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(244, 194, 126, 0.4);
}

#feature .fe-box img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  object-fit: contain;
}

#feature .fe-box h6 {
  background-color: #fff4dd;
  color: #4b3b00;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  width: 100%;
  box-shadow: inset 0 0 3px rgba(0,0,0,0.05);
}

/* Gradient màu riêng, nhẹ nhàng nhưng đồng bộ */
#feature .fe-box:nth-child(2) h6 { background-color: #eef8e7; }
#feature .fe-box:nth-child(3) h6 { background-color: #eaf4fb; }
#feature .fe-box:nth-child(4) h6 { background-color: #e9ebfd; }
#feature .fe-box:nth-child(5) h6 { background-color: #f9e7f9; }
#feature .fe-box:nth-child(6) h6 { background-color: #fff2e2; }



.intro-section {
  position: relative;
  max-width: 90%;      /* Giới hạn chiều rộng */
  margin: 40px auto;     /* Căn giữa và margin trên/dưới */
  padding: 30px 20px;
  border: 2px solid #e9d87a;
  border-radius: 30px;
  background-color: white; /* Nền vàng nhạt nhẹ */
  box-shadow: 0 8px 20px rgba(233, 216, 122, 0.3);
  font-family: "Spartan", sans-serif;
}

/* Tiêu đề GIỚI THIỆU nằm giữa */
.intro-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #090551;
  margin-bottom: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.content-block {
  margin-bottom: 60px; /* Khoảng cách giữa các block */
  position: relative;  /* để dễ canh chỉnh */
}

.arrow-box {
  position: relative;
  display: flex;
  left: -22px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 2px solid #e9d87a;
  padding: 20px 30px;
  border-radius: 0 30px 30px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
  gap: 5px;
  font-weight: 700;
  font-size: 18px;
  color: white;
  width: fit-content;
  margin-bottom: 20px;
}

/* Màu nền và viền riêng */
.arrow-yellow {
  background-color: #fcba03;
  border-color: #e9d87a;
  color: #4b3b00;
}

.arrow-green {
  background-color: #c4c991;
  border-color: #e9d87a;
  color: #4b3b00;
}

.arrow-red {
  background-color: #16fa88;
  border-color: #e9d87a;
  color: #4b3b00;
} 

.sub-text {
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 1px;
  color: white;
}

.subsection-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4b3b00; /* màu nâu đậm */
  margin-top: 40px;
  margin-bottom: 12px;
  text-transform: uppercase;
  border-left: 6px solid #f4c27e; /* viền vàng bên trái */
  padding-left: 12px;
}


.description {
  margin-top: 50px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  text-align: justify;
}
.image-below {
  display: flex;
  justify-content: center;  /* căn giữa hàng ngang */
  gap: 5px;                /* khoảng cách giữa các ảnh */
  margin-top: 20px;
}

.image-below img {
   width: 45%;        /* giảm còn 50% */
  height: auto;
  display: block;
  margin: 20px auto 0 auto; /* căn giữa và cách trên 20px */
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .image-below {
    flex-direction: column;  /* Ảnh xếp dọc thay vì ngang */
    gap: 10px;               /* Khoảng cách ảnh */
  }

  .image-below img {
    width: 100%;              /* Ảnh chiếm gần hết chiều ngang */
    margin: 10px auto;       /* Căn giữa */
    height: auto;
  }
}


.highlight {
  background-color: #f4c27e;
  color: #4b3b00;
  padding: 0 6px;
  border-radius: 4px;
}

.partners-section {
  padding: 4rem 1rem;
  background: white;
  text-align: center;
}

.partners-title {
  font-size: 2rem;
  font-weight: bold;
  color: #090551;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.partners-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2.5rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.partners-grid img {
  width: 100%;
  height: 70px;
  object-fit: contain;
}

/* Footer styles */
.custom-footer {
  background: white;
  /*background: linear-gradient(to right, #1f2937, #111827);*/
  color: #2295c7;
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

.contact-form button {
  background-color: #1e3a8a;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #153e75;
}

.footer-left,
.footer-right {
  flex: 1 1 300px;
  min-width: 250px;
  display: grid;
  display: flex;
  flex-direction: column;
  align-items: center; /* căn giữa logo và text */
  text-align: center;  /* căn giữa đoạn text */
}

.footer-left h3,
.footer-right h3 {
  color: #f4c27e;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.footer-right img {
  max-width: 150px;
  margin-bottom: 1rem;
}

.footer-right p,
.footer-left p {
  margin: 0.3rem 0;
  line-height: 1.6;
}

.footer-right ul {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 1rem 0;
}

.footer-right ul li {
  margin-bottom: 0.5rem;
}

.footer-right strong {
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.footer-right a {
  margin-right: 10px;
  color: #f4c27e;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #ffffff;
}

.contact-form {
  display: grid;
  background: #1e293b;
  padding: 1.5rem;
  gap: 1rem;
  width: 100%;
  border-radius: 8px;
}

.contact-form input,
.contact-form textarea {
  background-color: #374151;
  border: none;
  color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af;
}

.btn-submit {
  background-color: #f4c27e;
  color: #1f2937;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #e3ac5e;
}

.logo{
  max-height: 50px; /* hoặc thấp hơn tùy chiều cao header */
  height: 100%;
  width: auto;      /* giữ tỉ lệ */
  display: flex;

}

.footer-right .email-link {
  color: #4b3b00;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-right .email-link:hover {
  color: #f4c27e;
  text-decoration: underline;
}

footer {
  background-color: #0f172a;
  color: #2295c7;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
}