/* style/about.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #0a0a0a; /* Body background from shared.css */
  --login-button-color: #EA7C07;
}

.page-about {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure main content respects body background */
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0; /* Adjusted for image over text rule */
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.page-about__hero-section .page-about__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-about__intro-text {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 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: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

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

.page-about__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-about__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* General Section Styling */
.page-about__section {
  padding: 80px 0;
}

.page-about__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-about__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-about__highlight {
  color: var(--primary-color);
  font-weight: 700;
}

/* Specific Section Backgrounds */
.page-about__introduction,
.page-about__commitment,
.page-about__cooperation,
.page-about__final-cta {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-about__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

/* Why Choose Section */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Recommended size for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-about__feature-description {
  font-size: 1rem;
  line-height: 1.6;
}

/* Commitment Section */
.page-about__commitment-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__commitment-item {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.page-about__commitment-heading {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-about__commitment-text {
  font-size: 1rem;
  line-height: 1.6;
}

/* Team Section */
.page-about__team {
  text-align: center;
}

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

/* FAQ Section */
.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;
  color: var(--text-light);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Allow click on summary, not just text */
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  pointer-events: none; /* Allow click on summary, not just toggle */
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* Final CTA Section */
.page-about__final-cta {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-about__text-block {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px !important;
  }

  .page-about__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* Body handles header offset, this is decorative */
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

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

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

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

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

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

  .page-about__feature-item,
  .page-about__commitment-item {
    padding: 20px;
  }

  .page-about__feature-title,
  .page-about__commitment-heading {
    font-size: 1.3rem;
  }

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

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

  /* Image Responsive rules */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__feature-item,
  .page-about__commitment-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;
  }

  /* Video Responsive rules - not present on this page, but for completeness */
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__video-section,
  .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;
  }
  .page-about__video-section {
    padding-top: 10px !important;
  }
}