/* style/promotions.css */
:root {
  --primary-color: #0047AB;
  --secondary-color: #FFD700;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --light-bg-color: #f8f9fa;
  --card-bg-color: #ffffff;
  --border-color: #e0e0e0;
}

/* Base styles for the page content, ensuring light text on dark body background */
.page-promotions {
  color: var(--light-text-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* --- Fixed Navigation Bar Spacing --- */
.page-promotions__hero-banner {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 80px;
  position: relative;
  text-align: center;
}

/* --- General Section Styles --- */
.page-promotions__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

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

/* --- Hero Banner Section --- */
.page-promotions__hero-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, #002D62 100%);
  color: var(--light-text-color);
  padding-top: 180px; /* Desktop padding to clear fixed header */
  padding-bottom: 80px;
}

.page-promotions__main-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions__subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- CTA Button Base --- */
.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-promotions__btn-primary {
  background: var(--secondary-color);
  color: var(--dark-text-color);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-promotions__btn-primary:hover {
  background: #FFC107;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-promotions__btn-secondary {
  background: var(--primary-color);
  color: var(--light-text-color);
  border: 1px solid var(--secondary-color);
  box-shadow: 0 4px 10px rgba(0, 71, 171, 0.3);
}

.page-promotions__btn-secondary:hover {
  background: #003380;
  border-color: #FFC107;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 71, 171, 0.5);
}

/* --- Intro Section --- */
.page-promotions__intro-section {
  padding: 60px 0;
  background: var(--light-bg-color);
  color: var(--dark-text-color);
}

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

.page-promotions__intro-card {
  background: var(--card-bg-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__intro-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-promotions__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions__card-description {
  font-size: 16px;
  color: var(--dark-text-color);
}

.page-promotions__intro-text {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* --- Promotion Types Section --- */
.page-promotions__types-section {
  padding: 80px 0;
  background: var(--primary-color);
  color: var(--light-text-color);
}

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

.page-promotions__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-promotions__promo-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.page-promotions__promo-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-promotions__promo-card .page-promotions__card-title {
  color: var(--secondary-color);
}

.page-promotions__promo-card .page-promotions__card-description {
  color: var(--light-text-color);
  margin-bottom: 25px;
}

/* --- How to Join Section --- */
.page-promotions__how-to-join {
  padding: 80px 0;
  background: var(--light-bg-color);
  color: var(--dark-text-color);
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 50px auto 40px auto;
  max-width: 800px;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
}

.page-promotions__step-number {
  background: var(--primary-color);
  color: var(--light-text-color);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 20px;
}

.page-promotions__step-content h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-promotions__step-content p {
  font-size: 16px;
  color: var(--dark-text-color);
  margin-bottom: 0;
}

/* --- Terms & Conditions Section --- */
.page-promotions__terms-conditions {
  padding: 80px 0;
  background: #002D62;
  color: var(--light-text-color);
}

.page-promotions__text-content {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-promotions__terms-list li {
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid var(--secondary-color);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 16px;
  color: var(--light-text-color);
}

.page-promotions__terms-list li p {
  margin: 0;
  color: var(--light-text-color);
}

.page-promotions__terms-list li strong {
  color: var(--secondary-color);
}

/* --- FAQ Section --- */
.page-promotions__faq-section {
  padding: 80px 0;
  background: var(--light-bg-color);
  color: var(--dark-text-color);
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-promotions__faq-question:active {
  background: #eeeeee;
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--dark-text-color);
}

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: var(--dark-text-color);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 42px;
  }
  .page-promotions__section-title {
    font-size: 32px;
  }
  .page-promotions__intro-grid, .page-promotions__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  /* Fixed Navigation Bar Spacing for Mobile */
  .page-promotions__hero-banner {
    padding-top: 140px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 60px;
  }

  .page-promotions__main-title {
    font-size: 36px;
  }
  .page-promotions__subtitle {
    font-size: 18px;
  }
  .page-promotions__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-promotions__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-promotions__intro-section, .page-promotions__types-section, .page-promotions__how-to-join, .page-promotions__terms-conditions, .page-promotions__faq-section {
    padding: 40px 0;
  }
  .page-promotions__intro-card, .page-promotions__promo-card {
    padding: 20px;
  }
  .page-promotions__card-title {
    font-size: 20px;
  }
  .page-promotions__card-description {
    font-size: 15px;
  }
  .page-promotions__intro-text {
    font-size: 16px;
  }
  .page-promotions__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  .page-promotions__step-number {
    margin: 0 0 15px 0;
  }
  .page-promotions__step-content h3 {
    font-size: 20px;
  }
  .page-promotions__step-content p {
    font-size: 15px;
  }
  .page-promotions__text-content {
    font-size: 16px;
  }
  .page-promotions__terms-list li {
    font-size: 15px;
    padding: 12px 15px;
  }
  .page-promotions__faq-question {
    padding: 15px;
  }
  .page-promotions__faq-question h3 {
    font-size: 16px;
  }
  .page-promotions__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-promotions__faq-answer {
    padding: 0 15px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px !important;
  }
  /* Mobile image adaptation */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__container,
  .page-promotions__hero-banner,
  .page-promotions__intro-section,
  .page-promotions__types-section,
  .page-promotions__how-to-join,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}