/* style/promotions.css */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Body background color */
}

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

.page-promotions__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__text-block {
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: justify;
}

.page-promotions__cta-wrapper {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
  margin: 0 10px;
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  margin: 0 10px;
}

.page-promotions__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

.page-promotions__btn-link {
  background: none;
  color: #E53935;
  border: 1px solid #E53935;
  padding: 8px 15px;
  font-size: 0.9rem;
  margin-top: 10px;
}

.page-promotions__btn-link:hover {
  background: #E53935;
  color: #ffffff;
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px; /* Space for content below image */
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for desktop */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover; /* Cover for desktop to fill space */
  display: block;
}

.page-promotions__hero-content {
  max-width: 900px;
  padding: 20px;
  z-index: 1;
  position: relative; /* Ensure it's in normal document flow */
  margin-top: 20px;
}

.page-promotions__hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #E53935;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #333333;
  margin-bottom: 30px;
}

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

/* Introduction Section */
.page-promotions__introduction-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

/* Promotion Types Section */
.page-promotions__types-section {
  padding: 60px 0;
  background-color: #E53935; /* Brand color as background */
  color: #ffffff;
}

.page-promotions__types-section .page-promotions__section-title {
  color: #ffffff;
}

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

.page-promotions__promotion-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #E0E0E0;
}

.page-promotions__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-promotions__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #E53935;
  padding: 0 15px;
}

.page-promotions__card-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
  text-align: justify;
}

/* How To Join Section */
.page-promotions__how-to-join-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

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

.page-promotions__guide-steps {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-promotions__step-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding-left: 60px;
}

.page-promotions__step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.page-promotions__step-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333333;
}

.page-promotions__step-description {
  font-size: 0.95rem;
  color: #555555;
  text-align: justify;
}

.page-promotions__guide-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__guide-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 60px 0;
  background-color: #E53935;
  color: #ffffff;
}

.page-promotions__terms-section .page-promotions__section-title {
  color: #ffffff;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions__terms-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.5;
  border-left: 4px solid #FF5A4F;
}

.page-promotions__terms-item strong {
  color: #FF5A4F;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

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

.page-promotions__reason-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  border: 1px solid #E0E0E0;
}

.page-promotions__reason-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  display: block;
  object-fit: contain;
}

.page-promotions__reason-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #E53935;
}

.page-promotions__reason-description {
  font-size: 0.95rem;
  color: #555555;
  text-align: justify;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: #F5F7FA;
  display: flex;
  flex-direction: column;
}

.page-promotions__faq-list {
  flex: 2;
  margin-top: 30px;
}

.page-promotions__faq-item {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #fcfcfc;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #E53935;
  margin-left: 15px;
  width: 20px;
  text-align: center;
}

.page-promotions__faq-answer {
  padding: 0 25px 18px 25px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.5;
  text-align: justify;
}

.page-promotions__faq-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.page-promotions__faq-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Conclusion Section */
.page-promotions__conclusion-section {
  padding: 60px 0;
  background-color: #E53935;
  color: #ffffff;
  text-align: center;
}

.page-promotions__conclusion-section .page-promotions__section-title {
  color: #ffffff;
}

.page-promotions__conclusion-section .page-promotions__text-block {
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-promotions__container {
    padding: 15px;
  }

  .page-promotions__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-promotions__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 30px;
  }

  .page-promotions__hero-image {
    object-fit: contain; /* Contain for mobile to prevent cropping */
    max-height: 400px; /* Limit height for mobile */
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__hero-title {
    font-size: 2rem;
  }

  .page-promotions__hero-description {
    font-size: 0.95rem;
  }

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