.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #FFF3E6); /* Text Main for dark body background */
  background-color: var(--background, #0D0E12); /* Body background */
}

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

.page-about__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  color: #FFF3E6;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.page-about__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Cover for desktop */
  display: block;
}

.page-about__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Pull content up slightly over the image for better flow */
  position: relative;
  z-index: 1;
  background: rgba(13, 14, 18, 0.8); /* Slightly transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFB04D; /* Glow color for main title */
  text-shadow: 0 0 8px rgba(255, 176, 77, 0.5);
}

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

.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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  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, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 132, 0, 0.4);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #E67800 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 132, 0, 0.6);
}

.page-about__btn-secondary {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
}

.page-about__btn-secondary:hover {
  background: rgba(255, 165, 58, 0.1);
  color: #FFB04D;
  border-color: #FFB04D;
  transform: translateY(-2px);
}

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__section--mission-vision,
.page-about__section--development-history,
.page-about__section--security,
.page-about__section--contact {
  background-color: var(--background, #0D0E12);
  color: var(--text-main, #FFF3E6);
}

.page-about__section--core-values,
.page-about__section--our-team,
.page-about__section--social-responsibility {
  background-color: var(--card-bg, #17191F);
  color: var(--text-main, #FFF3E6);
}

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  margin-bottom: 40px;
  color: #FFB04D; /* Glow color for section titles */
  text-shadow: 0 0 5px rgba(255, 176, 77, 0.3);
}

.page-about__subtitle {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #FFA53A;
}

.page-about__content-area {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.05em;
  line-height: 1.7;
  padding: 0 20px;
}

.page-about__content-area p {
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-about__content-area strong {
  color: #FFA53A;
}

.page-about__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-about__value-list,
.page-about__security-features,
.page-about__responsibility-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 25px;
  margin-top: 30px;
}

.page-about__value-list {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-about__security-features {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-about__responsibility-list {
  padding-left: 20px;
  list-style: disc;
}

.page-about__value-item,
.page-about__feature-item {
  background-color: rgba(255, 140, 26, 0.1);
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF3E6;
}

.page-about__value-item:hover,
.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.3);
}

.page-about__value-heading,
.page-about__feature-heading {
  font-size: 1.3em;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
  padding: 0 20px;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: var(--card-bg, #17191F);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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;
  color: #FFF3E6;
}

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: rgba(255, 140, 26, 0.08);
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFA53A;
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04D;
  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: rgba(255, 140, 26, 0.05);
  border-radius: 0 0 8px 8px;
  color: #FFF3E6;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__hero-content {
    margin-top: -60px;
  }
  .page-about__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-about__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.5em);
  }
  .page-about__value-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-about__security-features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 15px;
  }

  .page-about__hero-section {
    padding-top: 10px;
  }

  .page-about__hero-image img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    width: 100% !important;
    height: auto !important;
  }

  .page-about__hero-content {
    padding: 25px 15px;
    margin-top: -40px; /* Adjust for smaller screens */
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
    margin-bottom: 15px;
  }

  .page-about__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-about__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: clamp(1.5em, 5vw, 2em) !important;
    margin-bottom: 30px;
  }

  .page-about__subtitle {
    font-size: 1.4em;
  }

  .page-about__content-area {
    font-size: 0.95em;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__content-image {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__value-list,
  .page-about__security-features {
    grid-template-columns: 1fr; /* Single column for values/features */
    gap: 20px;
  }

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

  .page-about__value-heading,
  .page-about__feature-heading {
    font-size: 1.15em;
  }

  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }

  .page-about__faq-qtext {
    font-size: 1em;
  }

  .page-about__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

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

  /* General image and container rules for mobile */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}