/* style/resources-safe-deposits-withdrawals.css */

:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark-1: var(--dark-bg-1); /* Assuming shared.css defines --dark-bg-1 */
}

/* Base styles for the page content */
.page-resources-safe-deposits-withdrawals {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark-1);
}

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

.page-resources-safe-deposits-withdrawals__section-title,
.page-resources-safe-deposits-withdrawals__sub-title {
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-resources-safe-deposits-withdrawals__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-top: 60px;
}

.page-resources-safe-deposits-withdrawals__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 40px;
}

.page-resources-safe-deposits-withdrawals__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-resources-safe-deposits-withdrawals__hero-section {
    position: relative;
    padding: 100px 0 60px 0;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--text-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

.page-resources-safe-deposits-withdrawals__hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
}

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

.page-resources-safe-deposits-withdrawals__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-safe-deposits-withdrawals__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-resources-safe-deposits-withdrawals__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* Subtle background image */
}

/* Buttons */
.page-resources-safe-deposits-withdrawals__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

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

.page-resources-safe-deposits-withdrawals__btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: 2px solid var(--secondary-color);
}

.page-resources-safe-deposits-withdrawals__btn-primary:hover {
    background-color: darken(var(--secondary-color), 10%);
    border-color: darken(var(--secondary-color), 10%);
}

.page-resources-safe-deposits-withdrawals__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-resources-safe-deposits-withdrawals__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* Content Sections */
.page-resources-safe-deposits-withdrawals__content-section {
    padding: 60px 0;
    color: var(--text-light); /* Default for dark sections */
}

.page-resources-safe-deposits-withdrawals__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-resources-safe-deposits-withdrawals__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-safe-deposits-withdrawals__feature-list,
.page-resources-safe-deposits-withdrawals__tip-list,
.page-resources-safe-deposits-withdrawals__condition-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: grid;
    gap: 15px;
}

.page-resources-safe-deposits-withdrawals__feature-item,
.page-resources-safe-deposits-withdrawals__tip-list li,
.page-resources-safe-deposits-withdrawals__condition-list li {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 8px;
    font-size: 1.05em;
    line-height: 1.5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-resources-safe-deposits-withdrawals__light-bg .page-resources-safe-deposits-withdrawals__feature-item,
.page-resources-safe-deposits-withdrawals__light-bg .page-resources-safe-deposits-withdrawals__tip-list li,
.page-resources-safe-deposits-withdrawals__light-bg .page-resources-safe-deposits-withdrawals__condition-list li {
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-resources-safe-deposits-withdrawals__feature-item strong,
.page-resources-safe-deposits-withdrawals__tip-list li strong,
.page-resources-safe-deposits-withdrawals__condition-list li strong {
    color: var(--secondary-color);
}

/* Card Grid */
.page-resources-safe-deposits-withdrawals__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-resources-safe-deposits-withdrawals__card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-safe-deposits-withdrawals__light-bg .page-resources-safe-deposits-withdrawals__card {
    background-color: #ffffff;
    color: var(--text-dark);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.page-resources-safe-deposits-withdrawals__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.page-resources-safe-deposits-withdrawals__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-resources-safe-deposits-withdrawals__light-bg .page-resources-safe-deposits-withdrawals__card-title {
    color: var(--primary-color);
}

.page-resources-safe-deposits-withdrawals__step-list {
    list-style: decimal;
    padding-left: 20px;
    margin-top: 15px;
}

.page-resources-safe-deposits-withdrawals__step-list li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-resources-safe-deposits-withdrawals__note {
    font-style: italic;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
}

.page-resources-safe-deposits-withdrawals__light-bg .page-resources-safe-deposits-withdrawals__note {
    color: #666;
}

/* Process Flow */
.page-resources-safe-deposits-withdrawals__process-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.page-resources-safe-deposits-withdrawals__process-step {
    flex: 1 1 calc(20% - 20px);
    max-width: calc(20% - 20px);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-safe-deposits-withdrawals__light-bg .page-resources-safe-deposits-withdrawals__process-step {
    background-color: #ffffff;
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-resources-safe-deposits-withdrawals__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.page-resources-safe-deposits-withdrawals__step-text {
    font-size: 1em;
}

/* Image Content */
.page-resources-safe-deposits-withdrawals__image-content {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Video Section */
.page-resources-safe-deposits-withdrawals__video-section {
    padding: 60px 0;
    background-color: var(--bg-dark-1);
    color: var(--text-light);
    text-align: center;
}

.page-resources-safe-deposits-withdrawals__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    max-width: 100%;
    box-sizing: border-box;
}

.page-resources-safe-deposits-withdrawals__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer;
    display: block;
    max-width: 100%;
}

/* FAQ Section */
.page-resources-safe-deposits-withdrawals__faq-section {
    padding: 60px 0;
}

.page-resources-safe-deposits-withdrawals__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-resources-safe-deposits-withdrawals__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-resources-safe-deposits-withdrawals__light-bg .page-resources-safe-deposits-withdrawals__faq-item {
    background-color: #ffffff;
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.page-resources-safe-deposits-withdrawals__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

.page-resources-safe-deposits-withdrawals__light-bg .page-resources-safe-deposits-withdrawals__faq-question {
    color: var(--primary-color);
}

.page-resources-safe-deposits-withdrawals__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-safe-deposits-withdrawals__light-bg .page-resources-safe-deposits-withdrawals__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-safe-deposits-withdrawals__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-safe-deposits-withdrawals__faq-item.active .page-resources-safe-deposits-withdrawals__faq-toggle {
    transform: rotate(45deg); /* Plus sign to X or minus */
}

.page-resources-safe-deposits-withdrawals__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1.05em;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.page-resources-safe-deposits-withdrawals__light-bg .page-resources-safe-deposits-withdrawals__faq-answer {
    color: var(--text-dark);
}

.page-resources-safe-deposits-withdrawals__faq-item.active .page-resources-safe-deposits-withdrawals__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 20px 25px;
}

/* CTA Section */
.page-resources-safe-deposits-withdrawals__cta-section {
    padding: 80px 0;
    background: linear-gradient(45deg, #0056b3, var(--primary-color));
    color: var(--text-light);
    text-align: center;
}

.page-resources-safe-deposits-withdrawals__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-resources-safe-deposits-withdrawals__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-safe-deposits-withdrawals__hero-title {
        font-size: 3em;
    }
    .page-resources-safe-deposits-withdrawals__section-title {
        font-size: 2em;
    }
    .page-resources-safe-deposits-withdrawals__sub-title {
        font-size: 1.6em;
    }
    .page-resources-safe-deposits-withdrawals__process-step {
        flex: 1 1 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .page-resources-safe-deposits-withdrawals__hero-section {
        padding: 80px 0 40px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-resources-safe-deposits-withdrawals__hero-title {
        font-size: 2.2em;
    }
    .page-resources-safe-deposits-withdrawals__hero-description {
        font-size: 1.1em;
    }
    .page-resources-safe-deposits-withdrawals__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-safe-deposits-withdrawals__btn-primary,
    .page-resources-safe-deposits-withdrawals__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100% !important; /* Buttons full width on mobile */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-safe-deposits-withdrawals__cta-buttons {
        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-resources-safe-deposits-withdrawals__section-title {
        font-size: 1.8em;
    }
    .page-resources-safe-deposits-withdrawals__sub-title {
        font-size: 1.4em;
    }
    .page-resources-safe-deposits-withdrawals__text-block {
        font-size: 1em;
    }
    .page-resources-safe-deposits-withdrawals__feature-item,
    .page-resources-safe-deposits-withdrawals__tip-list li,
    .page-resources-safe-deposits-withdrawals__condition-list li {
        padding: 15px;
        font-size: 0.95em;
    }
    .page-resources-safe-deposits-withdrawals__card-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-safe-deposits-withdrawals__process-step {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .page-resources-safe-deposits-withdrawals__card {
        padding: 20px;
    }
    .page-resources-safe-deposits-withdrawals__image-content {
        margin: 20px auto;
    }
    .page-resources-safe-deposits-withdrawals__video-wrapper {
        margin: 20px auto;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    .page-resources-safe-deposits-withdrawals__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-safe-deposits-withdrawals__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-resources-safe-deposits-withdrawals__faq-answer {
        padding: 0 20px;
        font-size: 1em;
    }
    .page-resources-safe-deposits-withdrawals__faq-item.active .page-resources-safe-deposits-withdrawals__faq-answer {
        padding: 10px 20px 15px 20px;
    }
    .page-resources-safe-deposits-withdrawals__cta-title {
        font-size: 2em;
    }
    .page-resources-safe-deposits-withdrawals__cta-description {
        font-size: 1em;
    }
    .page-resources-safe-deposits-withdrawals img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-safe-deposits-withdrawals__section,
    .page-resources-safe-deposits-withdrawals__card,
    .page-resources-safe-deposits-withdrawals__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-safe-deposits-withdrawals__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
}

@media (max-width: 480px) {
    .page-resources-safe-deposits-withdrawals__hero-title {
        font-size: 1.8em;
    }
    .page-resources-safe-deposits-withdrawals__hero-description {
        font-size: 0.95em;
    }
    .page-resources-safe-deposits-withdrawals__section-title {
        font-size: 1.5em;
    }
    .page-resources-safe-deposits-withdrawals__sub-title {
        font-size: 1.2em;
    }
    .page-resources-safe-deposits-withdrawals__cta-title {
        font-size: 1.6em;
    }
}