/* style/about.css */
/* 
 * Body background color is #FFFFFF (light), so text should be dark (#333333) by default.
 * Brand color #26A9E0 (light blue) will be used for backgrounds and accents, paired with white text.
 */

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Explicitly set for clarity, matches shared.css body */
}

/* General container for content sections */
.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-about__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-about__subsection-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333333;
  margin-top: 25px;
  margin-bottom: 15px;
}

/* Text blocks */
.page-about__text-block {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #555555;
}

/* White text for dark backgrounds */
.page-about__white-text {
  color: #FFFFFF !important;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #26A9E0; /* Brand color background for the whole section */
  color: #FFFFFF; /* Default text color for this section */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 1920px; /* Ensure image doesn't stretch beyond reasonable width */
  margin-bottom: 30px; /* Space between image and content */
}

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px 50px 20px; /* Padding for content within the section */
  color: #FFFFFF;
}

.page-about__main-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
}

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

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

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

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

.page-about__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Introduction Section */
.page-about__introduction-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

/* Mission Section */
.page-about__mission-section {
  padding: 60px 0;
  background-color: #f8f8f8; /* Light grey for contrast */
}

.page-about__flex-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-about__content-column,
.page-about__image-column {
  flex: 1;
  min-width: 300px; /* Ensure columns don't get too small */
}

.page-about__image-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.page-about__values-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1rem;
  color: #555555;
}

.page-about__list-item strong {
  color: #333333;
}

.page-about__list-item::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-about__feature-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
}

.page-about__feature-icon {
  width: 100%; /* Ensure images fill the card, but responsive */
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

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

.page-about__feature-description {
  font-size: 0.95rem;
  color: #666666;
}

/* Video Section */
.page-about__video-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand color dark background */
  text-align: center;
}

.page-about__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for video */
  margin: 0 auto 30px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.page-about__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer; /* Indicate clickable */
}

.page-about__video-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-about__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-about__faq-item[open] {
  background-color: #eaf7ff; /* Lighter brand color background when open */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none; /* Hide default marker for summary */
  position: relative;
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-about__faq-toggle {
  font-size: 1.8rem;
  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 '+' to 'x' or similar effect */
}

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

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

/* Call to Action Section */
.page-about__cta-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand color dark background */
  text-align: center;
}

.page-about__cta-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-about__cta-button {
  min-width: 250px; /* Give buttons a decent minimum width */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-content {
    padding-top: 25px;
    padding-bottom: 40px;
  }
  .page-about__main-title {
    font-size: 2.8rem;
  }
  .page-about__section-title {
    font-size: 2rem;
  }
  .page-about__subsection-title {
    font-size: 1.6rem;
  }
}

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

  /* Images, Videos, Buttons - Mobile forced responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__mission-section,
  .page-about__why-choose-us-section,
  .page-about__video-section,
  .page-about__faq-section,
  .page-about__cta-section,
  .page-about__container,
  .page-about__video-container,
  .page-about__video-wrapper,
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container,
  .page-about__feature-item,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px; /* Add padding to prevent content touching edges */
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-about__hero-content {
    padding-top: 20px; /* Less top padding on mobile */
    padding-bottom: 30px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem); /* Using clamp for responsive H1 */
    margin-bottom: 10px;
  }

  .page-about__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-about__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-about__subsection-title {
    font-size: 1.4rem;
  }

  .page-about__flex-row {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__feature-item {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-about__feature-icon {
    min-height: 180px; /* Slightly smaller min height for mobile cards */
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1rem;
  }

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

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }
  .page-about__hero-content {
    padding-top: 15px;
    padding-bottom: 25px;
  }
  .page-about__section-title {
    font-size: 1.6rem;
  }
  .page-about__faq-question {
    font-size: 1rem;
    padding: 15px 10px;
  }
  .page-about__faq-answer {
    padding: 0 10px 15px 10px;
  }
}