:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
  --accent-red: #dc3545; /* For highlighting, emergencies */
}

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

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 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;
  position: relative;
  padding-bottom: 15px;
}

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

.page-about__section-description {
  font-size: 18px;
  text-align: center;
  color: #666;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-about__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: var(--text-color-light);
  text-align: center;
  padding-top: var(--header-offset, 120px);
  box-sizing: border-box;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-about__main-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-about__cta-button {
  display: inline-block;
  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.15);
  border: none;
  cursor: pointer;
}

.page-about__cta-button--primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-about__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button--secondary {
  background: var(--primary-color);
  color: var(--text-color-light);
  border: 2px solid var(--secondary-color);
}

.page-about__cta-button--secondary:hover {
  background: #0d1016;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Brand Section */
.page-about__brand-section {
  padding: 80px 0;
}

.page-about__sub-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 15px;
}

.page-about__sub-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 80%;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-about__list li {
  background: #f0f0f0;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 16px;
  display: flex;
  align-items: flex-start;
  color: var(--text-color-dark);
}

.page-about__list li::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 10px;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.page-about__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-about__image-text-block img {
  flex: 0 0 45%;
  max-width: 45%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-about__image-left {
  order: 1;
}

.page-about__image-right {
  order: 2;
}

.page-about__image-text-block p {
  flex: 1;
  margin: 0;
}

.page-about__image-text-block--reverse .page-about__image-left {
  order: 2;
}

.page-about__image-text-block--reverse .page-about__image-right {
  order: 1;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  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 h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Change to X or rotate for minus */
}

.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.3s ease;
  padding: 0 25px;
  opacity: 0;
  color: var(--text-color-dark);
  font-size: 16px;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #fcfcfc;
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
}

.page-about__faq-answer p {
  margin: 0;
}

.page-about__faq-image-container {
  text-align: center;
  margin-top: 50px;
}

.page-about__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Blog Section */
.page-about__blog-section {
  padding: 80px 0;
}

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

.page-about__blog-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  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__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-about__blog-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.page-about__blog-item-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-about__blog-item-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  padding: 15px 20px 10px;
  margin: 0;
}

.page-about__blog-item-excerpt {
  font-size: 15px;
  color: #666;
  padding: 0 20px 15px;
  margin: 0;
}

.page-about__blog-item-date {
  display: block;
  font-size: 13px;
  color: #999;
  padding: 0 20px 20px;
  text-align: right;
}

.page-about__view-all-button-container {
  text-align: center;
  margin-top: 50px;
}

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

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

  .page-about__section-title {
    font-size: 32px;
  }

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

  .page-about__image-text-block {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__image-text-block img {
    max-width: 100%;
    width: 100%;
    order: 1 !important;
  }

  .page-about__image-text-block p {
    order: 2 !important;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-about__main-title {
    font-size: 36px;
  }

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

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-about__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-about__container {
    padding: 20px 15px;
  }

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

  .page-about__section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .page-about__paragraph {
    font-size: 15px;
  }

  .page-about__sub-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-about__list li {
    padding: 12px 15px;
    font-size: 15px;
  }

  .page-about__faq-question {
    padding: 15px 20px;
  }

  .page-about__faq-question h3 {
    font-size: 16px;
  }

  .page-about__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
    margin-left: 15px;
  }

  .page-about__faq-answer {
    padding: 0 20px;
    font-size: 15px;
  }

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px !important;
  }

  .page-about__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-about__blog-item-excerpt {
    font-size: 14px;
  }

  /* Ensure all images are responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__blog-item,
  .page-about__faq-item,
  .page-about__image-text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  
  .page-about__image-text-block img {
    padding-left: 0;
    padding-right: 0;
  }

  .page-about__cta-buttons {
    padding-left: 0;
    padding-right: 0;
  }

  .page-about__faq-list {
    padding-left: 0;
    padding-right: 0;
  }
}