/* style/about.css */

/* --- Base Styles --- */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #1F2D3D);
  background-color: var(--bg-primary, #F4F7FB);
}

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

.page-about__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--text-main, #1F2D3D);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-main, #1F2D3D);
  text-align: justify;
}

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

/* --- Hero Section --- */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--bg-primary, #F4F7FB);
}

.page-about__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  margin-bottom: 40px;
}

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

.page-about__main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  color: var(--text-main, #1F2D3D);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-about__hero-description {
  font-size: 18px;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- CTA Button --- */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box; /* For mobile responsiveness */
  white-space: normal; /* For mobile responsiveness */
  word-wrap: break-word; /* For mobile responsiveness */
}

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* --- Intro Section --- */
.page-about__intro-section {
  padding: 80px 0;
  background-color: var(--card-bg, #FFFFFF);
}

/* --- Why Choose Section --- */
.page-about__why-choose-section {
  padding: 80px 0;
  background-color: var(--bg-primary, #F4F7FB);
}

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

.page-about__feature-card {
  background-color: var(--card-bg, #FFFFFF);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color, #D6E2FF);
}

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

.page-about__card-title {
  font-size: 22px;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-description {
  font-size: 16px;
  color: var(--text-main, #1F2D3D);
}

/* --- Commitment Section --- */
.page-about__commitment-section {
  padding: 80px 0;
  background-color: var(--card-bg, #FFFFFF);
}

/* --- CTA Section (Dark Background) --- */
.page-about__cta-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  color: #ffffff;
  text-align: center;
}

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

.page-about__cta-container {
  max-width: 900px;
}

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

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-about__hero-image,
  .page-about__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-left: 0;
    margin-right: 0;
  }

  .page-about__main-title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .page-about__hero-description {
    font-size: 16px;
  }

  .page-about__cta-button {
    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;
  }

  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-about__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 30px;
  }

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

  .page-about__intro-section,
  .page-about__why-choose-section,
  .page-about__commitment-section,
  .page-about__cta-section {
    padding: 50px 0;
  }
}

/* --- Color Contrast & Accessibility --- */
/* General text color for light backgrounds */
.page-about,
.page-about p,
.page-about li,
.page-about__text-block,
.page-about__card-description {
  color: var(--text-main, #1F2D3D);
}

/* Headings on light backgrounds */
.page-about__main-title,
.page-about__section-title,
.page-about__card-title {
  color: var(--text-main, #1F2D3D);
}

/* Card backgrounds */
.page-about__feature-card {
  background-color: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #D6E2FF);
}

/* Dark section (CTA) */
.page-about__dark-section {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  color: #ffffff; /* White text on dark blue background */
}
.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__text-block {
  color: #ffffff;
}

/* Buttons */
.page-about__cta-button {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
}