/* style/about.css */

/* Custom Colors */
:root {
  --page-about-bg: #08160F;
  --page-about-card-bg: #11271B;
  --page-about-text-main: #F2FFF6;
  --page-about-text-secondary: #A7D9B8;
  --page-about-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-about-border: #2E7A4E;
  --page-about-glow: #57E38D;
  --page-about-gold: #F2C14E;
  --page-about-divider: #1E3A2A;
  --page-about-deep-green: #0A4B2C;
}

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

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--page-about-deep-green);
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Limit height for aesthetic */
  margin-bottom: 40px; /* Space between image and content */
}

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

.page-about__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--page-about-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-about__hero-description {
  font-size: 1.15rem;
  color: var(--page-about-text-secondary);
  margin-bottom: 30px;
}

/* General Section Styling */
.page-about__section {
  padding: 80px 0;
  border-bottom: 1px solid var(--page-about-divider);
}

.page-about__section:last-of-type {
  border-bottom: none;
}

.page-about__section-title {
  font-size: 2.5rem;
  color: var(--page-about-gold);
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-about__sub-title {
  font-size: 1.8rem;
  color: var(--page-about-text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  border-left: 5px solid var(--page-about-glow);
  padding-left: 15px;
}

.page-about__paragraph {
  font-size: 1rem;
  color: var(--page-about-text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

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

.page-about__list-item {
  font-size: 1rem;
  color: var(--page-about-text-secondary);
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-about__list-item::before {
  content: '✓';
  color: var(--page-about-glow);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-about__btn-primary {
  background: var(--page-about-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: var(--page-about-glow);
  border: 2px solid var(--page-about-glow);
  margin-left: 20px;
}

.page-about__btn-secondary:hover {
  background-color: var(--page-about-glow);
  color: var(--page-about-deep-green);
  transform: translateY(-3px);
}

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

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

.page-about__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  width: 400px; /* Base width for content images */
  height: 300px;
}

.page-about__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  width: 400px; /* Base width for content images */
  height: 300px;
}

/* Clear floats for paragraphs after images */
.page-about__paragraph::after {
  content: "";
  display: table;
  clear: both;
}

/* Video Section */
.page-about__video-section {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
}

.page-about__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-about__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-about__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
  object-fit: cover;
}

.page-about__video-caption {
  color: var(--page-about-text-secondary);
  font-size: 0.9rem;
  margin-top: 15px;
}

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

.page-about__faq-item {
  background-color: var(--page-about-card-bg);
  border: 1px solid var(--page-about-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--page-about-text-main);
  cursor: pointer;
  background-color: var(--page-about-deep-green);
  border-bottom: 1px solid var(--page-about-border);
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-about__faq-item[open] .page-about__faq-question {
  background-color: var(--page-about-deep-green);
  border-bottom: 1px solid var(--page-about-border);
}

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--page-about-glow);
  margin-left: 15px;
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--page-about-text-secondary);
  line-height: 1.7;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-image {
    max-height: 500px;
  }
  .page-about__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-about__image--left,
  .page-about__image--right {
    float: none;
    margin: 20px auto;
    width: 100%;
    height: auto;
  }
  .page-about__image {
    max-width: 600px;
    display: block;
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__hero-section {
    padding-bottom: 40px;
  }

  .page-about__hero-image {
    max-height: 300px;
    margin-bottom: 30px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

  .page-about__section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .page-about__sub-title {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-about__paragraph,
  .page-about__list-item {
    font-size: 0.95rem;
  }

  .page-about__image,
  .page-about__video,
  .page-about__video-wrapper,
  .page-about__video-section {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-about__faq-answer {
    padding: 15px 20px;
  }

  .page-about__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-about__hero-image {
    max-height: 250px;
  }
  .page-about__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .page-about__hero-description {
    font-size: 0.9rem;
  }
  .page-about__section-title {
    font-size: 1.8rem;
  }
  .page-about__sub-title {
    font-size: 1.3rem;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 0.95rem !important;
  }
}