/* style/resources-deposit-withdrawal-tutorial.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-font-color: #FFFF00;
}

.page-resources-deposit-withdrawal-tutorial {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--secondary-color); /* Default light background for content area */
}

.page-resources-deposit-withdrawal-tutorial__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-deposit-withdrawal-tutorial__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-deposit-withdrawal-tutorial__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-resources-deposit-withdrawal-tutorial__hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-color-light);
  max-width: 900px;
  padding: 0 20px;
}

.page-resources-deposit-withdrawal-tutorial__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-deposit-withdrawal-tutorial__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-color-light);
}

.page-resources-deposit-withdrawal-tutorial__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-deposit-withdrawal-tutorial__btn-primary,
.page-resources-deposit-withdrawal-tutorial__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-resources-deposit-withdrawal-tutorial__btn-primary {
  background-color: var(--button-register-bg);
  color: var(--button-font-color);
  border: 2px solid var(--button-register-bg);
}

.page-resources-deposit-withdrawal-tutorial__btn-primary:hover {
  background-color: #e00;
  transform: translateY(-3px);
}

.page-resources-deposit-withdrawal-tutorial__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-deposit-withdrawal-tutorial__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.page-resources-deposit-withdrawal-tutorial__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
}

.page-resources-deposit-withdrawal-tutorial__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 15px;
}

.page-resources-deposit-withdrawal-tutorial__sub-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources-deposit-withdrawal-tutorial__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-deposit-withdrawal-tutorial__image-illustration {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-deposit-withdrawal-tutorial__list,
.page-resources-deposit-withdrawal-tutorial__ordered-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-deposit-withdrawal-tutorial__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid var(--primary-color);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-resources-deposit-withdrawal-tutorial__list-item p {
  margin-top: 10px;
  margin-bottom: 0;
}

.page-resources-deposit-withdrawal-tutorial__list-heading {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-top: 0;
}

.page-resources-deposit-withdrawal-tutorial__faq-section {
  margin-top: 50px;
}

.page-resources-deposit-withdrawal-tutorial__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-deposit-withdrawal-tutorial__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #f5f5f5;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources-deposit-withdrawal-tutorial__faq-question:hover {
  background-color: #e8e8e8;
}

.page-resources-deposit-withdrawal-tutorial__faq-title {
  flex-grow: 1;
}

.page-resources-deposit-withdrawal-tutorial__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-resources-deposit-withdrawal-tutorial__faq-item.active .page-resources-deposit-withdrawal-tutorial__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-deposit-withdrawal-tutorial__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-color-dark);
}

.page-resources-deposit-withdrawal-tutorial__faq-item.active .page-resources-deposit-withdrawal-tutorial__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-resources-deposit-withdrawal-tutorial__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-deposit-withdrawal-tutorial__main-title {
    font-size: 2.4em;
  }

  .page-resources-deposit-withdrawal-tutorial__hero-description {
    font-size: 1.1em;
  }

  .page-resources-deposit-withdrawal-tutorial__section-title {
    font-size: 2em;
  }

  .page-resources-deposit-withdrawal-tutorial__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-deposit-withdrawal-tutorial {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-deposit-withdrawal-tutorial__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-deposit-withdrawal-tutorial__main-title {
    font-size: 2em;
  }

  .page-resources-deposit-withdrawal-tutorial__hero-description {
    font-size: 1em;
  }

  .page-resources-deposit-withdrawal-tutorial__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-resources-deposit-withdrawal-tutorial__btn-primary,
  .page-resources-deposit-withdrawal-tutorial__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-deposit-withdrawal-tutorial__content-area {
    padding: 30px 15px;
  }

  .page-resources-deposit-withdrawal-tutorial__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-resources-deposit-withdrawal-tutorial__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
  }

  .page-resources-deposit-withdrawal-tutorial__text-block {
    font-size: 1em;
  }

  .page-resources-deposit-withdrawal-tutorial img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-deposit-withdrawal-tutorial__list-item {
    padding: 15px;
  }

  .page-resources-deposit-withdrawal-tutorial__list-heading {
    font-size: 1.2em;
  }

  .page-resources-deposit-withdrawal-tutorial__faq-question {
    padding: 15px;
    font-size: 1em;
  }

  .page-resources-deposit-withdrawal-tutorial__faq-answer {
    padding: 0 15px;
  }

  .page-resources-deposit-withdrawal-tutorial__faq-item.active .page-resources-deposit-withdrawal-tutorial__faq-answer {
    padding: 15px;
  }

  .page-resources-deposit-withdrawal-tutorial__cta-buttons--bottom {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-deposit-withdrawal-tutorial__main-title {
    font-size: 1.8em;
  }

  .page-resources-deposit-withdrawal-tutorial__hero-description {
    font-size: 0.9em;
  }

  .page-resources-deposit-withdrawal-tutorial__btn-primary,
  .page-resources-deposit-withdrawal-tutorial__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }

  .page-resources-deposit-withdrawal-tutorial__section-title {
    font-size: 1.6em;
  }

  .page-resources-deposit-withdrawal-tutorial__sub-title {
    font-size: 1.3em;
  }
}