.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}

.video-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.grid-rows-subgrid {
  grid-template-rows: subgrid;
}

.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.custom-height img {
  height: 506px !important;
}

/* Initially hidden, ready for smooth slide effect */
.faq-answer {
  max-height: 0; /* Initially hidden */
  overflow: hidden; /* Ensure content doesn't overflow */
  transition: max-height 0.3s ease-in-out; /* Smooth transition */
}

.rotate-180 {
  transform: rotate(180deg);
  transition: transform 0.3s ease-in-out;
}
