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

:root {
  --primary-color: #56C4D1;
  --secondary-color: #FA85B9; /* emerald */
  --bg-light: #f1f5f9;
  --text-dark: #1f2937;
  --text-light: #6b7280;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.heading-font {
  font-family: "Montserrat", sans-serif;
}

/* Animations */
.hover-underline-animation {
  display: inline-block;
  position: relative;
}

.hover-underline-animation::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Button UI */
.btn-primary {
  background-color: var(--secondary-color);
  color: white;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #FA85B9;
  transform: translateY(-1px);
  box-shadow:
    0 4px 6px -1px rgba(5, 150, 105, 0.4),
    0 2px 4px -1px rgba(5, 150, 105, 0.2);
}

/* Search Focus */
.search-input {
  transition: all 0.3s ease;
}
.search-input:focus-within {
  box-shadow: 0 0 0 2px rgba(47, 60, 90, 0.2);
}

/* Smooth fade in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hide scrollbar on mobile carousel tracks */
#main-scroll-track,
#sub-scroll-track {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
#main-scroll-track::-webkit-scrollbar,
#sub-scroll-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Adjusting layout for image covers */
.hero-image-left {
  object-fit: cover;
  object-position: center;
}

.hero-image-right {
  object-fit: cover;
  object-position: top;
}
.main_spacer {
  height: 20rem;
}
