.contact-page {
    padding: 45px 20px 60px;
    background: #eef3f7;
    min-height: 60vh;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-heading {
    text-align: center;
    margin-bottom: 30px;
}

.contact-eyebrow {
    color: #3b82a0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-heading h1 {
    color: #102344;
    font-size: 34px;
    font-weight: 700;
    margin: 10px 0;
}

.contact-heading p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 650px;
}

.customer-service-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px 32px;
    margin-bottom: 30px;
    background: linear-gradient(120deg, #102344, #1d416c);
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(16, 35, 68, 0.15);
    color: #fff;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    font-size: 28px;
}

.service-details > span {
    color: #c5d8f0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.service-details h2 {
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    margin: 6px 0 12px;
}

.service-details p {
    margin: 7px 0;
    color: #fff;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.service-details p i {
    width: 22px;
    color: #a9d7ff;
}

.service-details a {
    color: #fff;
    text-decoration: none;
}

.service-details a:hover {
    text-decoration: underline;
}

.contact-separator {
    margin: 0 7px;
    color: #c5d8f0;
}

.branch-directory {
    background: #fff;
    border: 1px solid #dbe4ec;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(16, 35, 68, 0.06);
}

.directory-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 25px 28px;
    border-bottom: 1px solid #e5ebf1;
}

.directory-heading h2 {
    color: #102344;
    font-size: 23px;
    font-weight: 700;
    margin: 0 0 7px;
}

.directory-heading p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
}

.branch-count {
    color: #245b85;
    background: #edf5fb;
    border: 1px solid #d9e9f5;
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 12px;
    white-space: nowrap;
}

.branch-count i {
    margin-right: 5px;
}

.branch-search {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 28px;
    padding: 0 15px;
    border: 1px solid #cfd9e3;
    border-radius: 7px;
    background: #fff;
}

.branch-search:focus-within {
    border-color: #3b82a0;
    box-shadow: 0 0 0 3px rgba(59, 130, 160, 0.1);
}

.branch-search i {
    color: #7b8da0;
}

.branch-search input {
    width: 100%;
    min-width: 0;
    height: 46px;
    border: none;
    outline: none;
    background: transparent;
    color: #334155;
    font-size: 14px;
}

.branch-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.branch-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.branch-table th {
    padding: 15px 22px;
    background: #102344;
    color: #fff;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.branch-table td {
    padding: 16px 22px;
    color: #475569;
    font-size: 13px;
    line-height: 1.7;
    vertical-align: top;
    border-bottom: 1px solid #e8edf2;
    overflow-wrap: anywhere;
}

.branch-table tbody tr:nth-child(even) {
    background: #f7f9fc;
}

.branch-table tbody tr:hover {
    background: #edf5fb;
}

.branch-table tbody tr:last-child td {
    border-bottom: none;
}

.branch-table td:first-child {
    color: #102344;
    font-weight: 600;
    min-width: 175px;
}

.branch-table td a {
    color: #245b85;
    text-decoration: none;
}

.branch-table td a:hover {
    color: #0b1931;
    text-decoration: underline;
}

.branch-table .no-contact {
    color: #94a3b8;
    font-style: italic;
}

.branch-table tr[hidden],
.branch-table[hidden],
.no-results[hidden] {
    display: none;
}

.no-results {
    padding: 45px 20px;
    text-align: center;
    color: #64748b;
}

.no-results i {
    font-size: 28px;
    color: #94a3b8;
}

.no-results p {
    margin: 12px 0 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .contact-page {
        padding: 30px 14px 40px;
    }

    .contact-heading h1 {
        font-size: 28px;
    }

    .contact-heading p {
        font-size: 13px;
    }

    .customer-service-card {
        align-items: flex-start;
        gap: 15px;
        padding: 22px 18px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }

    .service-details {
        min-width: 0;
    }

    .service-details h2 {
        font-size: 19px;
    }

    .service-details p {
        font-size: 12px;
        line-height: 1.8;
    }

    .directory-heading {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px 18px;
    }

    .branch-search {
        margin: 18px;
    }

    .branch-table {
        min-width: 760px;
    }

    .branch-table th,
    .branch-table td {
        padding: 13px 15px;
    }
}


/* INQUIRY CONTACT SECTION */
.inquiry-section {
    margin-top: 30px;
    background: #fff;
    border: 1px solid #dbe4ec;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(16, 35, 68, 0.06);
}

.inquiry-section .directory-heading {
    border-bottom: 1px solid #e5ebf1;
}

.inquiry-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 28px;
}

.inquiry-card {
    padding: 28px;
    border: 1px solid #dbe4ec;
    border-radius: 9px;
    background: #f8fafc;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.inquiry-card:hover {
    box-shadow: 0 5px 16px rgba(16, 35, 68, 0.08);
    transform: translateY(-2px);
}

.inquiry-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: #e5eef8;
    color: #245b85;
    font-size: 22px;
}

.inquiry-card h3 {
    margin: 0 0 8px;
    color: #102344;
    font-size: 21px;
    font-weight: 700;
}

.inquiry-purpose {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.inquiry-contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.inquiry-contacts a {
    color: #475569;
    font-size: 13px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.inquiry-contacts a i {
    width: 18px;
    color: #3b82a0;
}

.inquiry-contacts a:hover,
.inquiry-email:hover {
    color: #245b85;
    text-decoration: underline;
}

.inquiry-email {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding-top: 17px;
    border-top: 1px solid #dbe4ec;
    color: #245b85;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.inquiry-email i {
    margin-top: 3px;
}

@media (max-width: 768px) {
    .inquiry-cards {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 18px;
    }

    .inquiry-card {
        padding: 22px 18px;
    }

    .inquiry-contacts {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
