@import url("https://fonts.googleapis.com/css2?family=Chewy&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* Base Fonts & Typography */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.font-chewy {
  font-family: "Chewy", cursive;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Home Page Info Card Hover & Fade In */
.info-card {
  transition: all 0.25s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

.hidden-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hidden-fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* Owl Carousel Image Styling */
.owl-carousel .item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.owl-carousel .item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.75rem;
}

/* WhatsApp / Chat Message Styling */
#message-box-wrapper {
  background-color: #efeae2;
  background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  overflow-y: auto;
  min-height: 0;
  flex: 1 1 0%;
}

.message-text {
  word-break: break-word;
  line-height: 1.45;
}

.chat-list-panel .message-list.active {
  background-color: #f1f5f9;
  border-left: 4px solid #dc2626;
}

.chat-list-panel .message-list:hover:not(.active) {
  background-color: #f8fafc;
}

/* Tailwind Modal Transition Helpers */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
}