/* -------------------------------------------------------------------------- */
/*                            Base & Typography Styles                        */
/* -------------------------------------------------------------------------- */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Body Background */
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFCC66; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #F4D34D, transparent); /* Gold */
  border-radius: 2px;
}

.page-about__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #F4D34D; /* Gold */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__section-description {
  font-size: 18px;
  color: #FFF5E1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-about a {
  color: #FFD86A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about a:hover {
  color: #E6B800;
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/*                                 Button Styles                              */
/* -------------------------------------------------------------------------- */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about__btn-secondary {
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border */
  margin-left: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary:hover {
  background: #7A0E0E; /* Deep Red */
  color: #FFD86A;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* -------------------------------------------------------------------------- */
/*                                 Image Styles                               */
/* -------------------------------------------------------------------------- */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover; /* Default object-fit */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

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

.page-about__content-image,
.page-about__team-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* -------------------------------------------------------------------------- */
/*                                Hero Section                                */
/* -------------------------------------------------------------------------- */
.page-about__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #7A0E0E; /* Deep Red */
}

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

.page-about__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #FFD86A; /* Button color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #FFF5E1;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------------------------------------------------------- */
/*                             Intro Section Layout                           */
/* -------------------------------------------------------------------------- */
.page-about__intro-section {
  padding: 80px 0;
  background-color: #B71C1C;
}

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

.page-about__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
}

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

/* -------------------------------------------------------------------------- */
/*                           Mission & Vision Section                         */
/* -------------------------------------------------------------------------- */
.page-about__mission-vision {
  padding: 80px 0;
  background-color: #7A0E0E; /* Deep Red */
}

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

.page-about__card {
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
}

.page-about__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFD86A; /* Button color */
  margin-bottom: 15px;
}

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

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

.page-about__value-item {
  background: rgba(211, 47, 47, 0.8); /* Slightly transparent Card BG */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid #F2B544;
}

.page-about__value-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD86A;
  margin-bottom: 10px;
}

/* -------------------------------------------------------------------------- */
/*                              Why Choose Section                            */
/* -------------------------------------------------------------------------- */
.page-about__why-choose {
  padding: 80px 0;
  background-color: #7A0E0E;
}

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

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

.page-about__commitment-item .page-about__card-title {
  color: #FFD86A;
}

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

.page-about__team-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-about__team-image {
  flex: 1;
  max-width: 50%;
}

.page-about__team-text {
  flex: 1;
}

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

.page-about__faq-list {
  margin-top: 40px;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #F2B544;
  overflow: hidden;
  background: #D32F2F; /* Card BG */
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #7A0E0E; /* Deep Red */
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF5E1;
}
.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD86A; /* Button color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #7A0E0E; /* Deep Red */
  border-radius: 0 0 10px 10px;
  color: #FFF5E1;
}

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

/* -------------------------------------------------------------------------- */
/*                               Responsive Styles                            */
/* -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .page-about__container {
    padding: 20px 30px;
  }

  .page-about__section-title {
    font-size: 32px;
  }

  .page-about__sub-title {
    font-size: 22px;
  }

  .page-about__hero-content {
    padding: 30px 20px;
  }

  .page-about__main-title {
    font-size: clamp(28px, 4vw, 42px);
  }

  .page-about__hero-description {
    font-size: clamp(15px, 2vw, 18px);
  }

  .page-about__btn-primary, .page-about__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-about__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__content-wrapper--reversed {
    flex-direction: column;
  }

  .page-about__image-block {
    min-width: unset;
  }

  .page-about__team-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__team-image {
    max-width: 100%;
  }

  .page-about__grid-layout, .page-about__values-grid, .page-about__commitment-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 849px) {
  .page-about__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    height: auto; /* Allow height to adjust based on aspect-ratio */
  }
}

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

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-about__sub-title {
    font-size: 20px;
  }

  /* HERO Section */
  .page-about__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }

  .page-about__hero-content {
    padding: 25px 15px;
  }

  .page-about__main-title {
    font-size: clamp(24px, 8vw, 36px);
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  /* Buttons & CTA */
  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 16px;
    margin-left: 0; /* Remove margin-left for secondary button */
  }

  .page-about__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px; /* Adjust gap for stacked buttons */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* General Images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__image-block,
  .page-about__team-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Section Padding */
  .page-about__section {
    padding: 40px 0;
  }

  /* Content Layouts */
  .page-about__content-wrapper,
  .page-about__content-wrapper--reversed,
  .page-about__team-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-about__grid-layout,
  .page-about__values-grid,
  .page-about__commitment-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-about__card,
  .page-about__value-item,
  .page-about__commitment-item {
    padding: 20px;
  }

  .page-about__card-title,
  .page-about__value-title {
    font-size: 20px;
  }

  /* FAQ Section */
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-qtext {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    width: 28px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }
}