/* style/promotions-referral-program.css */
.page-promotions-referral-program {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A2342; /* Main dark blue background */
  line-height: 1.6;
}

.page-promotions-referral-program__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions-referral-program__section-title {
  font-size: 2.5em;
  color: #F5B041; /* Golden accent for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions-referral-program__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #F5B041;
  border-radius: 2px;
}

.page-promotions-referral-program__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #C0C0C0;
}

/* Hero Section */
.page-promotions-referral-program__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0A2342 0%, #1A3F6C 100%); /* Dark blue gradient */
  text-align: center;
  gap: 40px;
}

.page-promotions-referral-program__hero-content {
  max-width: 800px;
}

.page-promotions-referral-program__hero-title {
  font-size: 3.5em;
  color: #F5B041; /* Golden */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions-referral-program__hero-subtitle {
  font-size: 1.3em;
  color: #E0E0E0;
  margin-bottom: 40px;
}

.page-promotions-referral-program__cta-button {
  display: inline-block;
  background-color: #F5B041; /* Golden */
  color: #0A2342; /* Dark blue */
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-promotions-referral-program__cta-button:hover {
  background-color: #E8A030; /* Slightly darker golden */
  transform: translateY(-3px);
}

.page-promotions-referral-program__hero-image-wrapper {
  width: 100%;
  max-width: 700px;
  margin-top: 40px;
}

.page-promotions-referral-program__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Why Join Section */
.page-promotions-referral-program__why-join {
  background-color: #0A2342;
  border-bottom: 1px solid rgba(245, 176, 65, 0.2);
}

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

.page-promotions-referral-program__why-join-item {
  background-color: #1A3F6C; /* Slightly lighter dark blue */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-referral-program__why-join-item:hover {
  transform: translateY(-5px);
  background-color: #2A5A8C;
}

.page-promotions-referral-program__item-title {
  font-size: 1.5em;
  color: #F5B041; /* Golden */
  margin-bottom: 15px;
}

.page-promotions-referral-program__why-join-item p {
  color: #C0C0C0;
  font-size: 1em;
}

/* How It Works Section */
.page-promotions-referral-program__how-it-works {
  background-color: #051A33; /* Even darker blue */
  border-bottom: 1px solid rgba(245, 176, 65, 0.2);
}

.page-promotions-referral-program__steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-referral-program__step {
  background-color: #1A3F6C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  flex: 1 1 280px;
  min-width: 280px;
  max-width: 350px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-referral-program__step:hover {
  transform: translateY(-5px);
  background-color: #2A5A8C;
}

.page-promotions-referral-program__step-icon {
  background-color: #F5B041; /* Golden */
  color: #0A2342; /* Dark blue */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-promotions-referral-program__step-title {
  font-size: 1.3em;
  color: #F5B041;
  margin-bottom: 10px;
}

.page-promotions-referral-program__step p {
  color: #C0C0C0;
  font-size: 0.95em;
}

.page-promotions-referral-program__step a {
  color: #F5B041;
  text-decoration: underline;
  font-weight: bold;
}

.page-promotions-referral-program__step a:hover {
  color: #E8A030;
}

.page-promotions-referral-program__process-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 60px auto 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Reward Details Section */
.page-promotions-referral-program__reward-details {
  background-color: #0A2342;
  border-bottom: 1px solid rgba(245, 176, 65, 0.2);
}

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

.page-promotions-referral-program__tier-item {
  background-color: #1A3F6C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-referral-program__tier-item:hover {
  transform: translateY(-5px);
  background-color: #2A5A8C;
}

.page-promotions-referral-program__tier-title {
  font-size: 1.6em;
  color: #F5B041;
  margin-bottom: 15px;
}

.page-promotions-referral-program__tier-item p {
  color: #C0C0C0;
  font-size: 1em;
}

.page-promotions-referral-program__tier-item strong {
  color: #F5B041;
}

.page-promotions-referral-program__note {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #888;
}

.page-promotions-referral-program__rewards-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 60px auto 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Terms & Conditions Section */
.page-promotions-referral-program__terms {
  background-color: #051A33;
  border-bottom: 1px solid rgba(245, 176, 65, 0.2);
}

.page-promotions-referral-program__terms-list {
  list-style: disc inside;
  max-width: 900px;
  margin: 40px auto 0;
  padding-left: 20px;
  color: #C0C0C0;
}

.page-promotions-referral-program__terms-list li {
  margin-bottom: 15px;
  font-size: 1.05em;
}

/* FAQ Section */
.page-promotions-referral-program__faq {
  background-color: #0A2342;
}

.page-promotions-referral-program__faq-item {
  background-color: #1A3F6C;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-promotions-referral-program__faq-item:hover {
  background-color: #2A5A8C;
}

.page-promotions-referral-program__faq-question {
  font-size: 1.3em;
  color: #F5B041;
  margin-bottom: 10px;
  position: relative;
  padding-right: 30px;
}

.page-promotions-referral-program__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #F5B041;
}

.page-promotions-referral-program__faq-item.active .page-promotions-referral-program__faq-question::after {
  content: '-';
}

.page-promotions-referral-program__faq-answer {
  color: #C0C0C0;
  font-size: 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.page-promotions-referral-program__faq-item.active .page-promotions-referral-program__faq-answer {
  max-height: 200px; /* Adjust as needed */
  opacity: 1;
  margin-top: 15px;
}

/* Final CTA Section */
.page-promotions-referral-program__final-cta {
  background: linear-gradient(135deg, #1A3F6C 0%, #0A2342 100%);
  text-align: center;
  padding: 80px 20px;
}

.page-promotions-referral-program__final-cta .page-promotions-referral-program__section-title {
  color: #F5B041;
}

.page-promotions-referral-program__final-cta .page-promotions-referral-program__description {
  margin-bottom: 50px;
  color: #E0E0E0;
}

.page-promotions-referral-program__cta-button--large {
  padding: 18px 45px;
  font-size: 1.4em;
  margin-bottom: 20px;
}

.page-promotions-referral-program__secondary-cta-button {
  display: inline-block;
  background-color: transparent;
  color: #F5B041; /* Golden */
  padding: 12px 30px;
  border: 2px solid #F5B041;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-left: 20px;
}

.page-promotions-referral-program__secondary-cta-button:hover {
  background-color: #F5B041;
  color: #0A2342;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-promotions-referral-program__hero {
    flex-direction: column;
    padding: 60px 15px;
  }

  .page-promotions-referral-program__hero-title {
    font-size: 2.5em;
  }

  .page-promotions-referral-program__hero-subtitle {
    font-size: 1.1em;
  }

  .page-promotions-referral-program__section-title {
    font-size: 2em;
  }

  .page-promotions-referral-program__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-promotions-referral-program__why-join-grid,
  .page-promotions-referral-program__reward-tiers {
    grid-template-columns: 1fr;
  }

  .page-promotions-referral-program__steps-container {
    flex-direction: column;
    align-items: center;
  }

  .page-promotions-referral-program__step {
    max-width: 100%;
  }

  .page-promotions-referral-program__cta-button--large {
    font-size: 1.2em;
    padding: 15px 30px;
  }

  .page-promotions-referral-program__secondary-cta-button {
    margin-top: 15px;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .page-promotions-referral-program__hero-title {
    font-size: 2em;
  }

  .page-promotions-referral-program__section-title {
    font-size: 1.8em;
  }

  .page-promotions-referral-program__hero-subtitle,
  .page-promotions-referral-program__description {
    font-size: 1em;
  }

  .page-promotions-referral-program__item-title,
  .page-promotions-referral-program__step-title,
  .page-promotions-referral-program__tier-title,
  .page-promotions-referral-program__faq-question {
    font-size: 1.2em;
  }

  .page-promotions-referral-program__cta-button--large {
    font-size: 1.1em;
    padding: 12px 25px;
  }
  .page-promotions-referral-program__secondary-cta-button {
    font-size: 1em;
    padding: 10px 20px;
  }
}