/* =========================================
   FAQ PAGE STYLES
   ========================================= */

.faq-section {
  padding: 4vw 6vw;
  background-color: var(--bg-gray);
  min-height: 50vh;
}

.faq-container {
  width: 100%;
  margin: 0 auto;
}

.faq-intro {
  text-align: center;
  margin-bottom: 4vw;
}

.faq-intro h2 {
  color: var(--brand-blue);
  font-size: 2.2vw;
  margin-bottom: 1.5vw;
}

.faq-intro .highlight {
  color: var(--brand-green);
}

.faq-intro p {
  color: var(--text-gray);
  font-size: 1.1vw;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5vw;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 0.5vw;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 0.5vw 1vw rgba(0, 58, 93, 0.05);
  border-color: #cbd5e1;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5vw 2vw;
  cursor: pointer;
  background-color: #f8fafc;
  font-weight: 700;
  font-size: 1.2vw;
  color: var(--brand-blue);
  margin: 0;
  transition: background-color 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background-color: #f1f5f9;
}

.faq-question .icon {
  position: relative;
  width: 1.5vw;
  height: 1.5vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-question .icon::before,
.faq-question .icon::after {
  content: '';
  position: absolute;
  background-color: var(--brand-blue);
  transition: transform 0.3s ease;
}

.faq-question .icon::before {
  width: 1.2vw;
  height: 0.2vw;
}

.faq-question .icon::after {
  width: 0.2vw;
  height: 1.2vw;
}

.faq-toggle:checked ~ .faq-question .icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-toggle:checked ~ .faq-question {
  background-color: var(--brand-blue);
  color: #ffffff;
}

.faq-toggle:checked ~ .faq-question .icon::before {
  background-color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 2vw;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 2000px;
  padding: 2vw;
  border-top: 1px solid #e2e8f0;
}

.faq-answer p {
  color: #475569;
  font-size: 1.05vw;
  line-height: 1.8;
  margin-top: 0;
  margin-bottom: 1.2vw;
}

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

.faq-answer h4 {
  color: var(--brand-blue);
  font-size: 1.1vw;
  margin: 1.5vw 0 0.8vw 0;
}

.faq-answer ul {
  padding-left: 1.5vw;
  margin-top: 0.5vw;
  margin-bottom: 1.5vw;
}

.faq-answer li {
  color: #475569;
  font-size: 1.05vw;
  line-height: 1.6;
  margin-bottom: 0.5vw;
}

.did-you-know {
  background: #f0fdf4;
  border-left: 4px solid var(--brand-green);
  padding: 1.2vw;
  border-radius: 0 0.5vw 0.5vw 0;
  margin: 1.5vw 0;
  color: #166534;
  font-size: 1.05vw;
  line-height: 1.6;
}

.classification-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5vw;
  margin-top: 2vw;
}

.class-card {
  background: #f8fafc;
  padding: 1.5vw;
  border-radius: 0.5vw;
  border: 1px solid #e2e8f0;
}

.class-card h4 {
  margin-top: 0;
  color: var(--brand-green);
}

.women-scientists {
  list-style: none;
  padding-left: 0;
}

.women-scientists li {
  background: #f8fafc;
  padding: 1.2vw;
  border-radius: 0.5vw;
  margin-bottom: 1vw;
  border-left: 3px solid var(--brand-blue);
}

/* =========================================
   RESPONSIVE DESIGN (FAQ)
   ========================================= */

@media (max-width: 1020px) {
  .faq-section {
    padding: 8vw 6vw;
  }
  .faq-intro h2 {
    font-size: 3.5vw;
  }
  
  .faq-intro p {
    font-size: 1.8vw;
  }
  
  .faq-question {
    font-size: 2.2vw;
    padding: 3vw;
  }
  
  .faq-question .icon {
    width: 2.5vw;
    height: 2.5vw;
  }
  
  .faq-question .icon::before {
    width: 2vw;
    height: 0.3vw;
  }
  
  .faq-question .icon::after {
    width: 0.3vw;
    height: 2vw;
  }
  
  .faq-answer p, .faq-answer li {
    font-size: 1.8vw;
  }
  
  .faq-answer h4 {
    font-size: 2vw;
  }
  
  .did-you-know {
    font-size: 1.8vw;
    padding: 2vw;
  }
  
  .classification-grid {
    grid-template-columns: 1fr;
    gap: 3vw;
  }
}

@media (max-width: 720px) {
  .faq-section {
    padding: 10vw 6vw;
  }
  .faq-intro h2 {
    font-size: 6vw;
  }
  
  .faq-intro p {
    font-size: 3.5vw;
  }
  
  .faq-question {
    font-size: 3.5vw;
    padding: 4vw;
  }
  
  .faq-question .icon {
    width: 4vw;
    height: 4vw;
  }
  
  .faq-question .icon::before {
    width: 3vw;
    height: 0.5vw;
  }
  
  .faq-question .icon::after {
    width: 0.5vw;
    height: 3vw;
  }
  
  .faq-answer p, .faq-answer li {
    font-size: 3.5vw;
  }
  
  .faq-answer h4 {
    font-size: 4vw;
  }
  
  .did-you-know {
    font-size: 3.5vw;
    padding: 3vw;
  }
  
  .class-card {
    padding: 4vw;
  }
}
