/* style/resources-deposit-withdrawal-tutorial.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-on-dark: #FFFFFF;
  --text-on-light: #333333;
  --login-button-color: #EA7C07;
  --background-light: #FFFFFF;
  --dark-bg-color: #000000;
}

.page-resources-deposit-withdrawal-tutorial {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-on-dark); /* Default text color for the main content on dark body background */
  background-color: var(--dark-bg-color); /* Matches body background */
}

.page-resources-deposit-withdrawal-tutorial__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.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);
  z-index: 2;
}

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

.page-resources-deposit-withdrawal-tutorial__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color);
}

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

/* General Section Styling */
.page-resources-deposit-withdrawal-tutorial__introduction-section,
.page-resources-deposit-withdrawal-tutorial__deposit-guide,
.page-resources-deposit-withdrawal-tutorial__withdrawal-guide,
.page-resources-deposit-withdrawal-tutorial__regulations-section,
.page-resources-deposit-withdrawal-tutorial__tips-section,
.page-resources-deposit-withdrawal-tutorial__faq-section,
.page-resources-deposit-withdrawal-tutorial__conclusion-section {
  padding: 60px 0;
}

.page-resources-deposit-withdrawal-tutorial__light-bg {
  background-color: var(--background-light);
  color: var(--text-on-light);
}

.page-resources-deposit-withdrawal-tutorial__dark-bg {
  background-color: var(--dark-bg-color);
  color: var(--text-on-dark);
}

.page-resources-deposit-withdrawal-tutorial__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-resources-deposit-withdrawal-tutorial__light-bg .page-resources-deposit-withdrawal-tutorial__section-title {
  color: var(--primary-color);
}

.page-resources-deposit-withdrawal-tutorial__dark-bg .page-resources-deposit-withdrawal-tutorial__section-title {
  color: var(--secondary-color);
}

.page-resources-deposit-withdrawal-tutorial__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-deposit-withdrawal-tutorial__link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-resources-deposit-withdrawal-tutorial__link:hover {
  text-decoration: underline;
}

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

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

.page-resources-deposit-withdrawal-tutorial__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

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

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

.page-resources-deposit-withdrawal-tutorial__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Steps Grid */
.page-resources-deposit-withdrawal-tutorial__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-deposit-withdrawal-tutorial__step-card {
  background-color: var(--background-light);
  color: var(--text-on-light);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-deposit-withdrawal-tutorial__dark-bg .page-resources-deposit-withdrawal-tutorial__step-card {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: var(--text-on-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-deposit-withdrawal-tutorial__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  width: 400px; /* Display width */
  height: 300px; /* Display height */
  object-fit: cover;
}

.page-resources-deposit-withdrawal-tutorial__step-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-deposit-withdrawal-tutorial__dark-bg .page-resources-deposit-withdrawal-tutorial__step-title {
  color: var(--secondary-color);
}

/* List */
.page-resources-deposit-withdrawal-tutorial__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-resources-deposit-withdrawal-tutorial__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-deposit-withdrawal-tutorial__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
}

/* Card Grid for Tips */
.page-resources-deposit-withdrawal-tutorial__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-deposit-withdrawal-tutorial__card {
  background-color: var(--background-light);
  color: var(--text-on-light);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-resources-deposit-withdrawal-tutorial__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* FAQ Section */
.page-resources-deposit-withdrawal-tutorial__faq-list {
  margin-top: 40px;
}

.page-resources-deposit-withdrawal-tutorial__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-deposit-withdrawal-tutorial__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-deposit-withdrawal-tutorial__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Adjust to fit parent font size */
}

.page-resources-deposit-withdrawal-tutorial__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #2a2a2a; /* Lighter dark for answer background */
  color: var(--text-on-dark);
}

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

.page-resources-deposit-withdrawal-tutorial__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-resources-deposit-withdrawal-tutorial__hero-title {
    font-size: 2.8em;
  }
  .page-resources-deposit-withdrawal-tutorial__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-deposit-withdrawal-tutorial__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-resources-deposit-withdrawal-tutorial__hero-title {
    font-size: 2.2em;
  }
  .page-resources-deposit-withdrawal-tutorial__hero-description {
    font-size: 1em;
  }
  .page-resources-deposit-withdrawal-tutorial__btn-primary,
  .page-resources-deposit-withdrawal-tutorial__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-deposit-withdrawal-tutorial__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-resources-deposit-withdrawal-tutorial__section-title {
    font-size: 1.8em;
  }
  .page-resources-deposit-withdrawal-tutorial__text-block,
  .page-resources-deposit-withdrawal-tutorial__list li,
  .page-resources-deposit-withdrawal-tutorial__faq-question,
  .page-resources-deposit-withdrawal-tutorial__faq-answer p {
    font-size: 1em;
  }
  .page-resources-deposit-withdrawal-tutorial__deposit-guide,
  .page-resources-deposit-withdrawal-tutorial__withdrawal-guide,
  .page-resources-deposit-withdrawal-tutorial__regulations-section,
  .page-resources-deposit-withdrawal-tutorial__tips-section,
  .page-resources-deposit-withdrawal-tutorial__faq-section,
  .page-resources-deposit-withdrawal-tutorial__conclusion-section {
    padding: 40px 0;
  }
  .page-resources-deposit-withdrawal-tutorial__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources-deposit-withdrawal-tutorial img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-resources-deposit-withdrawal-tutorial__steps-grid,
  .page-resources-deposit-withdrawal-tutorial__card-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-deposit-withdrawal-tutorial__faq-question {
    padding: 15px 20px;
  }
  .page-resources-deposit-withdrawal-tutorial__faq-answer {
    padding: 0 20px;
  }
  .page-resources-deposit-withdrawal-tutorial__faq-item.active .page-resources-deposit-withdrawal-tutorial__faq-answer {
    padding: 15px 20px !important;
  }
}

@media (max-width: 480px) {
  .page-resources-deposit-withdrawal-tutorial__hero-title {
    font-size: 1.8em;
  }
  .page-resources-deposit-withdrawal-tutorial__hero-section {
    height: 400px;
  }
  .page-resources-deposit-withdrawal-tutorial__section-title {
    font-size: 1.5em;
  }
}