/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: var(--dark-bg-1);
}

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

/* Top padding to prevent content from being hidden by fixed header */
.page-about__hero-section {
  padding-top: 120px; /* Adjust based on header height */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #1A2E4E, #0D1C30);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

.page-about__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

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

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Primary CTA color */
  color: #1A2E4E; /* Dark text for light button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--secondary {
  background: #1A2E4E;
  color: #ffffff;
  border: 2px solid #FFD700;
}

.page-about__cta-button--secondary:hover {
  background: #0D1C30;
  border-color: #e6c200;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #e0e0e0;
}

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

.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
  color: #f0f0f0;
}

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.page-about__text-block {
  flex: 1;
}

.page-about__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: block;
}

.page-about__values-list ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-about__values-list li {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #FFD700;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__values-list li:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

.page-about__values-list li strong {
  color: #FFD700;
  font-size: 1.1em;
  display: block;
  margin-bottom: 10px;
}

.page-about__why-choose-section {
  padding: 80px 0;
  background-color: #1A2E4E;
  color: #f0f0f0;
}

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

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__feature-card:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFD700;
}

.page-about__feature-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__feature-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-about__responsibility-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
  color: #f0f0f0;
}

.page-about__responsibility-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-about__responsibility-list li {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  margin-bottom: 15px;
  border-left: 4px solid #FFD700;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__responsibility-list li strong {
  color: #FFD700;
  display: block;
  margin-bottom: 5px;
}

.page-about__cta-section {
  padding: 80px 0;
  background: linear-gradient(45deg, #0D1C30, #1A2E4E);
  color: #ffffff;
  text-align: center;
}

.page-about__cta-container {
  max-width: 900px;
}

.page-about__cta-contact {
  margin-top: 40px;
  font-size: 1.1em;
}

.page-about__cta-contact a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-about__cta-contact a:hover {
  text-decoration: underline;
}

.page-about__faq-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
  color: #f0f0f0;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  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 20px;
  background: #1A2E4E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: #253e68;
  border-color: #FFD700;
}

.page-about__faq-question:active {
  background: #15253f;
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Change to X or rotate */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__content-grid {
    flex-direction: column;
  }
  .page-about__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 100px !important; /* Mobile specific padding */
    padding-bottom: 40px;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-about__mission-vision-section,
  .page-about__why-choose-section,
  .page-about__responsibility-section,
  .page-about__cta-section,
  .page-about__faq-section {
    padding: 60px 0;
  }
  .page-about__values-list ul {
    grid-template-columns: 1fr;
  }
  .page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-question h3 {
    font-size: 1em;
  }
  .page-about__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }
  /* Ensure all images are responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__image-wrapper,
  .page-about__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}