/* style/about.css */
:root {
  --primary-color: #1A2A44;
  --secondary-color: #FFCC00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f1f3f5;
  --border-light: #e0e0e0;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark sections */
  background-color: var(--dark-bg-1); /* Inherited from shared.css, assuming dark background */
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

@media (max-width: 768px) {
  .page-about {
    padding-top: 100px; /* Adjust for fixed header on mobile */
  }
}

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

.page-about__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.page-about__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 80px 0;
}

.page-about__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: inherit; /* Inherit color from parent section */
}

.page-about__section-subtitle {
  font-size: 20px;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-about__hero-banner {
  text-align: center;
  padding-top: 180px; /* Desktop specific padding for fixed header */
  padding-bottom: 80px;
}

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

.page-about__hero-title .highlight {
  color: var(--secondary-color);
}

.page-about__hero-description {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-light);
}

.page-about__hero-description a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-about__hero-description a:hover {
  text-decoration: underline;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.page-about__btn-primary:hover {
  background-color: #e6b800;
  border-color: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

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

.page-about__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-about__mission-vision-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.page-about__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 35px;
  text-align: center;
  flex: 1;
  max-width: 550px;
  color: var(--text-dark);
}

.page-about__card-icon {
  width: 100px; /* Min size 200x200, but icons can be smaller if part of content */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__card-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

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

.page-about__card p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-about__card p a:hover {
  text-decoration: underline;
}

.page-about__keyword {
  font-weight: bold;
  color: var(--primary-color);
}

.page-about__our-story {
  padding: 80px 0;
}

.page-about__story-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-about__story-image {
  flex: 1;
  min-width: 400px;
  border-radius: 12px;
  object-fit: cover;
  max-width: 600px;
  height: auto;
}

.page-about__story-text {
  flex: 1;
  min-width: 300px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
}

.page-about__story-text p {
  margin-bottom: 20px;
}

.page-about__story-text .page-about__keyword {
  color: var(--secondary-color);
}

.page-about__core-values {
  padding: 80px 0;
}

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

.page-about__value-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  color: var(--text-dark);
}

.page-about__value-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__value-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-about__value-item p {
  font-size: 16px;
  line-height: 1.7;
}

.page-about__value-item p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-about__value-item p a:hover {
  text-decoration: underline;
}

.page-about__why-choose-us {
  padding: 80px 0;
  text-align: center;
}

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

.page-about__advantage-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__advantage-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__advantage-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-about__advantage-item p {
  font-size: 16px;
  line-height: 1.7;
}

.page-about__advantage-item .page-about__keyword {
  color: var(--secondary-color);
}

.page-about__cta-bottom {
  margin-top: 60px;
  text-align: center;
}

.page-about__cta-bottom p {
  font-size: 22px;
  margin-bottom: 30px;
  font-weight: bold;
  color: var(--text-light);
}

.page-about__cta-bottom .page-about__keyword {
  color: var(--secondary-color);
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
}

.page-about__faq-list {
  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.05);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: #f8f8f8;
  border-color: #d0d0d0;
}

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

.page-about__faq-toggle {
  font-size: 28px;
  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: 32px;
  height: 32px;
}

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

.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;
  background: #f9f9f9;
  border-top: none;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  border-radius: 0 0 8px 8px;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

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

.page-about__faq-answer p .page-about__keyword {
  color: var(--primary-color);
}

.page-about__faq-answer p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-about__faq-answer p a:hover {
  text-decoration: underline;
}

/* Latest News Section */
.page-about__latest-news {
  padding: 80px 0;
}

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

.page-about__news-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: var(--text-dark);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-about__news-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-about__news-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-about__news-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-about__news-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-about__news-title a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-about__news-summary {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-about__news-summary .page-about__keyword {
  color: var(--primary-color);
}

.page-about__news-date {
  font-size: 14px;
  color: #888888;
  display: block;
  margin-top: auto;
}

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

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

  .page-about__story-content {
    flex-direction: column;
    text-align: center;
  }

  .page-about__story-image {
    min-width: unset;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: 160px !important; /* Mobile specific padding for fixed header */
  }

  .page-about__dark-section,
  .page-about__light-bg {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__hero-banner {
    padding-top: 160px !important; /* Mobile specific padding for fixed header */
    padding-bottom: 40px;
  }

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

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

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

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

  .page-about__section-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .page-about__mission-vision-grid {
    flex-direction: column;
  }

  .page-about__card {
    padding: 25px;
  }

  .page-about__card-title {
    font-size: 24px;
  }

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

  .page-about__story-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__story-text {
    font-size: 16px;
    min-width: unset;
  }

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

  .page-about__value-title {
    font-size: 22px;
  }

  .page-about__advantage-item {
    padding: 25px;
  }

  .page-about__advantage-title {
    font-size: 22px;
  }

  .page-about__cta-bottom p {
    font-size: 18px;
  }

  .page-about__faq-question {
    padding: 15px 20px;
  }
  
  .page-about__faq-question h3 {
    font-size: 16px;
  }
  
  .page-about__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

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

  .page-about__news-image {
    height: 180px;
  }

  .page-about__news-title {
    font-size: 18px;
  }

  .page-about__news-summary {
    font-size: 14px;
  }
  
  /* Ensure all images are responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__story-content,
  .page-about__values-grid,
  .page-about__advantages-grid,
  .page-about__news-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}