/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1);
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-about__card {
  background: #ffffff;
  color: #333333;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 30px;
}

.page-about__main-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-about__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-about__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* General Intro Section */
.page-about__general-intro-section {
  padding: 80px 0;
  padding-top: 120px; /* Adjust for fixed header */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
}

.page-about__intro-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__intro-image {
  flex: 1;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  max-width: 50%;
  height: auto;
  display: block;
}

.page-about__intro-text {
  flex: 1;
  font-size: 17px;
}

.page-about__intro-text p {
  margin-bottom: 15px;
}

.page-about__intro-text strong {
  color: var(--highlight-color, #ffeb3b);
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
  background: #ff8c42;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Mission Values Section */
.page-about__mission-values-section {
  padding: 60px 0;
}

.page-about__mission-values-section .page-about__section-title {
  color: #333333;
}

.page-about__mission-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-about__text-block h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-about__text-block p {
  font-size: 16px;
  margin-bottom: 10px;
}

/* Review Process Section */
.page-about__review-process-section {
  padding: 60px 0;
  background: var(--dark-bg-2, #1a1a1a);
  color: #ffffff;
}

.page-about__review-process-section .page-about__section-title {
  color: #ffffff;
}

.page-about__review-process-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__criteria-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-about__criteria-list h3 {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 28px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-about__criteria-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__criteria-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-about__criteria-item h4 {
  font-size: 20px;
  color: var(--highlight-color, #ffeb3b);
  margin-bottom: 10px;
}

.page-about__criteria-item p {
  font-size: 15px;
  color: #f0f0f0;
}

/* Expert Team Section */
.page-about__expert-team-section {
  padding: 60px 0;
}

.page-about__expert-team-section .page-about__section-title {
  color: #333333;
}

.page-about__team-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__team-image {
  flex: 1;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 50%;
  height: auto;
  display: block;
}

.page-about__team-text {
  flex: 1;
  font-size: 17px;
}

.page-about__team-text p {
  margin-bottom: 15px;
}

/* Contact Section */
.page-about__contact-section {
  padding: 60px 0;
  background: var(--dark-bg-3, #222222);
  color: #ffffff;
  text-align: center;
}

.page-about__contact-section .page-about__section-title {
  color: #ffffff;
}

.page-about__contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-about__contact-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-about__contact-text p {
  font-size: 17px;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
}

.page-about__faq-section .page-about__section-title {
  color: #333333;
}

.page-about__faq-list {
  margin-top: 30px;
}

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-about__faq-question:active {
  background: #eeeeee;
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  color: #333;
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__main-title {
    font-size: 32px;
  }
  .page-about__section-title {
    font-size: 28px;
  }
  .page-about__intro-content,
  .page-about__content-grid,
  .page-about__team-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__intro-image,
  .page-about__team-image {
    max-width: 80%;
    margin: 0 auto;
  }
  .page-about__intro-image, .page-about__team-image { 
    max-width: 100% !important; 
    width: 100% !important; 
    height: auto !important;
  }
  .page-about__intro-text, .page-about__team-text {
    flex: none;
    text-align: center;
  }
  .page-about__cta-button {
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }
  .page-about__criteria-list {
    grid-template-columns: 1fr;
  }
  .page-about__card {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__general-intro-section {
    padding-top: 100px !important; /* Mobile adjust for fixed header */
    padding-bottom: 40px;
  }
  .page-about__main-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-about__section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
  .page-about__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__intro-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__review-process-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__team-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__contact-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__intro-text,
  .page-about__team-text,
  .page-about__contact-text {
    font-size: 15px;
  }
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-about__card {
    padding: 25px 20px;
  }
  .page-about__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-about__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-about__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}