/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F7FAFC;
}
::-webkit-scrollbar-thumb {
  background: #061A3D;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0B2A5B;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.animate-bounce-slow {
  animation: bounce-slow 2s ease-in-out infinite;
}

/* Fade In Section */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-section.delay-100 {
  transition-delay: 0.1s;
}

.fade-in-section.delay-200 {
  transition-delay: 0.2s;
}

.fade-in-section.delay-300 {
  transition-delay: 0.3s;
}

.fade-in-section.delay-400 {
  transition-delay: 0.4s;
}

/* FAQ Transitions */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
}

.faq-content.active {
  max-height: 500px;
  padding-top: 0;
  padding-bottom: 1.5rem;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-icon.active {
  transform: rotate(45deg);
}

/* Lightbox */
#lightbox {
  transition: opacity 0.3s ease;
}

#lightbox.hidden {
  opacity: 0;
  pointer-events: none;
}

#lightbox:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

/* Header Transition */
#header.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding-top: 0;
  padding-bottom: 0;
}

/* Selection Color */
::selection {
  background: #35A9E8;
  color: white;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #35A9E8;
  outline-offset: 2px;
}

/* Mobile Menu Animation */
#mobile-menu {
  transition: max-height 0.3s ease-in-out;
  max-height: 0;
  overflow: hidden;
}

#mobile-menu.open {
  max-height: 500px;
  display: block;
}

/* Image Hover Zoom */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #D7B46A 0%, #35A9E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shadow 3xl */
.shadow-3xl {
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

/* Responsive Typography */
@media (max-width: 640px) {
  .text-4xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  
  .text-5xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}