:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --card-bg: #17191F;
  --body-bg: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
}

.page-about {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--body-bg); /* Assuming shared.css sets --color-background to this */
}

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

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

.page-about__text-center {
  text-align: center;
}

.page-about__heading {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

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

.page-about__intro-text {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, body handles header offset */
  background: var(--body-bg);
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 20px rgba(255, 140, 26, 0.4);
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about__hero-content h1 {
  font-size: clamp(32px, 5vw, 50px);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-content p {
  font-size: 20px;
  color: var(--text-main);
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
}

.page-about__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

/* Content Grid */
.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__content-grid--reverse {
  grid-template-areas: "image text";
}

.page-about__content-grid--reverse .page-about__text-block {
  grid-area: text;
}

.page-about__content-grid--reverse .page-about__image-block {
  grid-area: image;
}

.page-about__text-block p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-main);
}

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

.page-about__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.3);
}

/* Why Choose Section */
.page-about__dark-section {
  background-color: var(--card-bg);
}

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

.page-about__feature-card {
  background: var(--body-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 10px var(--glow-color);
}

.page-about__feature-card img {
  width: 100%;
  
  height: auto;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

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

.page-about__feature-card p {
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.7;
}

.page-about__full-width-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.3);
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--body-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
  font-weight: 600;
}

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(var(--primary-color), 0.1);
}

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

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

details.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 25px;
  background: rgba(var(--primary-color), 0.05);
  border-top: 1px solid rgba(var(--border-color), 0.5);
  border-radius: 0 0 8px 8px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-content h1 {
    font-size: clamp(28px, 4.5vw, 45px);
  }
  .page-about__hero-content p {
    font-size: 18px;
  }
  .page-about__cta-button {
    font-size: 18px;
    padding: 15px 40px;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
  .page-about__content-grid--reverse {
    grid-template-areas: unset;
  }
  .page-about__text-block {
    order: 2;
  }
  .page-about__image-block {
    order: 1;
  }
  .page-about__section-padding {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 10px !important;
    padding-bottom: 40px !important;
  }
  .page-about__hero-image img {
    border-radius: 8px;
  }
  .page-about__hero-content h1 {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }
  .page-about__hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-about__heading {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 30px;
  }
  .page-about__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-about__section-padding {
    padding: 30px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
  }
  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__feature-card {
    padding: 25px;
  }
  .page-about__feature-card img {
    
  }
  .page-about__card-title {
    font-size: 20px;
  }
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-qtext {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 20px 20px;
  }
  .page-about__faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-content h1 {
    font-size: clamp(20px, 8vw, 30px);
  }
  .page-about__hero-content p {
    font-size: 15px;
  }
  .page-about__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-about__heading {
    font-size: clamp(20px, 7vw, 30px);
  }
  .page-about__intro-text {
    font-size: 15px;
  }
}