.search-section {
  margin: 30px 0;
  text-align: center;
}

.search-wrapper {
  position: relative;
  display: inline-block;
  width: 80%;
  max-width: 800px;
}

.main-search,
.ghost-text,
.hidden-width-tester {
  font-family: inherit;
  padding: 15px 0px 15px 20px;
  font-size: 18px;
  border-radius: 8px;
}

.ghost-text {
  padding: 12px 0px;
}

.main-search {
  width: 100%;
  position: relative;
  z-index: 2;
  background: transparent;
  border: 2px solid #e2e8f0;
}

.main-search:focus {
  outline: none;
  border-color: #4299e1;
  box-shadow: 0 4px 10px rgba(66, 153, 225, 0.2);
}

.ghost-text {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  border: 2px solid transparent;
  color: #a0aec0;
  background-color: transparent;
  user-select: none;
  font-style: italic;
}

.hidden-width-tester {
  visibility: hidden;
  white-space: pre;
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid transparent;
}

.chips-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px auto;
  max-width: 800px;
}

.chip {
  padding: 8px 16px;
  background-color: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 14px;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  animation: float 5s ease-in-out infinite;
  text-decoration: none;
  text-transform: capitalize;
}

.chip:hover {
  background-color: #ebf8ff;
  border-color: #bee3f8;
  color: #2b6cb0;
  transform: translateY(-2px);
}

/* Different animation delays for each chip */
.chip:nth-child(1) {
  animation-delay: 0s;
}

.chip:nth-child(2) {
  animation-delay: 0.2s;
}

.chip:nth-child(3) {
  animation-delay: 0.4s;
}

.chip:nth-child(4) {
  animation-delay: 0.6s;
}

.chip:nth-child(5) {
  animation-delay: 0.8s;
}

.chip:nth-child(6) {
  animation-delay: 1s;
}

.chip:nth-child(7) {
  animation-delay: 1.2s;
}

.chip:nth-child(8) {
  animation-delay: 1.4s;
}

.chip:nth-child(9) {
  animation-delay: 1.6s;
}

.chip:nth-child(10) {
  animation-delay: 1.8s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

.sponsored-link-style {
  border: 1px dashed #d3d3d3;
  padding: 18px 0px 0px !important;
  position: relative;
}

.sponsored-link-style a {
  border: none !important;
  align-items: center;
  justify-content: flex-start;
  display: flex !important;
  width: 100%;
  box-sizing: border-box;
  color: #565656 !important;
  max-height: unset !important;
  max-width: 100% !important;
}

.sponsored-text {
  font-size: 10px;
  color: #888;
  position: absolute;
  top: 0;
  left: 0;
  /* background: rgba(255, 255, 255, 0.7); */
  padding: 2px 4px;
  border-radius: 3px;
}


.testimonial-card {
  position: relative;
  background: linear-gradient(135deg, rgba(224, 227, 231, 0.9), rgba(207, 228, 248, 0.9));
  padding: 2rem;
  border-radius: 20px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  margin: 30px auto 0;
  overflow: hidden;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

/* glossy sheen across whole background */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0.1) 40%,
      rgba(255, 255, 255, 0.0) 60%);
  transform: rotate(15deg);
  pointer-events: none;
  z-index: 1;
}

/* subtle gloss reflection streak */
.testimonial-card::after {
  content: '';
  position: absolute;
  top: 10%;
  left: -30%;
  width: 160%;
  height: 40%;
  background: linear-gradient(100deg,
      rgba(255, 255, 255, 0.6) 0%,
      rgba(255, 255, 255, 0) 80%);
  transform: rotate(-20deg);
  opacity: 0.3;
  pointer-events: none;
  z-index: 2;
}

.quote {
  position: absolute;
  font-size: 7rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 2;
}

.top-left {
  top: 0.5rem;
  left: 1rem;
}

.bottom-right {
  bottom: -1.5rem;
  right: 1rem;
}

.testimonial-text {
  position: relative;
  line-height: 1.6;
  color: #5e5c5c;
  margin: 0;
  z-index: 2;
  padding: 0 15% 0 25px;
}

.cta-link {
  position: absolute;
  right: 1.8rem;
  bottom: 1.8rem;
  color: #1e8fd0;
  text-decoration: none;
  z-index: 3;
  transition: all 0.2s ease-in-out;
}

.cta-link:hover {
  transform: translateY(-2px);
}