/* =============================================
   ABOUT PAGE STYLES
   ============================================= */

/* Section Styling */
.about-section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .about-section {
    padding: 5rem 0;
  }
}

@media (min-width: 1024px) {
  .about-section {
    padding: 6rem 0;
  }
}

/* Alternating Background Colors */
.about-history {
  background-color: var(--white);
}

.about-board {
  background-color: var(--gray-100);
}

.about-financials {
  background-color: var(--white);
}

/* Section Title */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

/* =============================================
   OUR HISTORY SECTION
   ============================================= */
.history-content h3, .basic-subpage-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.history-content h3:first-child, .basic-subpage-content h3:first-child {
  margin-top: 0;
}

@media (min-width: 768px) {
  .history-content h3, .basic-subpage-content h3 {
    font-size: 1.75rem;
  }
}

.history-content p, .basic-subpage-content p{
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .history-content p, .basic-subpage-content p {
    font-size: 1.125rem;
  }
}

/* =============================================
   BOARD OF DIRECTORS SECTION
   ============================================= */
.board-members {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.board-member {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--gray-200);
}

.board-member:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .board-member {
    flex-direction: row;
    gap: 2rem;
  }
}

/* Board Member Image */
.board-member-image {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .board-member-image {
    width: 200px;
    height: 200px;
    margin: 0;
  }
}

.board-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

/* Board Member Info */
.board-member-info {
  flex: 1;
}

.board-member-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.board-member-title {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.board-member-info p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.board-member-info p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .board-member-info h3 {
    font-size: 1.75rem;
  }
  
  .board-member-info p {
    font-size: 1.0625rem;
  }
}

/* =============================================
   FINANCIALS SECTION
   ============================================= */
.financials-content > p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 700px;
}

.financials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .financials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .financials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.financial-item {
  background-color: var(--background);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.financial-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}

.financial-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.financial-links li {
  margin-bottom: 0.75rem;
}

.financial-links li:last-child {
  margin-bottom: 0;
}

.financial-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--secondary);
  border-bottom: 1px solid transparent;
  transition: var(--transition-fast);
}

.financial-links a:hover {
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
}

.financial-links a::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23337dc7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.about-faq {
  background-color: white;
}

.faq-accordion {
  /*max-width: 800px;*/
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border:1px solid var(--gray-200);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: var(--transition-normal);
  background-color: var(--gray-100);
}

.faq-question:hover {
  background-color: var(--gray-200);
}

.faq-question span {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.4;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--secondary);
  transition: transform var(--transition-normal);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.faq-answer p:first-child {
  padding-top: 1rem;
}

.faq-answer p:last-child {
  padding-bottom: 1.5rem;
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.faq-answer a:hover {
  color: var(--secondary);
  text-decoration: underline;
}
