/* style/index-withdrawal-process.css */

.page-index-withdrawal-process {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default body background */
}

.page-index-withdrawal-process__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 500px;
  overflow: hidden; /* Prevent content overflow */
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensure header offset for the first section */
}

.page-index-withdrawal-process__hero-content {
  z-index: 1;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-index-withdrawal-process__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-index-withdrawal-process__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-index-withdrawal-process__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 600px; /* Constrain button group width */
  margin: 0 auto;
}

.page-index-withdrawal-process__btn-primary,
.page-index-withdrawal-process__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, border-color 0.3s ease;
  box-sizing: border-box; /* Crucial for max-width 100% on mobile */
  text-align: center;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-index-withdrawal-process__btn-primary {
  background-color: #EA7C07; /* Login/CTA color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-index-withdrawal-process__btn-primary:hover {
  background-color: #cc6a00;
  border-color: #cc6a00;
}

.page-index-withdrawal-process__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0; /* Brand primary color */
  border: 2px solid #26A9E0;
}

.page-index-withdrawal-process__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1e87b7;
  border-color: #1e87b7;
}

.page-index-withdrawal-process__btn-primary--large {
  font-size: 1.3em;
  padding: 18px 40px;
  min-width: 250px;
}

.page-index-withdrawal-process__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-index-withdrawal-process__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
}

/* General Section Styling */
.page-index-withdrawal-process__section {
  padding: 60px 20px;
  text-align: center;
}

.page-index-withdrawal-process__content-area {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-withdrawal-process__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-index-withdrawal-process__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-index-withdrawal-process__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: inherit; /* Inherit color from parent section */
}

.page-index-withdrawal-process__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-index-withdrawal-process__link {
  color: inherit; /* Inherit color */
  text-decoration: underline;
  font-weight: bold;
}

.page-index-withdrawal-process__link:hover {
  color: #EA7C07; /* Highlight on hover */
}

/* Steps Section */
.page-index-withdrawal-process__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-withdrawal-process__step-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
  color: #333333;
}

.page-index-withdrawal-process__step-card:hover {
  transform: translateY(-5px);
}

.page-index-withdrawal-process__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-index-withdrawal-process__step-description {
  font-size: 1em;
  color: #555555;
}

/* Info/Conditions Section */
.page-index-withdrawal-process__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-withdrawal-process__info-card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark bg */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.page-index-withdrawal-process__info-card:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-index-withdrawal-process__info-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-index-withdrawal-process__info-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-index-withdrawal-process__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-index-withdrawal-process__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-withdrawal-process__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-index-withdrawal-process__faq-question:hover {
  background-color: #f0f0f0;
}

.page-index-withdrawal-process__faq-title {
  font-size: 1.2em;
  color: #26A9E0;
  margin: 0;
}

.page-index-withdrawal-process__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-index-withdrawal-process__faq-item.active .page-index-withdrawal-process__faq-toggle {
  transform: rotate(45deg);
}

.page-index-withdrawal-process__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #fcfcfc;
  color: #555555;
}

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

.page-index-withdrawal-process__faq-answer .page-index-withdrawal-process__paragraph {
  margin-bottom: 0;
}

/* Tips Section */
.page-index-withdrawal-process__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-index-withdrawal-process__tip-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-withdrawal-process__tip-title {
  font-size: 1.3em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-index-withdrawal-process__tip-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* CTA Final Section */
.page-index-withdrawal-process__cta-final {
  padding: 80px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-index-withdrawal-process__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add padding for mobile content safety */
  box-sizing: border-box;
}

.page-index-withdrawal-process__container--center {
  text-align: center;
}

/* Image styling */
.page-index-withdrawal-process img {
  max-width: 100%;
  height: auto;
  display: block; /* Ensures images behave well with max-width */
}

.page-index-withdrawal-process__image-wrapper {
  margin-top: 40px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-index-withdrawal-process__image-wrapper--center {
  max-width: 800px; /* Example size for content images */
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-withdrawal-process__main-title {
    font-size: 2.8em;
  }
  .page-index-withdrawal-process__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-withdrawal-process__hero-section {
    padding: 60px 15px;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .page-index-withdrawal-process__hero-content {
    margin-bottom: 20px;
  }

  .page-index-withdrawal-process__main-title {
    font-size: 2.2em;
  }

  .page-index-withdrawal-process__hero-description {
    font-size: 1em;
  }

  .page-index-withdrawal-process__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-withdrawal-process__btn-primary,
  .page-index-withdrawal-process__btn-secondary,
  .page-index-withdrawal-process a[class*="button"],
  .page-index-withdrawal-process a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-withdrawal-process__cta-buttons,
  .page-index-withdrawal-process__button-group,
  .page-index-withdrawal-process__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-index-withdrawal-process__section {
    padding: 40px 15px;
  }

  .page-index-withdrawal-process__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-index-withdrawal-process__paragraph {
    font-size: 1em;
  }

  .page-index-withdrawal-process__steps-grid,
  .page-index-withdrawal-process__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-withdrawal-process__step-card,
  .page-index-withdrawal-process__info-card {
    padding: 20px;
  }

  .page-index-withdrawal-process__step-title,
  .page-index-withdrawal-process__info-title {
    font-size: 1.3em;
  }

  .page-index-withdrawal-process__faq-question {
    padding: 15px 20px;
  }

  .page-index-withdrawal-process__faq-title {
    font-size: 1.1em;
  }

  .page-index-withdrawal-process__faq-answer {
    padding: 15px 20px;
  }

  .page-index-withdrawal-process__tip-item {
    padding: 20px;
  }
  
  /* Mobile image responsiveness */
  .page-index-withdrawal-process img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-index-withdrawal-process__section,
  .page-index-withdrawal-process__card,
  .page-index-withdrawal-process__container,
  .page-index-withdrawal-process__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-index-withdrawal-process__image-wrapper--center {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-index-withdrawal-process__main-title {
    font-size: 1.8em;
  }
  .page-index-withdrawal-process__section-title {
    font-size: 1.5em;
  }
  .page-index-withdrawal-process__btn-primary--large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}