/* style/about.css */
:root {
  --primary-color: #0A1931;
  --secondary-color: #FFD700;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.08);
  --border-color-dark-mode: rgba(255, 255, 255, 0.15);
}

/* Base styles for the about page content */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
  padding-top: 120px; /* Fixed nav spacing for desktop */
}

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

.page-about__section-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

.page-about__hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0A1931 100%);
  padding: 80px 20px;
  text-align: center;
  color: var(--text-color-dark-bg);
  padding-top: 10px; /* Specific for hero to account for nav bar */
}

.page-about__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #e0e0e0;
}

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

.page-about__hero-cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.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 20px rgba(0, 0, 0, 0.3);
}

.page-about__introduction-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-about__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__text-content {
  flex: 2;
  font-size: 17px;
  color: #e0e0e0;
}

.page-about__text-content p {
  margin-bottom: 15px;
}

.page-about__image-container {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block; /* Ensures no extra space below image */
  margin: 0 auto;
}

.page-about__why-choose-us-section {
  background-color: var(--primary-color);
  padding: 80px 0;
  color: var(--text-color-dark-bg);
}

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

.page-about__feature-card {
  background: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-about__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%; /* Ensure image responsiveness */
}

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

.page-about__feature-description {
  font-size: 16px;
  color: #c0c0c0;
  flex-grow: 1;
}

.page-about__promotions-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-about__promotion-item {
  background: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-about__promotion-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-about__promotion-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure image responsiveness */
}

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

.page-about__promotion-description {
  font-size: 16px;
  color: #c0c0c0;
  flex-grow: 1;
}

.page-about__cta-center {
  text-align: center;
  margin-top: 60px;
}

.page-about__commitment-section {
  background-color: var(--primary-color);
  padding: 80px 0;
  color: var(--text-color-dark-bg);
}

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

.page-about__commitment-item {
  background: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

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

.page-about__commitment-description {
  font-size: 16px;
  color: #c0c0c0;
  flex-grow: 1;
}

.page-about__commitment-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  object-fit: contain;
}

.page-about__get-started-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-about__step-card {
  background: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-about__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-about__step-description {
  font-size: 16px;
  color: #c0c0c0;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-about__btn-link:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-about__future-vision-section {
  background-color: var(--primary-color);
  padding: 80px 0;
  color: var(--text-color-dark-bg);
}

.page-about__vision-content {
  font-size: 17px;
  color: #e0e0e0;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-about__vision-content p {
  margin-bottom: 15px;
}

.page-about__contact-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  text-align: center;
}

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

.page-about__contact-info p {
  font-size: 17px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-about__contact-info a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__contact-info a:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 42px;
  }
  .page-about__section-title {
    font-size: 32px;
  }
  .page-about__hero-description, .page-about__section-subtitle {
    font-size: 17px;
  }
  .page-about__text-content, .page-about__feature-description, .page-about__promotion-description, .page-about__commitment-description, .page-about__step-description, .page-about__vision-content p, .page-about__contact-description, .page-about__contact-info p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: 100px !important; /* Mobile fixed nav spacing */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding: 60px 15px;
    padding-top: 10px !important;
  }

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

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

  .page-about__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__hero-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__introduction-section,
  .page-about__why-choose-us-section,
  .page-about__promotions-section,
  .page-about__commitment-section,
  .page-about__get-started-section,
  .page-about__future-vision-section,
  .page-about__contact-section {
    padding: 40px 0;
  }

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

  .page-about__section-title {
    font-size: 28px;
    padding-top: 20px;
  }

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

  .page-about__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__image-container {
    min-width: unset;
    width: 100%;
  }

  .page-about__image,
  .page-about__feature-icon,
  .page-about__promotion-image,
  .page-about__commitment-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain;
  }

  .page-about__feature-card,
  .page-about__promotion-item,
  .page-about__commitment-item,
  .page-about__step-card {
    padding: 25px;
    border-radius: 8px;
  }

  .page-about__feature-title,
  .page-about__promotion-title,
  .page-about__commitment-title,
  .page-about__step-title {
    font-size: 20px;
  }

  .page-about__cta-center .page-about__btn-primary {
    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__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 10px 20px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 28px;
  }
  .page-about__section-title {
    font-size: 24px;
  }
  .page-about__hero-description, .page-about__section-subtitle {
    font-size: 15px;
  }
  .page-about__feature-title, .page-about__promotion-title, .page-about__commitment-title, .page-about__step-title {
    font-size: 18px;
  }
  .page-about__text-content, .page-about__feature-description, .page-about__promotion-description, .page-about__commitment-description, .page-about__step-description, .page-about__vision-content p, .page-about__contact-description, .page-about__contact-info p {
    font-size: 14px;
  }
  .page-about__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
}