/* style/promotions.css */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  min-height: 600px;
  overflow: hidden;
  background-color: #26A9E0; /* Primary brand color for hero background */
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

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

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

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

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

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

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

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

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

.page-promotions__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-promotions__section-text--light {
  color: #f0f0f0;
}

.page-promotions__subsection-title {
  font-size: 2em;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
  font-weight: bold;
  color: #26A9E0;
}

.page-promotions__subsection-title--light {
  color: #ffffff;
}

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

.page-promotions__card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-promotions__card--dark-bg {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.3;
  color: #26A9E0;
}

.page-promotions__card--dark-bg .page-promotions__card-title {
  color: #ffffff;
}

.page-promotions__card-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

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

.page-promotions__numbered-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  counter-reset: section-counter;
}

.page-promotions__list-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
}

.page-promotions__list-item::before {
  counter-increment: section-counter;
  content: counter(section-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  font-weight: bold;
}

.page-promotions__list-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-promotions__list-description {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

.page-promotions__bullet-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-promotions__bullet-list .page-promotions__list-item {
  padding-left: 30px;
  position: relative;
  margin-bottom: 15px;
}

.page-promotions__bullet-list .page-promotions__list-item::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffff;
  font-size: 1.5em;
  line-height: 1;
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
  font-weight: normal;
}

.page-promotions__bullet-list--light .page-promotions__list-item::before {
  color: #ffffff;
}

.page-promotions__list-title--light {
  color: #ffffff;
}

.page-promotions__list-description--light {
  color: #f0f0f0;
}

.page-promotions__inline-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-promotions__inline-link:hover {
  color: #1a7bb0;
}

.page-promotions__inline-link--light {
  color: #ffffff;
}

.page-promotions__inline-link--light:hover {
  color: #f0f0f0;
}

.page-promotions__faq-list {
  margin-top: 40px;
}

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

.page-promotions__faq-item.active {
  background-color: #e6f7ff; /* Lighter background when active */
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
}

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

.page-promotions__faq-question h3 {
  margin: 0;
  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); /* Plus sign rotates to form an X or minus */
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 20px 20px;
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
}

.page-promotions__cta-section {
  background-color: #26A9E0;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-promotions__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__subsection-title {
    font-size: 1.8em;
  }
  .page-promotions__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__hero-section {
    padding: 60px 15px;
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-description {
    font-size: 1.1em;
  }

  .page-promotions__section {
    padding: 40px 15px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions__subsection-title {
    font-size: 1.6em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-promotions__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card-image {
    height: 200px;
  }
  .page-promotions__card-title {
    font-size: 1.3em;
  }
  .page-promotions__card-content {
    padding: 20px;
  }

  .page-promotions__numbered-list,
  .page-promotions__bullet-list {
    margin: 30px 0;
  }
  .page-promotions__list-item {
    padding-left: 50px;
    margin-bottom: 25px;
  }
  .page-promotions__list-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }
  .page-promotions__list-title {
    font-size: 1.2em;
  }

  .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: 10px 15px 15px;
  }

  .page-promotions__cta-section {
    padding: 60px 15px;
  }
  .page-promotions__cta-title {
    font-size: 2em;
  }
  .page-promotions__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image and video 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__cta-section,
  .page-promotions__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .page-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__video-section {
    padding-top: var(--header-offset, 120px) !important; 
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
  .page-promotions__subsection-title {
    font-size: 1.4em;
  }
  .page-promotions__cta-title {
    font-size: 1.8em;
  }
}