/* Collapsible Section Styles */

.collapsible-section {
  max-width: 100%;
  margin: 0 0 3px 0;
  padding: 0;
}

.section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 40px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
}

.section-toggle:hover {
  background: #b6b6b6;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.section-toggle h2 {
  margin: 0;
  color: #000000;
  font-size: 1.7rem;
  font-weight: 500;
  text-align: center;
}

.section-arrow {
  font-size: 24px;
  color: #000000;
  transition: transform 0.3s ease;
  margin-left: 20px;
  position: absolute;
  right: 40px;
}

.section-toggle[aria-expanded="true"] .section-arrow {
  transform: rotate(180deg);
}

.section-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: #f2f2f2;
}

.section-content.active {
  max-height: 3000px;
  padding: 40px 0;
}

/* Accordion Styles for How It Works Section */

.accordion {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.accordion-item {
  background: #fff;
  margin-bottom: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
  position: relative;
}

.accordion-header:hover {
  background: #f8f8f8;
}

.accordion-header .step-number {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background-color: #000;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accordion-header .step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #000;
  flex: 1;
}

/* FAQ specific styling */
.accordion-header .faq-question {
  font-size: 1.15rem;
  font-weight: 500;
  color: #000;
  flex: 1;
  text-align: left;
}

.accordion-icon {
  font-size: 24px;
  color: #666;
  transition: transform 0.3s ease;
  font-weight: 300;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  background: #f9f9f9;
}

.accordion-content.active {
  max-height: 500px;
  padding: 20px 24px 24px;
}

.step-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 12px;
}

.step-tip {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  padding-top: 8px;
  border-top: 1px solid #e0e0e0;
  margin-top: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .section-toggle {
    padding: 18px 20px;
  }

  .section-toggle h2 {
    font-size: 1.5rem;
  }

  .section-arrow {
    font-size: 20px;
  }

  .section-content.active {
    padding: 20px 0;
  }

  .accordion {
    padding: 0 15px;
  }

  .accordion-header {
    padding: 16px 18px;
    gap: 15px;
  }

  .accordion-header .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .accordion-header .step-title {
    font-size: 1.1rem;
  }

  .accordion-header .faq-question {
    font-size: 1rem;
  }

  .accordion-content.active {
    padding: 16px 18px 20px;
  }

  .step-description {
    font-size: 0.95rem;
  }
}
