/* ==== FAQ Section ==== */
.faq-icon-box {
   font-family: monospace, "Alexandria", sans-serif;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  background-color: #BCFB6C;
  color: #000;
  font-weight: bold;
  font-size: 0.9rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
  line-height: 1;
  letter-spacing: -0.5px;
}

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

.faq-item.fade-out {
  animation: fadeOutDown 0.4s ease forwards;
}
@media (max-width: 576px) {
  .faq-icon-box {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
    line-height: 1;
  }
}

@media (max-width: 576px) {
  .faq-icon-box,
  .faq-toggle-symbol {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 1rem;
    border-radius: 10px;
  }
}



/* تناسق في الموبايل */

#showMoreBtn {
  padding: 12px 30px;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  border-radius: 12px;
  color: #000;
  background: linear-gradient(135deg, #BCFB6C, #d8ffab);
  box-shadow: 0 4px 15px rgba(188, 251, 108, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

#showMoreBtn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent, rgba(255, 255, 255, 0.2));
  transform: rotate(45deg);
  transition: all 0.7s ease;
  z-index: 0;
}

#showMoreBtn:hover::before {
  top: 100%;
  left: 100%;
}

#showMoreBtn span {
  position: relative;
  z-index: 2;
  display: inline-block;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.faq-question strong {
  color: #ccc;
}

.faq-answer p {
  color: #ccc; 
}


.faq-toggle-symbol {
 background-color: transparent;
  color: #BCFB6C;
  width: 40px;
  height: 40px;
  font-weight: bold;
  font-size: 1.3rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;

}

.faq-toggle-symbol.rotate {
  transform: rotate(180deg);
  background-color: transparent !important;
  color: #BCFB6C !important;
  box-shadow: none;
}
.faq-section .faq-item {
  background-color: #27272F;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color var(--transition-speed) ease;
  position: relative;
}


.faq-question {
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1rem;
}

.faq-answer {
  margin-top: 10px;
  display: none;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--primary-color);
  font-weight: 500;
  line-height: 1.7;
}

.faq-answer.show {
  display: block;
  animation: fadeIn var(--transition-speed) ease-in;
}

.faq-answer.hide-anim {
  max-height: 0;
  opacity: 0;
  padding: 0 1rem;
}

.faq-number {
  background-color: var(--primary-color);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 12px;
  margin-inline-end: 0.75rem;
  min-width: 40px;
  text-align: center;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background-color: var(--primary-color);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition-speed);
}

.faq-icon.rotate {
  transform: rotate(180deg);
  background-color: #fff;
  color: var(--bg-color);
}

/* ==== FAQ Animations ==== */
.faq-item {
  animation: fadeIn 0.4s ease-in-out;
}

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

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