/* style/about.css */

/* --- Base Styles for .page-about --- */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Explicitly set for content area if needed, but body is default white */
}

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px; /* Space between image and text */
}

.page-about__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.15rem;
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-cta-button {
  display: inline-block;
  background-color: #EA7C07; /* Login color for CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(234, 124, 7, 0.3);
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__hero-cta-button:hover {
  background-color: #d16e06;
}

/* --- General Content Sections --- */
.page-about__section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.page-about__section--light {
  background-color: #ffffff;
}

.page-about__section--gray {
  background-color: #f9f9f9;
}

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-about__section-subtitle {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #333333;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: #333333;
}

.page-about__text-block ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #333333;
}

.page-about__text-block li {
  margin-bottom: 8px;
}

/* --- Image specific styles in content sections --- */
.page-about__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* --- Call to Action Section --- */
.page-about__cta-section {
  background-color: #26A9E0; /* Primary color background */
  color: #ffffff;
  text-align: center;
  padding: 50px 20px;
}

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

.page-about__cta-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-about__cta-button--primary {
  display: inline-block;
  background-color: #EA7C07;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button--primary:hover {
  background-color: #d16e06;
}

.page-about__cta-button--secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 15px 30px;
  border: 2px solid #ffffff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button--secondary:hover {
  background-color: #e0f2f7;
  color: #1a7bb5;
}

/* --- FAQ Section --- */
.page-about__faq-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-about__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  outline: none;
  position: relative;
  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-question {
  flex-grow: 1;
  font-size: 1.1rem;
  color: #26A9E0; /* Question text color */
}

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

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to form an X or minus */
}

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

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-about__hero-description {
    font-size: 1rem;
  }
  .page-about__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  }
  .page-about__section-subtitle {
    font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  }
}

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

  .page-about__hero-section,
  .page-about__section,
  .page-about__cta-section,
  .page-about__faq-section {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-about__hero-description {
    font-size: 0.95rem;
  }

  .page-about__hero-cta-button,
  .page-about__cta-button--primary,
  .page-about__cta-button--secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-about__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-about__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .page-about__section-subtitle {
    font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  }

  /* Images responsive */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__hero-image-wrapper,
  .page-about__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Video responsive - not used in this page, but general rules are included 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; /* Small top padding, body handles --header-offset */
  }
}