@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;
}


/* Banner overlay trên ảnh */
.banner {
  position: relative;
  height: 700px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  bottom: 30px;      /* đẩy chữ xuống dưới, cách đáy 30px */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: rgba(0, 0, 0, 0.4); /* lớp phủ mờ */
  color: white;
  text-align: center;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto; /* bỏ height 100% */
  flex-direction: column;
}

.banner-overlay h2 {
  font-size: 2rem; /* kích thước font thay đổi theo chiều rộng màn hình */
  margin-bottom: 1rem;
}


.banner-overlay .btn {
  margin-top: 1rem;
  background-color: #f4c27e;
  color: black;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.banner-overlay .btn:hover {
  background-color: #e3ac5e;
}
#dich-vu {
  padding: 2rem 1rem;
  min-height: 500px; 
}

.typewriter {
  color: white;
  font-size: 2rem;
  white-space: normal;
  overflow: hidden;
  width: 0;
  animation: typing 5s steps(50, end) forwards;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}

/* Giới thiệu team*/
#gioi-thieu {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 3rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  color: #333333;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
}

#gioi-thieu h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #0f0f3e;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

#gioi-thieu h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 2rem;
  color: #0f0f3e;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.gioi-thieu-image {
  width: 100%;
  margin: 2rem 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.gioi-thieu-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.info-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
  margin: 3rem 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.info-card {
  background: white;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.info-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

.info-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: #222;
}

.info-card p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

.team-member {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #f4c27e;
}

.team-member h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.team-member p {
  color: #666;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.member-detail {
  font-weight: 400;
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.75rem;
  font-style: italic;
  line-height: 1.4;
}


/* Swiper navigation buttons */
.swiper-button-prev,
.swiper-button-next {
  color: #f4c27e;
  transition: color 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: #e3ac5e;
}

/* Swiper pagination bullets */
.swiper-pagination {
  bottom: -7px !important; /* đẩy dấu chấm xuống dưới */
  position: absolute;
  width: 100%;
  text-align: center;
}

.swiper-pagination-bullet {
  background: #f4c27e;
  opacity: 0.8;
}

.swiper-pagination-bullet-active {
  background: #e3ac5e;
}
/*--------------Dịch vụ--------------------*/
.services-section {
  background: linear-gradient(135deg, #f7d060, #f2b930);
  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: #4b3b00;
}

.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;
  background-color: #fff6d1; /* nền vàng nhạt cho thẻ */
  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: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.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;
}

/* Giới thiệu đối tác*/
.partners-section {
  background: #f0f4f8;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 3rem auto;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.partners-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f0f3e;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 cột bằng nhau */
  gap: 1.5rem; /* khoảng cách giữa các ảnh */
  max-width: 100%; /* giới hạn chiều rộng container (tuỳ chỉnh) */
  margin: 0 auto; /* căn giữa */
}

.partner-card {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;       /* đặt chiều rộng cố định */
  height: auto;
  aspect-ratio: 1 / 1;      
  box-sizing: border-box;
}


.partner-card img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.partner-card p {
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
}

/* 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;
}
