/* header-search-area css start */

.header-search-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 99;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.65);
  -webkit-transform: scale(1, 0);
  -ms-transform: scale(1, 0);
  transform: scale(1, 0);
  transform-origin: center;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.header-search-area.active {
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
}

.header-search-form {
  position: relative;
  width: 90%;
  max-width: 800px;
}

.header-search-form input {
  width: 100%;
  min-height: 70px;
  padding: 20px 30px;
  background-color: #000000;
  border: 2px solid transparent;
  border-radius: 20px;
  color: #ffffff;
  padding-right: 90px;
  font-size: 20px;
  font-weight: 400;
  transition: border-color 0.3s ease;
}

.header-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
}

.header-search-form button {
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 100%;
  background-color: hsl(var(--base));
  color: #ffffff;
  font-size: 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.header-search-form button:hover {
  background-color: hsl(var(--base));
  opacity: 0.9;
}

/* Header Search Button Styles */
.nav-right__search-btn {
  margin-right: 15px;
}

.nav-right__search-btn a,
.nav-right__search-btn button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  font-size: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-right__search-btn a:hover,
.nav-right__search-btn button:hover {
  color: hsl(var(--base));
  transform: scale(1.1);
}

.nav-right__search-btn a i,
.nav-right__search-btn button i {
  line-height: 1;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .header-search-form {
    width: 95%;
    max-width: 100%;
  }

  .header-search-form input {
    min-height: 70px;
    padding: 15px 25px;
    padding-right: 80px;
    font-size: 18px;
  }

  .header-search-form input::placeholder {
    font-size: 18px;
  }

  .header-search-form button {
    width: 70px;
    font-size: 24px;
  }
}

@media (max-width: 575px) {
  .header-search-form input {
    min-height: 60px;
    padding: 12px 20px;
    padding-right: 70px;
    font-size: 16px;
  }

  .header-search-form input::placeholder {
    font-size: 16px;
  }

  .header-search-form button {
    width: 60px;
    font-size: 20px;
  }
}

/* header-search-area css end */

