.page-about {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #121212; /* Inherited from body, but specified for clarity */
}

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

.page-about__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-about__hero-section .page-about__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__hero-section .page-about__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

.page-about__section {
  padding: 60px 0;
}

.page-about__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-about__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter than body for contrast, but still dark */
  color: #ffffff;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-about__light-bg .page-about__sub-title {
  color: #333333;
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.page-about__content-grid--reverse {
  direction: rtl; /* Reverse order for content and image */
}

.page-about__content-grid--reverse .page-about__text-block {
  direction: ltr;
}

.page-about__content-grid--reverse .page-about__image-wrapper {
  direction: ltr;
}

.page-about__image-wrapper {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-about__values-grid, .page-about__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-card, .page-about__advantage-item {
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent background for dark sections */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-about__light-bg .page-about__value-card,
.page-about__light-bg .page-about__advantage-item {
  background-color: #f8f8f8; /* Light background for light sections */
  color: #333333;
}

.page-about__value-card:hover, .page-about__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-about__card-title, .page-about__item-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__light-bg .page-about__card-title,
.page-about__light-bg .page-about__item-title {
  color: #333333;
}

.page-about__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-about__light-bg .page-about__contact-list li {
  color: #333333;
}

.page-about__contact-list a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__contact-list a:hover {
  color: #1e87b7;
}

.page-about__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

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

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

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

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

.page-about__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #333333;
}

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

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  background-color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .page-about__hero-section .page-about__main-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
  .page-about__content-grid--reverse {
    direction: ltr; /* Reset for mobile */
  }
  .page-about__image-wrapper {
    order: -1; /* Image first on mobile */
    margin-bottom: 30px;
  }
  .page-about__values-grid, .page-about__advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding: 60px 0;
    min-height: 300px;
  }
  .page-about__hero-section .page-about__main-title {
    font-size: 2em;
  }
  .page-about__hero-section .page-about__intro-text {
    font-size: 1em;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 1.3em;
  }
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__cta-wrapper {
    padding: 0 15px;
  }
  .page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-title {
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px;
  }
  
  /* Image and Video responsiveness */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-about__image-wrapper,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper,
  .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;
    overflow: hidden !important;
  }
  .page-about__values-grid, .page-about__advantages-grid {
    gap: 20px;
  }
  .page-about__value-card, .page-about__advantage-item {
    padding: 20px;
  }
  .page-about__text-block p {
    font-size: 1em;
  }
  .page-about__contact-list li {
    font-size: 1em;
  }
}