:root {
  --primary-color: #26A9E0;
  --secondary-color: #007bff; /* A slightly different blue for secondary actions */
  --text-color: #333333;
  --heading-color: #000000;
  --background-light: #f9f9f9;
  --background-white: #FFFFFF;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

.page-resources-safe-deposits-withdrawals {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-white);
  padding-bottom: 60px; /* Add some space at the bottom */
}

.page-resources-safe-deposits-withdrawals__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-resources-safe-deposits-withdrawals__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #a4e5ff 100%); /* Light blue gradient */
  color: #ffffff;
  overflow: hidden; /* Hide overflow for hero image */
}

.page-resources-safe-deposits-withdrawals__hero-container {
  display: flex;
  flex-direction: row; /* Default desktop layout */
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.page-resources-safe-deposits-withdrawals__hero-content {
  flex: 1;
  text-align: left;
  padding-right: 20px;
}

.page-resources-safe-deposits-withdrawals__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-safe-deposits-withdrawals__hero-description {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-safe-deposits-withdrawals__hero-cta-group {
  display: flex;
  gap: 15px;
  justify-content: flex-start; /* Align CTA buttons to the left */
  flex-wrap: wrap;
}

.page-resources-safe-deposits-withdrawals__cta-button {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px var(--shadow-color);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
}

.page-resources-safe-deposits-withdrawals__cta-button--primary {
  background: var(--background-white);
  color: var(--primary-color);
  border: 2px solid var(--background-white);
}

.page-resources-safe-deposits-withdrawals__cta-button--primary:hover {
  background: var(--primary-color);
  color: var(--background-white);
  border-color: var(--background-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-safe-deposits-withdrawalls__cta-button--secondary {
  background: transparent;
  color: var(--background-white);
  border: 2px solid var(--background-white);
}

.page-resources-safe-deposits-withdrawalls__cta-button--secondary:hover {
  background: var(--background-white);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-safe-deposits-withdrawals__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-safe-deposits-withdrawals__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* General Section Styling */
.page-resources-safe-deposits-withdrawals__section {
  padding: 60px 0;
  background-color: var(--background-white);
}

.page-resources-safe-deposits-withdrawals__section:nth-of-type(even) {
  background-color: var(--background-light);
}

.page-resources-safe-deposits-withdrawals__section-title {
  font-size: 36px;
  color: var(--heading-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-safe-deposits-withdrawals__subsection-title {
  font-size: 28px;
  color: var(--heading-color);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
}

.page-resources-safe-deposits-withdrawals__paragraph {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-safe-deposits-withdrawals__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  font-size: 17px;
}

.page-resources-safe-deposits-withdrawals__list li {
  margin-bottom: 10px;
}

.page-resources-safe-deposits-withdrawals__list li strong {
  color: var(--primary-color);
}

.page-resources-safe-deposits-withdrawals__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-safe-deposits-withdrawals__method-card {
  background-color: var(--background-white);
  border-radius: 12px;
  box-shadow: 0 6px 18px var(--shadow-color);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-safe-deposits-withdrawals__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-safe-deposits-withdrawals__method-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-safe-deposits-withdrawals__method-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-resources-safe-deposits-withdrawals__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 4px 12px var(--shadow-color);
  object-fit: cover;
}

.page-resources-safe-deposits-withdrawals__image-with-text {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-resources-safe-deposits-withdrawals__image-with-text img {
  flex: 1;
  min-width: 300px;
}

.page-resources-safe-deposits-withdrawals__image-with-text .page-resources-safe-deposits-withdrawals__list {
  flex: 1;
  min-width: 300px;
  margin-bottom: 0;
}

.page-resources-safe-deposits-withdrawals__security-features {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap-reverse;
}

.page-resources-safe-deposits-withdrawals__security-features img {
  flex: 1;
  min-width: 300px;
}

.page-resources-safe-deposits-withdrawals__security-features .page-resources-safe-deposits-withdrawals__list {
  flex: 1;
  min-width: 300px;
  margin-bottom: 0;
}

/* FAQ Section */
.page-resources-safe-deposits-withdrawals__faq-section {
  background-color: var(--background-light);
}

.page-resources-safe-deposits-withdrawals__faq-list {
  margin-top: 40px;
}

.page-resources-safe-deposits-withdrawals__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-safe-deposits-withdrawals__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-safe-deposits-withdrawals__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-safe-deposits-withdrawals__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--heading-color);
}

.page-resources-safe-deposits-withdrawals__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-resources-safe-deposits-withdrawals__faq-item.active .page-resources-safe-deposits-withdrawals__faq-toggle {
  color: var(--heading-color);
  transform: rotate(45deg); /* Change from + to X or simply - */
}

.page-resources-safe-deposits-withdrawals__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.3s ease;
  padding: 0 25px;
  opacity: 0;
  background: #fdfdfd;
  color: var(--text-color);
  border-top: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
}

.page-resources-safe-deposits-withdrawals__faq-item.active .page-resources-safe-deposits-withdrawals__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-safe-deposits-withdrawals__hero-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .page-resources-safe-deposits-withdrawals__hero-content {
    padding-right: 0;
    text-align: center;
  }

  .page-resources-safe-deposits-withdrawals__hero-title {
    font-size: 42px;
  }
}