/* General styles for page-about */
.page-about {
  background-color: #0D0E12; /* Custom background color */
  color: #FFF3E6; /* Custom text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Ensure space above footer */
}

/* Fixed Header Spacing: Assuming shared.css handles body padding-top */
.page-about__hero-section {
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  position: relative;
  overflow: hidden;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__hero-image {
  width: 100%;
  max-height: 500px; /* Limit height for aesthetic */
  overflow: hidden;
  margin-bottom: 20px;
}

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

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

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* H1 font size with clamp */
  font-weight: 700;
  color: #FF8C1A; /* Main brand color for title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-text {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box; /* Include padding/border in width */
  max-width: 100%; /* Ensure button doesn't exceed container */
  text-align: center;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Custom button gradient */
  color: #FFF3E6; /* Text Main */
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A; /* Main brand color */
  border: 2px solid #A84F0C; /* Border color */
}

.page-about__btn-secondary:hover {
  background: #FF8C1A;
  color: #FFF3E6;
  border-color: #FF8C1A;
  transform: translateY(-2px);
}

.page-about__btn-text {
  background: none;
  border: none;
  color: #FF8C1A;
  padding: 0;
  text-align: left;
  font-weight: 600;
}

.page-about__btn-text:hover {
  text-decoration: underline;
}

.page-about__section {
  padding: 50px 0;
  margin-bottom: 30px;
}

.page-about__section:nth-child(odd) {
  background-color: #17191F; /* Card BG */
}

.page-about__dark-section {
  background-color: #0D0E12; /* Background color */
  color: #FFF3E6;
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-about__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #FFF3E6; /* Text Main */
}

.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__text-block p {
  margin-bottom: 15px;
  color: #FFF3E6; /* Text Main */
}

.page-about__image-block {
  flex: 1;
  min-width: 300px; /* Ensure image block has a minimum width */
}

.page-about__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #FFF3E6; /* Text Main */
}

.page-about__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FF8C1A;
  margin-bottom: 15px;
}

.page-about__card p {
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-about__feature-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #FFF3E6; /* Text Main */
}

.page-about__feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FF8C1A;
  margin-bottom: 10px;
}

.page-about__why-choose-image {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-about__cta-buttons--centered {
  justify-content: center;
  margin-top: 0;
}

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

.page-about__contact-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF3E6; /* Text Main */
}

.page-about__contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FF8C1A;
  margin-bottom: 15px;
}

.page-about__contact-item p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__final-cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-about__final-cta-content {
  max-width: 900px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-about__content-wrapper--reversed {
    flex-direction: column; /* Keep column for reversed */
  }
  .page-about__text-block,
  .page-about__image-block {
    flex: none;
    width: 100%;
  }
  .page-about__image-block img {
    max-width: 80%; /* Smaller images on tablets */
    margin: 20px auto;
  }
}

@media (max-width: 768px) {
  /* HERO section */
  .page-about__hero-section {
    padding-top: 10px !important; /* Small top padding */
    margin-bottom: 20px;
  }
  .page-about__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-about__intro-text {
    font-size: 1rem;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .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__cta-buttons--centered {
    flex-direction: column; /* Ensure centered buttons stack on mobile */
  }

  /* Long text areas (General content sections) */
  .page-about__section {
    padding: 30px 0;
  }
  .page-about__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 20px;
  }
  .page-about__section-description,
  .page-about__text-block p {
    font-size: 0.95rem;
    padding: 0 15px;
  }
  .page-about__text-block,
  .page-about__image-block {
    padding: 0 15px;
  }

  /* General images and containers */
  .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__hero-content,
  .page-about__content-wrapper,
  .page-about__grid-layout,
  .page-about__feature-list,
  .page-about__contact-methods {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__image-block img {
    max-width: 100%; /* Ensure images don't overflow */
    margin: 15px auto;
  }

  /* Cards and Feature Items */
  .page-about__card,
  .page-about__feature-item,
  .page-about__contact-item {
    padding: 20px;
    text-align: center;
  }
  .page-about__card-title,
  .page-about__feature-title,
  .page-about__contact-title {
    font-size: 1.3rem;
  }

  /* No blog-slider-track specific to about page, but for completeness in mobile CSS checklist */
  /* If blog cards were present: */
  /* .page-about__blog-slider-track { display: flex; flex-wrap: wrap !important; }
  .page-about__blog-slide { flex: 0 0 100% !important; max-width: 100% !important; } */
}