/* style/promotions.css */
.page-promotions {
  color: #ffffff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-promotions__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-promotions__dark-bg {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 0;
}

.page-promotions__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 0;
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0; /* Assumed shared.css handles body padding-top */
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.page-promotions__hero-content {
  flex: 1;
  padding: 40px;
  text-align: left;
  z-index: 1;
  max-width: 600px;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

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

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

.page-promotions__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px;
}

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

/* Buttons */
.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;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

.page-promotions__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Why Choose Section */
.page-promotions__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__feature-card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
}

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

.page-promotions__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px; /* Adjust max-width for feature icons */
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-promotions__feature-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-promotions__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Promotion Types Section */
.page-promotions__promotion-category {
  margin-bottom: 60px;
}

.page-promotions__category-title {
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
  color: #ffffff;
  font-weight: bold;
}

.page-promotions__promo-card {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions__promo-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-promotions__promo-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  object-fit: cover;
}

.page-promotions__promo-content {
  flex: 1;
  padding: 30px;
  color: #ffffff;
}

.page-promotions__promo-name {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-promotions__promo-description {
  margin-bottom: 25px;
  color: #f0f0f0;
}

/* How to Claim Section */
.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__step-card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-promotions__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-promotions__step-description {
  margin-bottom: 20px;
  color: #555555;
}

.page-promotions__step-description a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

/* Terms Section */
.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__terms-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-promotions__terms-heading {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-promotions__terms-description {
  color: #f0f0f0;
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 40px;
}

.page-promotions__faq-item {
  background-color: #f0f0f0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.page-promotions__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #26A9E0;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-promotions__faq-answer p {
  margin: 0;
}

/* CTA Section */
.page-promotions__cta-section {
  text-align: center;
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions__hero-section {
    flex-direction: column;
    text-align: center;
  }

  .page-promotions__hero-content {
    padding: 30px;
    max-width: 100%;
  }

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

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

  .page-promotions__hero-cta-buttons {
    justify-content: center;
  }

  .page-promotions__promo-card {
    flex-direction: column;
  }

  .page-promotions__promo-card:nth-child(even) {
    flex-direction: column;
  }

  .page-promotions__promo-image {
    max-width: 100%;
    height: 300px; /* Fixed height for consistency */
  }

  .page-promotions__promo-content {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__section-intro {
    font-size: 1em;
    padding: 0 10px;
  }

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

  .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,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__hero-cta-buttons,
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-promotions__container,
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__promotion-category {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__hero-image-wrapper,
  .page-promotions__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important; /* Allow height to adjust for responsiveness */
    object-fit: contain;
  }

  .page-promotions__feature-icon {
    max-width: 100px; /* Smaller icons for mobile */
  }

  .page-promotions__feature-title,
  .page-promotions__promo-name,
  .page-promotions__step-title,
  .page-promotions__terms-heading,
  .page-promotions__faq-question h3 {
    font-size: 1.3em;
  }

  .page-promotions__faq-answer {
    padding: 0 15px;
  }

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9em;
  }

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

  .page-promotions__category-title {
    font-size: 1.6em;
  }
}