/* style/about.css */
:root {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-1: #0d0d0d; /* Assuming this is the value of var(--dark-bg-1) */
  --bg-light-1: #f1f3f5;
  --border-color: #e0e0e0;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark-1);
}

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

.page-about__main-title,
.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-about__main-title .highlight,
.page-about__section-title .highlight {
  color: var(--secondary-color);
}

.page-about__intro-section {
  padding: 120px 0 60px; /* Adjusted for fixed header */
  background: linear-gradient(135deg, var(--primary-color), #004d99);
  color: var(--text-light);
}

.page-about__intro-text {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.8;
}

.page-about__intro-text .highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-about__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-about__btn-primary:hover {
  background: #e6b800;
  border-color: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  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.2);
}

.page-about__values-section {
  background-color: var(--bg-light-1);
  padding: 60px 0;
  color: var(--text-dark);
}

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

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

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

.page-about__value-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__value-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-about__value-description .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-about__offerings-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #004d99, var(--primary-color));
  color: var(--text-light);
}

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

.page-about__offering-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__offering-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.page-about__offering-image {
  width: 250px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__offering-description {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-about__offering-description .highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-about__btn-link {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__btn-link:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

.page-about__team-section {
  background-color: var(--bg-light-1);
  padding: 60px 0;
  color: var(--text-dark);
}

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

.page-about__team-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-about__team-text {
  flex: 2;
  min-width: 300px;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-about__team-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-about__team-text .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-about__why-choose-us-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-color), #004d99);
  color: var(--text-light);
}

.page-about__why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-about__why-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__why-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.page-about__why-item strong {
  color: var(--secondary-color);
}

.page-about__why-icon {
  width: 60px;
  height: auto;
  flex-shrink: 0;
}

.page-about__blog-section {
  background-color: var(--bg-light-1);
  padding: 60px 0;
  color: var(--text-dark);
}

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

.page-about__blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-about__blog-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-about__blog-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-about__blog-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-about__blog-title strong {
  color: var(--primary-color);
}

.page-about__blog-excerpt {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__blog-excerpt strong {
  color: var(--primary-color);
}

.page-about__read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

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

.page-about__faq-section {
  background-color: var(--bg-dark-1);
  padding: 60px 0;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 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, opacity 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;
  color: var(--text-dark);
}

.page-about__faq-item.active .page-about__faq-answer p strong {
  color: var(--primary-color);
}

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

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title,
  .page-about__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__container,
  .page-about__intro-section,
  .page-about__values-section,
  .page-about__offerings-section,
  .page-about__team-section,
  .page-about__why-choose-us-section,
  .page-about__blog-section,
  .page-about__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__intro-section {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    padding-bottom: 40px;
  }

  .page-about__main-title,
  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-about__intro-text {
    font-size: 16px;
  }

  .page-about__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-about__values-section,
  .page-about__offerings-section,
  .page-about__team-section,
  .page-about__why-choose-us-section,
  .page-about__blog-section,
  .page-about__faq-section {
    padding: 40px 0;
  }

  .page-about__value-card,
  .page-about__offering-item,
  .page-about__blog-card {
    padding: 20px;
  }

  .page-about__value-title {
    font-size: 20px;
  }

  .page-about__offering-title {
    font-size: 18px;
  }

  .page-about__team-content {
    flex-direction: column;
  }

  .page-about__team-image {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .page-about__team-text {
    padding: 25px;
  }

  .page-about__why-icon {
    width: 50px;
  }

  .page-about__blog-grid {
    grid-template-columns: 1fr;
  }

  .page-about__blog-image {
    height: 180px;
  }

  .page-about__blog-title {
    font-size: 18px;
  }

  .page-about__faq-question {
    padding: 15px;
  }
  
  .page-about__faq-question h3 {
    font-size: 15px;
  }
  
  .page-about__faq-toggle {
    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;
  }
}