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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: #ffffff;
  text-align: center;
}

.page-about__hero-image-container {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  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;
  text-align: center;
}

.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: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

.page-about__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

.page-about__text-block {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  text-align: justify;
}

.page-about__mission-vision-section {
  background-color: #ffffff;
}

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

.page-about__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

.page-about__card-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

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

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__text-block {
  color: #ffffff;
}

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

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

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-image {
  width: 100%;
  max-width: 400px; /* Adjust based on desired display size */
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-about__feature-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__feature-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
  text-align: justify;
}

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  text-align: left;
  width: 100%;
}

.page-about__feature-list li {
  color: #f0f0f0;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-about__feature-list li::before {
  content: '✓';
  color: #EA7C07; /* Highlight color */
  position: absolute;
  left: 0;
}

.page-about__registration-section {
  background-color: #f8f8f8;
}

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

.page-about__numbered-list {
  list-style: decimal;
  padding-left: 20px;
  margin-top: 15px;
  color: #555555;
}

.page-about__numbered-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-about__numbered-list li strong {
  color: #333333;
}

.page-about__registration-section .page-about__btn-primary,
.page-about__registration-section .page-about__btn-secondary {
  margin-top: 20px;
  width: calc(100% - 4px); /* Account for border */
}

.page-about__responsibility-section {
  background-color: #26A9E0;
}

.page-about__faq-section {
  background-color: #ffffff;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-about__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  list-style: none;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #EA7C07;
}

.page-about__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-about__contact-section {
  background-color: #26A9E0;
  text-align: center;
}

.page-about__contact-section .page-about__btn-primary {
  margin-top: 30px;
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-about__contact-section .page-about__btn-primary:hover {
  background-color: #d86c06;
  border-color: #d86c06;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__mission-vision-section,
  .page-about__why-choose-section,
  .page-about__registration-section,
  .page-about__responsibility-section,
  .page-about__faq-section,
  .page-about__contact-section,
  .page-about__hero-image-container,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-about__hero-section {
    padding-top: 10px !important;
  }

  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__main-title {
    font-size: 2em; /* Adjust for mobile */
  }

  .page-about__description {
    font-size: 1em;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__card {
    padding: 20px;
  }

  .page-about__features-grid,
  .page-about__process-grid {
    grid-template-columns: 1fr;
  }

  .page-about__feature-image {
    max-width: 100%;
  }

  .page-about__contact-section .page-about__btn-primary {
    width: 100%;
  }
}