.page-about {
  color: #ffffff; /* Body background #0a0a0a (dark), so text must be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 1em;
  color: #f0f0f0;
}

.page-about__dark-section {
  background-color: #0a0a0a; /* Ensure dark background for contrast */
  color: #ffffff;
}

.page-about__light-section {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding: 120px 0 80px; /* Default desktop padding */
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero_main:1920x1080:cockfighting,stadium,crowd,excitement,bj88]');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #26A9E0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.5em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-about__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Introduction Section */
.page-about__introduction-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

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

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element */
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-about__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
}

.page-about__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-description {
  font-size: 1.1em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__value-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-about__value-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 3px solid #26A9E0;
  padding: 10px;
  box-shadow: 0 0 15px rgba(38, 169, 224, 0.5);
}

.page-about__value-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__value-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-about__reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__reason-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-about__commitment-section .page-about__grid-two-columns {
  grid-template-columns: 1fr 1fr;
}

.page-about__commitment-section .page-about__text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-about__commitment-section .page-about__btn-primary {
  align-self: flex-start;
  margin-top: 20px;
}

/* Team Section */
.page-about__team-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-about__team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__team-member {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-about__team-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid #26A9E0;
  box-shadow: 0 0 15px rgba(38, 169, 224, 0.5);
}

.page-about__team-name {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 5px;
  font-weight: bold;
}

.page-about__team-role {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-about__team-bio {
  font-size: 1em;
  color: #cccccc;
  flex-grow: 1;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

.page-about__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.2);
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.3);
}

.page-about__faq-title {
  margin: 0;
  color: #ffffff; /* Ensure contrast on question background */
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.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: #f0f0f0;
}

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

.page-about__faq-answer .page-about__paragraph {
  margin-bottom: 15px;
}

.page-about__faq-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.page-about__faq-link:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__cta-section .page-about__section-title {
  color: #ffffff;
}

.page-about__cta-section .page-about__paragraph {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-about__cta-section .page-about__btn-primary {
  background-color: #EA7C07; /* Use custom login color */
  border-color: #EA7C07;
}

.page-about__cta-section .page-about__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-about__cta-section .page-about__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-about__cta-section .page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.3em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__grid-two-columns {
    grid-template-columns: 1fr;
  }
  .page-about__commitment-section .page-about__grid-two-columns {
    grid-template-columns: 1fr;
  }
  .page-about__image-wrapper {
    margin-bottom: 30px;
  }
  .page-about__commitment-section .page-about__text-content .page-about__btn-primary {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 100px 0 60px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header spacing */
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__hero-buttons,
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__paragraph,
  .page-about__card-description,
  .page-about__value-description,
  .page-about__team-bio {
    font-size: 1em;
  }
  .page-about__introduction-section,
  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__why-choose-us-section,
  .page-about__commitment-section,
  .page-about__team-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 60px 0;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__image-wrapper,
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__why-choose-us-section,
  .page-about__commitment-section,
  .page-about__team-section,
  .page-about__faq-section,
  .page-about__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-about__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-buttons {
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__cta-buttons {
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__card-title,
  .page-about__value-title,
  .page-about__team-name {
    font-size: 1.4em;
  }
  .page-about__value-icon {
    width: 120px;
    height: 120px;
  }
  .page-about__team-avatar {
    width: 150px;
    height: 150px;
  }
}