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

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  padding-bottom: 60px; /* Add space below content */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of the image wrapper */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area without distortion */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  font-size: clamp(2.5rem, 4vw + 1rem, 3.8rem); /* Responsive H1 font size */
}

.page-about__tagline {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-about__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

.page-about__btn-secondary {
  display: inline-block;
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main Color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #F2C14E; /* Main Color */
  cursor: pointer;
  white-space: nowrap;
}

.page-about__btn-secondary:hover {
  background: #F2C14E; /* Main Color */
  color: #111111; /* Card BG */
}

.page-about__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-about__sub-title {
  font-size: 1.8rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #FFF6D6;
}

.page-about__text-block p:last-child {
  margin-bottom: 0;
}

.page-about__dark-section {
  background-color: #111111; /* Card BG */
  padding: 60px 20px;
  margin-bottom: 40px;
}

.page-about__mission-vision-section .page-about__container,
.page-about__community-commitment-section .page-about__container,
.page-about__innovation-future-section .page-about__container {
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-about__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-about__grid-reverse-mobile {
  grid-template-areas: "text image";
}

.page-about__grid-reverse-mobile .page-about__text-block { grid-area: text; }
.page-about__grid-reverse-mobile .page-about__image-block { grid-area: image; }

.page-about__image-block {
  text-align: center;
}

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

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

.page-about__faq-section {
  padding: 60px 20px;
  background-color: #111111; /* Card BG */
}

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

.page-about__faq-item {
  margin-bottom: 15px;
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #0A0A0A; /* Background */
  cursor: pointer;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #1a1a1a;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Change to 'x' or '-' */
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: #111111; /* Card BG */
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
  }
  .page-about__section-title {
    font-size: 2rem;
  }
  .page-about__sub-title {
    font-size: 1.6rem;
  }
}

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

  .page-about__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 6vw + 1rem, 2.8rem);
  }

  .page-about__tagline {
    font-size: 1rem;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
    margin-bottom: 15px; /* Space between buttons if stacked */
  }
  
  .page-about__hero-content .page-about__btn-primary {
    margin-bottom: 0; /* No margin if only one button */
  }

  .page-about__grid-two-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-about__grid-reverse-mobile {
    grid-template-areas: "image" "text"; /* Stack image above text on mobile */
  }
  
  .page-about__grid-reverse-mobile .page-about__text-block { grid-area: text; }
  .page-about__grid-reverse-mobile .page-about__image-block { grid-area: image; }

  .page-about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__container,
  .page-about__mission-vision-section,
  .page-about__why-choose-jl-section,
  .page-about__community-commitment-section,
  .page-about__innovation-future-section,
  .page-about__faq-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

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

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

  .page-about__text-block p {
    font-size: 1rem;
  }

  .page-about__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-about__faq-answer {
    padding: 15px;
  }
}