/* style/index-new-user-guide.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark-bg: #FFFFFF;
  --text-color-light-bg: #333333;
  --button-register-login-bg: #C30808;
  --button-register-login-text: #FFFFFF; /* Overriding #FFFF00 for WCAG AA contrast */
}

.page-index-new-user-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: #000000; /* Assuming body background from shared.css */
}

.page-index-new-user-guide__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--text-color-dark-bg);
  background-color: #000000; /* Explicitly set for hero, matching body */
}

.page-index-new-user-guide__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
  padding: 20px;
}

.page-index-new-user-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-color-dark-bg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-new-user-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-color-dark-bg);
}

.page-index-new-user-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-index-new-user-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-index-new-user-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-new-user-guide__btn-primary,
.page-index-new-user-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-index-new-user-guide__btn-primary {
  background-color: var(--button-register-login-bg);
  color: var(--button-register-login-text);
  border: 2px solid var(--button-register-login-bg);
}

.page-index-new-user-guide__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-index-new-user-guide__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-index-new-user-guide__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-index-new-user-guide__section {
  padding: 60px 20px;
}

.page-index-new-user-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index-new-user-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-color-dark-bg);
}

.page-index-new-user-guide__section-description {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-new-user-guide__dark-bg {
  background-color: #000000;
  color: var(--text-color-dark-bg);
}

.page-index-new-user-guide__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-light-bg);
}

.page-index-new-user-guide__dark-text {
  color: var(--text-color-light-bg);
}

.page-index-new-user-guide__intro-video-section {
  padding-top: 60px; /* Adjust if hero has padding-top var, otherwise add here */
}

.page-index-new-user-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 30px;
}

.page-index-new-user-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-index-new-user-guide__steps-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-index-new-user-guide__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
  text-align: center;
}

.page-index-new-user-guide__step-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.page-index-new-user-guide__step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
}

.page-index-new-user-guide__step-title {
  font-size: 1.8em;
  margin: 0;
  color: var(--primary-color);
}

.page-index-new-user-guide__step-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.page-index-new-user-guide__step-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-index-new-user-guide__step-text {
  font-size: 1.1em;
  text-align: justify;
  line-height: 1.7;
}

.page-index-new-user-guide__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #000000;
  color: var(--text-color-dark-bg);
}

.page-index-new-user-guide__faq-list {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 40px;
}

.page-index-new-user-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly visible on dark bg */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-color-dark-bg);
}

.page-index-new-user-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

.page-index-new-user-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-new-user-guide__faq-question:hover {
  background-color: #005a2e;
}

.page-index-new-user-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-index-new-user-guide__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-new-user-guide__conclusion-section {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
  background-color: #000000;
  color: var(--text-color-dark-bg);
}

.page-index-new-user-guide__conclusion-section .page-index-new-user-guide__btn-primary {
  margin-top: 30px;
}

/* Global image styles */
.page-index-new-user-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index-new-user-guide__hero-title {
    font-size: 2.8em;
  }

  .page-index-new-user-guide__hero-description {
    font-size: 1.2em;
  }

  .page-index-new-user-guide__section-title {
    font-size: 2em;
  }

  .page-index-new-user-guide__step-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-index-new-user-guide__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }

  .page-index-new-user-guide__hero-title {
    font-size: 2.2em;
  }

  .page-index-new-user-guide__hero-description {
    font-size: 1em;
  }

  .page-index-new-user-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-index-new-user-guide__btn-primary,
  .page-index-new-user-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    text-align: center;
    font-size: 1em;
  }

  .page-index-new-user-guide__section,
  .page-index-new-user-guide__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-new-user-guide__section-title {
    font-size: 1.8em;
  }

  .page-index-new-user-guide__section-description,
  .page-index-new-user-guide__step-text,
  .page-index-new-user-guide__faq-answer p {
    font-size: 0.95em;
  }

  .page-index-new-user-guide__step-header {
    flex-direction: column;
    gap: 10px;
  }

  .page-index-new-user-guide__step-title {
    font-size: 1.3em;
  }

  /* Images and Videos responsive */
  .page-index-new-user-guide img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important; /* Ensure images scale */
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-index-new-user-guide__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-index-new-user-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-new-user-guide__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-index-new-user-guide__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-new-user-guide__hero-title {
    font-size: 1.8em;
  }

  .page-index-new-user-guide__section-title {
    font-size: 1.5em;
  }

  .page-index-new-user-guide__step-title {
    font-size: 1.2em;
  }

  .page-index-new-user-guide__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
}