/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #000000, so text should be light */
  background-color: transparent; /* Rely on shared.css for body background */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

.page-about__hero-content-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

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

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

.page-about__hero-text-content {
  max-width: 800px;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Use clamp for H1 font size */
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

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

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn-primary {
  background-color: #EA7C07; /* Custom color for login/register */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

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

.page-about__content-section {
  padding: 60px 20px;
  text-align: center;
}

.page-about__dark-section {
  background-color: #1a1a1a; /* A slightly lighter dark background for contrast with #000000 body */
  color: #ffffff;
}

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

.page-about__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-about__subsection-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-about__text-block {
  font-size: 1.05em;
  color: #f0f0f0;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: left;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.page-about__list-item {
  font-size: 1.05em;
  color: #f0f0f0;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-about__list-item::before {
  content: '✔';
  color: #EA7C07; /* Use login color for bullet point */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__features-section {
  padding: 60px 20px;
  background-color: #0d0d0d; /* A slightly different dark background */
  color: #ffffff;
  text-align: center;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__feature-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-about__card-text {
  font-size: 0.95em;
  color: #f0f0f0;
  line-height: 1.6;
  flex-grow: 1;
}

.page-about__responsibility-section {
  padding: 60px 20px;
  text-align: center;
}

.page-about__contact-cta-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #0d0d0d;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-section {
    padding-bottom: 40px;
  }
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 2.5em);
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__subsection-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-content-wrapper {
    padding: 0 15px;
  }
  .page-about__hero-text-content {
    padding: 0;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.2em) !important; /* Ensure H1 is not too big on mobile */
  }
  .page-about__subtitle {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1em !important;
  }
  .page-about__content-section,
  .page-about__features-section,
  .page-about__responsibility-section,
  .page-about__contact-cta-section {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__subsection-title {
    font-size: 1.3em;
  }
  .page-about__text-block,
  .page-about__list-item,
  .page-about__card-text {
    font-size: 0.95em;
  }
  
  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__feature-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Ensure no horizontal scroll for elements */
  .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;
  }

  .page-about__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-about__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.6em, 7vw, 2em) !important;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__subsection-title {
    font-size: 1.2em;
  }
}