/* style/about.css */

/* Body background color is handled by shared.css var(--bg-color) */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  background-color: #26A9E0; /* Brand color for hero background */
  color: #FFFFFF;
  overflow: hidden;
}

.page-about__hero-content-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-about__hero-video-container {
  width: 100%;
  max-width: 1000px; /* Adjust max-width as needed */
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__hero-video-link {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
  cursor: pointer;
}

.page-about__hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-about__hero-text-container {
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
}

.page-about__intro-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #F0F0F0;
}

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

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

.page-about__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

.page-about__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #26A9E0;
}

/* General Section Styling */
.page-about__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-about__section-title--white {
  color: #FFFFFF;
}

.page-about__section-description {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__section-description--white {
  color: #F0F0F0;
}

.page-about__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 0;
}

.page-about__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 60px 0;
}

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

.page-about__content-grid--reverse {
  grid-template-columns: 1fr;
}

.page-about__text-block {
  padding: 0 10px;
}

.page-about__sub-title {
  font-size: 1.8rem;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__dark-bg .page-about__sub-title {
  color: #FFFFFF;
}

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

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

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #FFFFFF;
  text-align: center;
}

.page-about__feature-card .page-about__card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-about__feature-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #F0F0F0;
}

.page-about__image-wrapper {
  margin-top: 50px;
  text-align: center;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__list-item {
  background-color: #F0F8FF; /* Light blue background for list items */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: #333333;
  border-left: 4px solid #26A9E0;
}

.page-about__list-item strong {
  color: #26A9E0;
}

.page-about__link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-about__link:hover {
  color: #1a7bbd;
}

.page-about__timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 40px;
  padding-left: 20px;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: #FFFFFF;
}

.page-about__timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.page-about__timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 5px;
  width: 18px;
  height: 18px;
  background-color: #EA7C07;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
}

.page-about__timeline-year {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 5px;
}

.page-about__timeline-event {
  font-size: 1rem;
  color: #F0F0F0;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 30px;
}

.page-about__faq-item {
  background-color: #F8F8F8;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #FFFFFF;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #F0F8FF;
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 20px;
  text-align: center;
  margin-left: 15px;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  background-color: #F8F8F8;
}

.page-about__faq-answer p {
  margin-bottom: 10px;
}

.page-about__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-about__content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .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__timeline {
    padding-left: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-about__timeline::before {
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
  }

  .page-about__timeline-item {
    width: 45%;
    margin-bottom: 80px;
    padding-left: 0;
    text-align: right;
  }

  .page-about__timeline-item:nth-child(even) {
    text-align: left;
    padding-left: 50px;
  }

  .page-about__timeline-item:nth-child(odd) {
    padding-right: 50px;
  }

  .page-about__timeline-item::before {
    left: auto;
    right: -10px;
    top: 5px;
  }

  .page-about__timeline-item:nth-child(even)::before {
    left: -10px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container,
  .page-about__hero-content-wrapper,
  .page-about__hero-video-container,
  .page-about__cta-buttons,
  .page-about__feature-grid,
  .page-about__faq-list,
  .page-about__timeline {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about img,
  .page-about__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-video-link {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
  }

  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-about__intro-description {
    font-size: 1rem;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 12px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-about__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-about__sub-title {
    font-size: 1.5rem;
  }

  .page-about__feature-card {
    padding: 20px;
  }

  .page-about__timeline::before {
    left: 15px;
  }

  .page-about__timeline-item {
    padding-left: 45px;
  }

  .page-about__timeline-item::before {
    left: 10px;
    right: auto;
  }
}