/* Responsive Design Enhancements */
@media (max-width: 1024px) {
  .slide-content {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    min-height: 100vh;
    padding: 0 !important;
  }
  .slide {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .slide-content {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    min-height: 100vh;
    padding: 0 0.5rem !important;
  }
  .slide {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .slide-content > div,
  .slide-content > .flex,
  .slide-content > .flex-1 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  img,
  .slide-content img {
    width: 100% !important;
    height: auto !important;
    max-height: 260px !important;
    object-fit: cover !important;
  }
  .nav-arrows {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    gap: 8px;
  }
  .slide-counter {
    font-size: 12px;
    padding: 2px 8px;
  }
  .kbd-hint {
    display: none;
  }
  .nav-dots {
    right: 6px;
    gap: 6px;
  }
  .glass-card,
  .bg-white\/90,
  .bg-white\/80 {
    padding: 1rem !important;
  }
  .rounded-2xl,
  .rounded-xl {
    border-radius: 1rem !important;
  }
  .p-9,
  .p-8,
  .p-7,
  .p-6,
  .p-5,
  .p-4,
  .p-3,
  .p-2,
  .p-1 {
    padding: 1rem !important;
  }
  .py-12,
  .py-14,
  .py-16 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .px-8,
  .px-10,
  .px-12,
  .px-16 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .max-w-7xl,
  .max-w-6xl,
  .max-w-5xl,
  .max-w-4xl,
  .max-w-3xl,
  .max-w-sm {
    max-width: 100% !important;
  }
  .flex-row,
  .md\:flex-row,
  .lg\:flex-row {
    flex-direction: column !important;
  }
  .h-80,
  .md\:h-\[420px\] {
    height: 220px !important;
  }
}

@media (max-width: 480px) {
  .slide-content {
    padding: 0 0.25rem !important;
  }
  img,
  .slide-content img {
    max-height: 160px !important;
  }
  .slide-counter {
    font-size: 10px;
    padding: 1px 6px;
  }
  .nav-arrows {
    padding: 2px 4px;
    gap: 4px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  overflow: hidden;
  height: 100%;
  width: 100%;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}
.slide-container {
  position: relative;
  width: 100vw;
  height: 100vh;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.7s;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  overflow-x: hidden;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}
.slide-content {
  width: 100%;
  min-height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* enhanced animations */
.slide.active .anim-up {
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.slide.active .anim-up-d1 {
  animation-delay: 0.15s;
}
.slide.active .anim-up-d2 {
  animation-delay: 0.3s;
}
.slide.active .anim-up-d3 {
  animation-delay: 0.45s;
}
.slide.active .anim-up-d4 {
  animation-delay: 0.6s;
}
.slide.active .anim-up-d5 {
  animation-delay: 0.75s;
}
.slide.active .anim-fade {
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.slide.active .anim-fade-d1 {
  animation-delay: 0.2s;
}
.slide.active .anim-fade-d2 {
  animation-delay: 0.4s;
}
.slide.active .anim-fade-d3 {
  animation-delay: 0.6s;
}
.slide.active .anim-scale {
  animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.slide.active .stats-number {
  animation: countUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.anim-up,
.anim-fade,
.anim-scale,
.stats-number {
  opacity: 0;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(45px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(202, 138, 4, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(202, 138, 4, 0.6);
  }
}

/* navigation modern */
.nav-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  backdrop-filter: blur(2px);
}
.nav-dot.active {
  background: #ca8a04;
  transform: scale(1.6);
  box-shadow: 0 0 14px rgba(202, 138, 4, 0.7);
}
.nav-dot.dark-dot {
  background: rgba(0, 0, 0, 0.2);
}
.nav-dot.dark-dot.active {
  background: #ca8a04;
}
.nav-arrows {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  padding: 8px 24px;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.nav-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border: none;
}
.nav-arrow:hover {
  background: #ca8a04;
  transform: scale(1.05);
}
.nav-arrow.dark-arrow {
  background: rgba(0, 0, 0, 0.4);
  color: #1a1a1a;
  backdrop-filter: blur(8px);
}
.slide-counter {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: white;
  font-family: monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 12px;
  border-radius: 40px;
  backdrop-filter: blur(4px);
}
.kbd-hint {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 100;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  gap: 8px;
  font-weight: 500;
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 40px;
  background: rgba(0, 0, 0, 0.2);
}
.kbd {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  font-family: monospace;
}
.glow-gold {
  box-shadow: 0 0 30px rgba(202, 138, 4, 0.4);
  animation: glowPulse 3s infinite;
}
.map-point {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.bar-segment {
  transform-origin: left;
  transform: scaleX(0);
}
.slide.active .bar-segment {
  animation: barGrow 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes barGrow {
  to {
    transform: scaleX(1);
  }
}
@media (max-width: 768px) {
  .nav-dots {
    right: 12px;
    gap: 8px;
  }
  .kbd-hint {
    display: none;
  }
  .nav-arrows {
    gap: 12px;
    padding: 5px 16px;
  }
}
.leaflet-container {
  z-index: 1;
  border-radius: 28px;
  box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hover-lift {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.2);
}
