.page-promotions {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF; /* Matches var(--secondary-color) from shared.css */
}

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

.page-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-promotions__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #017439, #004d26); /* Darker green gradient for hero background */
}

.page-promotions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promotions__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 30px;
  border-radius: 10px;
  background: rgba(1, 116, 57, 0.85); /* Slightly transparent primary color */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__main-title {
  font-size: 48px;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-promotions__intro-text {
  font-size: 22px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
}

.page-promotions__btn-primary {
  background: #C30808; /* Register/Login button color */
  color: #ffffff; /* White text for contrast */
  border: 2px solid #C30808;
}

.page-promotions__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

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

.page-promotions__btn-secondary:hover {
  background: #f0f0f0;
  color: #004d26;
  border-color: #004d26;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-promotions__btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-promotions__btn-small:hover {
  background: #004d26;
}

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

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

.page-promotions__dark-bg .page-promotions__section-title {
  color: #FFFFFF;
}

.page-promotions__dark-bg .page-promotions__section-description {
  color: #e0e0e0;
}

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

.page-promotions__card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  text-align: center;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-promotions__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

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

.page-promotions__category-item {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-promotions__category-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-promotions__category-title {
  font-size: 22px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 10px;
}

/* Bonus Details */
.page-promotions__bonus-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__bonus-item {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-promotions__bonus-item img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-promotions__bonus-title {
  font-size: 24px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

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

.page-promotions__rebate-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.page-promotions__rebate-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-promotions__rebate-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 15px;
}

/* VIP Benefits */
.page-promotions__vip-benefits {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-promotions__vip-benefits li {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  font-size: 17px;
  color: #333333;
}

.page-promotions__benefit-icon {
  font-size: 24px;
  margin-right: 15px;
  color: #017439;
}

/* How to Claim Steps */
.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__steps-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px 25px;
  border-radius: 10px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__step-number {
  font-size: 28px;
  font-weight: bold;
  color: #FFFF00;
  margin-right: 20px;
  flex-shrink: 0;
}

/* Terms List */
.page-promotions__terms-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 40px;
  color: #333333;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-promotions__action-center {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-promotions__faq-question:active {
  background: #eeeeee;
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  color: #333;
  transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 40px;
  }
  .page-promotions__intro-text {
    font-size: 20px;
  }
  .page-promotions__section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__hero-image img {
    border-radius: 4px;
  }
  .page-promotions__hero-content {
    padding: 20px;
  }
  .page-promotions__main-title {
    font-size: 32px;
  }
  .page-promotions__intro-text {
    font-size: 18px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__section-title {
    font-size: 26px;
    padding-top: 30px;
  }
  .page-promotions__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-promotions__grid, .page-promotions__category-grid, .page-promotions__bonus-details, .page-promotions__rebate-grid, .page-promotions__vip-benefits {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card, .page-promotions__category-item, .page-promotions__bonus-item, .page-promotions__rebate-item, .page-promotions__vip-benefits li {
    padding: 20px;
  }
  .page-promotions__card-title, .page-promotions__category-title, .page-promotions__bonus-title, .page-promotions__rebate-title {
    font-size: 20px;
  }
  .page-promotions__steps-list li {
    font-size: 16px;
    padding: 15px 20px;
  }
  .page-promotions__step-number {
    font-size: 24px;
    margin-right: 15px;
  }
  .page-promotions__action-center {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__action-center .page-promotions__btn-primary, .page-promotions__action-center .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__section, .page-promotions__card, .page-promotions__container, .page-promotions__category-item, .page-promotions__bonus-item, .page-promotions__rebate-item, .page-promotions__faq-list, .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-promotions__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-promotions__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 15px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px !important;
  }
}