/* ==================== BODY OFFSET FOR FIXED BANNER ==================== */

body.banner-closed {
  padding-top: 0 !important;
}

/* ==================== ANIMATIONS ==================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out both;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}

.animation-delay-200 {
  animation-delay: 200ms;
}

.animation-delay-300 {
  animation-delay: 300ms;
}

.animation-delay-400 {
  animation-delay: 400ms;
}

/* ==================== FORM STEP TRANSITIONS ==================== */

.form-step {
  animation: fadeInUp 0.4s ease-out;
}

.form-step.hidden {
  display: none;
}

/* ==================== SCROLL REVEAL ==================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== CUSTOM CHECKBOX STYLING ==================== */

input[type="checkbox"] {
  accent-color: #E31E24;
}

/* ==================== SELECT DROPDOWN ARROW ==================== */

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 44px;
}

/* ==================== SCROLLBAR ==================== */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4a4a4a;
}

/* ==================== NAVBAR SHRINK ON SCROLL ==================== */

.navbar-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ==================== FOCUS STYLES ==================== */

*:focus-visible {
  outline: 2px solid #E31E24;
  outline-offset: 2px;
}

/* ==================== LOADING SPINNER FOR FORM ==================== */

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==================== SELECTION COLOR ==================== */

::selection {
  background: rgba(227, 30, 36, 0.3);
  color: white;
}
