/* style/about-us.css */

:root {
  --primary-color: #FFD700;
  --secondary-color: #1A1A1A;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #121212;
  --background-light: #f8f8f8;
  --border-color: rgba(255, 255, 255, 0.1);
}

.page-about-us {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Dark body background, so use light text */
  background-color: var(--background-dark); /* Ensure consistency with body background */
}

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

.page-about-us__hero-section {
  position: relative;
  padding: 120px 0 80px; /* Desktop padding-top to clear fixed header */
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-color), #0a0a0a);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about-us__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about-us__hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-about-us__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-about-us__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.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about-us__cta-button--primary:hover {
  background: darken(var(--primary-color), 10%);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-about-us__cta-button--secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-about-us__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-about-us__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-about-us__introduction-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-about-us__introduction-text {
  flex: 1;
  font-size: 17px;
  line-height: 1.8;
}

.page-about-us__introduction-text p {
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-about-us__introduction-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-about-us__brand-story-section {
  padding: 80px 0;
  background: var(--secondary-color);
  color: var(--text-light);
}

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

.page-about-us__brand-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-about-us__brand-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-about-us__brand-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-about-us__brand-item-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-about-us__brand-item p {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.7;
}

.page-about-us__why-choose-us-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

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

.page-about-us__feature-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-about-us__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 25px;
  object-fit: contain;
}

.page-about-us__feature-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-about-us__feature-item p {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.7;
}

.page-about-us__faq-section {
  padding: 80px 0;
  background: var(--secondary-color);
  color: var(--text-light);
}

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

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

.page-about-us__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  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;
  color: var(--text-light);
}

.page-about-us__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

.page-about-us__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-us__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-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: 32px;
  height: 32px;
}

.page-about-us__faq-item.active .page-about-us__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for active state */
  color: var(--text-light);
}

.page-about-us__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 25px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.3);
  color: #e0e0e0;
  border-radius: 0 0 8px 8px;
}

.page-about-us__faq-item.active .page-about-us__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page-about-us__faq-answer p {
  margin: 0 0 10px 0;
}

.page-about-us__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-about-us__blog-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-about-us__blog-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-us__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-about-us__blog-item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-about-us__blog-item-title {
  font-size: 20px;
  color: var(--primary-color);
  padding: 20px 20px 10px;
  margin: 0;
  line-height: 1.4;
}

.page-about-us__blog-item-excerpt {
  font-size: 15px;
  color: #cccccc;
  padding: 0 20px 15px;
  margin: 0;
}

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

.page-about-us__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(45deg, var(--primary-color), #f0c000);
  color: var(--secondary-color);
}

.page-about-us__cta-bottom-section .page-about-us__section-title {
  color: var(--secondary-color);
}

.page-about-us__cta-bottom-section .page-about-us__section-title::after {
  background-color: var(--secondary-color);
}

.page-about-us__cta-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-about-us__cta-bottom-section .page-about-us__cta-button {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-about-us__cta-bottom-section .page-about-us__cta-button:hover {
  background: #000000;
  color: var(--primary-color);
  border-color: #000000;
}

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

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

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

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

@media (max-width: 768px) {
  .page-about-us__hero-section {
    padding: 100px 0 60px; /* Mobile padding-top to clear fixed header */
  }

  .page-about-us__container {
    padding: 0 15px;
  }

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

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

  .page-about-us__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-about-us__section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .page-about-us__introduction-text,
  .page-about-us__introduction-text p,
  .page-about-us__brand-item p,
  .page-about-us__feature-item p,
  .page-about-us__faq-answer p,
  .page-about-us__blog-item-excerpt,
  .page-about-us__cta-description {
    font-size: 15px;
  }

  .page-about-us__introduction-image {
    max-width: 100%;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-about-us__brand-item-title {
    font-size: 20px;
  }

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

  .page-about-us__feature-icon {
    max-width: 120px;
  }

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

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

  .page-about-us__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-about-us__faq-answer {
    padding: 15px 20px !important;
  }

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

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

  /* General image responsive styles for mobile */
  .page-about-us img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-about-us__section,
  .page-about-us__card,
  .page-about-us__container,
  .page-about-us__introduction-content,
  .page-about-us__brand-content,
  .page-about-us__features-grid,
  .page-about-us__faq-list,
  .page-about-us__blog-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}