/* style/about.css */
:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #002244;
  --border-color: #e0e0e0;
}

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

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

.page-about-text-center {
  text-align: center;
}

.page-about-section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: var(--background-light);
}

.page-about-section:nth-of-type(even) {
  background-color: #e9ecef; /* Slightly different background for visual separation */
}

.page-about h1,
.page-about h2,
.page-about h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-about h1 {
  font-size: 2.8em;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about h2 {
  font-size: 2.2em;
  border-bottom: 3px solid var(--secondary-color);
  display: inline-block;
  padding-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}

.page-about h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-about p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--text-dark);
}

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

.page-about a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-about-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #004d99 100%); /* Darker primary for hero background */
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column; /* Ensure content stacks vertically */
  align-items: center;
  justify-content: center;
}

.page-about-hero-image {
  width: 100%;
  max-width: 800px; /* Adjust based on desired visual impact */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
  object-fit: cover;
}

.page-about-hero-content p {
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.2em;
}

.page-about-cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about-cta-button:hover {
  background-color: #ffd700; /* Slightly brighter gold */
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about-cta-large {
  padding: 18px 50px;
  font-size: 1.4em;
}

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

.page-about-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about-card-image {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about-card h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-about-card p {
  color: var(--text-dark);
  font-size: 1em;
}

.page-about-content-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 50px;
}

.page-about-content-block:last-of-type {
  margin-bottom: 0;
}

.page-about-content-block h3 {
  width: 100%;
  text-align: left;
  margin-bottom: 25px;
  color: var(--primary-color);
  font-size: 1.8em;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-about-content-block p,
.page-about-content-block ul {
  flex: 1;
  padding-right: 30px;
  font-size: 1.1em;
}

.page-about-content-block ul {
  list-style: disc inside;
  padding-left: 20px;
}

.page-about-content-block ul li {
  margin-bottom: 8px;
  color: var(--text-dark);
}

.page-about-content-image-right,
.page-about-content-image-left {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-about-content-image-right {
  margin-left: 30px;
  order: 2;
}

.page-about-content-image-left {
  margin-right: 30px;
  order: 1;
}

.page-about-content-block:nth-child(odd) .page-about-content-image-right {
  order: 2;
}

.page-about-content-block:nth-child(even) .page-about-content-image-left {
  order: 1;
}

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

.page-about-value-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  border-top: 5px solid var(--secondary-color);
}

.page-about-value-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about-value-item h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-about-commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-about-commitment-list li {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.page-about-commitment-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}

.page-about-commitment-list li h3 {
  text-align: left;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.5em;
  border-bottom: none;
  padding-bottom: 0;
}

.page-about-feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-left: 5px solid var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-about-feature-card h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
}

/* FAQ Styles */
.page-about-faq-items {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

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

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

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
  text-align: left;
  flex-grow: 1;
  border-bottom: none;
  padding-bottom: 0;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  color: var(--text-dark);
}

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

.faq-answer p {
  margin: 0;
  font-size: 1em;
}

.page-about-contact-cta {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
}

.page-about-contact-cta h2 {
  color: var(--secondary-color);
  font-size: 2.5em;
  margin-bottom: 20px;
  border-bottom: none;
}

.page-about-contact-cta p {
  color: var(--text-light);
  font-size: 1.3em;
  margin-bottom: 40px;
}

.page-about-contact-cta a {
  color: var(--secondary-color);
}

.page-about-contact-cta a:hover {
  color: #ffd700;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about h1 {
    font-size: 2.4em;
  }
  .page-about h2 {
    font-size: 2em;
  }
  .page-about h3 {
    font-size: 1.5em;
  }
  .page-about-hero-image {
    max-width: 600px;
  }
  .page-about-content-block p,
  .page-about-content-block ul {
    padding-right: 15px;
  }
  .page-about-content-image-right,
  .page-about-content-image-left {
    max-width: 100%;
    margin: 20px 0;
  }
  .page-about-content-block:nth-child(odd) .page-about-content-image-right,
  .page-about-content-block:nth-child(even) .page-about-content-image-left {
    order: unset; /* Reset order for smaller screens */
  }
  .page-about-commitment-list li {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .page-about-commitment-list li h3 {
    text-align: center;
  }
}