/* style/about.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f1f3f5;
  --border-light: #e0e0e0;
}

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

.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(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-about__text-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 17px;
}

.page-about__dark-bg {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-about__light-bg {
  background: var(--bg-light);
  color: var(--text-dark);
}

/* HERO Banner */
.page-about__hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background-image: url('[GALLERY:hero:about_us_banner,company_overview,team]');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  min-height: 450px;
}

.page-about__hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  z-index: 1;
}

.page-about__hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-about__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
  color: var(--text-light);
}

.page-about__hero-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

/* Introduction Section */
.page-about__introduction {
  padding: 80px 0;
}

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__text-block {
  flex: 1;
  font-size: 17px;
}

.page-about__text-block p {
  margin-bottom: 15px;
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Mission Vision Section */
.page-about__mission-vision {
  padding: 80px 0;
}

.page-about__mission-vision .page-about__section-title {
  color: var(--text-light);
}

.page-about__value-cards {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-card {
  flex: 1;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

.page-about__value-card p {
  font-size: 16px;
  color: var(--text-dark);
}

/* Expertise Section */
.page-about__expertise {
  padding: 80px 0;
}

.page-about__expertise-content h3 {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-about__expertise-content h4 {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__expertise-content p {
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-dark);
}

.page-about__expertise-content ul {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-about__expertise-content ul li {
  margin-bottom: 10px;
  font-size: 17px;
  color: var(--text-dark);
}

.page-about__expertise-content ul li strong {
  color: var(--primary-color);
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  padding: 80px 0;
}

.page-about__why-choose-us .page-about__section-title {
  color: var(--text-light);
}

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

.page-about__benefit-card {
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-about__benefit-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-about__benefit-card p {
  font-size: 16px;
  color: var(--text-dark);
}

.page-about__link-text {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-about__link-text:hover {
  text-decoration: underline;
  color: darken(var(--primary-color), 10%);
}

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

.page-about__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

/* Team Section */
.page-about__team {
  padding: 80px 0;
}

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

.page-about__member-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-about__member-photo {
  width: 250px; /* Min size 200px */
  height: 250px; /* Min size 200px */
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--secondary-color);
}

.page-about__member-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-about__member-card p {
  font-size: 15px;
  color: #666666;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 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;
  padding: 0 15px;
  opacity: 0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  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: #f5f5f5;
  border-color: #d0d0d0;
}

.page-about__faq-question:active {
  background: #eeeeee;
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-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: 28px;
  height: 28px;
}

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

.page-about__faq-answer p {
  font-size: 16px;
  color: var(--text-dark);
}

.page-about__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

/* Contact Section */
.page-about__contact {
  padding: 80px 0;
  text-align: center;
}

.page-about__contact .page-about__section-title {
  color: var(--text-light);
}

.page-about__contact p {
  color: var(--text-light);
  font-size: 17px;
  margin-bottom: 40px;
}

.page-about__btn-secondary {
  background: var(--text-light);
  color: var(--primary-color);
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--secondary-color);
}

.page-about__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 40px;
  }
  .page-about__hero-description {
    font-size: 18px;
  }
  .page-about__section-title {
    font-size: 32px;
  }
  .page-about__expertise-content h3 {
    font-size: 24px;
  }
  .page-about__expertise-content h4 {
    font-size: 20px;
  }
  .page-about__content-grid {
    flex-direction: column;
  }
  .page-about__image-block {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-banner {
    padding-top: 160px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    min-height: 350px;
  }
  .page-about__hero-title {
    font-size: 32px;
  }
  .page-about__hero-description {
    font-size: 16px;
  }
  .page-about__hero-cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-about__introduction, .page-about__mission-vision, .page-about__expertise, .page-about__why-choose-us, .page-about__team, .page-about__faq-section, .page-about__contact {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__value-cards, .page-about__benefit-cards, .page-about__team-members {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__value-card h3, .page-about__benefit-card h3, .page-about__member-card h3 {
    font-size: 20px;
  }
  .page-about__value-card p, .page-about__benefit-card p, .page-about__member-card p, .page-about__expertise-content p, .page-about__expertise-content ul li {
    font-size: 15px;
  }
  .page-about__expertise-content h3 {
    font-size: 22px;
  }
  .page-about__expertise-content h4 {
    font-size: 18px;
  }
  .page-about__member-photo {
    width: 200px;
    height: 200px;
  }
  
  /* Mobile image forced adaptation */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__section, .page-about__card, .page-about__container, .page-about__hero-banner, .page-about__introduction, .page-about__mission-vision, .page-about__expertise, .page-about__why-choose-us, .page-about__team, .page-about__faq-section, .page-about__contact {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-about__faq-question h3 {
    font-size: 15px;
    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;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 28px;
  }
  .page-about__hero-description {
    font-size: 15px;
  }
  .page-about__section-title {
    font-size: 24px;
  }
  .page-about__hero-cta-button, .page-about__btn-primary, .page-about__btn-secondary {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 20px;
  }
}