a {
  text-decoration: none;
}
.header {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.header video {
  width: 100%;
  height: auto;
  position: relative;
  object-fit: cover;
  min-height: 450px;
}

/* Top contact bar */
.header1 {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.829);
  border-bottom: 1px solid black;
  color: black;
  z-index: 100;
}

/* Header main content */
.header-main {
  position: absolute;
  top: 130px;
  width: 100%;
  text-align: center;
  color: white;
  padding: 0 15px;
  box-sizing: border-box;
}

.header-main .logo img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto 20px;
}

.header-main .VanBan h1 {
  margin: 15px auto;
  font-size: 40px;
  color: white;
  -webkit-text-stroke: 1px black;
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
}

.header-main .VanBan h3 {
  margin: 5px auto;
  font-size: 18px;
  -webkit-text-stroke: 0.3px black;
}

.header-main .Search {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 50px auto;
}

.header-main .Search input {
  width: 100%;
  height: 50px;
  border-radius: 50px;
  background: transparent;
  color: white;
  padding-left: 30px;
  padding-right: 70px;
  border: 2px solid white;
  box-sizing: border-box;
}

.header-main .Search button {
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: rgba(255, 255, 0, 0.868);
  border: none;
  cursor: pointer;
}

/* Responsive navigation menu */
.header-menu {
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  top: 40px;
  z-index: 10;
  box-sizing: border-box;
}

.header-menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-menu ul li {
  font-weight: bold;
  font-size: 15px;
  text-transform: uppercase;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #333;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 50px;
  z-index: 1000;
}

/* Large desktops and above */
@media (min-width: 1200px) {
  .header-main .logo img {
    width: 600px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .header-main {
    top: 100px;
  }

  .header-main .logo img {
    max-width: 350px;
  }

  .header-main .VanBan h1 {
    font-size: 32px;
  }

  .header-main .VanBan h3 {
    font-size: 16px;
  }

  .header-main .Search {
    max-width: 450px;
  }

  .header-menu ul {
    gap: 15px;
  }

  .header-menu ul li {
    font-size: 14px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .header1 {
    height: auto;
    padding: 5px 0;
    flex-direction: column;
    gap: 5px;
  }

  .header1 .contact,
  .header1 .account {
    margin: 0;
    justify-content: center;
  }

  .header1 .contact .phone {
    border-right: none;
    padding-right: 10px;
  }

  .header-main {
    top: 120px;
  }

  .header-main .logo img {
    max-width: 280px;
  }

  .header-main .VanBan h1 {
    font-size: 26px;
  }

  .header-main .VanBan h3 {
    font-size: 14px;
  }

  .header-main .Search {
    max-width: 350px;
    margin: 30px auto;
  }

  .header-main .Search input {
    height: 45px;
  }

  .header-main .Search button {
    width: 45px;
    height: 45px;
  }

  /* Mobile menu */
  .mobile-menu-toggle {
    display: block;
  }

  .header-menu {
    background: rgba(255, 255, 255, 0.95);
    height: auto;
    padding: 10px;
    top: 80px;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
  }

  .header-menu.show-mobile {
    transform: translateY(0);
  }

  .header-menu ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: center;
  }

  .header-menu ul li {
    margin: 5px 0;
    width: 100%;
    text-align: center;
  }

  .header-menu ul li a {
    display: block;
    padding: 10px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .header video {
    min-height: 350px;
  }

  .header1 {
    padding: 3px 0;
  }

  .header1 .contact,
  .header1 .account {
    gap: 10px;
    font-size: 12px;
  }

  .header-main {
    top: 100px;
  }

  .header-main .logo img {
    max-width: 220px;
  }

  .header-main .VanBan h1 {
    font-size: 22px;
    margin: 10px auto;
  }

  .header-main .VanBan h3 {
    font-size: 12px;
  }

  .header-main .Search {
    max-width: 280px;
    margin: 20px auto;
  }

  .header-main .Search input {
    height: 40px;
    font-size: 14px;
  }

  .header-main .Search button {
    width: 40px;
    height: 40px;
  }
}
