.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--site-bg);
}

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

.page-about__dark-section {
  background: var(--deep-red); /* Using Deep Red for dark sections */
  color: var(--text-main);
}

.page-about__section-bg-primary {
  background: var(--section-bg); /* Using Background color for primary sections */
  color: var(--text-main);
}

.page-about__section-bg-light {
  background: #ffffff; /* Explicitly white for light sections */
  color: #333333;
}

.page-about__text-light {
  color: var(--text-main);
}

.page-about__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold-color);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gold-color);
  border-radius: 2px;
}

.page-about__sub-title {
  font-size: 28px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--gold-color);
}

.page-about__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit; /* Inherit from section, either text-main or #333333 */
}

.page-about__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: 600px; /* Adjusted for desktop */
  overflow: hidden;
  position: relative;
}

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

.page-about__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
  color: var(--text-main);
}

.page-about__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--gold-color);
}

.page-about__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
  color: var(--text-main);
}

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-about__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid var(--gold-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary {
  background: var(--deep-red);
  color: var(--text-main);
  border: 2px solid var(--gold-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--deep-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__image-block {
  margin: 40px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-about__image-block--center {
  display: flex;
  justify-content: center;
}

.page-about__image-block--right {
  display: flex;
  justify-content: flex-end;
}

.page-about__image-fluid {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about__card {
  background: var(--card-bg);
  color: var(--text-main);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
}

.page-about__card-dark {
  background: var(--deep-red);
  color: var(--text-main);
}

.page-about__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-about__card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
}

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__feature-item {
  background: #fdfdfd;
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--gold-color);
}

.page-about__feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--deep-red);
}

.page-about__feature-description {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--deep-red);
  color: var(--text-main);
}

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;
  background: var(--deep-red);
  color: var(--text-main);
}

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: var(--section-bg);
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color);
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: var(--section-bg);
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}

.page-about__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
}

.page-about__contact-section {
  text-align: center;
}

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

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

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

  .page-about__paragraph {
    font-size: 16px;
  }

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

  .page-about__hero-description {
    font-size: 18px;
  }

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

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }

  .page-about__hero-image {
    height: 300px;
  }

  .page-about__hero-image img {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important;
  }

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

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

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

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

  .page-about__section-title::after {
    width: 60px;
    height: 3px;
  }

  .page-about__sub-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-about__paragraph {
    font-size: 15px;
    line-height: 1.6;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__value-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card {
    padding: 25px;
  }

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

  .page-about__card-text {
    font-size: 15px;
  }

  .page-about__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__feature-item {
    padding: 20px;
  }

  .page-about__feature-title {
    font-size: 18px;
  }

  .page-about__feature-description {
    font-size: 15px;
  }

  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: 20px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }

  .page-about__faq-answer p {
    font-size: 15px;
  }

  .page-about__image-fluid {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
}