/* style/about.css */
:root {
  --primary-color: #0A2239;
  --secondary-color: #E0B973;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --card-bg: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.2);
}

.page-about {
  color: var(--text-light); /* Light text for dark body background */
  background-color: var(--background-dark);
  line-height: 1.7;
  font-family: 'Arial', sans-serif;
  padding-top: 120px; /* Desktop: Padding for fixed header */
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-about__sub-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-light);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__paragraph {
  font-size: 16px;
  margin-bottom: 16px;
  color: #f0f0f0;
}

.page-about__paragraph a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

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

/* Hero Banner Section */
.page-about__hero-banner-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 60px; /* Adjusted to not conflict with main padding-top */
  overflow: hidden;
}

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

.page-about__hero-banner-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-about__hero-banner-content {
  position: absolute;
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 10px;
}

.page-about__hero-banner-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-banner-subtitle {
  font-size: 22px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #E0B973, #D4AF37);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-about__cta-button:hover {
  background: linear-gradient(135deg, #D4AF37, #E0B973);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Introduction Section */
.page-about__introduction-section,
.page-about__values-section,
.page-about__why-choose-us-section,
.page-about__commitment-section,
.page-about__faq-section,
.page-about__contact-cta-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}

.page-about__introduction-section:last-of-type,
.page-about__contact-cta-section:last-of-type {
    border-bottom: none;
}

/* Values Section */
.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: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about__value-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-about__value-description {
  font-size: 15px;
  color: #e0e0e0;
}

/* CTA Group */
.page-about__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-about__cta-button--primary {
  background: linear-gradient(135deg, #E0B973, #D4AF37);
  color: var(--primary-color);
}

.page-about__cta-button--secondary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
  padding: 13px 38px;
}

.page-about__cta-button--secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
}

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

.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: #e0e0e0;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg);
  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(255, 255, 255, 0.15);
}

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

.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: var(--text-light);
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  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 {
  color: var(--text-light);
  transform: rotate(45deg); /* Plus to X effect */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-banner-title {
    font-size: 40px;
  }
  .page-about__hero-banner-subtitle {
    font-size: 20px;
  }
  .page-about__section-title {
    font-size: 32px;
  }
  .page-about__sub-title {
    font-size: 22px;
  }
  .page-about__paragraph {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: 100px !important; /* Mobile: Padding for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__hero-banner-section {
    padding: 40px 15px;
  }
  .page-about__hero-banner-content {
    padding: 20px;
    width: 95%;
  }
  .page-about__hero-banner-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-about__hero-banner-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 20px;
  }
  .page-about__introduction-section,
  .page-about__values-section,
  .page-about__why-choose-us-section,
  .page-about__commitment-section,
  .page-about__faq-section,
  .page-about__contact-cta-section {
    padding: 40px 0;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__value-icon {
    width: 80px;
    height: 80px;
  }
  .page-about__value-title {
    font-size: 20px;
  }
  .page-about__value-description {
    font-size: 14px;
  }
  .page-about__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-about__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-about__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
  }
  .page-about__faq-toggle {
    margin-left: 10px;
    width: 26px;
    height: 26px;
    font-size: 24px;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image adaptation */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
  }
  .page-about__hero-banner-image {
    filter: brightness(0.6) !important;
  }
  .page-about__container,
  .page-about__hero-banner-container,
  .page-about__hero-banner-content,
  .page-about__values-grid,
  .page-about__value-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-about__hero-banner-title {
    font-size: 28px;
  }
  .page-about__hero-banner-subtitle {
    font-size: 16px;
  }
  .page-about__section-title {
    font-size: 24px;
  }
  .page-about__sub-title {
    font-size: 18px;
  }
  .page-about__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
}