/* style/about.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --background-light: #f8f9fa;
  --border-color: #e0e0e0;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--background-dark); /* Inherited from shared.css, confirm for consistency */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

/* HERO Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  padding-bottom: 80px;
}

.page-about__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-about__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-about__cta-button:hover {
  background: #ffc107; /* Slightly brighter yellow */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-about__section {
  padding: 60px 20px;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-about__section:nth-of-type(odd) {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  width: 100%;
  line-height: 1.2;
}

.page-about__text-block {
  flex: 1;
  min-width: 300px;
  background-color: #2a2a2a; /* Dark background for text block */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
}

.page-about__text-block h3 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-about__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

/* Mission & Vision Section */
.page-about__mission-vision .page-about__container {
  flex-direction: row;
}

/* Values Section */
.page-about__values .page-about__container {
  flex-direction: row-reverse; /* Image on left, text on right */
}

.page-about__value-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about__value-list li {
  margin-bottom: 25px;
}

.page-about__value-list li h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 8px;
  font-weight: bold;
}

.page-about__value-list li p {
  font-size: 16px;
  color: var(--text-light);
}

/* Reliability Section */
.page-about__reliability {
  background-color: var(--background-dark);
}

.page-about__reliability .page-about__container {
  flex-direction: column;
  gap: 0;
}

.page-about__description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__feature-card {
  background-color: #2a2a2a; /* Darker background for cards */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__feature-icon {
  width: 150px; /* Larger icon size */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 4px;
}

.page-about__feature-card h3 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__feature-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

/* Our Story Section */
.page-about__our-story {
  background-color: #1a1a1a;
}

.page-about__story-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-light);
}

.page-about__story-content p {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__milestone-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-about__milestone-list li {
  margin-bottom: 30px;
  position: relative;
  padding-left: 40px;
  border-left: 2px solid var(--secondary-color);
}

.page-about__milestone-list li::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 16px;
  height: 16px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  border: 2px solid #1a1a1a;
}

.page-about__milestone-list li h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 8px;
  font-weight: bold;
}

.page-about__milestone-list li p {
  font-size: 16px;
  color: var(--text-light);
}

/* FAQ Section */
.page-about__faq-section {
  background-color: var(--background-dark);
}

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

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2a2a2a; /* Dark background for question */
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-about__faq-question:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  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: 30px;
  height: 30px;
}

.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;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #1a1a1a; /* Darker background for answer */
  border-radius: 0 0 8px 8px;
  color: var(--text-light);
}

.page-about__faq-item.active .page-about__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Change '+' to 'x' */
}

.page-about__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

/* CTA Section */
.page-about__cta-section {
  background: linear-gradient(135deg, var(--primary-color), #001a4f);
  padding: 80px 20px;
  text-align: center;
  color: var(--text-light);
}

.page-about__cta-container {
  flex-direction: column;
  gap: 20px;
}

.page-about__cta-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-about__cta-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-about__cta-button--large {
  padding: 18px 50px;
  font-size: 20px;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 42px;
  }

  .page-about__section-title {
    font-size: 32px;
  }

  .page-about__text-block, .page-about__image-block {
    flex: 1 1 100%;
  }

  .page-about__mission-vision .page-about__container,
  .page-about__values .page-about__container {
    flex-direction: column; /* Stack columns on tablet */
  }

  .page-about__image {
    margin-bottom: 30px; /* Add space between image and text when stacked */
  }

  .page-about__values .page-about__image-block {
    order: -1; /* Move image above text on tablet for values section */
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 60px;
  }

  .page-about__hero-title {
    font-size: 32px;
  }

  .page-about__hero-description {
    font-size: 16px;
  }

  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-about__section {
    padding: 40px 15px;
  }

  .page-about__container {
    gap: 30px;
  }

  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-about__text-block {
    padding: 25px;
  }

  .page-about__text-block p {
    font-size: 15px;
  }

  .page-about__text-block h3 {
    font-size: 20px;
  }

  .page-about__image {
    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;
  }

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

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

  .page-about__feature-icon {
    width: 100px; /* Smaller icon size for mobile */
  }

  .page-about__feature-card h3 {
    font-size: 20px;
  }

  .page-about__story-content p {
    font-size: 15px;
  }

  .page-about__milestone-list li {
    padding-left: 30px;
  }

  .page-about__milestone-list li h3 {
    font-size: 20px;
  }

  .page-about__milestone-list li p {
    font-size: 15px;
  }

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

  .page-about__faq-question h3 {
    font-size: 16px;
  }

  .page-about__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }

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

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px !important;
  }

  .page-about__faq-answer p {
    font-size: 15px;
  }

  .page-about__cta-title {
    font-size: 32px;
  }

  .page-about__cta-description {
    font-size: 16px;
  }

  .page-about__cta-button--large {
    padding: 15px 40px;
    font-size: 18px;
  }
}