/* style/about-us.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #001f4d;
  --border-color: #e0e0e0;
}

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

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

.page-about-us section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-about-us .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about-us .section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

/* Hero Banner */
.page-about-us .hero-banner {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: var(--text-light);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about-us .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-about-us .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.2;
}

.page-about-us .hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-about-us .cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-about-us .cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Section Intro */
.page-about-us .section-intro {
  background-color: var(--text-light);
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-about-us .intro-text {
  flex: 1;
  padding-right: 20px;
}

.page-about-us .intro-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-about-us .intro-text strong {
  color: var(--primary-color);
}

.page-about-us .intro-image {
  flex: 1;
  text-align: center;
}

.page-about-us .intro-image .img-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-about-us .btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-about-us .btn-primary:hover {
  background-color: #0056b3;
}

/* Section History */
.page-about-us .section-history {
  background-color: var(--bg-light);
}

.page-about-us .timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.page-about-us .timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.page-about-us .timeline-item {
  padding: 20px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.page-about-us .timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: var(--secondary-color);
  border: 4px solid var(--primary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.page-about-us .timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.page-about-us .timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.page-about-us .timeline-item:nth-child(odd)::after {
  left: auto;
  right: -17px;
}

.page-about-us .timeline-item:nth-child(even)::after {
  left: -17px;
  right: auto;
}

.page-about-us .timeline-year {
  font-size: 1.6em;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.page-about-us .timeline-item p {
  font-size: 1.0em;
  color: #666;
}

/* Section Values */
.page-about-us .section-values {
  background-color: var(--text-light);
}

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

.page-about-us .value-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-about-us .value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-about-us .value-icon {
  width: 250px; /* Min size 200px */
  height: 200px; /* Min size 200px */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about-us .value-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about-us .value-card p {
  font-size: 0.95em;
  color: #666;
  line-height: 1.6;
}

/* Section Commitment */
.page-about-us .section-commitment {
  background-color: var(--bg-light);
}

.page-about-us .commitment-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-about-us .commitment-list li {
  background-color: #ffffff;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: var(--text-dark);
  border-left: 5px solid var(--secondary-color);
}

.page-about-us .commitment-list li strong {
  color: var(--primary-color);
}

.page-about-us .cta-bottom {
  text-align: center;
  font-size: 1.2em;
  color: var(--text-dark);
}

.page-about-us .cta-bottom a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about-us .cta-bottom a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* FAQ Section */
.page-about-us .section-faq {
  background-color: var(--text-light);
}

.page-about-us .faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-about-us .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-about-us .faq-question:hover {
  background: #f5f5f5;
}

.page-about-us .faq-question h3 {
  font-size: 1.15em;
  color: var(--primary-color);
  margin: 0;
  font-weight: bold;
}

.page-about-us .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

.page-about-us .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: #555;
}

.page-about-us .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.page-about-us .faq-answer p {
  margin: 0;
  font-size: 1.0em;
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about-us .hero-title {
    font-size: 2.8em;
  }

  .page-about-us .hero-description {
    font-size: 1.1em;
  }

  .page-about-us .intro-grid {
    flex-direction: column;
  }

  .page-about-us .intro-text {
    padding-right: 0;
  }

  .page-about-us .intro-image {
    margin-top: 30px;
  }

  .page-about-us .timeline::after {
    left: 18px;
  }

  .page-about-us .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
    text-align: left !important;
  }

  .page-about-us .timeline-item::after {
    left: 11px !important;
    right: auto;
  }

  .page-about-us .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about-us .hero-title {
    font-size: 2.2em;
  }

  .page-about-us .hero-description {
    font-size: 1em;
  }

  .page-about-us .cta-button {
    padding: 15px 35px;
    font-size: 1em;
  }

  .page-about-us .section-title {
    font-size: 2em;
  }

  .page-about-us .section-description {
    font-size: 0.95em;
  }

  .page-about-us .commitment-list li {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-about-us .faq-question h3 {
    font-size: 1em;
  }

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

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

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

@media (max-width: 480px) {
  .page-about-us .hero-title {
    font-size: 1.8em;
  }

  .page-about-us .hero-description {
    font-size: 0.9em;
  }

  .page-about-us .cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }

  .page-about-us .section-title {
    font-size: 1.8em;
  }

  .page-about-us .value-icon {
    width: 200px;
    height: 150px;
  }
}