.text-head {
  color: #ffffff;
}
.tf-container {
  margin-bottom: 120px;

}

.btn-head {
  font-size: 12px;
  padding: 2px 6px;
  background-color: transparent;
  border: 1px solid #ffffff;
  border-radius: 12px;
  color: #ffffff;
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.btn-head:hover {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  color: #3b5a9b; /* Change text color to white for better contrast */
}

.btn-login {
  font-size: 15px !important;
  padding: 8px 12px !important;
  background-color: transparent !important;
  border: 1px solid #3b5a9b !important;
  border-radius: 30px;
  color: #3b5a9b !important;
  transition: background-color 0.3s ease, color 0.3s ease !important; /* Smooth transition */
  font-weight: 500;
}

.btn-login:hover {
  background-color: #3b5a9b !important;
  border: 1px solid #3b5a9b !important;
  color: #ffffff !important; /* Change text color to white for better contrast */
}

.btn-user {
  position: relative;
  font-size: 15px !important;
  padding: 22px 43px !important;
  background-color: transparent !important;
  border: 1px solid #ffffff !important;
  border-radius: 30px !important;
  color: #ffffff !important;
  transition: background-color 0.3s ease, color 0.3s ease !important;
  font-weight: 500;
}

.btn-user:hover {
  background-color: #3b5a9b !important;
  border: 1px solid #3b5a9b !important;
  color: #ffffff !important; /* Change text color to white for better contrast */
}

.user-icon {
  position: absolute;
  object-fit: cover;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  right: 1;
}

.user-menu {
  position: absolute;
  left: 0;
  font-size: 20px;
  padding: 8px !important;
}

.user-headmessage {
  font-size: 25px;
}

.custom-dropdown {
  width: 250px;
  margin-top: 5px !important;
  z-index: 9999 !important;
}

.custom-dropdown-items {
  font-size: 14px;
  font-weight: 600;
  z-index: 9999 !important;
}

.header-join-us {
  display: none;
}

.mobile-button {
  margin-top: 5px;
  display: none !important;
}
.mobile-button i {
  font-size: 20px !important;
}
.inner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
/* Web view: hide image */
@media (min-width: 990px) {
  .menu-header {
    display: none;
  }
}

/* Mobile view: hide buttons */
@media (max-width: 990px) {
  .logo-header {
    display: none;
  }
}

/* Mobile view - stack the items vertically, reduce size, and hide follow section */
@media (max-width: 768px) {
  .inner-container {
    display: block;
    justify-content: center !important;
    position: relative;
    margin-bottom: -35px;
  }
  .header-account {
    display: none;
  }
  .logo-box {
    display: none;
  }

  .mobile-menu {
    width: 100%;
  }
  .close-btn .close-menu-x {
    color: black;
    transition: all 0.5s ease !important;
  }
  .mobile-button {
    margin-top: 5px;
    display: block !important;
  }

  .logo-header {
    display: none;
  }

  .btn-login {
    display: none !important;
  }

  .btn-user {
    display: none !important;
  }

  .header-join-us {
    display: flex;
  }
  .main-header .logo-box .logo img {
    display: none;
  }
}

.filtering-header {
  display: none !important;
}

.scroll-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  font-size: 8px;
  background-color: #fff;
  color: #000;
  border: 1px solid #6a6a6a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* z-index: 10; */
  opacity: 0.8;
  transition: opacity 0.3s;
}

.scroll-btn:hover {
  opacity: 1;
  background-color: #fff;
  color: #000;
  border: 1px solid #6a6a6a;
  box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
    0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

.scroll-btn.left {
  z-index: 1;
  /* left: 15px; */
}

.scroll-btn.right {
  right: 0;
}

.scroll-top {
  border-radius: 50px !important;
  bottom: 15 !important;
}

.img-logo-join-us {
  height: 35px;
}

.btn-company-portal {
  color: #ffffff;
  transition: background-color 0.3s ease, color 0.3s ease !important; /* Smooth transition */
}

.btn-company-portal:hover {
  background-color: #ffffff;
  color: #3b5a9b;
}

.btn-join-us {
  background-color: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.btn-join-us:hover {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  color: #3b5a9b; /* Change text color to white for better contrast */
}

.img-logo-login {
  width: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.btn-email-signup {
  font-size: 15px !important;
  padding: 8px 12px !important;
  border-radius: 30px;
  background-color: transparent !important;
  border: 1px solid #3b5a9b !important;
  color: #3b5a9b !important;
  transition: background-color 0.3s ease, color 0.3s ease !important; /* Smooth transition */
  font-weight: 500;
}

.btn-email-signup:hover {
  background-color: #3b5a9b !important;
  border: 1px solid #3b5a9b !important;
  color: #ffffff !important; /* Change text color to white for better contrast */
}

.btn-login-email {
  font-size: 14px !important;
  padding: 8px 12px !important;
  background-color: #3b5a9b !important;
  border: 1px solid #3b5a9b !important;
  color: #ffffff !important; /* Change text color to white for better contrast */
  border-radius: 30px;
  transition: background-color 0.3s ease, color 0.3s ease !important; /* Smooth transition */
  font-weight: 500;
}

.btn-login-email:hover {
  background-color: transparent !important;
  border: 1px solid #3b5a9b !important;
  color: #3b5a9b !important;
}

.btn-confirm-email {
  font-size: 15px !important;
  padding: 8px 12px !important;
  background-color: transparent !important;
  border: 1px solid #3b5a9b !important;
  border-radius: 30px;
  color: #3b5a9b !important;
  transition: background-color 0.3s ease, color 0.3s ease !important; /* Smooth transition */
  font-weight: 500;
}

.btn-confirm-email:hover {
  background-color: #3b5a9b !important;
  border: 1px solid #3b5a9b !important;
  color: #ffffff !important; /* Change text color to white for better contrast */
}

.btn-back-email:hover {
  font-weight: 400;
  color: #3b5a9b !important; /* Change text color to white for better contrast */
}

.error-email {
  border: 1px solid red;
  transition: border 0.3s ease; /* Smooth border color change */
}

.email-error-message {
  color: red;
  font-size: 12px;
  opacity: 0; /* Hidden by default */
  transform: translateY(10px); /* Start slightly above */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition for both opacity and position */
}

.email-error-message.show {
  opacity: 1; /* Fully visible */
  transform: translateY(0); /* Move into place */
}

#loginWithGoogle button {
  width: 100% !important; /* Force the button to take up 100% width */
}

.br25 {
  border-radius: 12px !important;
}
.br15 {
  border-radius: 8px !important;
}

.main-filter-category {
  border-radius: 30px;
}
