/* style/about.css */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --bg-dark: #0A0A0A;
  --card-bg: #111111;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
}

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

.page-about__hero-section {
  padding-top: 10px; /* Adjusted to 10px as per instructions, assuming body handles --header-offset */
  background-color: #0d0d0d; /* Slightly different dark for hero to create subtle distinction */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-about__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-about__btn-primary {
  background: var(--primary-color);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: #e0b040;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-about__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-about__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-about__mission-values-section,
.page-about__why-choose-us-section,
.page-about__faq-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

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

.page-about__section-title {
  font-size: 2.2em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-about__text-block {
  font-size: 1.05em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #ccc;
}

.page-about__cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-about__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main);
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-about__card-icon {
  width: 100%;
  max-width: 250px; /* Ensure images are not too small */
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-about__card-text {
  font-size: 0.95em;
  color: #b0b0b0;
}

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

.page-about__feature-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-main);
}

.page-about__feature-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__feature-item p {
  font-size: 0.95em;
  color: #b0b0b0;
}

.page-about__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(90deg, #1a1a1a, #2a2a2a);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-about__cta-text {
  font-size: 1.3em;
  color: var(--text-main);
  margin-bottom: 30px;
  font-weight: 500;
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
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;
  font-weight: 600;
  color: var(--primary-color);
}
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, 255, 255, 0.05);
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.5;
  text-align: left;
}
.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
  color: #ccc;
}
details.page-about__faq-item .page-about__faq-answer p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.6;
}

/* Universal image responsive styles */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Universal container responsive styles */
.page-about__container,
.page-about__hero-section,
.page-about__mission-values-section,
.page-about__why-choose-us-section,
.page-about__faq-section,
.page-about__cta-section {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* @media (max-width: 1024px) - Tablet styles */
@media (max-width: 1024px) {
  .page-about__hero-image {
    max-height: 500px;
  }
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-about__intro-text {
    font-size: 1em;
  }
  .page-about__cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .page-about__feature-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__faq-qtext {
    font-size: 1em;
  }
}

/* @media (max-width: 768px) - Mobile styles */
@media (max-width: 768px) {
  /* 1. Hero Section */
  .page-about__hero-section {
    padding-top: 10px !important; /* Fixed header spacing */
    padding-bottom: 30px;
  }
  .page-about__hero-image {
    max-height: 300px !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__hero-content {
    padding: 0 15px;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
    margin-bottom: 10px;
  }
  .page-about__intro-text {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  
  /* 2. Buttons and Button Containers */
  .page-about__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-about__cta-section .page-about__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* 3. General Sections & Containers */
  .page-about__mission-values-section,
  .page-about__why-choose-us-section,
  .page-about__faq-section {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px;
  }
  .page-about__text-block {
    font-size: 0.9em;
    margin-bottom: 20px;
  }

  /* 4. Cards Grid */
  .page-about__cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .page-about__card {
    padding: 25px;
  }
  .page-about__card-icon {
    max-width: 200px !important; /* Ensure min 200px */
    width: 100% !important;
    height: auto !important;
  }
  .page-about__card-title {
    font-size: 1.3em;
  }
  .page-about__card-text {
    font-size: 0.9em;
  }

  /* 5. Feature List */
  .page-about__feature-list {
    gap: 20px;
  }
  .page-about__feature-item {
    padding: 20px;
  }
  .page-about__feature-title {
    font-size: 1.2em;
  }
  .page-about__feature-item p {
    font-size: 0.9em;
  }

  /* 6. CTA Section */
  .page-about__cta-section {
    padding: 30px 20px;
    margin-top: 40px;
  }
  .page-about__cta-text {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

  /* 7. FAQ Section */
  details.page-about__faq-item {
    margin-bottom: 10px;
  }
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-qtext {
    font-size: 1em !important;
  }
  .page-about__faq-toggle {
    font-size: 24px !important;
    width: 24px !important;
    margin-left: 10px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 20px 15px;
  }
  details.page-about__faq-item .page-about__faq-answer p {
    font-size: 0.9em;
  }

  /* Universal image responsive styles */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Universal container responsive styles */
  .page-about__container,
  .page-about__hero-section,
  .page-about__mission-values-section,
  .page-about__why-choose-us-section,
  .page-about__faq-section,
  .page-about__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}