/* Overseas Pakistanis page. All rules are scoped to preserve existing pages. */
.overseas-page {
    --overseas-ink: #162d28;
    --overseas-green: #075339;
    --overseas-muted: #5d6e67;
    --overseas-line: #dce7df;
    color: var(--overseas-ink);
    background: #fff;
}
.overseas-page .cosmos-container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.overseas-page p, .overseas-page li { font-size: 15px; font-weight: 400; line-height: 1.85; color: var(--overseas-muted); }
.overseas-page p { margin: 0 0 0rem; }
.overseas-page h2 { font-size: clamp(1.65rem, 2.6vw, 2.3rem); line-height: 1.25; font-weight: 600; letter-spacing: -.7px; color: var(--overseas-ink); margin: 0 0 1.4rem; }
.overseas-page h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.45; margin: 0 0 .75rem; }
.overseas-page .page-hero {
    position: relative; isolation: isolate; display: flex; align-items: center;
    min-height: 580px; margin-top: 180px; padding: 80px 0;
    background: linear-gradient(100deg, rgba(3,35,26,.97), rgba(4,48,36,.9) 50%, rgba(3,35,26,.44)), url('img/about11.png') center/cover;
    color: white; overflow: hidden;
}
.overseas-page .page-hero::after { content: ''; position: absolute; z-index: -1; width: 540px; height: 540px; border: 1px solid #ffffff18; border-radius: 50%; right: -140px; top: -190px; box-shadow: 0 0 0 80px #ffffff04, 0 0 0 160px #ffffff03; pointer-events: none; }
.overseas-page .page-hero h1 { max-width: 930px; margin: 0 0 24px; font-size: clamp(2.1rem, 3.6vw, 3.4rem); line-height: 1.17; font-weight: 600; letter-spacing: -1.4px; text-transform: none; text-wrap: balance; }
.overseas-page .page-hero p { max-width: 750px; color: #e0eae4; font-size: 16px; line-height: 1.8; margin-bottom: 0; }
.overseas-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.overseas-page .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 1px solid transparent; border-radius: 10px; padding: 13px 23px; font-size: 14px; font-weight: 600; line-height: 1.4; transition: background .2s, box-shadow .2s, transform .2s; }
.overseas-page .overseas-whatsapp { background: #2cdb76; color: #062f1a; box-shadow: 0 6px 20px #0000000c; }
.overseas-page .overseas-whatsapp:hover { background: #51e28e; color: #062f1a; transform: translateY(-2px); box-shadow: 0 8px 24px #00000020; }
.overseas-page .btn-light { color: #fff; background: #ffffff0c; border-color: #ffffff65; }
.overseas-page .btn-light:hover { color: #103d2b; background: #fff; }
.overseas-page :is(a,button,summary,input,textarea):focus-visible { outline: 3px solid #d4a645; outline-offset: 4px; }
.overseas-page .zigzag-section { padding: 88px 0; }
.overseas-page .zigzag-section:nth-of-type(even) { background: #f4f7f3; }
.overseas-page .zigzag-section .row { --bs-gutter-x: 3.5rem; --bs-gutter-y: 2rem; }
.overseas-page .zigzag-img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 18px 50px #173c2410; }
.overseas-page .accent { display: block; width: 44px; height: 4px; border-radius: 3px; background: #b38c45; margin-bottom: 20px; }
.overseas-page .zigzag-content > ul:not(.overseas-contact-list) { padding-left: 1.2rem; }
.overseas-page .zigzag-content li { padding-left: .25rem; margin-bottom: .75rem; }
.overseas-page .zigzag-content li::marker { color: #138257; }
.overseas-page section:nth-of-type(3) { counter-reset: trust; }
.overseas-page section:nth-of-type(3) > .cosmos-container > p { max-width: 760px; margin-bottom: 32px; }
.overseas-point { counter-increment: trust; height: 100%; border: 1px solid var(--overseas-line); padding: 28px; border-radius: 16px; background: white; transition: border-color .2s, box-shadow .2s; }
.overseas-point::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 22px; color: #0c5e3c; background: #edf4eb; font-size: 13px; font-weight: 600; }
.overseas-point:hover { border-color: #a9c3ae; box-shadow: 0 12px 36px #173c2409; }
.overseas-point p { margin-bottom: 0; font-size: 14px; }
.overseas-page .zigzag-section:nth-of-type(6), .overseas-page .zigzag-section:nth-of-type(8) { background: #eaf1e7; }
.overseas-page .zigzag-section:nth-of-type(6) p, .overseas-page .zigzag-section:nth-of-type(8) p { max-width: 960px; margin-bottom: 0; }
.overseas-page .zigzag-section:nth-of-type(8) a { display: inline-flex; margin-top: 24px; border-bottom: 1px solid #65816b; padding-bottom: 4px; }
.overseas-page .project-card { border-radius: 18px; box-shadow: 0 8px 28px #1a3e2608; border-color: var(--overseas-line); height: 100%; }
.overseas-page .project-card .project-body { padding: 25px; background: #fff; }
.overseas-page .project-card .project-img-wrap { background: #eef2eb; }
.overseas-page .project-card h3 { font-size: 1.2rem; color: var(--overseas-ink); }
.overseas-page .project-card .project-body p { font-size: 14px; }
.overseas-page .btn-read-more { padding: 11px 15px; border: 1px solid #cbd9ce; border-radius: 8px; font-size: 12px; line-height: 1.5; background: #f5f8f2; }
.overseas-page .project-card:hover .btn-read-more { background: var(--overseas-green); color: #fff; border-color: var(--overseas-green); }
.overseas-faq { max-width: 960px; margin-top: 32px; }
.overseas-faq-item { background: #fff; border: 1px solid var(--overseas-line); border-radius: 14px; margin-bottom: 12px; overflow: clip; }
.overseas-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 26px; cursor: pointer; list-style: none; }
.overseas-faq-item summary::-webkit-details-marker { display: none; }
.overseas-faq-item summary h3 { margin: 0; font-size: 16px; line-height: 1.6; }
.overseas-faq-item summary:hover { background: #f4f8f1; }
.faq-toggle { flex: 0 0 28px; height: 28px; border-radius: 50%; background: #eef4eb; position: relative; }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; top: 13px; left: 8px; width: 12px; height: 2px; background: #215d3d; }
.faq-toggle::after { transform: rotate(90deg); transition: transform .2s; }
.overseas-faq-item[open] { border-color: #9db7a2; }
.overseas-faq-item[open] .faq-toggle::after { transform: rotate(0); }
.overseas-faq-answer { padding: 0 26px 24px; }
.overseas-faq-answer p { margin: 0; font-size: 14px; }
.overseas-page .zigzag-section:last-of-type { background: #eef3ec; }
.overseas-contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; border: 1px solid #d4e0d2; border-radius: 24px; overflow: hidden; box-shadow: 0 16px 60px #173c240b; }
.overseas-contact-copy { padding: 44px; background: #083d2c; color: #fff; }
.overseas-contact-copy h2 { color: #fff; }
.overseas-contact-copy > p { color: #d2e2d8; }
.overseas-contact-list { list-style: none; padding: 0; margin: 28px 0; }
.overseas-page .overseas-contact-list li { color: #e3ece6; border-bottom: 1px solid #ffffff1a; padding: 0 0 16px; margin: 0 0 16px; font-size: 13px; overflow-wrap: anywhere; }
.overseas-contact-list img { display: none; }
.overseas-contact-list a { display: inline; color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: #ffffff50; text-underline-offset: 4px; }
.overseas-form { padding: 44px; background: #fff; min-width: 0; }
.overseas-form > h3 { font-size: 1.5rem; margin-bottom: 28px; }
.overseas-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.overseas-field { min-width: 0; margin-bottom: 20px; }
.overseas-form label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 9px; color: #264739; }
.overseas-form .form-control { width: 100%; min-height: 51px; border: 1px solid #cedbd1; border-radius: 9px; padding: 13px 15px; background: #fbfcfa; color: #1c3b2d; font-size: 14px; line-height: 1.5; }
.overseas-form .form-control:focus { background: #fff; border-color: #0f744b; box-shadow: 0 0 0 3px #16734a12; }
.overseas-form textarea.form-control { min-height: 145px; resize: vertical; }
.overseas-form .iti { display: block; width: 100%; --iti-border-color: #cedbd1; }
.overseas-form .iti__dropdown-content { max-width: min(360px, 80vw); }
.overseas-form .btn-contact { width: 100%; background: #075339; color: #fff; }
.overseas-form .btn-contact:hover { background: #0a6a49; transform: translateY(-1px); }
.overseas-form .btn-contact:disabled { opacity: .7; cursor: wait; transform: none; }
#overseas-form-status:not([hidden]) { border-radius: 9px; padding: 14px; margin-bottom: 20px; font-size: 14px; line-height: 1.7; background: #eef6e9; color: #164f2f; border: 1px solid #bfd6b5; }
#overseas-form-status[data-error]:not([hidden]) { background: #fff0ed; color: #8c3021; border-color: #f0c7bc; }
@media (max-width: 991px) {
    .overseas-page .cosmos-container { width: calc(100% - 48px); }
    .overseas-page .page-hero { min-height: 510px; padding: 64px 0; }
    .overseas-page .zigzag-section { padding: 64px 0; }
    .overseas-page .zigzag-section .row { --bs-gutter-x: 2rem; }
    .overseas-contact-grid { grid-template-columns: 1fr; }
    .overseas-contact-copy, .overseas-form { padding: 32px; }
    .overseas-page .project-card .project-body { padding: 18px; }
}
@media (max-width: 767px) {
    .overseas-page .cosmos-container { width: calc(100% - 40px); }
    .overseas-page .page-hero { margin-top: 160px; min-height: 0; padding: 54px 0; }
    .overseas-page .page-hero .cosmos-container { padding-inline: 0 !important; }
    .overseas-page .page-hero h1 { font-size: clamp(1.85rem, 6.6vw, 2.6rem); line-height: 1.23; letter-spacing: -.7px; text-wrap: initial; }
    .overseas-page .page-hero p { font-size: 14px; line-height: 1.85; }
    .overseas-actions { gap: 10px; margin-top: 26px; }
    .overseas-actions .btn { flex: 1 1 150px; padding-inline: 12px; font-size: 12px; }
    .overseas-page .zigzag-section { padding: 48px 0; }
    .overseas-page .zigzag-section .row { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
    .overseas-page .zigzag-img { border-radius: 14px; }
    .overseas-page h2 { letter-spacing: -.4px; margin-bottom: 20px; }
    .overseas-page p, .overseas-page li { font-size: 14px; }
    .overseas-point { padding: 24px; }
    .overseas-faq-item summary { padding: 18px; gap: 14px; }
    .overseas-faq-item summary h3 { font-size: 14px; }
    .overseas-faq-answer { padding: 0 18px 20px; }
    .overseas-contact-grid { border-radius: 16px; }
    .overseas-contact-copy, .overseas-form { padding: 26px 22px; }
    .overseas-fields { grid-template-columns: 1fr; gap: 0; }
    .overseas-form .form-control { font-size: 16px; }
    .overseas-page { padding-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .overseas-page *, .overseas-page *::after { transition: none !important; } }
/* Reset the site's global details spacing inside this accordion. */
.overseas-page details.overseas-faq-item { padding: 0; }
