/* style/about.css */
:root {
  --primary-color: #2D3E50;
  --secondary-color: #E7B10A;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #1a2a3a;
  --border-color: #e0e0e0;
}

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

.page-about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about-section {
  padding: 60px 0;
  text-align: center;
}

.page-about-section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-about h1,
.page-about h2,
.page-about h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: bold;
}

.page-about h1 {
  font-size: 2.8em;
  color: var(--text-light);
}

.page-about h2 {
  font-size: 2.2em;
  margin-top: 40px;
  color: var(--primary-color);
}

.page-about h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 30px;
}

.page-about p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-about-cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 25px;
}

.page-about-cta-button:hover {
  background-color: #d19f09; /* Slightly darker secondary color */
  transform: translateY(-3px);
}

.page-about-link-text {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about-link-text:hover {
  color: #d19f09;
  text-decoration: underline;
}

/* Hero Section */
.page-about-hero-section {
  background: linear-gradient(135deg, var(--primary-color), #4a5d70);
  padding: 80px 20px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-about-hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
}

.page-about-hero-content {
  margin-bottom: 40px;
}

.page-about-hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about-hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-about-hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

/* Introduction Section */
.page-about-introduction .page-about-content-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-about-introduction .page-about-content-block p {
  text-align: left;
  max-width: 800px;
}

.page-about-introduction .page-about-content-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.page-about-why-choose .page-about-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about-why-choose .page-about-feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-about-why-choose .page-about-feature-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  width: 100%;
  min-height: 200px;
}

.page-about-why-choose .page-about-feature-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-about-why-choose .page-about-feature-item p {
  font-size: 1em;
  margin-bottom: 10px;
}

.page-about-why-choose .page-about-feature-item ul {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.page-about-why-choose .page-about-feature-item ul li {
  margin-bottom: 8px;
  font-size: 1em;
  position: relative;
  padding-left: 25px;
  text-align: left;
}

.page-about-why-choose .page-about-feature-item ul li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Responsibility Section */
.page-about-responsibility {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-about-responsibility h2 {
  color: var(--secondary-color);
}

.page-about-responsibility p {
  max-width: 900px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Join Us Section */
.page-about-join-us .page-about-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about-join-us .page-about-step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-about-join-us .page-about-step-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  width: 100%;
  min-height: 200px;
}

.page-about-join-us .page-about-step-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-about-join-us .page-about-step-item p {
  font-size: 1em;
}

/* FAQ Section */
.page-about-faq {
  background-color: var(--bg-light);
}

.page-about-faq-container {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
  flex-grow: 1;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 18px 25px;
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about-hero-content h1 {
    font-size: 3em;
  }
  .page-about h2 {
    font-size: 2em;
  }
  .page-about h3 {
    font-size: 1.5em;
  }
  .page-about-hero-section {
    padding: 60px 15px;
  }
  .page-about-section {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .page-about-hero-content h1 {
    font-size: 2.5em;
  }
  .page-about-hero-content p {
    font-size: 1em;
  }
  .page-about-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about h2 {
    font-size: 1.8em;
  }
  .page-about h3 {
    font-size: 1.3em;
  }
  .page-about p {
    font-size: 0.95em;
  }
  .page-about-introduction .page-about-content-block {
    flex-direction: column;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-about-hero-content h1 {
    font-size: 2em;
  }
  .page-about-hero-content p {
    font-size: 0.9em;
  }
  .page-about h2 {
    font-size: 1.6em;
  }
  .page-about h3 {
    font-size: 1.2em;
  }
  .page-about-feature-grid,
  .page-about-steps {
    grid-template-columns: 1fr;
  }
  .page-about-faq-container {
    padding: 0 15px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
}