.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* Light background for the page content */
}

/* Ensure main content is not covered by fixed header */
.page-promotions__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply header offset */
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding: 20px;
  box-sizing: border-box;
}

.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;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

/* General Section Styles */
.page-promotions__section {
  padding: 60px 20px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: #1A1A1A; /* Dark text for titles on light backgrounds */
  text-align: center;
  margin-bottom: 20px;
}

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

/* Why Choose Section */
.page-promotions__why-choose-section {
  background-color: #ffffff;
}

.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-color: #fdfdfd;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-promotions__feature-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__feature-title {
  font-size: 1.4em;
  color: #FFD700; /* Gold color for feature titles */
  margin-bottom: 15px;
}

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

/* Promotion Types Section (Dark Background) */
.page-promotions__types-section {
  background-color: #1A1A1A; /* Dark background */
  color: #ffffff;
}

.page-promotions__types-section .page-promotions__section-title {
  color: #FFD700; /* Gold title on dark background */
}

.page-promotions__types-section .page-promotions__section-description {
  color: #f0f0f0;
}

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

.page-promotions__card {
  background-color: #2a2a2a; /* Slightly lighter dark for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.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;
  color: #FFD700; /* Gold title on dark card */
  margin-bottom: 15px;
}

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

/* How To Join Section */
.page-promotions__how-to-join-section {
  background-color: #f0f0f0;
}

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

.page-promotions__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
}

.page-promotions__step-number {
  width: 50px;
  height: 50px;
  background-color: #FFD700; /* Gold circle for step numbers */
  color: #1A1A1A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: -55px auto 20px auto; /* Position above the card */
  border: 4px solid #f0f0f0;
}

.page-promotions__step-item:first-child .page-promotions__step-number {
    margin-top: 0; /* Adjust for first item if needed */
}

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

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

.page-promotions__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* Terms Section (Dark Background) */
.page-promotions__terms-section {
  background-color: #1A1A1A;
  color: #ffffff;
}

.page-promotions__terms-section .page-promotions__section-title {
  color: #FFD700;
}

.page-promotions__terms-section .page-promotions__section-description {
  color: #f0f0f0;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-promotions__terms-item {
  background-color: #2a2a2a;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #cccccc;
  font-size: 1.05em;
}

.page-promotions__terms-item strong {
  color: #FFD700;
}

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

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

.page-promotions__faq-item {
  background-color: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.page-promotions__faq-question:hover {
  background-color: #e0b800; /* Slightly darker gold on hover */
}

.page-promotions__faq-question-text {
  margin: 0;
  color: #1A1A1A;
}

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

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Plus to X/minus */
}

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

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

/* Video Section */
.page-promotions__video-section {
  background-color: #1A1A1A;
  color: #ffffff;
}

.page-promotions__video-section .page-promotions__section-title {
  color: #FFD700;
}

.page-promotions__video-section .page-promotions__section-description {
  color: #f0f0f0;
}

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

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

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

/* Conclusion Section */
.page-promotions__conclusion-section {
  background-color: #f8f8f8;
}

.page-promotions__conclusion-section .page-promotions__section-title {
  color: #1A1A1A;
}

.page-promotions__conclusion-section .page-promotions__section-description {
  color: #555555;
}

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

/* Button Styles */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
}

.page-promotions__btn-primary {
  background-color: #FFD700; /* Gold background */
  color: #1A1A1A; /* Dark text for contrast */
  border: 2px solid #FFD700;
}

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

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }
  .page-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary, .page-promotions__btn-secondary {
    width: 100%;
    max-width: 300px; /* Constrain width for better mobile appearance */
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-promotions__section {
    padding: 40px 15px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-description {
    font-size: 0.95em;
  }
  .page-promotions__feature-item, .page-promotions__card, .page-promotions__step-item {
    padding: 20px;
  }
  .page-promotions__feature-title, .page-promotions__card-title, .page-promotions__step-title {
    font-size: 1.2em;
  }
  .page-promotions__card-image {
    height: 200px;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px 20px 20px;
  }
  .page-promotions__video-wrapper {
    margin-top: 20px;
  }
  
  /* Mobile specific image and video responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper,
  .page-promotions__hero-cta-buttons,
  .page-promotions__cta-bottom,
  .page-promotions__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-promotions video, .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-promotions__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .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__btn-primary, .page-promotions__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
  .page-promotions__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    margin: -45px auto 15px auto;
  }
}