/* Page-specific styles for About and FAQ pages */

/* Override main CSS overflow settings for these pages */
body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: auto !important; /* Enable scrolling - override main CSS */
  background: none !important; /* Let page-container handle background */
}

/* Ensure all links work properly on these pages */
a {
  pointer-events: auto !important;
  text-decoration: none;
}

.page-container {
  min-height: 100vh;
  background: linear-gradient(to bottom, var(--brand-blue) 0%, #b0bdd0 100%);
  padding: 0;
  margin: 0;
  overflow: auto !important; /* Enable scrolling - override main CSS */
  display: flex;
  flex-direction: column;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-bottom: 1px solid #e0e6f0;
  flex-shrink: 0; /* Prevent header from shrinking */
  position: relative;
  z-index: 100;
}

.back-to-home {
  cursor: pointer !important;
  transition: background-color 0.3s ease, transform 0.2s ease;
  pointer-events: auto !important;
  z-index: 1000;
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  text-decoration: none !important;
}

.back-to-home:hover {
  background: rgba(136, 136, 136, 0.1) !important;
  transform: scale(1.05);
}

.back-to-home:hover svg path {
  stroke: var(--brand-blue) !important;
}

.back-to-home svg {
  pointer-events: none; /* Ensure SVG doesn't block clicks */
}

.page-logo {
  height: 32px;
  width: auto;
  filter: none; /* Remove the white filter since background is now white */
}

.page-content {
  padding: 0;
  margin: 0;
  flex: 1;
  overflow: auto !important; /* Enable scrolling for content - override main CSS */
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 60px 20px; /* Add bottom padding for better scroll experience */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  min-height: calc(100vh - 90px);
  box-shadow: 0 0 50px rgba(19, 57, 106, 0.1);
}

.page-title {
  font-family: 'Bowlby One', sans-serif;
  font-size: 2.5rem;
  color: var(--brand-blue);
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  font-family: 'Bowlby One', sans-serif;
  font-size: 1.5rem;
  color: var(--brand-blue);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.content-section p {
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 16px;
}

.how-it-works-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.how-it-works-list li {
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 16px;
  padding: 16px;
  background: rgba(19, 57, 106, 0.05);
  border-left: 4px solid var(--brand-blue);
  border-radius: 4px;
}

.how-it-works-list li strong {
  color: var(--brand-blue);
  font-weight: bold;
}

/* FAQ-specific styles - updated to match How It Works styling */
.faq-list {
  margin-bottom: 40px;
}

.faq-item-simple {
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 16px;
  padding: 16px;
  background: rgba(19, 57, 106, 0.05);
  border-left: 4px solid var(--brand-blue);
  border-radius: 4px;
}

.faq-item-simple p {
  margin: 0 0 8px 0;
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.faq-item-simple p:last-child {
  margin-bottom: 0;
}

.faq-item-simple strong {
  color: var(--brand-blue);
  font-weight: bold;
}

/* Remove old FAQ styles */
.faq-item {
  display: none;
}

.faq-question {
  display: none;
}

.faq-answer {
  display: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .content-wrapper {
    padding: 30px 15px;
    margin: 0;
    border-radius: 0;
  }
  
  .page-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .content-section h2 {
    font-size: 1.3rem;
  }
  
  .content-section p,
  .how-it-works-list li {
    font-size: 1rem;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: 16px;
  }
  
  .faq-answer {
    padding: 16px;
  }
  
  .page-header {
    padding: 15px 0;
  }
  
  .page-logo {
    height: 32px;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.8rem;
  }
  
  .content-section h2 {
    font-size: 1.2rem;
  }
  
  .faq-question {
    font-size: 0.95rem;
  }
} 