.page-about {
  color: #ffffff; /* Body background is #1a1a2e (dark), so use light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Inherit from body, which is dark */
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #1a1a2e; /* Ensure background for hero */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly dim the image to ensure text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff; /* Light text on dark background */
}

.page-about__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 3.5rem); 
}

.page-about__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-about__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* Buttons */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
}

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

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

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

.page-about__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Section Titles */
.page-about__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff; /* Default for dark sections */
}

.page-about__section-title--light {
  color: #ffffff; /* Explicitly for titles on dark backgrounds */
}

.page-about__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #f0f0f0;
}

.page-about__section-description--light {
  color: #f0f0f0;
}

/* Intro Section */
.page-about__intro-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
}

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

.page-about__intro-text {
  flex: 1;
}

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

.page-about__intro-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-about__intro-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand primary color as background */
  color: #ffffff;
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white on brand color */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
}

.page-about__value-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__values-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Team Section */
.page-about__team-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
}

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

.page-about__team-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-about__team-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-about__team-text {
  flex: 1;
}

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

/* Achievements Section */
.page-about__achievements-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand primary color as background */
  color: #ffffff;
}

.page-about__achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-about__achievement-card {
  background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white on brand color */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__achievement-year {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-about__achievement-text {
  font-size: 1.1rem;
  color: #f0f0f0;
}

.page-about__achievements-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Future Section */
.page-about__future-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
}

.page-about__future-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__future-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-about__future-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-about__future-text {
  flex: 1;
}

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

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand primary color as background */
  color: #ffffff;
}

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

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

.page-about__faq-item summary {
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  list-style: none; /* Remove default marker */
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

/* CTA Section */
.page-about__cta-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
  text-align: center;
}

.page-about__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}


/* Responsive Design */
@media (max-width: 992px) {
  .page-about__intro-grid,
  .page-about__team-content,
  .page-about__future-grid {
    flex-direction: column;
    text-align: center;
  }

  .page-about__intro-image-wrapper,
  .page-about__team-image-wrapper,
  .page-about__future-image-wrapper {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .page-about__hero-cta-group,
  .page-about__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__cta-button {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }

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

  .page-about__intro-section,
  .page-about__values-section,
  .page-about__team-section,
  .page-about__achievements-section,
  .page-about__future-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 40px 0;
  }

  /* Images responsive on mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/buttons/videos should be responsive */
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__intro-section,
  .page-about__values-section,
  .page-about__team-section,
  .page-about__achievements-section,
  .page-about__future-section,
  .page-about__faq-section,
  .page-about__cta-section,
  .page-about__hero-cta-group,
  .page-about__cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Specific padding for sections if they don't have it already */
  .page-about__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px !important;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .page-about__section-title {
    font-size: 1.8rem;
  }

  .page-about__hero-description,
  .page-about__section-description,
  .page-about p,
  .page-about li {
    font-size: 1rem;
  }
}