/* Quran Plaza - Shared Styles */

/* Country code select styling */
.country-code-select {
  font-size: 14px;
  cursor: pointer;
  appearance: auto;
}
.country-code-select:focus {
  border-color: #1B5E4B;
  box-shadow: 0 0 0 3px rgba(27, 94, 75, 0.15);
  outline: none;
}

/* Islamic geometric pattern overlay */
.islamic-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231B5E4B' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Smooth fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-in-scale {
  animation: fadeInScale 0.3s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

/* Staggered animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* CTA button hover effect */
.cta-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 94, 75, 0.3);
}

.cta-btn:active {
  transform: translateY(0);
}

/* Form input focus states */
.form-input:focus {
  border-color: #1B5E4B;
  box-shadow: 0 0 0 3px rgba(27, 94, 75, 0.15);
  outline: none;
}

/* Country status indicator */
.country-status {
  transition: all 0.3s ease;
}

.country-allowed {
  color: #16a34a;
  border-color: #16a34a;
}

.country-blocked {
  color: #dc2626;
  border-color: #dc2626;
}

/* Modal overlay */
.modal-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

/* WhatsApp floating button pulse */
.whatsapp-float {
  animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Testimonial slider */
.testimonial-slide {
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #1B5E4B, #C5A46D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F5F0E1;
}

::-webkit-scrollbar-thumb {
  background: #1B5E4B;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #154a3b;
}

/* Navigation dot indicators */
.nav-dot {
  transition: all 0.3s ease;
}

.nav-dot.active {
  background-color: #1B5E4B;
  width: 24px;
  border-radius: 9999px;
}

/* Counter animation gradient */
.counter-value {
  background: linear-gradient(135deg, #1B5E4B 0%, #C5A46D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .cta-btn {
    width: 100%;
    text-align: center;
  }
}
