body {
  background-color: #f8f9fa;
}

/* headline */
.animated-headline {
  font-size: 2rem;
  font-weight: 600;
  line-height: 50px;
  color: #313131;
  padding-bottom: 2rem;
}

/* Each line */
.animated-line {
  position: relative;
  display: block;
  overflow: hidden;
}

/* Gradient overlay */
.animated-line::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;

  background-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 45%,
    /* #7c3aed 50%,
    #22d3ee 55%, */ #bbc107 50%,
    #089f74 55%,
    transparent 60%,
    transparent 100%
  );

  background-size: 300% 100%;
  background-repeat: no-repeat;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: sweep 10s linear infinite;
}

/* Keyframes: left → right */
@keyframes sweep {
  from {
    background-position: 150% 0;
  }
  to {
    background-position: -150% 0;
  }
}

/* Alternate animation timing */
.line-1::after {
  animation-delay: 0s;
}

.line-2::after {
  animation-delay: 3s;
}

/* Hide animation during inactive phase */
.line-1::after,
.line-2::after {
  animation-fill-mode: both;
}

/* Search container */
.search-container {
  position: relative;
  width: 100%;
  max-width: 700px;
}

/* Input */
.search-input {
  padding: 14px 110px 14px 20px;
  font-size: 18px;
  border-radius: 50px;
  height: 60px;
}
.search-input::placeholder {
  color: #a4a4a4;
}

/* Icons */
.search-icon,
.clear-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.search-icon {
  right: 10px;
  /* background-color: #0d6efd; */
  background-color: #089f74;
  color: white;
}

.clear-icon {
  right: 55px;
  background-color: #fff;
  display: none;
}
.clear-icon:hover {
  background-color: #f8f9fa;
}
.clear-icon i {
  height: 1.25rem;
}

/* Dropdown popup */
.search-dropdown {
  width: 100%;
  margin-top: 8px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 10px 0px;
  overflow: hidden; /* keeps rounded corners */
}

/* Inner scroll container */
.dropdown-scroll {
  max-height: 350px;
  overflow-y: auto;
}

/* Optional: smoother scrollbar (webkit) */
.dropdown-scroll::-webkit-scrollbar {
  width: 8px;
}

.dropdown-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.dropdown-scroll::-webkit-scrollbar-track {
  background: transparent;
}

/* Category header */
.category-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #a4a4a4;
  padding: 10px 20px;
  text-transform: uppercase;
}

/* Result item */
.search-item {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 15px;
}

.search-item:hover {
  background-color: #f1f3f5;
}
.form-control:focus {
  box-shadow: none;
  border-color: #089f74;
}

/* Highlight */
.highlight {
  background-color: yellow;
  font-weight: 600;
}
