/* 🌍 FIX LEAFLET MAP OVERLAYING MODALS */
.leaflet-pane,
.leaflet-top,
.leaflet-bottom {
  z-index: 0 !important;
}

/* Ensure modals appear on top of everything */
.modal,
.fixed.inset-0,
#logoutModal {
  z-index: 9999 !important;
}

/* Keep map below modal and fix layout */
#map {
  height: 280px;
  width: 100%;
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  z-index: 1 !important;
}

/* 🌞 SUNBURST BADGE STYLES */
.sunburst {
  border-radius: 50%;
  background: radial-gradient(circle at center, #facc15 0%, #f59e0b 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #000;
  text-align: center;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  position: relative;
}
.sunburst::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: repeating-conic-gradient(
    #f59e0b 0 15deg,
    transparent 15deg 30deg
  );
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  z-index: -1;
}
.sunburst.new {
  width: 2.2rem;
  height: 2.2rem;
  font-size: 0.5rem;
}
.sunburst.premium {
  width: 2.8rem;
  height: 2.8rem;
  font-size: 0.55rem;
}
.sunburst.top {
  width: 3.2rem;
  height: 3.2rem;
  font-size: 0.6rem;
}

/* 🖼️ SLIDER STYLES */
.slider {
  overflow: hidden;
  position: relative;
  height: auto !important;
  border-radius: 0.75rem;
}
.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 250px;
}
.slides img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  height: 250px;
}
.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 9999px;
  transition: background 0.3s;
}
.slider button:hover {
  background: rgba(255, 255, 255, 0.9);
}
.slider .prev {
  left: 0.5rem;
}
.slider .next {
  right: 0.5rem;
}

/* 🧭 PACKAGES SLIDER CONTAINER */
.slider-container {
  position: relative;
  height: 12rem;
  overflow: hidden;
  border-radius: 0.75rem;
}
.slider-container img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  display: none;
}
.slider-container img.active {
  display: block;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 9999px;
  padding: 0.5rem;
  cursor: pointer;
  transition: background 0.3s;
}
.arrow:hover {
  background: rgba(255, 255, 255, 0.9);
}
.arrow.left {
  left: 0.5rem;
}
.arrow.right {
  right: 0.5rem;
}

/* 🪪 CARD STYLE */
.card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 🎨 HERO SECTION */
.script-title {
  font-family: "Great Vibes", cursive;
}
.hero-section {
  background-position: center;
  background-repeat: no-repeat;
  height: 90vh;
}

/* 🧭 SERVICES SLIDER */
.services-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}
.services-slider::-webkit-scrollbar {
  display: none;
}
.service-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
}

/* 🧾 SECTION SPACING */
section {
  scroll-margin-top: 80px;
}

/* ✨ ANIMATIONS & TEXT EFFECTS */
/* Fade-in animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
}

/* Slow bounce sa logo */
@keyframes bounce-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.bounce-slow {
  animation: bounce-slow 2s infinite;
}

/* Gradient text highlight */
.text-gradient {
  background: linear-gradient(to right, #16a34a, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* 📱 RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .slides,
  .slides img {
    height: 220px;
  }
  .slider-container img {
    height: 10rem;
  }
  .card {
    min-height: 380px;
  }
  #map {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .slides,
  .slides img {
    height: 200px;
  }
  .slider-container {
    height: 10rem;
  }
  .slider-container img {
    height: 10rem;
  }
  .card {
    min-height: 350px;
  }
  .slider button,
  .arrow {
    padding: 0.4rem;
  }
  #map {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .slides,
  .slides img {
    height: 160px;
  }
  .slider-container {
    height: 8rem;
  }
  .slider-container img {
    height: 8rem;
  }
  .sunburst.new {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.45rem;
  }
  .sunburst.premium {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 0.5rem;
  }
  .sunburst.top {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 0.55rem;
  }
  .card {
    min-height: 320px;
  }
  #map {
    height: 180px;
  }
}
