/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-promotions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

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

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

.page-promotions__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

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

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

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Background color variations */
.page-promotions__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

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

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

.page-promotions__light-bg .page-promotions__section-title,
.page-promotions__light-bg .page-promotions__section-description {
  color: #333333;
}

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

.page-promotions__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-promotions__card {
  background: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

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

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

.page-promotions__card-title a {
  color: #017439;
  text-decoration: none;
}

.page-promotions__card-title a:hover {
  text-decoration: underline;
}

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

.page-promotions__btn-link {
  display: inline-block;
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #017439;
  padding-bottom: 5px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.page-promotions__btn-link:hover {
  color: #005f2c;
  border-color: #005f2c;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  gap: 30px;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFF00; /* Highlight color */
  flex-shrink: 0;
  line-height: 1;
}

.page-promotions__step-content {
  flex-grow: 1;
}

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

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

.page-promotions__text-link {
  color: #FFFF00; /* Highlight for links */
  text-decoration: none;
}

.page-promotions__text-link:hover {
  text-decoration: underline;
}

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

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 40px;
  color: #555555;
  line-height: 1.8;
}

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

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

.page-promotions__faq-item {
  background: rgba(255, 255, 255, 0.1);
  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 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

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

.page-promotions__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.page-promotions__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00;
  transition: transform 0.3s ease;
}

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

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

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

.page-promotions__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-promotions__benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #f0f0f0;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-promotions__benefit-icon {
  font-size: 1.8em;
  color: #017439;
  flex-shrink: 0;
}

.page-promotions__benefits-list p {
  margin: 0;
  color: #333333;
}

.page-promotions__benefits-list strong {
  color: #017439;
}

.page-promotions__cta-single {
  text-align: center;
  margin-top: 50px;
}

.page-promotions__video-section {
  text-align: center;
}

.page-promotions__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block; /* Ensure it behaves as a block element */
}

.page-promotions__video-cta {
  margin-top: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary, .page-promotions__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }
  .page-promotions__section {
    padding: 50px 15px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-description {
    font-size: 0.95em;
  }
  .page-promotions__features-grid,
  .page-promotions__cards-grid,
  .page-promotions__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-promotions__step-number {
    margin-bottom: 10px;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
  }
  .page-promotions__faq-question h3 {
    font-size: 1.1em;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  
  /* Mobile image 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__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper,
  .page-promotions__cta-buttons,
  .page-promotions__cta-single {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Mobile video responsiveness */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile 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 {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-section {
    height: 400px;
  }
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__hero-description {
    font-size: 0.9em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__feature-item,
  .page-promotions__card {
    padding: 20px;
  }
  .page-promotions__step-number {
    font-size: 2em;
  }
  .page-promotions__step-title {
    font-size: 1.1em;
  }
  .page-promotions__faq-question h3 {
    font-size: 1em;
  }
}