/* Hero Background Animation */
#hero {
  position: relative;
  min-height: auto;
  padding-bottom: 2rem;
}

/* Flying Arrows Container - Absolute within content area */
.flying-arrows-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Flying Arrows Animation */
.flying-arrow {
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: 0.12;
  animation: fly-across 8s linear infinite;
}

.flying-arrow::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: currentColor;
  clip-path: polygon(0% 35%, 70% 35%, 70% 0%, 100% 50%, 70% 100%, 70% 65%, 0% 65%);
}

@keyframes fly-across {
  0% {
    transform: translateX(-100px) translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 0.12;
  }
  90% {
    opacity: 0.12;
  }
  100% {
    transform: translateX(calc(100vw + 100px)) translateY(0);
    opacity: 0;
  }
}

.flying-arrow-1 { top: 10%; animation-delay: -3s; animation-duration: 7s; color: #3b82f6; width: 35px; height: 35px; }
.flying-arrow-2 { top: 25%; animation-delay: -5s; animation-duration: 9s; color: #8b5cf6; width: 45px; height: 45px; }
.flying-arrow-3 { top: 40%; animation-delay: -2s; animation-duration: 6s; color: #10b981; width: 30px; height: 30px; }
.flying-arrow-4 { top: 55%; animation-delay: -6s; animation-duration: 8s; color: #f59e0b; width: 50px; height: 50px; }
.flying-arrow-5 { top: 70%; animation-delay: -1s; animation-duration: 7.5s; color: #ef4444; width: 38px; height: 38px; }
.flying-arrow-6 { top: 85%; animation-delay: -4s; animation-duration: 6.5s; color: #06b6d4; width: 42px; height: 42px; }
.flying-arrow-7 { top: 15%; animation-delay: -7s; animation-duration: 8.5s; color: #ec4899; width: 32px; height: 32px; }
.flying-arrow-8 { top: 60%; animation-delay: -3.5s; animation-duration: 7s; color: #6366f1; width: 48px; height: 48px; }

html[class~="dark"] .flying-arrow {
  opacity: 0.08;
}

@media (max-width: 480px) {
  .flying-arrows-container {
    display: none;
  }
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #4b5563;
  font-weight: 400;
}

.hero-subtitle strong {
  color: #2563eb;
  font-weight: 600;
}

html[class~="dark"] .hero-subtitle {
  color: #d1d5db;
}

html[class~="dark"] .hero-subtitle strong {
  color: #60a5fa;
}

/* === FLOATING ICONS ANIMATION (commented for future use) ===
.floating-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.15;
  animation: float-up 15s linear infinite;
}

@keyframes float-up {
  0% {
    transform: translateY(100vh) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.15;
  }
  50% {
    transform: translateY(50vh) rotate(180deg) scale(1);
  }
  90% {
    opacity: 0.15;
  }
  100% {
    transform: translateY(-100px) rotate(360deg) scale(0.8);
    opacity: 0;
  }
}

.floating-icon-1 { left: 5%; animation-delay: 0s; animation-duration: 12s; font-size: 1.5rem; }
.floating-icon-2 { left: 15%; animation-delay: 2s; animation-duration: 14s; font-size: 2rem; }
.floating-icon-3 { left: 25%; animation-delay: 4s; animation-duration: 11s; font-size: 1.8rem; }
.floating-icon-4 { left: 35%; animation-delay: 1s; animation-duration: 16s; font-size: 2.2rem; }
.floating-icon-5 { left: 50%; animation-delay: 3s; animation-duration: 13s; font-size: 1.6rem; }
.floating-icon-6 { left: 60%; animation-delay: 5s; animation-duration: 15s; font-size: 2rem; }
.floating-icon-7 { left: 70%; animation-delay: 2.5s; animation-duration: 12s; font-size: 1.7rem; }
.floating-icon-8 { left: 80%; animation-delay: 0.5s; animation-duration: 14s; font-size: 2.1rem; }
.floating-icon-9 { left: 88%; animation-delay: 4.5s; animation-duration: 11s; font-size: 1.9rem; }
.floating-icon-10 { left: 95%; animation-delay: 1.5s; animation-duration: 16s; font-size: 1.5rem; }

html[class~="dark"] .floating-icon {
  opacity: 0.1;
}
=== END FLOATING ICONS === */

/* Language + Explore Dropdown */
.language-theme-container {
  display: flex;
  align-items: center;
}

.language-options {
  position: fixed;
  inset: auto auto -160px 0;
  margin: 0;
  min-width: 100px;
  height: 140px;
}

.language-theme-sidebar-container {
  display: none;
}

.language-switcher-label {
  display: none;
  font-size: 1rem;
  color: var(--color-black);
}

.language-switcher-label svg {
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 3px;
}

.language-flag-icon {
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 3px;
}

@media (max-width: 768px) {
  .language-theme-container, .explore-dropdown-button {
    display: none;
  }

  .language-theme-sidebar-container {
    display: block;
  }

  .language-theme-sidebar-container .language-options {
    inset: auto auto 0 0;
  }

  .language-switcher-label {
    display: inline-flex;
  }

  .language-switcher-flag-current {
    display: none;
  }
}

/* Hero Section */
.hero {
  width: 100%;
}

@media (max-width: 260px) {
  .hero-waves {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-waves svg.waves {
    height: 100px !important;
  }
}

@media (max-height: 580px) {
  .hero-waves {
    display: none;
  }
}

@media (max-height: 640px) {
  .hero {
    padding-top: 0rem !important;
  }
}

@media (max-height: 750px) {
  .hero-waves svg.waves {
    height: 150px;
  }
}

@media (max-height: 800px) and (max-width: 900px) {
  .hero {
    padding-top: 0rem !important;
  }

  .hero-waves svg.waves {
    height: 150px;
  }
}

@media (max-height: 850px) {
  .hero {
    padding-top: 5rem;
  }
}

@media (min-height: 1200px) {
  .hero-waves {
    display: block;
    bottom: inherit;
    margin-top: 10rem;
  }
}

/* primary Button */
.primary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.primary-button .arrow {
  position: relative;
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.2s ease-in-out;
}

.primary-button:hover .arrow {
  transform: translateX(0.25rem);
}

/* No Background Button */
.nobg-button {
  scale: 0.97;
  border: 1px solid transparent;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
  border-color: #ccc;
}

.nobg-button:hover {
  border-color: #006be6;
  background-color: #006be6;
  color: #fff;
}

.dark .nobg-button:hover {
  border-color: #008ae6;
  background-color: #008ae6;
}

@media (max-width: 768px) {
  .nobg-button {
    margin-left: -1px !important;
  }
}
