/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #111, so light text */
  background-color: #111;
}

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

.page-about__hero-section {
  background: linear-gradient(135deg, #1A237E, #0d0d0d);
  padding: 80px 0 60px; /* Adjusted padding */
  color: #ffffff;
  text-align: center;
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

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

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-about__btn-secondary {
  background-color: #1A237E; /* Dark blue background */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-about__btn-secondary:hover {
  background-color: #2c388e;
  border-color: #e6c200;
}

.page-about__content-section {
  padding: 60px 0;
}

.page-about__dark-bg {
  background-color: #1A237E;
  color: #ffffff;
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #FFD700; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 50px;
}

.page-about__text-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: justify;
}

.page-about__text-block p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

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

.page-about__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-about__list li strong {
  color: #FFD700;
}

.page-about__image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-about__highlight-section {
  background-color: #0d0d0d;
  padding: 60px 0;
  color: #ffffff;
}

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

.page-about__card {
  background-color: #1A237E; /* Dark blue card background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #FFD700;
}

.page-about__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-about__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

.page-about__commitment-section {
  background-color: #111;
  padding: 60px 0;
  color: #ffffff;
}

.page-about__future-section {
  background-color: #0d0d0d;
  padding: 60px 0;
  color: #ffffff;
}

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

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

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #FFD700;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #0d0d0d;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: #1a1a1a;
}

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

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

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

.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 25px;
  opacity: 0;
  background: #2a338d;
  border-top: 1px solid #FFD700;
  color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-about__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__sub-title {
    font-size: 1.6em;
  }
  .page-about__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding: 60px 0 40px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__content-section,
  .page-about__highlight-section,
  .page-about__commitment-section,
  .page-about__future-section,
  .page-about__faq-section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-about__text-block p,
  .page-about__list li {
    font-size: 0.95em;
  }
  .page-about__image {
    margin: 20px auto;
    border-radius: 8px;
  }
  .page-about__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__card {
    padding: 20px;
    border-radius: 8px;
  }
  .page-about__card-image {
    height: 180px;
  }
  .page-about__card-title {
    font-size: 1.3em;
  }
  .page-about__faq-item {
    border-radius: 6px;
  }
  .page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-question h3 {
    font-size: 1em;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
    margin-left: 15px;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px !important;
  }
  .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;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__sub-title {
    font-size: 1.3em;
  }
  .page-about__card-image {
    height: 150px;
  }
  .page-about__card-title {
    font-size: 1.2em;
  }
}