/* FAQ Page Specific Styles */

/* Keep ASPIRE Creative Arts Program on same line until very small screens */
.aspire-program-name {
  white-space: nowrap;
}

/* Allow line breaks only on very small screens */
@media screen and (max-width: 400px) {
  .aspire-program-name {
    white-space: normal;
  }
}

/* Page Header Styles */
.page-header {
  background-image: url("images/04 Classes Page - Selected Photos/Classes Page - General Info Section - Selected Photos/valentines-day-party-laugh.jpg");
  background-size: cover;
  background-position: center 20%;
  background-attachment: fixed;
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  margin-top: 70px;
  height: 100%;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* FAQ Section Styles */
.faq-section {
  background-color: #f8fafc;
  padding: 80px 0;
  border-top: 1px solid #e5e7eb;
}

.faq-content {
  max-width: 900px;
  margin: 0 auto;
}

.faq-intro {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 20px;
}

.faq-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto;
}

.faq-intro a {
  color: #071b72;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.faq-intro a:hover {
  color: #f59e0b;
  text-decoration: underline;
}

/* FAQ List Styles */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.faq-item.active {
  box-shadow: 0 8px 25px rgba(7, 27, 114, 0.1);
  border-color: #071b72;
}

/* FAQ Question Button */
.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #071b72;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  line-height: 1.4;
}

.faq-question:hover {
  background-color: #f8fafc;
  color: #0a1f7a;
}

.faq-question i {
  font-size: 1rem;
  color: #6b7280;
  transition: transform 0.3s ease, color 0.3s ease;
  margin-left: 1rem;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: #071b72;
}

.faq-item.active .faq-question {
  color: #071b72;
  background-color: #f8fafc;
}

/* FAQ Answer Container */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 800px;
  transition: max-height 0.5s ease-in;
}

.faq-answer-content {
  padding: 1.5rem 2rem;
  border-top: 1px solid #e5e7eb;
  background-color: #fafbfc;
}

.faq-answer-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 1rem;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content a {
  color: #071b72;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.faq-answer-content a:hover {
  color: #f59e0b;
  text-decoration: underline;
}

/* Program Hours Styling */
.program-hours {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hours-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #071b72;
  margin-bottom: 0.5rem;
}

.hours-section p {
  margin-bottom: 0;
}

/* Eligibility Requirements Styling */
.eligibility-requirements {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.program-eligibility h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #071b72;
  margin-bottom: 0.5rem;
}

.program-eligibility ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.program-eligibility ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
}

.program-eligibility ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Enrollment Process Styling */
.enrollment-process {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.enrollment-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #071b72;
  margin-bottom: 1rem;
}

.enrollment-section ol {
  padding-left: 1.2rem;
  margin: 1rem 0;
}

.enrollment-section ol li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
}

.enrollment-section ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.enrollment-section ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
}

.enrollment-section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #071b72;
  font-weight: bold;
  font-size: 1.2rem;
}

.enrollment-cta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.enrollment-cta p {
  font-weight: 600;
  color: #071b72;
  margin-bottom: 0;
}

/* FAQ Footer */
.faq-footer {
  margin-top: 4rem;
  text-align: center;
}

.faq-footer-content {
  background: white;
  padding: 3rem 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  max-width: 600px;
  margin: 0 auto;
}

.faq-footer-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #071b72;
  margin-bottom: 1rem;
}

.faq-footer-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 2rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #071b72;
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-transform: none;
  letter-spacing: 0;
}

.contact-btn:hover {
  background: #0a1f7a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: white;
}

.contact-btn i {
  font-size: 14px;
}

/* Responsive Design */
@media screen and (max-width: 1100px) {
  .page-header {
    padding: 100px 0 60px;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .page-subtitle {
    font-size: 1.1rem;
  }

  .faq-section {
    padding: 60px 0;
  }

  .faq-content {
    padding: 0 20px;
  }

  .faq-intro {
    margin-bottom: 2rem;
  }

  .faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
  }

  .faq-answer-content {
    padding: 1.2rem 1.5rem;
  }

  .program-hours,
  .eligibility-requirements,
  .enrollment-process {
    gap: 1.5rem;
  }

  .faq-footer {
    margin-top: 3rem;
  }

  .faq-footer-content {
    padding: 2rem 1.5rem;
  }

  .faq-footer-content h3 {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 480px) {
  .page-header {
    padding: 90px 0 50px;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .faq-question {
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
  }

  .faq-answer-content {
    padding: 0 1.2rem 1rem;
  }

  .faq-footer-content {
    padding: 1.5rem 1rem;
  }

  .faq-footer-content h3 {
    font-size: 1.4rem;
  }

  .contact-btn {
    padding: 12px 20px;
    font-size: 15px;
  }
}

/* Focus States for Accessibility */
.contact-btn:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Animation Classes */
[data-animation] {
  opacity: 0;
  transition: all 0.8s ease;
}

[data-animation].animate {
  opacity: 1;
}

[data-animation="fade-in-up"] {
  transform: translateY(50px);
}

[data-animation="fade-in-up"].animate {
  transform: translateY(0);
}
