/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
}

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

.page-about .section-title {
  font-size: 38px;
  color: #003366;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 15px;
  font-weight: bold;
}

.page-about .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  border-radius: 2px;
}

.page-about .sub-title {
  font-size: 28px;
  color: #003366;
  margin-bottom: 25px;
  font-weight: bold;
}

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

.page-about p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #444444;
}

.page-about a {
  color: #003366;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about a:hover {
  color: #FFCC00;
}

/* Hero Section */
.page-about .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #f5f5f5;
}

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

.page-about .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-about .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-about .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about .hero-title {
  font-size: 48px;
  color: #003366;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about .hero-description {
  font-size: 20px;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFCC00;
  color: #003366;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: 2px solid #FFCC00;
}

.page-about .cta-button:hover {
  background: #003366;
  color: #FFCC00;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about .cta-button.secondary {
  background: #003366;
  color: #FFCC00;
  border-color: #003366;
}

.page-about .cta-button.secondary:hover {
  background: #FFCC00;
  color: #003366;
  border-color: #FFCC00;
}

/* Section Intro */
.page-about .section-intro {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-about .content-block {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about .content-image {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: auto;
  object-fit: cover;
}

.page-about .text-content {
  flex: 1;
  max-width: 50%;
}

/* Section Values */
.page-about .section-values {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-about .value-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about .value-icon {
  width: 120px; /* Increased size for content image, not icon */
  height: 120px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 4px solid #FFCC00;
  padding: 5px;
}

.page-about .value-title {
  font-size: 24px;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about .value-description {
  font-size: 16px;
  color: #666666;
}

/* Section Offerings */
.page-about .section-offerings {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-about .offering-card {
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about .card-image {
  width: 100%;
  height: 250px; /* Ensure images are not small icons */
  object-fit: cover;
  display: block;
}

.page-about .card-title {
  font-size: 22px;
  color: #003366;
  padding: 20px 20px 10px;
  font-weight: bold;
}

.page-about .card-title a.page-about.card-link {
  color: #003366;
  display: block;
}

.page-about .card-title a.page-about.card-link:hover {
  color: #FFCC00;
}

.page-about .card-description {
  font-size: 16px;
  color: #666666;
  padding: 0 20px 20px;
}

/* Section Commitment */
.page-about .section-commitment {
  padding: 80px 0;
  background-color: #f0f4f8;
}

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

.page-about .commitment-item {
  text-align: center;
  padding: 30px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-about .commitment-icon {
  width: 150px; /* Increased size for content image, not icon */
  height: 150px;
  object-fit: contain;
  margin-bottom: 25px;
}

.page-about .commitment-title {
  font-size: 26px;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about .commitment-description {
  font-size: 17px;
  color: #555555;
}

/* Section FAQ */
.page-about .section-faq {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page-about .faq-question-title {
  font-size: 18px;
  color: #003366;
  margin: 0;
  font-weight: bold;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFCC00;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fcfcfc;
  color: #555555;
  font-size: 16px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

.faq-item.active .faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about .section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .page-about .hero-title {
    font-size: 38px;
  }

  .page-about .hero-description {
    font-size: 18px;
  }

  .page-about .content-block {
    flex-direction: column;
    text-align: center;
  }

  .page-about .content-image {
    max-width: 80%;
    margin-bottom: 30px;
  }

  .page-about .text-content {
    max-width: 100%;
  }

  .page-about .offerings-grid, .page-about .values-grid, .page-about .commitment-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-about .value-icon, .page-about .commitment-icon {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .page-about .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-about .hero-title {
    font-size: 30px;
  }

  .page-about .hero-description {
    font-size: 16px;
  }

  .page-about .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-about .section-intro, .page-about .section-values, .page-about .section-offerings, .page-about .section-commitment, .page-about .section-faq {
    padding: 50px 0;
  }

  .page-about .content-image {
    max-width: 100%;
  }

  .page-about .value-title, .page-about .commitment-title {
    font-size: 20px;
  }

  .page-about .card-title {
    font-size: 19px;
  }

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

  .page-about .faq-question-title {
    font-size: 16px;
  }

  .faq-toggle {
    font-size: 20px;
  }

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

@media (max-width: 480px) {
  .page-about .hero-section {
    padding: 40px 15px;
  }

  .page-about .hero-title {
    font-size: 24px;
  }

  .page-about .hero-description {
    font-size: 15px;
  }

  .page-about .section-title {
    font-size: 24px;
  }

  .page-about .offerings-grid, .page-about .values-grid, .page-about .commitment-list {
    grid-template-columns: 1fr;
  }

  .page-about .value-icon, .page-about .commitment-icon {
    width: 80px;
    height: 80px;
  }

  .page-about .card-image {
    height: 200px;
  }
}