/* 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; /* Body background is handled by shared.css (#000) */
  padding-top: 120px; /* Spacing for fixed header on desktop */
}

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

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

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

.page-about__section--alt {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

.page-about__main-title {
  font-size: 3.2em;
  color: #ffd700; /* Gold color for main title */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary brand color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffd700; /* Gold underline */
  border-radius: 2px;
}

.page-about__intro-text,
.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-about__text-block strong {
  color: #ffd700;
}

.page-about__text-link {
  color: #007bff; /* Primary brand color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__text-link:hover {
  color: #ffd700; /* Gold on hover */
  text-decoration: underline;
}

.page-about__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.page-about__btn--primary {
  background-color: #007bff;
  color: #ffffff;
  border-color: #007bff;
}

.page-about__btn--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.page-about__btn--secondary {
  background-color: transparent;
  color: #007bff;
  border-color: #007bff;
}

.page-about__btn--secondary:hover {
  background-color: #007bff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.page-about__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-about__intro-image-wrapper {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__intro-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-about__image-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-about__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-about__image-caption {
  padding: 15px;
  font-size: 0.95em;
  color: #cccccc;
}

.page-about__image--full-width {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-about__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-about__card:hover {
  transform: translateY(-5px);
}

.page-about__card-title {
  font-size: 1.8em;
  color: #ffd700;
  margin-bottom: 15px;
  text-align: center;
}

.page-about__card-text {
  font-size: 1em;
  color: #f0f0f0;
  text-align: justify;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-about__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: auto; /* Push image to bottom if content is short */
}

.page-about__value-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__value-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #007bff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-about__value-heading {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-about__value-text {
  font-size: 1em;
  color: #cccccc;
}

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

.page-about__benefit-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__benefit-item:hover {
  transform: translateY(-5px);
  background-color: rgba(0, 123, 255, 0.2);
}

.page-about__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__benefit-title {
  font-size: 1.4em;
  color: #ffd700;
  margin-bottom: 10px;
}

.page-about__benefit-text {
  font-size: 0.95em;
  color: #cccccc;
}

.page-about__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

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

.page-about__contact-item {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-about__contact-item::before {
  content: '▶';
  color: #007bff;
  position: absolute;
  left: 0;
  top: 0;
}

/* FAQ styles */
.page-about__section--faq {
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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 15px;
  opacity: 0;
  color: #cccccc;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 0 0 5px 5px;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 123, 255, 0.3);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: rgba(0, 123, 255, 0.2);
  border-color: #007bff;
}

.page-about__faq-question:active {
  background: rgba(0, 123, 255, 0.3);
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #f0f0f0;
}

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

.page-about__faq-item.active .page-about__faq-toggle {
  color: #007bff;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__mission-vision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about__main-title {
    font-size: 2.2em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__intro-text,
  .page-about__text-block {
    font-size: 1em;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__image-grid {
    grid-template-columns: 1fr;
  }
  .page-about__card {
    padding: 20px;
  }
  .page-about__card-title {
    font-size: 1.5em;
  }
  .page-about__value-list {
    grid-template-columns: 1fr;
  }
  .page-about__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn {
    width: 100%;
  }
  .page-about__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-about__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-about__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image specific rules */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__intro-image-wrapper,
  .page-about__image-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__image--full-width {
    padding-left: 0;
    padding-right: 0;
  }
}