/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

 .modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75); /* Dark overlay */
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%; /* Prevent full width */
  max-height: 90%; /* Prevent full height */
  overflow: auto; /* Allow scrolling if needed */
}

.modal img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

/* Testimonials Carousel - Ensure equal heights */
.testimonials-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.testimonials-carousel .owl-item {
  display: flex;
  height: auto;
  align-items: stretch;
}

.testimonials-carousel .owl-item .item {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: stretch;
}

.testimonials-carousel .owl-item .item > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

/* Navigation buttons styling */
.owl-nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.owl-nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* New Year SMS API Text Effect */
.newyear-sms-api-wrapper {
  position: relative;
  display: inline-block;
}

.newyear-sms-api-sparkle {
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

.newyear-sms-api {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #ffd700 0%, #ff6b6b 25%, #4ecdc4 50%, #95e1d3 75%, #ffd700 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: newyear-gradient 3s ease-in-out infinite, newyear-sparkle 1.5s ease-in-out infinite;
  padding: 0 0.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.newyear-sms-api::after {
  content: '🎆';
  position: absolute;
  right: -1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.5em;
  animation: sparkle-float 2s ease-in-out infinite;
  opacity: 0;
}

@keyframes newyear-gradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}


@keyframes newyear-sparkle {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes sparkle-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0) rotate(-10deg) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translateX(-50%) translateY(-8px) rotate(10deg) scale(1.2);
    opacity: 1;
  }
}

@keyframes sparkle-float {
  0%, 100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.5) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-60%) scale(1) rotate(180deg);
  }
}

/* New Year Fireworks Container - fireworks.js */
#fireworks-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
  opacity: 0.2; /* Reduced opacity for subtle background effect */
}
