.page-about {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0; /* Default padding for desktop */
  min-height: 500px;
  overflow: hidden;
  color: #ffffff;
  background-color: #1A202C; /* Dark background for hero */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for better text contrast */
}

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

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold title */
  font-weight: bold;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* General Section Styling */
.page-about__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold title */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__text-block, .page-about__paragraph {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: center;
}

.page-about__intro-section, .page-about__team-tech-section, .page-about__contact-section, .page-about__faq-section {
  padding: 60px 0;
  background-color: #121212;
}

.page-about__dark-section {
  background-color: #1A202C;
  padding: 60px 0;
  color: #ffffff;
}

.page-about__dark-section .page-about__text-block, 
.page-about__dark-section .page-about__paragraph, 
.page-about__dark-section .page-about__feature-description,
.page-about__dark-section .page-about__feature-list li {
  color: #f0f0f0;
}

.page-about__image-centered {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Grid Layouts */
.page-about__grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-about__grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Card Styles */
.page-about__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__card-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold title */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  color: #f0f0f0;
}

.page-about__feature-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__feature-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-about__feature-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__feature-list li {
  margin-bottom: 8px;
  font-size: 0.95em;
}

/* Buttons */
.page-about__btn-primary, .page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Crucial for mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Ensure long words break */
}

.page-about__btn-primary {
  background-color: #FFD700; /* Gold background */
  color: #1A202C; /* Dark text for contrast */
  border: 2px solid #FFD700;
  margin-top: 20px;
}

.page-about__btn-primary:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  color: #000000;
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  margin-top: 20px;
}

.page-about__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 30px;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700; /* Gold text for question */
  cursor: pointer;
  background-color: #1A202C; /* Dark background for question */
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #2a3440;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  max-height: 0; /* Initial state */
  overflow: hidden;
  padding: 0 25px; /* Keep horizontal padding */
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0; /* Light text for answer */
}

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

.page-about__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

.page-about__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__grid-2-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 0;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__text-block, .page-about__paragraph, .page-about__card-text, .page-about__feature-description, .page-about__feature-list li {
    font-size: 0.95em;
  }
  .page-about__card-title {
    font-size: 1.3em;
  }
  .page-about__feature-title {
    font-size: 1.4em;
  }
  .page-about__grid-3-col {
    grid-template-columns: 1fr;
  }
  .page-about__btn-primary, .page-about__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 15px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px;
  }

  /* 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__hero-section, .page-about__intro-section, .page-about__why-choose-section,
  .page-about__team-tech-section, .page-about__commitment-section, .page-about__contact-section, .page-about__faq-section,
  .page-about__hero-content, .page-about__features-grid, .page-about__grid-3-col, .page-about__grid-2-col,
  .page-about__feature-card, .page-about__content-block, .page-about__faq-list, .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-about__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__hero-section .page-about__btn-primary {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__hero-section {
    padding: 40px 0;
    min-height: 350px;
  }
}