/* Font Family */
.faq-section,
.faq-section *,
.faq-accordion,
.accordion-button,
.accordion-body {
  font-family: 'Tajawal', Arial, Helvetica, sans-serif !important;
}

.faq-section {
  padding: 60px 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-header h1 {
  color: var(--navy-blue);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.faq-header p {
  color: var(--primary-text);
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Ultra Premium Accordion Customization */
.faq-accordion {
  max-width: 950px;
  margin: 0 auto;
}

.faq-accordion .accordion-item {
  border: 2px solid rgba(232, 196, 106, 0.15);
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: 
    0 10px 30px rgba(10, 15, 60, 0.08),
    0 4px 12px rgba(10, 15, 60, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
}

/* Animated Border */
.faq-accordion .accordion-item::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    var(--gold-start), 
    var(--gold-light), 
    var(--navy-blue), 
    var(--gold-start));
  background-size: 300% 300%;
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: borderGlow 4s ease infinite;
}

.faq-accordion .accordion-item:hover::before {
  opacity: 1;
}

.faq-accordion .accordion-item:hover {
  box-shadow: 
    0 20px 50px rgba(200, 160, 65, 0.2),
    0 10px 25px rgba(10, 15, 60, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(232, 196, 106, 0.3);
}

.faq-accordion .accordion-button {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  color: var(--navy-blue);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 1.5rem 2rem;
  border: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.faq-accordion .accordion-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232, 196, 106, 0.1), transparent);
  transition: left 0.6s ease;
}

.faq-accordion .accordion-button:hover::before {
  left: 100%;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--navy-blue) 0%, #2a3a7c 100%);
  color: white !important;
  box-shadow: 
    0 8px 25px rgba(26, 37, 112, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-start), var(--gold-light));
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.faq-accordion .accordion-button:not(.collapsed) span {
  color: white !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border: none;
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230A0F3C'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform var(--transition-normal) var(--easing);
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.faq-accordion .accordion-body {
  padding: 2rem 2.5rem;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.9;
  background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
  font-weight: 500;
  border-top: 2px solid rgba(232, 196, 106, 0.1);
  position: relative;
}

.faq-accordion .accordion-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-start), transparent);
  border-radius: 2px;
}

/* Ultra Premium Gold accent on hover */
.faq-accordion .accordion-button:hover:not(.collapsed) {
  background: linear-gradient(135deg, var(--navy-blue) 0%, #3a4a8c 50%, var(--gold-start) 100%);
  box-shadow: 
    0 12px 35px rgba(200, 160, 65, 0.3),
    0 6px 15px rgba(26, 37, 112, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateX(-3px);
}

[dir="ltr"] .faq-accordion .accordion-button:hover:not(.collapsed) {
  transform: translateX(3px);
}

/* Smooth collapse animation */
.faq-accordion .accordion-collapse {
  transition: height var(--transition-slow) var(--easing);
}

/* Phone Number Direction */
.phone-number {
  direction: ltr !important;
  display: inline-block;
  font-weight: 600;
  color: var(--gold-start);
}

/* Email Address Styling */
.email-address {
  direction: ltr !important;
  display: inline-block;
  font-weight: 600;
  color: var(--gold-start);
}

/* Package Link Styling */
.package-link {
  color: var(--gold-start) !important;
  font-weight: 600;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.package-link:hover {
  color: var(--gold-end) !important;
  text-decoration: none;
}

/* RTL Support */
[dir="rtl"] .faq-accordion .accordion-button {
  text-align: right;
}

[dir="rtl"] .faq-accordion .accordion-body {
  text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-section {
    padding: 40px 0;
  }

  .faq-header h1 {
    font-size: 2rem;
  }

  .faq-header p {
    font-size: 1rem;
  }

  .faq-accordion .accordion-button {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .faq-accordion .accordion-body {
    padding: 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .faq-header h1 {
    font-size: 1.75rem;
  }

  .faq-accordion .accordion-button {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

  .faq-accordion .accordion-body {
    padding: 15px;
  }
}

/* Ensure sections never animate - only content inside */
section {
  opacity: 1 !important;
  transform: none !important;
}

section.animate-on-scroll,
section.fade-in-up {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
