/* style/about.css */
.page-about {
  color: #ffffff; /* Body background is dark (#1a1a2e), so text should be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-about__section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__intro-text,
.page-about__description {
  font-size: clamp(16px, 2vw, 18px);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 80px 20px; /* Small top padding, larger bottom for content */
  overflow: hidden;
  text-align: center;
}

.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;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
  padding: 20px;
}

.page-about__main-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 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: #1f8ec4;
  transform: translateY(-3px);
}

.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);
  transform: translateY(-3px);
}

/* Mission & Vision Section */
.page-about__mission-vision {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background, consistent with body */
  color: #ffffff;
}

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

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

.page-about__image-full {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Values & Commitment Section */
.page-about__values-commitment {
  padding: 80px 0;
  background-color: #0f0f1c; /* Slightly darker for contrast */
  color: #ffffff;
}

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

.page-about__value-card {
  background-color: rgba(38, 169, 224, 0.1);
  border: 1px solid rgba(38, 169, 224, 0.3);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-10px);
  background-color: rgba(38, 169, 224, 0.2);
}

.page-about__value-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about__value-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__value-card p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  padding: 80px 0;
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-about__feature-item:hover {
  box-shadow: 0 8px 20px rgba(38, 169, 224, 0.2);
  transform: translateY(-5px);
}

.page-about__feature-icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

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

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

.page-about__team-member {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #26A9E0;
}

.page-about__member-name {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
}

.page-about__member-role {
  font-size: 16px;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 15px;
  color: #f0f0f0;
}

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

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
  border: 1px solid rgba(38, 169, 224, 0.3);
}

.page-about__faq-item[open] {
  background-color: rgba(38, 169, 224, 0.15);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-about__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-left: 15px;
  width: 20px;
  text-align: center;
}

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

.page-about__faq-answer p {
  margin: 0;
}

/* Bottom CTA Section */
.page-about__cta-bottom {
  padding: 80px 0;
  background-color: #0f0f1c;
  text-align: center;
  color: #ffffff;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-about__content-grid {
    grid-template-columns: 1fr 1fr; /* Two columns for desktop */
  }

  .page-about__content-grid .page-about__image-block {
    order: 2; /* Image on right for desktop */
  }

  .page-about__mission-vision .page-about__text-block {
    order: 1;
  }
}

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

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

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

  .page-about__sub-title {
    font-size: 20px;
  }

  .page-about__intro-text,
  .page-about__description {
    font-size: 15px;
  }

  .page-about__hero-section {
    padding: 10px 15px 60px 15px; /* Adjust padding for mobile */
  }

  .page-about__main-title {
    font-size: 32px;
  }

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

  .page-about__cta-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-about__mission-vision,
  .page-about__values-commitment,
  .page-about__why-choose-us,
  .page-about__team-section,
  .page-about__faq-section,
  .page-about__cta-bottom {
    padding: 50px 0;
  }

  .page-about__content-grid,
  .page-about__values-grid,
  .page-about__features-grid,
  .page-about__team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__image-full {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__image-block,
  .page-about__team-member,
  .page-about__value-card,
  .page-about__feature-item,
  .page-about__faq-item {
    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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .page-about__value-icon,
  .page-about__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-about__member-photo {
    width: 120px;
    height: 120px;
  }

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

  .page-about__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 15px;
  }

  .page-about__faq-qtext {
    color: #26A9E0;
  }
}

/* Fixed top padding for sections, not using var(--header-offset) */
.page-about__hero-section {
  padding-top: 10px;
}