/* ============================================
   FAQ PAGE COMPLETE CSS
   ============================================ */

/* FAQ Page Header */
.faq-header {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  padding: 5rem 1rem 3rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.faq-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/pattern.png') repeat;
  opacity: 0.1;
  pointer-events: none;
}

.faq-header-grid {
  position: relative;
  z-index: 1;
}

/* FAQ Width size */
.faq-header-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ Badge */
.faq-btn-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* FAQ Header Icon */
.faq-header-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.faq-icon-circle {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
}

/* FAQ Header Text */
.faq-header-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.faq-header-content h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.faq-header-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* FAQ Header Stats */
.faq-header-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.faq-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.faq-stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-stat-card i {
  font-size: 2.5rem;
  opacity: 0.9;
  flex-shrink: 0;
}

.faq-stat-card div {
  text-align: left;
}

.faq-stat-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  margin: 0;
}

.faq-stat-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

/* ============================================
   FAQ CONTENT SECTION
   ============================================ */

.faq__container {
  padding: 5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* FAQ Categories */
.faq-category {
  margin-bottom: 4rem;
}

.faq-category:last-of-type {
  margin-bottom: 2rem;
}

.faq-category-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #ff6b35;
}

.faq-category-title i {
  color: #ff6b35;
  font-size: 2rem;
  flex-shrink: 0;
}

/* FAQ Grid */
.faq__grid {
  display: grid;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ Item */
.faq-item {
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #ff6b35;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  border-color: #ff6b35;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.1);
}

.faq-item:hover::before {
  transform: scaleY(1);
}

.faq-item.active {
  border-color: #ff6b35;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
}

.faq-item.active::before {
  transform: scaleY(1);
}

/* FAQ Question */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #fafafa;
}

.faq-item.active .faq-question {
  background: #fff5f2;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  padding-right: 1rem;
  flex: 1;
  line-height: 1.5;
}

/* FAQ Icon */
.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff6b35;
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: #f7931e;
}

.faq-icon i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  color: #666;
  line-height: 1.8;
  font-size: 1rem;
}

/* ============================================
   FAQ CTA SECTION
   ============================================ */

.faq__cta {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border-radius: 16px;
  color: white;
  margin-top: 3rem;
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
}

.faq__cta h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.faq__cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.faq__cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ Buttons */
.faq-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: white;
  color: #ff6b35;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid white;
  font-size: 1rem;
}

.faq-btn:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.faq-btn i {
  font-size: 1.2rem;
}

.faq-btn.whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}

.faq-btn.whatsapp:hover {
  background: white;
  color: #25D366;
  border-color: white;
}

.faq-btn.contact {
  background: #1a1a1a;
  color: white;
  border-color: #1a1a1a;
}

.faq-btn.contact:hover {
  background: white;
  color: #1a1a1a;
  border-color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
  .faq-header {
    padding: 4rem 1rem 2rem;
  }

  .faq-header-content h1 {
    font-size: 2rem;
  }

  .faq-header-content h2 {
    font-size: 1.2rem;
  }

  .faq-header-content p {
    font-size: 1rem;
  }

  .faq-icon-circle {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }

  .faq-header-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .faq-stat-card {
    padding: 1rem;
  }

  .faq__container {
    padding: 3rem 1rem;
  }

  .faq-category-title {
    font-size: 1.4rem;
  }

  .faq-category-title i {
    font-size: 1.6rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-answer p {
    font-size: 0.95rem;
  }

  .faq__cta {
    padding: 2rem 1rem;
  }

  .faq__cta h3 {
    font-size: 1.5rem;
  }

  .faq__cta p {
    font-size: 1rem;
  }

  .faq__cta-buttons {
    flex-direction: column;
  }

  .faq-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .faq-header {
    padding: 3rem 1rem 2rem;
  }

  .faq-header-content h1 {
    font-size: 1.75rem;
  }

  .faq-header-content h2 {
    font-size: 1.1rem;
  }

  .faq-header-content p {
    font-size: 0.95rem;
  }

  .faq-icon-circle {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .faq-btn-badge {
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
  }

  .faq__container {
    padding: 2rem 1rem;
  }

  .faq-category {
    margin-bottom: 3rem;
  }

  .faq-category-title {
    font-size: 1.2rem;
    padding-bottom: 0.75rem;
  }

  .faq-category-title i {
    font-size: 1.4rem;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-question h3 {
    font-size: 0.95rem;
    padding-right: 0.5rem;
  }

  .faq-icon {
    width: 28px;
    height: 28px;
  }

  .faq-icon i {
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1rem 1rem 1rem;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }

  .faq__cta {
    padding: 2rem 1rem;
    border-radius: 12px;
  }

  .faq__cta h3 {
    font-size: 1.3rem;
  }

  .faq__cta p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .faq-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* ============================================
   SMOOTH SCROLL
   ============================================ */

html {
  scroll-behavior: smooth;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .faq-header,
  .faq__cta,
  .faq-icon,
  #navbar-placeholder,
  #footer-placeholder {
    display: none !important;
  }

  .faq-item {
    page-break-inside: avoid;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
  }

  .faq-answer {
    max-height: none !important;
    padding: 1rem !important;
  }

  .faq-question h3 {
    color: #000;
  }

  .faq-category-title {
    border-bottom: 2px solid #000;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus states for keyboard navigation */
.faq-question:focus {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

.faq-btn:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .faq-item {
    border: 3px solid #000;
  }

  .faq-item.active {
    border-color: #ff6b35;
  }

  .faq-question h3 {
    color: #000;
  }
}

/* ============================================
   LOADING STATES (Optional)
   ============================================ */

.faq-item.loading {
  opacity: 0.5;
  pointer-events: none;
}

.faq-item.loading .faq-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* ============================================
   END OF FAQ CSS
   ============================================ */