/* Custom Global System Variables */
:root {
    --primary-blue: #002147;
    --text-dark: #222222;
    --text-muted: #555555;
    --bg-pure: #ffffff;
    --bg-light-grey: #f4f6f9;
    --border-grey: #dddddd;
    --narrow-width: 800px;
}

/* Reset and Core Font Metrics */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-pure);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures footer stays at bottom even on large screens */
}

.content-wrapper {
    flex: 1; /* Pushes footer to the bottom */
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: var(--narrow-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

/* Structural Content Backgrounds */
.bg-grey { background-color: var(--bg-light-grey); }

/* Header Architecture */
.main-header {
    background-color: var(--bg-pure);
    padding: 40px 0 30px 0;
    border-bottom: 3px solid var(--primary-blue);
}

.logo-wrapper {
    margin-bottom: 20px;
}

.bank-logo {
    max-height: 140px;
    width: auto;
    object-fit: contain;
}

.main-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.main-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 500;
}

/* Base Component Sections */
.info-section {
    padding: 50px 0;
}

.section-title {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-grey);
}

/* Contact Details Box Styles */
.contact-box {
    background-color: var(--bg-pure);
    border: 1px solid var(--border-grey);
    border-left: 5px solid var(--primary-blue);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.details-table {
    width: 100%;
    border-collapse: collapse;
}

.details-table th, .details-table td {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--bg-light-grey);
}

.details-table tr:last-child th,
.details-table tr:last-child td {
    border-bottom: none;
}

.details-table th {
    background-color: var(--bg-pure);
    color: var(--primary-blue);
    font-weight: 600;
    width: 35%;
}

.details-table td {
    color: var(--text-dark);
}

.contact-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.highlight-text {
    color: var(--primary-blue);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Footer Architecture */
.main-footer {
    background-color: var(--primary-blue);
    color: var(--bg-pure);
    padding: 40px 0;
    font-size: 0.85rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-address {
    font-style: normal;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.footer-contact-info {
    color: #cccccc;
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 25px 0;
}

.footer-copyright {
    color: #aaaaaa;
}

/* Media Interface Remapping (Mobile-First Overrides) */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.4rem;
    }
    .main-subtitle {
        font-size: 0.95rem;
    }
    .details-table th, .details-table td {
        display: block;
        width: 100%;
    }
    .details-table th {
        border-bottom: none;
        padding-bottom: 4px;
        background-color: var(--bg-light-grey);
    }
    .details-table td {
        padding-top: 6px;
        padding-bottom: 16px;
    }
    .info-section {
        padding: 35px 0;
    }
}