/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Default light text for dark body background */
  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 {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__dark-bg {
  background-color: #1a1a2e; /* Body background color */
  color: #ffffff;
}

.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  text-align: left;
  height: 100%;
  box-sizing: border-box;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjusted padding to prevent header overlap */
  padding-top: var(--header-offset, 120px);
  background-color: #017439;
  background-image: linear-gradient(135deg, #017439 0%, #004d2c 100%);
  overflow: hidden;
}

.page-promotions__hero-section .page-promotions__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 40px;
}

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

.page-promotions__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-promotions__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

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

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

.page-promotions__btn-secondary:hover {
  background-color: #004d2c;
  border-color: #004d2c;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: right;
}

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

.page-promotions__section-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Why Choose Us Section */
.page-promotions__why-choose-us {
  background-color: #1a1a2e;
}

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

.page-promotions__feature-item {
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__feature-icon {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Promo Types Section */
.page-promotions__promo-types {
  background-color: #017439;
  background-image: linear-gradient(135deg, #017439 0%, #004d2c 100%);
}

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

.page-promotions__promo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  text-align: left;
}

.page-promotions__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: block;
}

.page-promotions__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-promotions__promo-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  flex-grow: 1;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  background-color: #1a1a2e;
}

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

.page-promotions__step-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #C30808;
  margin-bottom: 15px;
  border: 3px solid #C30808;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

.page-promotions__step-text a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-promotions__step-text a:hover {
  color: #ff3333;
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
  background-color: #004d2c;
}

.page-promotions__terms-conditions .page-promotions__section-description {
  margin-bottom: 30px;
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #1a1a2e;
}

.page-promotions__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-heading {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
  text-align: left;
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.8em;
  color: #FFFF00;
  margin-left: 20px;
  transition: transform 0.3s ease;
  line-height: 1;
}

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

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

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

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

/* Final CTA Section */
.page-promotions__final-cta {
  background-color: #017439;
  background-image: linear-gradient(135deg, #017439 0%, #004d2c 100%);
  padding-bottom: 80px;
}

.page-promotions__final-cta .page-promotions__section-description a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-promotions__final-cta .page-promotions__section-description a:hover {
  color: #ff3333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__hero-image {
    width: 80%;
    margin: 0 auto;
  }
  .page-promotions__hero-section .page-promotions__container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .page-promotions__hero-content {
    max-width: 100%;
  }
  .page-promotions__hero-image-wrapper {
    text-align: center;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .page-promotions__main-title {
    font-size: 2.2em;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__hero-description,
  .page-promotions__section-description,
  .page-promotions__feature-text,
  .page-promotions__promo-text,
  .page-promotions__step-text,
  .page-promotions__faq-answer p {
    font-size: 1em;
  }
  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__container {
    padding: 0 15px;
  }

  /* Images responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  
  /* Button responsiveness */
  .page-promotions__cta-button,
  .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__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;
    display: flex;
    flex-direction: column;
  }

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

  .page-promotions__promo-image {
    height: 200px;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }
}