/* style/about.css */
:root {
  --primary-color: #CC0000;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #222222;
  --border-color: #e0e0e0;
}

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

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

.page-about__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-about__section:nth-of-type(odd) {
  background-color: #ffffff;
}

.page-about__section-heading {
  font-size: 38px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-about__section-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-about__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-dark);
}

.page-about__sub-heading {
  font-size: 28px;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 20px;
}

/* Hero Section */
.page-about__hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #a80000 100%);
  color: var(--text-light);
  padding: 100px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

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

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

.page-about__intro-text {
  font-size: 20px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.page-about__cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  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-color: #e0b800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

/* Content Grid */
.page-about__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-content {
  flex: 1;
}

.page-about__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Core Values */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-item {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-about__value-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

/* Why Choose Us */
.page-about__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-about__feature-item {
  background-color: #ffffff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-about__feature-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.page-about__feature-title {
  font-size: 26px;
  color: var(--primary-color);
  margin-bottom: 18px;
  font-weight: bold;
  text-align: center;
}

.page-about__feature-item p {
  font-size: 16px;
  text-align: justify;
  margin-bottom: 20px;
}

.page-about__inline-cta {
  display: block;
  text-align: center;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-about__inline-cta:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

.page-about__faq-list {
  margin-top: 40px;
}

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

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

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

.faq-question h3 {
  margin: 0;
  font-size: 20px;
  color: var(--primary-color);
  font-weight: bold;
}

.faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

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

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  content: '−'; /* Change to minus sign */
}

.faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.faq-answer a:hover {
  color: var(--secondary-color);
}

/* Contact Us Section */
.page-about__contact-us {
  text-align: center;
  background-color: #ffffff;
}

.page-about__contact-info {
  margin-top: 40px;
  font-size: 18px;
  color: var(--text-dark);
}

.page-about__contact-info p {
  margin-bottom: 15px;
}

.page-about__contact-info strong {
  color: var(--primary-color);
}

/* Conclusion */
.page-about__conclusion {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #a80000 100%);
  color: var(--text-light);
  padding: 80px 0;
}

.page-about__conclusion .page-about__section-heading {
  color: var(--text-light);
}

.page-about__conclusion .page-about__section-heading::after {
  background-color: var(--secondary-color);
}

.page-about__conclusion .page-about__section-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__main-heading {
    font-size: 40px;
  }

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

  .page-about__sub-heading {
    font-size: 24px;
  }

  .page-about__content-grid {
    flex-direction: column;
    text-align: center;
  }

  .page-about__content-grid--reverse {
    flex-direction: column;
  }

  .page-about__image-wrapper {
    margin-top: 30px;
  }

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

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 80px 0;
    min-height: 350px;
  }

  .page-about__main-heading {
    font-size: 32px;
  }

  .page-about__intro-text {
    font-size: 18px;
  }

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

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

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

  .page-about__section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .page-about__value-item, .page-about__feature-item {
    padding: 25px;
  }

  .faq-question h3 {
    font-size: 18px;
  }

  .faq-question {
    padding: 15px 20px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-about__main-heading {
    font-size: 28px;
  }

  .page-about__intro-text {
    font-size: 16px;
  }

  .page-about__cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }

  .page-about__section-heading {
    font-size: 24px;
  }

  .page-about__sub-heading {
    font-size: 20px;
  }

  .page-about__value-icon {
    width: 80px;
    height: 80px;
  }

  .page-about__feature-icon {
    width: 100px;
    height: 100px;
  }

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

  .faq-toggle {
    font-size: 24px;
  }
}