/* style/about.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #28a745;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f9fa;
  --background-medium: #e9ecef;
  --border-color: #dee2e6;
}

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

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

.page-about h1, .page-about h2, .page-about h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

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

.page-about h2 {
  font-size: 2.2em;
  font-weight: bold;
  margin-top: 40px;
}

.page-about h3 {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--primary-color);
}

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

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

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

/* 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, #007bff, #28a745);
  color: var(--text-color-light);
}

.page-about .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-about .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about .hero-content p {
  color: var(--text-color-light);
  font-size: 1.2em;
  max-width: 800px;
  margin: 20px auto 30px auto;
}

.page-about .hero-content a {
  color: var(--text-color-light);
}

.page-about .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-about .cta-button:hover {
  background: darken(var(--secondary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Section Intro */
.page-about .section-intro {
  padding: 60px 0;
  background: var(--background-light);
}

.page-about .section-intro h2 {
  color: var(--primary-color);
}

.page-about .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.page-about .text-content {
  flex: 2;
  min-width: 300px;
}

.page-about .image-content {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

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

/* Section Values */
.page-about .section-values {
  padding: 60px 0;
  background: var(--background-medium);
}

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

.page-about .value-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about .value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about .value-item img {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about .value-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-about .value-item p {
  font-size: 1em;
  color: var(--text-color-dark);
}

/* Section Commitment */
.page-about .section-commitment {
  padding: 60px 0;
  background: var(--background-light);
}

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

.page-about .commitment-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-about .commitment-item img {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about .commitment-item h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-about .commitment-item p {
  font-size: 1em;
  color: var(--text-color-dark);
}

/* Section Why Choose Us */
.page-about .section-why-choose-us {
  padding: 60px 0;
  background: var(--background-medium);
}

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

.page-about .why-choose-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-about .why-choose-item img {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about .why-choose-item h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-about .why-choose-item p {
  font-size: 1em;
  color: var(--text-color-dark);
}

/* Section How It Works */
.page-about .section-how-it-works {
  padding: 60px 0;
  background: var(--background-light);
}

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

.page-about .step-item {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-about .step-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about .step-item h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-about .step-item p {
  font-size: 0.95em;
  color: var(--text-color-dark);
}

/* Section FAQ */
.page-about .section-faq {
  padding: 60px 0;
  background: var(--background-medium);
}

.page-about .faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

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

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

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #f9f9f9;
  color: var(--text-color-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 15px 20px;
}

.faq-item.active .faq-answer p {
  margin-bottom: 0;
}

/* Section Conclusion */
.page-about .section-conclusion {
  padding: 60px 0;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-align: center;
}

.page-about .section-conclusion h2 {
  color: var(--text-color-light);
}

.page-about .section-conclusion p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 20px auto 30px auto;
  color: var(--text-color-light);
}

.page-about .section-conclusion a {
  color: var(--text-color-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about h1 {
    font-size: 2.4em;
  }
  .page-about h2 {
    font-size: 1.8em;
  }
  .page-about h3 {
    font-size: 1.5em;
  }
  .page-about p {
    font-size: 1em;
  }
  .page-about .content-wrapper {
    flex-direction: column;
  }
  .page-about .text-content, .page-about .image-content {
    min-width: unset;
    width: 100%;
  }
  .page-about .hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-about .container {
    padding: 15px;
  }
  .page-about h1 {
    font-size: 2em;
  }
  .page-about h2 {
    font-size: 1.6em;
  }
  .page-about h3 {
    font-size: 1.3em;
  }
  .page-about .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-about .value-item, .page-about .commitment-item, .page-about .why-choose-item, .page-about .step-item {
    padding: 20px;
  }
  .page-about .value-item img, .page-about .commitment-item img, .page-about .why-choose-item img {
    width: 100px;
    height: 100px;
  }
  .page-about .step-item img {
    width: 80px;
    height: 80px;
  }
  .faq-question {
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-item.active .faq-answer {
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .page-about h1 {
    font-size: 1.8em;
  }
  .page-about h2 {
    font-size: 1.4em;
  }
  .page-about .hero-section {
    padding: 40px 10px;
  }
  .page-about .hero-content p {
    font-size: 1em;
  }
  .page-about .cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-about .section-intro, .page-about .section-values, .page-about .section-commitment, .page-about .section-why-choose-us, .page-about .section-how-it-works, .page-about .section-faq, .page-about .section-conclusion {
    padding: 40px 0;
  }
}