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

.page-about {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page, assuming dark body background */
  background-color: var(--background-color-page); /* Ensures consistency if body background is overridden */
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  background-color: var(--deep-green);
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-about__hero-content {
  max-width: 900px;
  margin-top: 40px;
  text-align: center;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  color: var(--gold-color);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.4);
}

.page-about__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
}

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

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

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

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

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

.page-about__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-3px);
}

.page-about__section {
  padding: 80px 20px;
  background-color: var(--background-color-page);
}

.page-about__section--values {
  background-color: var(--deep-green);
}

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

.page-about__container--flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-about__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-about__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 50px;
}

.page-about__values-grid,
.page-about__offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-about__value-card:hover,
.page-about__offering-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-color);
}

.page-about__value-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  object-fit: contain;
  display: block;
}

.page-about__value-title,
.page-about__offering-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__value-description,
.page-about__offering-description {
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

.page-about__section--history {
  background-color: var(--background-color-page);
}

.page-about__timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 20px 0;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.page-about__timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.page-about__timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

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

.page-about__timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--glow-color);
  border: 2px solid var(--primary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.page-about__timeline-item:nth-child(even)::after {
  left: -8px;
}

.page-about__timeline-year {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-about__timeline-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-about__offering-image {
  width: 100%;
  height: 200px; /* Consistent height for offering images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-about__section--security {
  background-color: var(--deep-green);
  text-align: center;
}

.page-about__section--faq {
  background-color: var(--background-color-page);
}

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

.page-about__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  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.2em;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-about__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2);
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow-color);
  margin-left: 15px;
}

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

.page-about__faq-item[open] .page-about__faq-question {
  background-color: rgba(46, 122, 78, 0.1);
}

.page-about__section--cta-bottom {
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('[GALLERY:bg:1920x400:8day,cta,background,green gold]');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  text-align: center;
}

.page-about__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-about__cta-title {
  font-size: 2.2em;
  color: var(--gold-color);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.4);
}

.page-about__cta-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-about__timeline::before {
    left: 20px;
  }
  .page-about__timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
    text-align: left;
  }
  .page-about__timeline-item:nth-child(odd),
  .page-about__timeline-item:nth-child(even) {
    left: 0;
  }
  .page-about__timeline-item::after,
  .page-about__timeline-item:nth-child(even)::after {
    left: 12px;
  }
  .page-about__container--flex {
    flex-direction: column;
    text-align: center;
  }
  .page-about__cta-content,
  .page-about__cta-buttons {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, small top padding */
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-about__section {
    padding: 50px 15px;
  }
  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-about__text-block {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-about__values-grid,
  .page-about__offerings-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__value-card,
  .page-about__offering-card {
    padding: 25px;
  }
  .page-about__offering-image {
    height: 180px;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-about__faq-answer {
    padding: 0 20px 18px;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }

  /* Mobile image, video, container responsive rules */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper,
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }
  .page-about__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
}