/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Body background is #000, so text should be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #000;
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #017439; /* Primary brand color */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  color: #ffffff;
}

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

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

.page-promotions__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom login/register button color */
  color: #FFFF00; /* Custom login/register font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-promotions__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: #FFFF00;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.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__intro-section, 
.page-promotions__guide-section, 
.page-promotions__benefits-section {
  padding: 80px 0;
  background-color: #000;
  color: #ffffff;
}

.page-promotions__types-section, 
.page-promotions__terms-section, 
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-promotions__cards-grid {
  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.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

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

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

.page-promotions__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #017439;
  box-sizing: border-box;
}

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

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

.page-promotions__guide-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #017439;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__guide-step-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-promotions__guide-item p {
  color: #f0f0f0;
}

.page-promotions__text-link {
  color: #FFFF00;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-promotions__text-link:hover {
  color: #ffffff;
}

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

.page-promotions__terms-item {
  background-color: rgba(0, 0, 0, 0.2);
  border-left: 5px solid #FFFF00;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #f0f0f0;
}

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

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

.page-promotions__benefit-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  box-sizing: border-box;
}

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

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

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

.page-promotions__faq-item {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #f0f0f0;
}

.page-promotions__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-item summary:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  background-color: rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
  font-size: 1em;
}

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }

  .page-promotions__hero-title {
    font-size: 2.2em;
  }

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

  .page-promotions__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions__intro-section, 
  .page-promotions__types-section, 
  .page-promotions__guide-section, 
  .page-promotions__terms-section, 
  .page-promotions__benefits-section, 
  .page-promotions__faq-section {
    padding: 50px 0;
  }

  .page-promotions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__text-block {
    font-size: 0.95em;
  }

  .page-promotions__cards-grid,
  .page-promotions__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card,
  .page-promotions__benefit-item {
    padding: 25px;
  }

  .page-promotions__card-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-promotions__card-title {
    font-size: 1.5em;
  }

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

  .page-promotions__guide-item,
  .page-promotions__terms-item {
    padding: 20px;
  }

  .page-promotions__guide-step-title {
    font-size: 1.3em;
  }

  .page-promotions__faq-item summary {
    font-size: 1.1em;
    padding: 18px 20px;
  }

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

  /* General image, video, button, and container responsiveness for mobile */
  .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__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper,
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}