/* style/about.css */
.page-about {
  color: #FFF6D6; /* Text Main color on dark background */
  background-color: #0A0A0A; /* Background color */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A0A0A;
  text-align: center;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

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

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

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-about__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-about__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text on light button */
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.3);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.4);
}

.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  background: transparent;
  color: #FFD36B; /* Glow color for text */
  border: 2px solid #FFD36B; /* Glow color for border */
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-about__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
}

.page-about__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  background: transparent;
  color: #F2C14E; /* Primary color for text */
  border: 2px solid #F2C14E; /* Primary color for border */
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-about__btn-tertiary:hover {
  background: #F2C14E;
  color: #111111;
}

.page-about__section {
  padding: 80px 20px;
  background-color: #0A0A0A;
}

.page-about__section:nth-of-type(even) {
  background-color: #111111; /* Card BG for alternating sections */
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

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

.page-about__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 25px;
  color: #F2C14E; /* Primary color for titles */
}

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

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-about__feature-list li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #FFF6D6;
}

.page-about__feature-list li::before {
  content: '✔';
  color: #FFD36B; /* Glow color for checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__cta-join {
  background-color: #0A0A0A;
  text-align: center;
  padding: 100px 20px;
}

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

/* Responsive styles */
@media (max-width: 992px) {
  .page-about__container {
    flex-direction: column;
  }

  .page-about__image-block {
    order: -1; /* Image above text on smaller screens for some sections */
  }

  .page-about__why-choose-us .page-about__image-block {
    order: 1; /* Keep image after text for this section */
  }
}

@media (max-width: 768px) {
  .page-about__hero-section,
  .page-about__section,
  .page-about__cta-join {
    padding: 40px 15px !important;
  }

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

  .page-about__description,
  .page-about p,
  .page-about__feature-list li {
    font-size: 0.95rem;
    line-height: 1.5;
  }

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

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__image-block,
  .page-about__container,
  .page-about__text-block,
  .page-about__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-tertiary,
  .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 !important;
    padding-right: 15px !important;
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }

  .page-about__hero-content .page-about__btn-primary {
    margin-bottom: 0; /* Remove bottom margin for the last button in a group */
  }

  .page-about__cta-content .page-about__btn-primary {
    margin-bottom: 0; /* Ensure last button in CTA has no extra margin */
  }

  .page-about__button-group,
  .page-about__cta-buttons,
  .page-about__btn-container {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Spacing between buttons when stacked */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    padding: 30px 10px !important;
  }
  .page-about__section,
  .page-about__cta-join {
    padding: 30px 10px !important;
  }
}