/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-bottom: 40px;
}

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

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-about__hero-content {
  padding: 20px;
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 8px;
  margin-top: 20px;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

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

.page-about__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-about__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  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, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for contrast */
  border: 2px solid transparent;
}

.page-about__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-about__btn--secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow for border */
}

.page-about__btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
  background: #222222;
}

.page-about__section {
  padding: 40px 0;
  margin-bottom: 20px;
  background-color: #111111; /* Card BG */
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
}

.page-about__section-title {
  font-size: 2.2rem;
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FFD36B, transparent);
  border-radius: 2px;
}

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

.page-about p {
  margin-bottom: 1em;
  font-size: 1.05rem;
  color: #FFF6D6;
}

.page-about strong {
  color: #FFD36B;
}

.page-about__figure {
  margin: 25px 0;
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 auto;
  object-fit: cover;
}

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

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

.page-about__list li {
  margin-bottom: 0.5em;
  font-size: 1.05rem;
}

.page-about__sub-title, .page-about__feature-title, .page-about__info-title {
  font-size: 1.6rem;
  color: #F2C14E; /* Main color */
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: center;
}

.page-about__feature-card {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  text-align: center;
}

.page-about__feature-card .page-about__image {
  margin-bottom: 15px;
}

.page-about__feature-card p {
  text-align: left;
}

.page-about__info-card {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
}

.page-about__info-title {
  color: #FFD36B; /* Glow */
  font-size: 1.8rem;
  margin-top: 0;
  text-align: left;
}

.page-about__contact-note {
  text-align: center;
  margin-top: 30px;
  font-style: italic;
  color: #CCC;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
  }

  .page-about__section-title {
    font-size: 2rem;
  }

  .page-about__sub-title, .page-about__feature-title, .page-about__info-title {
    font-size: 1.4rem;
  }

  .page-about p, .page-about__list li {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  /* 1. Top section title + Dual CTA */
  .page-about__hero-section {
    padding-top: 10px !important; /* Small top padding */
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    padding: 0 15px;
  }

  .page-about__description {
    font-size: 0.95rem;
    padding: 0 15px;
  }

  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* 2. Single column long text containers */
  .page-about__section {
    padding: 25px 0;
  }

  .page-about__article-wrap {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-about p, .page-about__list li {
    font-size: 0.95rem;
  }

  .page-about__sub-title, .page-about__feature-title, .page-about__info-title {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
    text-align: center;
  }

  .page-about__info-title {
    text-align: left;
  }

  .page-about__feature-card, .page-about__info-card {
    padding: 20px;
    margin-bottom: 20px;
  }

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

  /* 4. Buttons and button containers (already covered in top section, but reinforce) */
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Ensure wrapping for multiple buttons */
    gap: 10px;
  }
  
  .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. No specific registration tutorial or FAQ block on this page, but ensure general long-text readability */
  .page-about__list {
    margin-left: 20px;
  }
}