/* style/index-registration-process-details.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-dark: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-index-registration-process-details {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background-dark); /* Page background */
}

.page-index-registration-process-details__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
}

.page-index-registration-process-details__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-index-registration-process-details__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-index-registration-process-details__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above any background effects */
}

.page-index-registration-process-details__main-title {
  color: var(--gold-color);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-index-registration-process-details__subtitle {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-registration-process-details__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-registration-process-details__btn-primary,
.page-index-registration-process-details__btn-secondary,
.page-index-registration-process-details__text-link {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-index-registration-process-details__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-index-registration-process-details__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-index-registration-process-details__btn-secondary {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

.page-index-registration-process-details__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--background-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.5);
}

.page-index-registration-process-details__text-link {
  color: var(--gold-color);
  text-decoration: underline;
  font-weight: normal;
  padding: 0;
  border: none;
  background: none;
}

.page-index-registration-process-details__text-link:hover {
  color: var(--glow-color);
}

.page-index-registration-process-details__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--background-dark); /* Ensure content area uses dark background */
  color: var(--text-main); /* Ensure text is light on dark background */
}

.page-index-registration-process-details__section-title {
  color: var(--gold-color);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-registration-process-details__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.page-index-registration-process-details__sub-section-title {
  color: var(--primary-color);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 25px;
  border-left: 5px solid var(--gold-color);
  padding-left: 15px;
}

.page-index-registration-process-details__text-block {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.page-index-registration-process-details__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-index-registration-process-details__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-index-registration-process-details__list-item::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.page-index-registration-process-details__step-card,
.page-index-registration-process-details__promotion-card,
.page-index-registration-process-details__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-main);
  overflow: hidden;
}

.page-index-registration-process-details__step-title,
.page-index-registration-process-details__promotion-title {
  color: var(--gold-color);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-registration-process-details__step-description,
.page-index-registration-process-details__promotion-description {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-index-registration-process-details__step-image,
.page-index-registration-process-details__promotion-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-index-registration-process-details__cta-final-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* FAQ styles */
.page-index-registration-process-details__faq-list {
  margin-top: 40px;
}

.page-index-registration-process-details__faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--card-bg);
  box-shadow: none;
  padding: 0;
}

.page-index-registration-process-details__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--gold-color);
  font-weight: 600;
  font-size: 1.15rem;
  outline: none;
}

.page-index-registration-process-details__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-index-registration-process-details__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-index-registration-process-details__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-index-registration-process-details__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

.page-index-registration-process-details__faq-answer p {
  margin-bottom: 0;
}

/* Media Queries for responsiveness */
@media (max-width: 1024px) {
  .page-index-registration-process-details__hero-image-wrapper {
    max-height: 600px;
  }
}

@media (max-width: 768px) {
  .page-index-registration-process-details__hero-section {
    padding: 10px 15px 40px;
  }

  .page-index-registration-process-details__hero-image-wrapper {
    max-height: 400px;
  }

  .page-index-registration-process-details__main-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .page-index-registration-process-details__subtitle {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

  .page-index-registration-process-details__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-registration-process-details__btn-primary,
  .page-index-registration-process-details__btn-secondary {
    width: 100% !important;
    padding: 12px 15px;
  }

  .page-index-registration-process-details__content-area {
    padding: 40px 15px;
  }

  .page-index-registration-process-details__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-index-registration-process-details__sub-section-title {
    font-size: clamp(1.3rem, 4vw, 2rem);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-index-registration-process-details__text-block {
    font-size: 1rem;
  }

  .page-index-registration-process-details__list-item {
    font-size: 1rem;
  }

  .page-index-registration-process-details__step-card,
  .page-index-registration-process-details__promotion-card,
  .page-index-registration-process-details__faq-item {
    padding: 20px;
    border-radius: 10px;
  }

  .page-index-registration-process-details__step-title,
  .page-index-registration-process-details__promotion-title {
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
  }

  .page-index-registration-process-details__step-image,
  .page-index-registration-process-details__promotion-image,
  .page-index-registration-process-details img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-registration-process-details__container,
  .page-index-registration-process-details__hero-section,
  .page-index-registration-process-details__content-area,
  .page-index-registration-process-details__step-card,
  .page-index-registration-process-details__promotion-card,
  .page-index-registration-process-details__faq-item,
  .page-index-registration-process-details__cta-buttons,
  .page-index-registration-process-details__cta-final-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-index-registration-process-details__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-index-registration-process-details__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  .page-index-registration-process-details__cta-final-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-registration-process-details__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-index-registration-process-details__subtitle {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }

  .page-index-registration-process-details__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-index-registration-process-details__sub-section-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  .page-index-registration-process-details__faq-item summary {
    font-size: 0.95rem;
  }
}