/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Use body background from shared.css */
}

/* Fixed navigation bar spacing for the first content section */
.page-about__top-padding {
  padding-top: 120px; /* Desktop spacing */
}

/* Section common styles */
.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-about__section-title--light {
  color: #ffffff;
}

.page-about__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__description {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-about__description--light {
  color: #ffffff;
}

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

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

.page-about__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #1a1a1a; /* Dark text for contrast */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-about__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-about__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-about__btn--secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a;
  transform: translateY(-2px);
}

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

/* Intro Section */
.page-about__intro-section {
  background: linear-gradient(135deg, var(--dark-bg-1), #1a1a1a);
  padding-bottom: 60px;
}

/* Vision Mission Section */
.page-about__vision-mission-section {
  padding: 80px 0;
  background-color: var(--dark-bg-2); /* Slightly lighter dark background */
}

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

.page-about__content-text {
  text-align: left;
}

.page-about__list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-about__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 17px;
  color: #f0f0f0;
}

.page-about__list li::before {
  content: '✔';
  color: #FFD700; /* Gold checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__list-highlight {
  color: #FFD700;
}

.page-about__content-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Core Values Section */
.page-about__core-values-section {
  background-color: #1a1a1a; /* Dark gray background */
  padding: 80px 0;
  color: #ffffff;
}

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

.page-about__value-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-about__value-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

.page-about__value-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700; /* Gold */
  margin-bottom: 15px;
}

.page-about__value-card p {
  font-size: 16px;
  color: #f0f0f0;
}

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

/* Why Choose Section */
.page-about__why-choose-section {
  background-color: var(--dark-bg-1);
  padding: 80px 0;
}

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

.page-about__choose-item {
  background: rgba(255, 255, 255, 0.05); /* Lighter semi-transparent */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__choose-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
}

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

.page-about__choose-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__choose-item p {
  font-size: 16px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: var(--dark-bg-2);
  padding: 80px 0;
}

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

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent light background */
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
  color: #f0f0f0;
}

.page-about__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700; /* Gold for question titles */
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: 30px;
  height: 30px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Rotate to form an 'X' or simply change to '-' */
  color: #ffffff;
}

.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: rgba(255, 255, 255, 0.05); /* Slightly darker background for answer */
  color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-about__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #e0e0e0;
}

.page-about__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

/* Contact Section */
.page-about__contact-section {
  background-color: #1a1a1a;
  padding: 80px 0;
  color: #ffffff;
  text-align: center;
}

.page-about__contact-info {
  margin-top: 40px;
  font-size: 18px;
}

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

.page-about__contact-label {
  color: #FFD700;
  font-weight: bold;
  margin-right: 10px;
}

.page-about__contact-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__contact-link:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-about__contact-note {
  margin-top: 30px;
  font-style: italic;
  color: #cccccc;
}

.page-about__contact-note a {
  color: #FFD700;
  text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__top-padding {
    padding-top: 100px;
  }

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

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

  .page-about__description {
    font-size: 17px;
  }

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

  .page-about__content-image {
    order: -1; /* Image appears above text on smaller screens */
  }

  .page-about__img {
    max-height: 400px;
  }

  .page-about__values-grid, .page-about__choose-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__top-padding {
    padding-top: 80px !important;
  }

  .page-about__container {
    padding: 30px 15px !important;
  }

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

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

  .page-about__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-about__btn {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-about__btn--secondary {
    margin-left: 10px;
  }

  .page-about__cta-buttons {
    margin-top: 20px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn--secondary {
    margin-left: 0;
  }

  .page-about__intro-section, .page-about__vision-mission-section, .page-about__core-values-section, .page-about__why-choose-section, .page-about__faq-section, .page-about__contact-section {
    padding: 40px 0;
  }

  .page-about__list li {
    font-size: 16px;
  }

  .page-about__img {
    max-height: 300px;
  }

  .page-about__value-title, .page-about__choose-title {
    font-size: 20px;
  }

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

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

  .page-about__faq-question {
    padding: 15px 20px;
  }

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

  .page-about__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }

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

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

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

  .page-about__contact-info p {
    font-size: 16px;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-about__section, .page-about__card, .page-about__container, .page-about__content-grid, .page-about__values-grid, .page-about__choose-grid, .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}