@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&family=Space+Grotesk:wght@500;600;700&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #FAFDFB;
  color: #051F20;
}

.font-heading {
  font-family: 'Space Grotesk', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FAFDFB;
}
::-webkit-scrollbar-thumb {
  background: #235347;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1a3d34;
}

/* Button Shimmer Shine Effect */
.btn-shine {
  position: relative;
  overflow: hidden;
}
.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: rotate(30deg);
  transition: all 0.6s ease;
}
.btn-shine:hover::after {
  left: 130%;
}

/* Smooth Glow Shadows */
.emerald-glow {
  box-shadow: 0 10px 30px -10px rgba(35, 83, 71, 0.25);
}
.emerald-glow-lg {
  box-shadow: 0 20px 40px -15px rgba(35, 83, 71, 0.35);
}

/* Floating Animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}
.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

/* Modal Animations */
@keyframes modalBackdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-backdrop-anim {
  animation: modalBackdropFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-card-anim {
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Accordion Transition */
.faq-answer {
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  overflow: hidden;
}

/* Line Clamp helper */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Custom Input Focus Glow */
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(35, 83, 71, 0.15);
}

