/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

.page-about__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about__hero-section {
  padding-top: 10px; /* Assumes shared.css handles body padding-top */
  margin-bottom: 40px;
  text-align: center;
  background-color: #F4F7FB;
}

.page-about__hero-image-wrap {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-about__hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__hero-content {
  padding: 20px;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-about__description {
  font-size: 1.1em;
  color: #1F2D3D;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-about__hero-cta,
.page-about__final-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-about__btn--primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-about__btn--secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-about__btn--secondary:hover {
  background: #f0f5ff;
  color: #2F6BFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-about__section {
  margin-bottom: 40px;
  padding: 20px 0;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-about__section-title {
  font-size: 2em;
  font-weight: 700;
  color: #2F6BFF; /* Primary color */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
}

.page-about__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #1F2D3D;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-about p {
  margin-bottom: 15px;
  color: #1F2D3D;
}

.page-about__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-about__list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.page-about__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-about__figcaption {
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

.page-about__value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-about__card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  color: #1F2D3D;
}

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

.page-about__value-card-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-about__promo-box {
  background: linear-gradient(135deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin: 50px auto;
  max-width: 900px;
  box-shadow: 0 8px 25px rgba(47, 107, 255, 0.4);
}

.page-about__promo-title {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-about__promo-box p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-about__promo-box .page-about__btn--primary {
  background: #ffffff;
  color: #2F6BFF;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__promo-box .page-about__btn--primary:hover {
  background: #f0f0f0;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about a {
  color: #2F6BFF;
  text-decoration: underline;
}

.page-about a:hover {
  color: #4A8BFF;
}

/* Responsive styles for tablets and mobiles */
@media (max-width: 1024px) {
  .page-about__hero-content {
    padding: 15px;
  }

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

  .page-about__description {
    font-size: 1em;
  }

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

  .page-about__sub-title {
    font-size: 1.3em;
  }

  .page-about__card {
    padding: 20px;
  }

  .page-about__promo-box {
    padding: 30px;
    margin: 40px auto;
  }

  .page-about__promo-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  /* 1. Top Section Title + CTA */
  .page-about__hero-section {
    padding-top: 10px !important;
    margin-bottom: 30px;
  }

  .page-about__main-title {
    font-size: clamp(1.5em, 7vw, 2em) !important;
    margin-bottom: 10px;
  }

  .page-about__description {
    font-size: 0.95em;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .page-about__hero-cta,
  .page-about__final-cta {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-about__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1em;
  }

  /* 2. Single Column Long Text Container */
  .page-about__article-wrap {
    padding: 0 15px;
  }

  .page-about__section {
    margin-bottom: 30px;
    padding: 15px 0;
  }

  .page-about__section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    padding-top: 15px;
  }

  .page-about__sub-title {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-about p,
  .page-about li {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-about__value-cards {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .page-about__card {
    padding: 20px;
  }

  .page-about__promo-box {
    padding: 25px;
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__promo-title {
    font-size: 1.4em;
    margin-bottom: 15px;
  }

  .page-about__promo-box p {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* 3. General Images and Figure */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__figure {
    margin: 20px auto;
    padding: 0 15px;
  }

  .page-about__figure img {
    border-radius: 6px;
  }

  .page-about__figcaption {
    font-size: 0.85em;
  }

  /* 4. Buttons and Button Containers - Already covered in top section CTA */
  .page-about__hero-cta,
  .page-about__final-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    flex-direction: column;
  }

  .page-about__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 5. Registration Tutorial and FAQ Blocks - Not present on this page, ensuring general text readability */
  /* Ensure general text readability for h3 and p tags */
  .page-about h3 {
    font-size: 1.2em;
  }

  .page-about p {
    font-size: 15px;
  }
  .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;
  }
}