/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDelay {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

.animate-fade-in-delay {
  animation: fadeInDelay 0.6s ease-out 0.15s both;
}

.animate-modal-in {
  animation: modalIn 0.25s ease-out;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Accordion transitions */
.accordion-content {
  transition: max-height 0.3s ease-in-out;
  max-height: 0;
}

.accordion-content.active {
  max-height: 400px;
}

.accordion-btn svg {
  transition: transform 0.3s ease;
}

.accordion-btn.active svg {
  transform: rotate(180deg);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #1f3a5f;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: #1f3a5f;
}

::-webkit-scrollbar-thumb:hover {
  background: #0f1c2e;
}

/* Image responsiveness */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
