/* style/promotions.css */

.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF;
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background: #26A9E0;
  color: #ffffff;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Dim the image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Ensure buttons adapt to mobile */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

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

.page-promotions__section {
  padding: 60px 20px;
  text-align: center;
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 30px;
}

.page-promotions__subsection-title {
  font-size: clamp(1.5em, 2.5vw, 2.2em);
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-promotions__text-block {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__dark-bg .page-promotions__section-title,
.page-promotions__dark-bg .page-promotions__subsection-title {
  color: #ffffff;
}

.page-promotions__dark-bg .page-promotions__text-block {
  color: #f0f0f0;
}

.page-promotions__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions__two-columns {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-promotions__two-columns .page-promotions__content-block,
.page-promotions__two-columns .page-promotions__image-block {
  flex: 1;
}

.page-promotions__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__list,
.page-promotions__ordered-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-promotions__list li,
.page-promotions__ordered-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #333333;
  font-size: 1.1em;
}

.page-promotions__list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
}

.page-promotions__ordered-list li::before {
  content: counter(list-item) '. ';
  counter-increment: list-item;
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
}

.page-promotions__dark-bg .page-promotions__list li,
.page-promotions__dark-bg .page-promotions__ordered-list li {
  color: #f0f0f0;
}

.page-promotions__dark-bg .page-promotions__list li::before,
.page-promotions__dark-bg .page-promotions__ordered-list li::before {
  color: #ffffff;
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  cursor: pointer;
  color: #333333;
  font-size: 1.1em;
  list-style: none;
}

.page-promotions__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  color: #555555;
  font-size: 1em;
}

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

/* Final CTA Section */
.page-promotions__cta-final {
  padding: 80px 20px;
}

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

  .page-promotions__two-columns .page-promotions__content-block,
  .page-promotions__two-columns .page-promotions__image-block {
    width: 100%;
  }

  .page-promotions__two-columns .page-promotions__list,
  .page-promotions__two-columns .page-promotions__ordered-list {
    margin-left: 0;
    margin-right: 0;
  }

  .page-promotions__two-columns.page-promotions__reverse-columns-mobile {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__two-columns,
  .page-promotions__hero-section,
  .page-promotions__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-promotions__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

  .page-promotions__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-promotions__subsection-title {
    font-size: clamp(1.3em, 5vw, 1.8em);
  }

  .page-promotions__text-block,
  .page-promotions__list li,
  .page-promotions__ordered-list li,
  .page-promotions__faq-item summary {
    font-size: 1em;
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__faq-item summary {
    padding: 15px 20px;
  }

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

@media (max-width: 480px) {
  .page-promotions__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }

  .page-promotions__section {
    padding: 40px 10px;
  }

  .page-promotions__container,
  .page-promotions__two-columns {
    padding-left: 10px;
    padding-right: 10px;
  }
}