/* Dev by Đức Nobi */
@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  --primary-color: #4aa14e;
  --secondary-color: #2ecc71;
  --primary-font: "Be Vietnam Pro", sans-serif !important;
}

* {
  margin: 0;
  padding: 0;
  list-style: none !important;
  text-decoration: none !important;
  font-family: var(--primary-font);
  box-sizing: border-box;
}

body {
  /* background-color: rgba(183, 255, 190, 0.1); */
  z-index: -1;
  position: relative;
}

body {
  overflow-x: hidden;
}

.vhunter_header {
  transition: all 0.5s ease, transform 0.5s ease;
  background-color: rgb(248, 255, 249) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.vhunter_header_logo {
  width: 200px;
  height: 60px;
  display: flex;
  text-align: center;
  justify-content: start;
}

.vhunter_header_nav ul {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.vhunter_header_nav a {
  text-decoration: none;
}

.vhunter_header_nav li {
  margin: 0 10px;
  font-size: 16px;
  text-align: center;
  font-weight: 500;
  /* color: rgb(77, 77, 77); */
  color: black;
}

.vhunter_header_nav li:hover {
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
}

.vhunter_header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  background-color: #ffffff;
  /* hoặc màu header của bạn */
  transition: all 1s ease;
}

#scrollTopBtn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 20px;
  left: 10px !important;
  bottom: 10px !important;
}

#vhunter-dot-wrapper {
  position: fixed;
  /* Hoặc absolute nếu muốn ảnh scroll cùng nội dung */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  opacity: .4;
}

.circle-dot-1 {
  position: absolute;
  width: 400px;
  height: 400px;
  opacity: 0.4;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1001;
}

.vhunter_header_nav.menu-open {
  z-index: 1900;
  transition: width 0.3s ease;
}

#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
  z-index: 9999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
}

.loading-image {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.spinner {
  width: 100%;
  height: 100%;
  border: 6px solid #f3f3f3;
  border-top: 6px solid var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* @media (max-width: 768px) */

@media (max-width: 1280px) {
  body {
    position: relative !important;
  }

  main {
    width: 100%;
    margin: 0 auto;
  }

  .vhunter_header_nav {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 2000;
    overflow: hidden;
    transition: all 0.4s ease;
  }

  .vhunter_header_logo_mobile {
    display: flex !important;
    position: relative;
    top: 20px;
    width: 100%;
    height: 100px;
  }

  .vhunter_header_logo_mobile {
    width: 100%;
    height: 80px;
    display: flex;
    text-align: center;
    justify-content: center;
  }

  .vhunter_header_bars_mobile {
    display: flex !important;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .vhunter_header_close_mobile {
    display: flex !important;
    position: relative;
    top: 10px;
    left: calc(90% - 10px);
    cursor: pointer;
  }

  .vhunter_header_nav ul {
    top: 100px !important;
    display: flex;
    margin-top: 130px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
    padding: 10px 20px !important;
  }

  .vhunter_header_nav ul li {
    margin: 20px 0 !important;
    position: relative;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
  }

  .vhunter_header_nav ul li::after {
    content: "";
    position: absolute;
    width: calc(70vw - 40px);
    height: 0.5px;
    background-color: #c7c7c7;
    left: 0;
    bottom: -15px;
  }

  .circle-dot-1 {
    width: 100vw;
    overflow: hidden;
    left: 0;
  }
}

@media (max-width: 768px) {
  .vhunter_main_banner {
    height: 300px;
    max-height: max-content;
  }
}

/* Phone rung */
@keyframes shake-phone {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(-15deg);
  }

  40% {
    transform: rotate(15deg);
  }

  60% {
    transform: rotate(-10deg);
  }

  80% {
    transform: rotate(10deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.shake-phone {
  animation: shake-phone 1s infinite;
  display: inline-block;
}

/* Vị trí cố định bên phải giữa màn hình */
.fixed-contact-icons {
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 9999;
}

.fixed-contact-icons a img {
  display: block;
}

.fixed-contact-icons .icon-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 3px;
  align-items: flex-end;
}

/* Hộp Zalo popup */
#zaloSupportBox {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 280px;
  background: #ffffff;
  border: 2px solid #0084ff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 15px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  display: none;
  z-index: 9999;
}

#zaloSupportBox .zalo-title {
  font-weight: bold;
  color: #0084ff;
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
}

#zaloSupportBox .zalo-staffs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#zaloSupportBox .zalo-staff {
  line-height: 1.4;
}

#zaloSupportBox .zalo-staff span {
  color: red;
  font-weight: bold;
}

/* Nút Zalo tròn */
#zaloToggleBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0084ff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
}

#zaloToggleBtn img {
  width: 50px;
  height: 50px;
}

@keyframes glow-zalo {

  0%,
  100% {
    box-shadow: 0 0 0px rgba(0, 132, 255, 0);
  }

  50% {
    box-shadow: 0 0 30px rgba(0, 132, 255, 1);
  }
}

.glow-zalo-btn {
  animation: glow-zalo 2s infinite;
  border-radius: 50%;
}
