/* 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: 0 15px;
}

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

.page-about__section-title {
  font-size: clamp(2em, 4vw, 3em); /* H1 font size constraint */
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Main color for titles */
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-about__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6; /* Text Main */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, #0A0A0A 0%, #111111 100%); /* Darker gradient for background */
}

.page-about__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

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

.page-about__hero-text-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 4em); /* H1 font size constraint */
  font-weight: 800;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-about__hero-description {
  font-size: 1.2em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box; /* Button responsive */
  white-space: normal; /* Button responsive */
  word-wrap: break-word; /* Button responsive */
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for bright button */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-about__btn-secondary:hover {
  background: #F2C14E; /* Main color */
  color: #111111; /* Dark text for bright button */
}

/* Story Section */
.page-about__story-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  flex-wrap: wrap;
  justify-content: center;
}

.page-about__story-content p {
  flex: 1;
  min-width: 300px;
  color: #FFF6D6; /* Text Main */
}

.page-about__story-image {
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
}

/* Why Us / Features Grid */
.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: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6; /* Text Main */
}

.page-about__feature-card h3 {
  color: #FFD36B; /* Auxiliary color for feature titles */
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-about__feature-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  background-color: #111111; /* Card BG for dark section */
  color: #FFF6D6; /* Text Main */
  padding: 80px 0;
}

.page-about__mv-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-about__mv-card {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background: rgba(242, 193, 78, 0.05); /* Light transparent main color */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
}

.page-about__mv-title {
  color: #F2C14E; /* Main color */
  font-size: 1.8em;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

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

.page-about__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-about__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: inherit;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Auxiliary color */
}

.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;
  color: #FFF6D6; /* Text Main */
  text-align: justify;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Ensure it expands fully */
  padding: 15px 25px 25px 25px;
}

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

/* Join Us Section */
.page-about__join-us-section {
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Main and Auxiliary color gradient */
  color: #111111; /* Dark text for bright background */
  padding: 80px 0;
}

.page-about__join-us-section .page-about__section-title {
  color: #111111; /* Dark text for bright background */
}

.page-about__join-us-section .page-about__section-description {
  color: #111111; /* Dark text for bright background */
}

.page-about__join-us-section .page-about__btn-primary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  box-shadow: none;
}

.page-about__join-us-section .page-about__btn-primary:hover {
  background: #3A2A12; /* Border color */
  color: #F2C14E; /* Main color */
}

.page-about__join-us-section .page-about__btn-secondary {
  background: transparent;
  border: 2px solid #111111; /* Dark border */
  color: #111111; /* Dark text */
}

.page-about__join-us-section .page-about__btn-secondary:hover {
  background: #111111; /* Dark background */
  color: #F2C14E; /* Main color */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-image {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
    padding-bottom: 40px;
  }

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

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

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

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

  .page-about__story-content {
    flex-direction: column;
    gap: 20px;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .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;
  }
}

@media (max-width: 480px) {
  .page-about__hero-image {
    max-height: 300px;
  }

  .page-about__section-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }

  .page-about__main-title {
    font-size: clamp(2em, 10vw, 3em);
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}