/* Contact Page Custom Styles (Tailwind Extensions) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Custom Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes float-delayed {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(-180deg);
  }
}

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(90deg);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation Classes */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 8s ease-in-out infinite;
}

.animate-float-slow {
  animation: float-slow 10s ease-in-out infinite;
}

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

.animation-delay-300 {
  animation-delay: 0.3s;
}

.animation-delay-600 {
  animation-delay: 0.6s;
}

/* Custom Checkbox Styles */
.checkbox-custom {
  background: white;
}

.dark .checkbox-custom {
  background: #374151;
}

input[type="checkbox"]:checked + .checkbox-custom {
  background: #0f0fcb;
  border-color: #0f0fcb;
}

input[type="checkbox"]:checked + .checkbox-custom i {
  opacity: 1;
}

/* FAQ Styles */
.faq-question.active {
  background: #0f0fcb;
  color: white;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
  color: white;
}

.faq-answer.show {
  max-height: 200px;
}

/* Form Validation States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Loading Button State */
.btn-loading .btn-text {
  display: none;
}

.btn-loading .btn-loader {
  display: flex !important;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #0f0fcb;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #083667;
}

/* Dark mode scrollbar */
.dark ::-webkit-scrollbar-track {
  background: #1f2937;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .floating-shape {
    display: none;
  }
}

/* Focus States for Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #0f0fcb;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .floating-shape,
  .faq-section,
  nav {
    display: none !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .bg-gradient-to-r,
  .bg-gradient-to-br {
    background: #000 !important;
  }
  
  .text-white {
    color: #fff !important;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .animate-float,
  .animate-float-delayed,
  .animate-float-slow,
  .animate-bounce,
  .animate-pulse {
    animation: none;
  }
  
  .transition-all,
  .transition-colors,
  .transition-transform {
    transition: none;
  }
}
