/* style/promotions.css */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-promotions__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-promotions__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  align-items: center;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  background-color: #0a0a0a;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-section .page-promotions__container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-promotions__hero-content {
  flex: 1;
  min-width: 300px;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-promotions__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

/* Promo Types Section */
.page-promotions__promo-types {
  padding: 60px 0;
  background-color: #1a1a1a;
}

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-promotions__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #017439;
}

.page-promotions__card-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
  color: #03a04e;
}

.page-promotions__card-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
  padding: 60px 0;
  background-color: #0a0a0a;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.page-promotions__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
}

.page-promotions__step-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-promotions__step-text {
  font-size: 1em;
  color: #cccccc;
}

.page-promotions__step-text a {
  color: #017439;
  text-decoration: none;
}

.page-promotions__step-text a:hover {
  text-decoration: underline;
}

/* Benefits Section */
.page-promotions__benefits {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-promotions__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
}

.page-promotions__benefits-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-promotions__benefits-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-promotions__benefits-text {
  font-size: 1em;
  color: #cccccc;
}

/* FAQ Section */
.page-promotions__faq {
  padding: 60px 0;
  background-color: #1a1a1a;
}

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

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-title {
  margin: 0;
  color: #FFFFFF;
  font-size: 1.2em;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-promotions__faq-text {
  margin: 0;
  font-size: 1em;
  color: #cccccc;
}

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

.page-promotions__cta-buttons-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__hero-description {
    font-size: 1.1em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__hero-section .page-promotions__container {
    flex-direction: column;
    text-align: center;
  }

  .page-promotions__hero-content,
  .page-promotions__hero-image-wrapper {
    min-width: unset;
    width: 100%;
  }

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

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
  }

  .page-promotions__promo-grid,
  .page-promotions__steps-list,
  .page-promotions__benefits-list {
    grid-template-columns: 1fr;
  }

  .page-promotions__promo-card,
  .page-promotions__benefits-item,
  .page-promotions__faq-item {
    padding: 20px;
  }

  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset */
  }

  /* Images responsive */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__promo-types,
  .page-promotions__terms-conditions,
  .page-promotions__how-to-claim,
  .page-promotions__benefits,
  .page-promotions__faq,
  .page-promotions__conclusion {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-promotions__cta-buttons-bottom {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__faq-question {
    font-size: 1em;
  }
  .page-promotions__faq-title {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__hero-description {
    font-size: 0.9em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__promo-card {
    padding: 15px;
  }
  .page-promotions__card-title {
    font-size: 1.4em;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 10px 15px;
    font-size: 0.9em;
  }
}