/* style/promotions.css */

/* Base styles for the page */
.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: 10px;
}

.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__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  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;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-promotions__btn-secondary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-promotions__center-btn {
  display: block;
  margin: 30px auto 0 auto;
  max-width: 300px;
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
  min-height: 600px;
  text-align: left;
  background-color: #0a0a0a;
  color: #ffffff;
  gap: 40px;
}

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

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

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

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

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

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

/* Overview Section */
.page-promotions__overview-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-promotions__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, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 250px;
  color: #ffffff;
}

.page-promotions__card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-promotions__card-text {
  font-size: 1.05em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

/* Promotion Types Section */
.page-promotions__types-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-promotions__promotion-category {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__promotion-category.page-promotions__reverse-layout {
  flex-direction: row-reverse;
}

.page-promotions__image-left,
.page-promotions__image-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-promotions__content-left,
.page-promotions__content-right {
  flex: 1.5;
  color: #f0f0f0;
}

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

.page-promotions__category-text {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-promotions__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-promotions__feature-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-promotions__feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #017439;
  font-weight: bold;
}

/* How To Claim Section */
.page-promotions__how-to-claim-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-promotions__step-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  max-width: 800px;
  margin: 50px auto;
}

.page-promotions__step-list li {
  counter-increment: step-counter;
  position: relative;
  padding: 20px 0 20px 70px;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 1.1em;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #017439;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4em;
  font-weight: bold;
}

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

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 40px;
  max-width: 900px;
  margin: 50px auto;
  color: #f0f0f0;
}

.page-promotions__terms-list li {
  margin-bottom: 15px;
  font-size: 1.05em;
}

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

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

.page-promotions__benefit-item {
  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;
  color: #ffffff;
}

.page-promotions__benefit-item:hover {
  transform: translateY(-10px);
}

.page-promotions__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(1.2); /* Slightly brighten icons for visibility */
}

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

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

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #017439;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #005a2d;
}

.page-promotions__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Inherit font size from parent */
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.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: #f0f0f0;
}

.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 {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

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

.page-promotions__cta-section .page-promotions__section-title::after {
  background-color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.5em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__promotion-category {
    flex-direction: column;
  }
  .page-promotions__promotion-category.page-promotions__reverse-layout {
    flex-direction: column;
  }
  .page-promotions__content-left, .page-promotions__content-right {
    flex: 1;
    text-align: center;
  }
  .page-promotions__feature-list {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions__hero-content {
    max-width: 100%;
  }
  .page-promotions__hero-title {
    font-size: 2em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    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 {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-promotions__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-promotions__overview-section,
  .page-promotions__types-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-conditions-section,
  .page-promotions__benefits-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding: 40px 0;
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions__overview-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card {
    padding: 25px;
    min-height: auto;
  }
  .page-promotions__card-title {
    font-size: 1.5em;
  }
  .page-promotions__promotion-category {
    padding: 20px;
    margin-bottom: 40px;
  }
  .page-promotions__category-title {
    font-size: 1.6em;
  }
  .page-promotions__category-text {
    font-size: 1em;
  }
  .page-promotions__step-list {
    margin-top: 30px;
  }
  .page-promotions__step-list li {
    padding: 15px 0 15px 60px;
    font-size: 1em;
  }
  .page-promotions__step-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
    left: 15px;
  }
  .page-promotions__terms-list {
    padding-left: 25px;
    margin-top: 30px;
  }
  .page-promotions__terms-list li {
    font-size: 1em;
    margin-bottom: 10px;
  }
  .page-promotions__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__benefit-item {
    padding: 25px;
  }
  .page-promotions__benefit-icon {
    width: 80px;
    height: 80px;
  }
  .page-promotions__benefit-title {
    font-size: 1.4em;
  }
  .page-promotions__faq-question {
    padding: 15px;
    font-size: 1.1em;
  }
  .page-promotions__faq-answer {
    padding: 0 15px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px;
  }

  /* Image and Video responsive styles */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions video,
  .page-promotions__video {
    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-image-wrapper,
  .page-promotions__image-left,
  .page-promotions__image-right,
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
  .page-promotions__card-title {
    font-size: 1.4em;
  }
  .page-promotions__category-title {
    font-size: 1.4em;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 10px 20px;
    font-size: 0.95em;
  }
  .page-promotions__hero-buttons {
    flex-direction: column;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
  }
}