/* style/promo.css */
.page-promo {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

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

.page-promo__hero-section {
  text-align: center;
  padding: 60px 20px;
  background: #000000; /* Dark background for hero section */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-promo__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promo__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-promo__introduction-section,
.page-promo__promo-highlights,
.page-promo__promo-list,
.page-promo__why-jili30,
.page-promo__faq-section,
.page-promo__cta-section {
  padding: 60px 0;
  background: #FFFFFF;
}

.page-promo__introduction-section {
  background: #f8f8f8;
}

.page-promo__section-heading {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #000000;
}

.page-promo__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-promo__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #444444;
  text-align: justify;
}

.page-promo__button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
}

.page-promo__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Main color for text */
  box-shadow: 0 4px 15px rgba(252, 188, 69, 0.4);
}

.page-promo__button--primary:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-promo__button--secondary {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* White for text */
  border: 2px solid #FCBC45;
}

.page-promo__button--secondary:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
}

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

.page-promo__highlight-card {
  background: #fefefe;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 5px solid #FCBC45;
}

.page-promo__highlight-card:hover {
  transform: translateY(-10px);
}

.page-promo__card-image {
  width: 100%;
  max-width: 600px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-promo__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-promo__card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-promo__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promo__promo-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease;
  border: 1px solid #eee;
}

.page-promo__promo-card:hover {
  transform: translateY(-5px);
}

.page-promo__card-link {
  text-decoration: none;
  color: #000000;
}

.page-promo__card-link:hover {
  color: #FCBC45;
}

.page-promo__card-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.9em;
  font-weight: bold;
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.page-promo__card-button:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-promo__faq-section {
  background: #f8f8f8;
}

.page-promo__faq-item {
  background: #ffffff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promo__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-promo__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-promo__cta-section {
  text-align: center;
  padding: 80px 20px;
  background: #000000;
  color: #ffffff;
}

.page-promo__cta-image {
  width: 100%;
  max-width: 1000px; /* Ensure images are not too small */
  height: auto;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-promo {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also respects header offset */
  }

  .page-promo__hero-title {
    font-size: 2.2em;
  }

  .page-promo__hero-description {
    font-size: 1em;
  }

  .page-promo__section-heading {
    font-size: 1.8em;
  }

  .page-promo__text-content {
    font-size: 0.95em;
  }

  .page-promo__button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-promo__grid,
  .page-promo__promo-cards {
    grid-template-columns: 1fr;
  }

  .page-promo__highlight-card,
  .page-promo__promo-card {
    padding: 20px;
  }

  .page-promo__card-title {
    font-size: 1.5em;
  }

  .page-promo__faq-question {
    font-size: 1.2em;
  }

  /* Critical: Prevent content overflow on mobile */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }

  .page-promo__hero-section,
  .page-promo__introduction-section,
  .page-promo__promo-highlights,
  .page-promo__promo-list,
  .page-promo__why-jili30,
  .page-promo__faq-section,
  .page-promo__cta-section {
    padding: 40px 0;
  }

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

  .page-promo__hero-image,
  .page-promo__card-image,
  .page-promo__cta-image {
    min-width: 200px;
    min-height: 200px;
  }
}