.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Main text color */
  background-color: #140C0C; /* Main background color */
}

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  max-width: 1200px;
  margin: 0 auto 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

.page-about__hero-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-about__hero-content {
  max-width: 800px;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  line-height: 1.2;
  color: #F3C54D; /* Gold color for main title */
  margin-bottom: 15px;
}

.page-about__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF1E8;
}

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

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

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C; /* Dark text on gradient button */
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFB04A; /* Gold text for secondary button */
  border: 2px solid #FFB04A;
}

.page-about__btn-secondary:hover {
  background-color: #FFB04A;
  color: #140C0C; /* Dark text on hover */
  transform: translateY(-2px);
}

.page-about__btn-tertiary {
  background-color: #6A1E1E; /* Deep Red */
  color: #FFF1E8;
  border: 2px solid #6A1E1E;
}

.page-about__btn-tertiary:hover {
  background-color: #7E0D0D; /* Slightly darker Deep Red */
  transform: translateY(-2px);
}

.page-about__section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #140C0C; /* Ensure consistent background */
}

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

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: #F3C54D; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
}

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

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

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

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #FFF1E8;
}

.page-about__image-block {
  flex: 1;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.page-about__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

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

.page-about__feature-card.page-about__card {
  background-color: #2A1212; /* Card background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-card img {
  width: 100%; /* Card image width */
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
}

.page-about__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #FFB04A; /* Gold color for card titles */
  margin-bottom: 15px;
}

.page-about__feature-card p {
  font-size: 0.95em;
  color: #FFF1E8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__text-link {
  color: #E53030; /* Auxiliary Red for text links */
  text-decoration: underline;
  font-weight: 500;
  margin-top: 5px;
  display: block;
}

.page-about__text-link:hover {
  color: #FFB04A;
  text-decoration: none;
}

.page-about__cta-section {
  margin-top: 60px;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-section {
    margin-bottom: 30px;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-about__image-block, .page-about__text-block {
    flex: none;
    width: 100%;
  }
  .page-about__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding-top: 10px !important; /* Small top padding */
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-image img,
  .page-about__image-block img,
  .page-about__feature-card img,
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__content-wrapper,
  .page-about__features-grid,
  .page-about__cta-buttons,
  .page-about__image-block,
  .page-about__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__main-title {
    font-size: 2em; /* Adjusted for mobile */
  }
  .page-about__section-title {
    font-size: 1.8em; /* Adjusted for mobile */
  }
  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }
  .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;
    padding-right: 15px;
  }
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__feature-card.page-about__card {
    padding: 20px;
  }
}