/* style/registration-guide-step-by-step.css */

:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #0A192F;
  --border-color: #e0e0e0;
}

.page-registration-guide-step-by-step {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--bg-light);
}

/* Fixed Nav Bar Spacing for the first content module */
.page-registration-guide-step-by-step__first-module-spacing {
  padding-top: 120px; /* Desktop default */
}

@media (max-width: 768px) {
  .page-registration-guide-step-by-step__first-module-spacing {
    padding-top: 100px; /* Mobile adjustment */
  }
}

.page-registration-guide-step-by-step__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-registration-guide-step-by-step__section {
  padding: 60px 0;
}

.page-registration-guide-step-by-step__dark-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-registration-guide-step-by-step__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-registration-guide-step-by-step__hero-section {
  text-align: center;
  padding-bottom: 60px; /* Adjust padding-bottom to allow for content below */
}

.page-registration-guide-step-by-step__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color); /* Use gold for main title for prominence */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-registration-guide-step-by-step__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

.page-registration-guide-step-by-step__intro-text a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-registration-guide-step-by-step__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from section (dark/light) */
}

.page-registration-guide-step-by-step__text-block {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: justify;
}

.page-registration-guide-step-by-step__text-block a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-registration-guide-step-by-step__btn-primary,
.page-registration-guide-step-by-step__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 20px;
}

.page-registration-guide-step-by-step__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color); /* Dark text on gold button */
  border: 2px solid var(--secondary-color);
}

.page-registration-guide-step-by-step__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-registration-guide-step-by-step__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color); /* Gold text on dark background */
  border: 2px solid var(--secondary-color);
  margin-left: 15px;
}

.page-registration-guide-step-by-step__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-registration-guide-step-by-step__list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-registration-guide-step-by-step__list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.6;
}

.page-registration-guide-step-by-step__list-icon {
  flex-shrink: 0;
  width: 80px; /* Min size 200x200, but for icons in list, I'll use a larger placeholder image and scale it down. */
  height: 80px;
  margin-right: 20px;
  border-radius: 8px;
  object-fit: cover;
  background-color: rgba(255, 215, 0, 0.1); /* Light gold background for icon area */
  padding: 10px;
  box-sizing: border-box;
}

.page-registration-guide-step-by-step__list-item strong {
  color: var(--primary-color); /* Darker text for emphasis on light background */
  display: block;
  margin-bottom: 5px;
}

.page-registration-guide-step-by-step__dark-section .page-registration-guide-step-by-step__list-item strong {
  color: var(--secondary-color); /* Gold text on dark background */
}

.page-registration-guide-step-by-step__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

.page-registration-guide-step-by-step__step-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-registration-guide-step-by-step__step-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
}

.page-registration-guide-step-by-step__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure image is a block element for proper spacing */
  margin-left: auto;
  margin-right: auto;
}

.page-registration-guide-step-by-step__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-registration-guide-step-by-step__benefit-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-registration-guide-step-by-step__benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-registration-guide-step-by-step__benefit-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  padding: 15px;
  box-sizing: border-box;
}

.page-registration-guide-step-by-step__benefit-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-registration-guide-step-by-step__benefit-description {
  font-size: 1em;
  color: #555555;
}

.page-registration-guide-step-by-step__call-to-action {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-registration-guide-step-by-step__call-to-action .page-registration-guide-step-by-step__section-title {
  color: var(--primary-color);
}

/* FAQ styles */
.page-registration-guide-step-by-step__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-registration-guide-step-by-step__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.page-registration-guide-step-by-step__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fdfdfd;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  border-bottom: 1px solid transparent; /* default */
}

.page-registration-guide-step-by-step__faq-item.active .page-registration-guide-step-by-step__faq-question {
  background-color: #f5f5f5;
  border-bottom-color: var(--border-color);
}

.page-registration-guide-step-by-step__faq-question:hover {
  background: #f0f0f0;
}

.page-registration-guide-step-by-step__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: var(--primary-color);
}

.page-registration-guide-step-by-step__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-registration-guide-step-by-step__faq-item.active .page-registration-guide-step-by-step__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Rotate for 'x' effect, or keep as '-' */
}

.page-registration-guide-step-by-step__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 25px;
  opacity: 0;
  color: var(--text-dark);
}

.page-registration-guide-step-by-step__faq-item.active .page-registration-guide-step-by-step__faq-answer {
  max-height: 2000px !important; /* Use !important and large value to ensure it expands */
  padding: 20px 25px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.page-registration-guide-step-by-step__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
}

.page-registration-guide-step-by-step__faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-registration-guide-step-by-step__main-title {
    font-size: 2.8em;
  }
  .page-registration-guide-step-by-step__section-title {
    font-size: 2em;
  }
  .page-registration-guide-step-by-step__benefit-icon {
    width: 100px;
    height: 100px;
  }
  .page-registration-guide-step-by-step__list-icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .page-registration-guide-step-by-step {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-registration-guide-step-by-step__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-registration-guide-step-by-step__section {
    padding: 40px 0;
  }

  .page-registration-guide-step-by-step__main-title {
    font-size: 2.2em;
  }

  .page-registration-guide-step-by-step__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-registration-guide-step-by-step__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-registration-guide-step-by-step__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-registration-guide-step-by-step__btn-primary,
  .page-registration-guide-step-by-step__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    margin-top: 15px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  
  .page-registration-guide-step-by-step__btn-secondary {
    margin-left: auto;
  }

  .page-registration-guide-step-by-step__list-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .page-registration-guide-step-by-step__list-icon {
    margin-right: 0;
    margin-bottom: 15px;
    width: 80px;
    height: 80px;
  }

  .page-registration-guide-step-by-step__step-card {
    padding: 25px;
    margin-bottom: 20px;
  }

  .page-registration-guide-step-by-step__step-title {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  .page-registration-guide-step-by-step__step-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-registration-guide-step-by-step__benefit-card {
    padding: 25px;
  }

  .page-registration-guide-step-by-step__benefit-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
  }

  .page-registration-guide-step-by-step__benefit-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .page-registration-guide-step-by-step__faq-question {
    padding: 15px 20px;
  }

  .page-registration-guide-step-by-step__faq-question h3 {
    font-size: 1.05em;
  }

  .page-registration-guide-step-by-step__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-registration-guide-step-by-step__faq-item.active .page-registration-guide-step-by-step__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile image responsiveness */
  .page-registration-guide-step-by-step img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-registration-guide-step-by-step__section,
  .page-registration-guide-step-by-step__step-card,
  .page-registration-guide-step-by-step__benefit-card,
  .page-registration-guide-step-by-step__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}