/* Custom styles for ChatClik */
.sticky-nav { position: sticky; top: 0; z-index: 50; background: white; }
.faq-answer { display: none; }
.faq.open .faq-answer { display: block; }
.primary-bg { 
  background: linear-gradient(to right, #1ED699, #2853A0) !important;
  color: white !important;
}
.primary-text { color: #2853A0  !important; }
.primary-border { border-color: #1ED699 !important; }

.btn-gradient {
  background: linear-gradient(to right, #1ED699, #2853A0) !important;
  color: white !important;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition: background-color 0.3s;
}

.maxwidth-1020 {
  max-width: 1020px;
}       
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  animation: floatMoving 3s infinite alternate;
}

.whatsapp-float img {
  width: 100%;
  height: auto;
}

/* Hero Slider */
#hero-slider {
  position: relative;
  width: 100%;
  max-width: 28rem; /* 448px */
  height: 18rem; /* 288px for mobile */
  border-radius: 0.75rem; /* 12px */
  overflow: hidden;
  margin: 0 auto;
}

@media (min-width: 768px) {
  #hero-slider {
    width: 40vw;
    height: 24rem; /* 384px for web */
  }
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider-image.active {
  opacity: 1;
}

/* Response Modal Styles */
.response-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.response-modal-overlay.show {
  display: flex;
  opacity: 1;
}

.response-modal-box {
  background: white;
  padding: 2.5rem 2rem 2rem;
  border-radius: 1.25rem;
  text-align: center;
  max-width: 90%;
  width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  animation: responseModalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes responseModalIn {
  from { opacity: 0; transform: scale(0.8) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.response-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #9ca3af;
  font-weight: bold;
  line-height: 1;
  transition: color 0.2s;
}

.response-modal-close:hover {
  color: #374151;
}

.response-modal-icon {
  margin: 0 auto 1rem;
  width: 64px;
  height: 64px;
}

.response-checkmark,
.response-crossmark {
  width: 64px;
  height: 64px;
}

.response-checkmark circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: responseStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.response-checkmark path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: responseStroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

.response-crossmark circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: responseStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.response-crossmark path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: responseStroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

@keyframes responseStroke {
  to { stroke-dashoffset: 0; }
}

.response-modal-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.response-modal-text {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.response-modal-btn {
  display: inline-block;
  padding: 0.625rem 2.5rem;
  border-radius: 2rem;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  color: white;
  transition: transform 0.15s, box-shadow 0.15s;
}

.response-modal-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.response-btn-success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.response-btn-error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.response-success {
  border-top: 4px solid #22c55e;
}

.response-error {
  border-top: 4px solid #ef4444;
}

/* Glass Effect Modal Styles */
#contact-modal {
  transition: opacity 0.3s ease-in-out;
}

#contact-modal.hidden {
  opacity: 0;
  pointer-events: none;
}

#contact-modal:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

/* Glass effect for form inputs */
#contact-modal input,
#contact-modal textarea {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Smooth animations */
#contact-modal .bg-white\/90 {
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
  #contact-modal .max-w-4xl {
    max-width: 95%;
    margin: 1rem;
  }
  
  #contact-modal .grid.md\\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  #contact-modal .p-6 {
    padding: 1rem;
  }
}
