/* style/about.css */

/* Variables from shared.css (assuming they are defined there) */
:root {
  --primary-color: #FF4500; /* OrangeRed */
  --secondary-color: #1E90FF; /* DodgerBlue */
  --dark-bg-1: #0d0d0d; /* Assuming a dark background for body */
  --text-light: #ffffff;
  --text-dark: #333333;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
}

/* Base styles for the page-about content to ensure fixed header spacing */
.page-about {
  padding-top: 120px; /* Desktop: Adjust based on shared header height */
  color: var(--text-light); /* Default text color for dark body background */
  background-color: transparent; /* Main content background will be body's dark-bg-1 */
  line-height: 1.7;
  font-size: 16px;
}

/* Responsive padding-top for mobile */
@media (max-width: 768px) {
  .page-about {
    padding-top: 100px !important; /* Mobile: Adjust based on shared header height */
    font-size: 15px;
  }
}

/* --- 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: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Brand colors for hero background */
  color: var(--text-light);
}

.page-about__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

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

.page-about__hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--text-light);
}

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

.page-about__cta-button:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Specific style for large CTA button */
.page-about__cta-button--large {
    padding: 18px 50px;
    font-size: 22px;
    margin-top: 30px;
}

/* --- General Section Spacing & Container --- */
.page-about__section-spacing {
  padding: 80px 0;
}

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

.page-about__heading {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-light);
}

.page-about__heading--white {
    color: var(--text-light);
}

.page-about__subheading {
  font-size: 24px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-about__subheading--white {
    color: var(--text-light);
}

.page-about__text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-about__text--white {
    color: var(--text-light);
}

.page-about__text--center {
    text-align: center;
}

.page-about__highlight {
    color: var(--primary-color);
}

/* --- Card Styles (used for mission-vision, journey, why-choose-us) --- */
.page-about__card {
  background: var(--card-bg);
  color: var(--text-dark);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.page-about__card .page-about__heading {
  color: var(--text-dark);
}

.page-about__card .page-about__subheading {
  color: var(--text-dark);
}

.page-about__card .page-about__text {
  color: var(--text-dark);
}

/* --- Mission Vision Section --- */
.page-about__mission-vision-section {
  background-color: transparent;
}

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

.page-about__vision-mission-item {
  text-align: center;
}

/* --- Core Values Section (Dark Background) --- */
.page-about__core-values-section {
  background: var(--primary-color);
  color: var(--text-light);
}

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

.page-about__value-item {
  padding: 20px;
  background: rgba(0, 0, 0, 0.2); /* Slightly transparent dark background on primary color */
  border-radius: 10px;
}

/* --- Journey Section --- */
.page-about__journey-section {
  background-color: transparent;
}

.page-about__content-block {
  padding: 20px 0;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
}

.page-about__image--full-width {
    width: 100%;
}

/* --- Commitment Section (Medium Background) --- */
.page-about__commitment-section {
  background-color: rgba(30, 144, 255, 0.1); /* Light tint of secondary color */
  color: var(--text-light);
}

.page-about__commitment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-about__commitment-item {
  text-align: center;
}

/* --- Why Choose Us Section --- */
.page-about__why-choose-us-section {
  background-color: transparent;
}

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

.page-about__advantage-list li {
  font-size: 17px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
  color: var(--text-dark);
}

.page-about__advantage-list li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* --- FAQ Section --- */
.page-about__faq-section {
  background-color: transparent;
}

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

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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 15px;
  opacity: 0;
  background: rgba(var(--text-light), 0.05); /* Slightly lighter background for answer on dark page */
  color: var(--text-light);
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(var(--text-light), 0.1);
  border-radius: 0 0 5px 5px;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(var(--text-light), 0.08); /* Slightly lighter background for question on dark page */
  border: 1px solid rgba(var(--text-light), 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: rgba(var(--text-light), 0.15);
  border-color: rgba(var(--text-light), 0.3);
}

.page-about__faq-question:active {
  background: rgba(var(--text-light), 0.2);
}

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

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

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


/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 36px;
  }
  .page-about__heading {
    font-size: 30px;
  }
  .page-about__content-grid,
  .page-about__values-grid,
  .page-about__commitment-grid {
    grid-template-columns: 1fr;
  }
  .page-about__section-spacing {
    padding: 60px 0;
  }
  .page-about__card {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
  }
  .page-about__hero-title {
    font-size: 28px;
  }
  .page-about__hero-description {
    font-size: 16px;
  }
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
  .page-about__cta-button--large {
    padding: 15px 40px;
    font-size: 20px;
  }
  .page-about__section-spacing {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__heading {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-about__subheading {
    font-size: 20px;
  }
  .page-about__text {
    font-size: 15px;
  }
  .page-about__card {
    padding: 25px;
  }

  /* Responsive images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-container,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-about__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-about__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-about__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-about__faq-answer {
    padding: 0 15px;
  }
  
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }
}