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

.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 */
  padding-bottom: 60px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

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

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
}

.page-about__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #0A0A0A; /* Ensure contrast on bright button */
  border: none;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color as border */
}

.page-about__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
}

.page-about__section {
  padding: 80px 0;
  background-color: #0A0A0A;
  color: #FFF6D6;
  border-top: 1px solid #3A2A12; /* Border */
}

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

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #FFD36B; /* Auxiliary color */
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFD36B 0%, #F2C14E 100%);
  margin: 20px auto 0;
  border-radius: 2px;
}

.page-about__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-about__content-wrapper:nth-child(odd) .page-about__image-block {
  order: 2; /* Image on right for odd sections */
}

.page-about__content-wrapper:nth-child(even) .page-about__image-block {
  order: -1; /* Image on left for even sections */
}

.page-about__text-block {
  flex: 1;
  min-width: 300px;
}

.page-about__image-block {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
}

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

.page-about__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A;
  color: #FFF6D6;
  border-top: 1px solid #3A2A12;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  overflow: hidden;
}

.page-about__faq-item {
  border-bottom: 1px solid #3A2A12;
}

.page-about__faq-item:last-child {
  border-bottom: none;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-about__faq-question h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFF6D6;
}

.page-about__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #0A0A0A;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__content-wrapper {
    flex-direction: column;
  }
  .page-about__content-wrapper:nth-child(odd) .page-about__image-block,
  .page-about__content-wrapper:nth-child(even) .page-about__image-block {
    order: -1; /* Image always on top for smaller screens in column layout */
  }
}

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

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

  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-about__hero-description {
    font-size: 1rem;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-about__section {
    padding: 60px 0;
  }

  .page-about__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 40px;
  }

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__content-wrapper {
    gap: 30px;
    margin-bottom: 40px;
  }

  .page-about__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__image-block,
  .page-about__hero-image-wrapper,
  .page-about__cta-buttons,
  .page-about__faq-list,
  .page-about__faq-item,
  .page-about__faq-question,
  .page-about__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__faq-question,
  .page-about__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__faq-question h3 {
    font-size: 1.1rem;
  }

  .page-about__faq-toggle {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    padding-bottom: 30px;
  }
  .page-about__main-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: clamp(1.6rem, 8vw, 2rem);
    margin-bottom: 30px;
  }
  .page-about__cta-buttons {
    gap: 10px;
  }
}