/* Custom styles for Wizard Language School */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure all links are underlines-free by default */
a {
  text-decoration: none;
}

/* Subtle gradient text option */
.gradient-text {
  background: linear-gradient(135deg, #0B1D3A 0%, #4c6ef5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Smooth image loading */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Selection color */
::selection {
  background-color: #86efac;
  color: #0B1D3A;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f0f3fa;
}
::-webkit-scrollbar-thumb {
  background: #bac8ff;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #91a7ff;
}

/* Nav scroll state */
header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(11, 29, 58, 0.08);
}

/* Card hover lift */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(11, 29, 58, 0.12);
}

/* Pulse animation for CTA */
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

.float-medium {
  animation: float 4s ease-in-out infinite;
}

/* Star icon for logo */
.star-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
}
