/* style/promotions-refer-a-friend.css */
.page-promotions-refer-a-friend {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.page-promotions-refer-a-friend__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-promotions-refer-a-friend__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

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

.page-promotions-refer-a-friend__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-refer-a-friend__btn {
  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;
  cursor: pointer;
  border: none;
}

.page-promotions-refer-a-friend__btn--primary {
  background-color: #007bff;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.page-promotions-refer-a-friend__btn--primary:hover {
  background-color: #0056b3;
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
  transform: translateY(-2px);
}

.page-promotions-refer-a-friend__btn--secondary {
  background-color: #ffc107;
  color: #333;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.page-promotions-refer-a-friend__btn--secondary:hover {
  background-color: #e0a800;
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
  transform: translateY(-2px);
}

/* Hero Section */
.page-promotions-refer-a-friend__hero-section {
  background: linear-gradient(135deg, #007bff 0%, #4da3ff 100%);
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-promotions-refer-a-friend__hero-section .page-promotions-refer-a-friend__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-promotions-refer-a-friend__hero-content {
  max-width: 800px;
}

.page-promotions-refer-a-friend__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.page-promotions-refer-a-friend__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.7;
  color: #e0f2ff;
}

.page-promotions-refer-a-friend__hero-cta-text {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 40px;
  color: #ffc107;
}

.page-promotions-refer-a-friend__hero-image-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions-refer-a-friend__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* How It Works Section */
.page-promotions-refer-a-friend__how-it-works-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-promotions-refer-a-friend__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.page-promotions-refer-a-friend__step-item {
  text-align: center;
  padding: 30px;
  border-radius: 15px;
  background-color: #fefefe;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-refer-a-friend__step-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions-refer-a-friend__step-icon {
  width: 90px;
  height: 90px;
  margin-bottom: 25px;
  object-fit: contain;
}

.page-promotions-refer-a-friend__step-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-promotions-refer-a-friend__step-text {
  font-size: 1.05em;
  color: #666;
  line-height: 1.8;
}

.page-promotions-refer-a-friend__text-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-promotions-refer-a-friend__text-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Rewards Section */
.page-promotions-refer-a-friend__rewards-section {
  padding: 80px 0;
  background-color: #f0f8ff;
}

.page-promotions-refer-a-friend__rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.page-promotions-refer-a-friend__reward-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 5px solid #ffc107;
}

.page-promotions-refer-a-friend__reward-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions-refer-a-friend__reward-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-promotions-refer-a-friend__reward-title {
  font-size: 1.7em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-promotions-refer-a-friend__reward-text {
  font-size: 1.05em;
  color: #666;
  line-height: 1.7;
}

.page-promotions-refer-a-friend__rewards-note {
  text-align: center;
  margin-top: 60px;
  font-size: 1.1em;
  color: #555;
  font-style: italic;
}

/* Terms Section */
.page-promotions-refer-a-friend__terms-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-promotions-refer-a-friend__terms-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-top: 60px;
}

.page-promotions-refer-a-friend__terms-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.page-promotions-refer-a-friend__terms-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-promotions-refer-a-friend__terms-list {
  flex: 2;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-promotions-refer-a-friend__terms-list li {
  background-color: #fefefe;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #ffc107;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #444;
}

.page-promotions-refer-a-friend__terms-strong {
  color: #007bff;
  font-weight: 700;
}

.page-promotions-refer-a-friend__terms-footer {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
  color: #555;
  font-style: italic;
}

/* FAQ Section */
.page-promotions-refer-a-friend__faq-section {
  padding: 80px 0;
  background-color: #f0f8ff;
}

.page-promotions-refer-a-friend__faq-items {
  margin-top: 60px;
}

.page-promotions-refer-a-friend__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.page-promotions-refer-a-friend__faq-question {
  font-size: 1.5em;
  color: #007bff;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #e6f2ff;
  border-bottom: 1px solid #cce0ff;
  font-weight: 600;
}

.page-promotions-refer-a-friend__faq-question::after {
  content: '+';
  font-size: 1.2em;
  color: #007bff;
  transition: transform 0.3s ease;
}

.page-promotions-refer-a-friend__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-promotions-refer-a-friend__faq-answer {
  font-size: 1.1em;
  color: #555;
  padding: 0 25px 20px;
  margin: 0;
  display: none; /* Hidden by default */
  line-height: 1.7;
  background-color: #ffffff;
}

.page-promotions-refer-a-friend__faq-question.active + .page-promotions-refer-a-friend__faq-answer {
  display: block; /* Shown when active */
}

/* CTA Section */
.page-promotions-refer-a-friend__cta-section {
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-promotions-refer-a-friend__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: 800;
  color: #ffffff;
}

.page-promotions-refer-a-friend__cta-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #e0f2ff;
}

.page-promotions-refer-a-friend__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.page-promotions-refer-a-friend__cta-note {
  font-size: 1em;
  color: #cce0ff;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions-refer-a-friend__hero-section .page-promotions-refer-a-friend__container {
    flex-direction: column-reverse;
  }

  .page-promotions-refer-a-friend__hero-title {
    font-size: 3em;
  }

  .page-promotions-refer-a-friend__hero-description {
    font-size: 1.2em;
  }

  .page-promotions-refer-a-friend__terms-content {
    flex-direction: column;
    align-items: center;
  }

  .page-promotions-refer-a-friend__terms-image-wrapper {
    max-width: 100%;
  }

  .page-promotions-refer-a-friend__section-title {
    font-size: 2em;
  }

  .page-promotions-refer-a-friend__section-description {
    font-size: 1em;
  }

  .page-promotions-refer-a-friend__cta-title {
    font-size: 2.5em;
  }

  .page-promotions-refer-a-friend__cta-description {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-promotions-refer-a-friend__hero-section {
    padding: 80px 0 50px;
  }

  .page-promotions-refer-a-friend__hero-title {
    font-size: 2.5em;
  }

  .page-promotions-refer-a-friend__hero-description {
    font-size: 1.1em;
  }

  .page-promotions-refer-a-friend__hero-cta-text {
    font-size: 1.3em;
  }

  .page-promotions-refer-a-friend__steps-grid, .page-promotions-refer-a-friend__rewards-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions-refer-a-friend__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-promotions-refer-a-friend__cta-title {
    font-size: 2em;
  }

  .page-promotions-refer-a-friend__cta-description {
    font-size: 1.1em;
  }
}

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

  .page-promotions-refer-a-friend__section-title {
    font-size: 1.8em;
  }

  .page-promotions-refer-a-friend__step-title, .page-promotions-refer-a-friend__reward-title {
    font-size: 1.5em;
  }

  .page-promotions-refer-a-friend__faq-question {
    font-size: 1.3em;
  }

  .page-promotions-refer-a-friend__faq-answer {
    font-size: 1em;
  }

  .page-promotions-refer-a-friend__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions-refer-a-friend__btn {
    width: 100%;
  }
}