/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__text-block p,
.page-about__text-block li {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #333333;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a7bb0);
  color: #ffffff;
}

.page-about__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-about__intro-text {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #ffffff;
}

/* CTA Buttons */
.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-about__btn-primary:hover {
  background: #d46b00;
  border-color: #d46b00;
}

.page-about__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background: #e0f4ff;
  color: #1a7bb0;
  border-color: #1a7bb0;
}

/* Generic Section Styling */
.page-about__light-bg {
  background-color: #ffffff;
  padding: 60px 0;
  color: #333333;
}

.page-about__dark-bg {
  background-color: #26A9E0;
  padding: 60px 0;
  color: #ffffff;
}

.page-about__dark-bg .page-about__section-title {
  color: #ffffff;
}

.page-about__dark-bg .page-about__text-block p,
.page-about__dark-bg .page-about__text-block li {
  color: #ffffff;
}

/* Content Grid for sections with image and text */
.page-about__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-about__content-grid:nth-child(even) {
  flex-direction: row-reverse; /* Alternate image/text order */
}

.page-about__content-text {
  flex: 1;
  min-width: 300px;
}

.page-about__content-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

/* List Styles */
.page-about__value-list,
.page-about__advantage-list,
.page-about__responsibility-list,
.page-about__partner-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-top: 20px;
}

.page-about__value-list li,
.page-about__advantage-list li,
.page-about__responsibility-list li,
.page-about__partner-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* Partner Logos */
.page-about__partner-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.page-about__partner-logo {
  max-width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1); /* Adjust for dark background if needed, but not for color change */
}

.page-about__light-bg .page-about__partner-logo {
  filter: none; /* Keep original color on light background */
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #26A9E0;
  background-color: #eaf7ff;
  border-bottom: 1px solid #d0eaff;
  list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  padding: 15px 25px;
  font-size: 1.1em;
  color: #555555;
  background-color: #ffffff;
}

/* Contact CTA Section */
.page-about__contact-cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #1a7bb0, #26A9E0);
  color: #ffffff;
}

.page-about__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-about__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }

  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__content-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__content-grid:nth-child(even) {
    flex-direction: column; /* Reset order for smaller screens */
  }
}

@media (max-width: 768px) {
  .page-about__hero-section,
  .page-about__mission-values,
  .page-about__history,
  .page-about__why-choose-us,
  .page-about__social-responsibility,
  .page-about__partners-licenses,
  .page-about__future-vision,
  .page-about__faq-section,
  .page-about__contact-cta {
    padding: 40px 0 !important;
  }

  .page-about__container {
    padding: 0 15px !important;
  }

  .page-about__main-title {
    font-size: 2.2em;
  }

  .page-about__intro-text {
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__text-block p,
  .page-about__text-block li {
    font-size: 1em;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-about__content-image,
  .page-about__partner-logo {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__content-image-wrapper,
  .page-about__partner-logos,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    font-size: 1em;
    padding: 10px 20px;
  }

  .page-about__cta-title {
    font-size: 2em;
  }

  .page-about__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }

  .page-about__section-title {
    font-size: 1.5em;
  }

  .page-about__hero-section {
    padding: 60px 0 !important;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-about__content-grid {
    gap: 20px;
  }

  .page-about__faq-question {
    font-size: 1em;
  }
}