/* UrduPure UP4-04 v1.0.0 — Useful Pakistan 4.0 */
:root {
    --up4up-ink: #071c35;
    --up4up-navy: #08243d;
    --up4up-deep: #041522;
    --up4up-red: #e64b38;
    --up4up-ivory: #f7f2e9;
    --up4up-paper: #fffdf8;
    --up4up-soft: #eee7dc;
    --up4up-muted: #667383;
    --up4up-line: rgba(7, 28, 53, .14);
    --up4up-green: #1c6a54;
    --up4up-shell: 1180px;
}
* { box-sizing: border-box; }
html { overflow-x: hidden; background: var(--up4up-paper); }
body.up4up-body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    background: var(--up4up-paper);
    color: var(--up4up-ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.up4up-shell { width: min(calc(100% - 40px), var(--up4up-shell)); margin-inline: auto; }
.up4up-skip { position: absolute; left: -9999px; top: 8px; z-index: 999; padding: 10px 14px; background: #fff; }
.up4up-skip:focus { left: 8px; }
.up4up-sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

.up4up-header { border-bottom: 1px solid var(--up4up-line); background: rgba(255,253,248,.97); position: relative; z-index: 30; }
.up4up-header-row { min-height: 74px; display: flex; align-items: center; gap: 24px; }
.up4up-brand { text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
.up4up-brand span { color: var(--up4up-red); }
.up4up-product-lockup { display: flex; gap: 8px; align-items: center; padding-left: 22px; border-left: 1px solid var(--up4up-line); white-space: nowrap; font-size: 13px; }
.up4up-product-lockup span { padding: 4px 7px; border-radius: 999px; background: var(--up4up-navy); color: #fff; font-size: 10px; font-weight: 800; }
.up4up-desktop-nav { margin-left: auto; display: flex; gap: 19px; align-items: center; }
.up4up-desktop-nav a, .up4up-search-link { text-decoration: none; font-size: 12px; font-weight: 760; }
.up4up-header-actions { display: flex; gap: 12px; align-items: center; }
.up4up-menu-button { display: none; border: 0; border-radius: 999px; padding: 9px 13px; background: var(--up4up-navy); color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.up4up-menu-button span:first-child { margin-right: 5px; }
.up4up-mobile-menu { border-top: 1px solid var(--up4up-line); background: var(--up4up-paper); }
.up4up-mobile-menu[hidden] { display: none !important; }
.up4up-mobile-links { display: grid; padding-block: 8px 16px; }
.up4up-mobile-links a { padding: 13px 8px; border-bottom: 1px solid var(--up4up-line); text-decoration: none; font-size: 14px; font-weight: 760; }

.up4up-hero { padding: 66px 0 58px; background: var(--up4up-ivory); border-bottom: 1px solid var(--up4up-line); }
.up4up-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 72px; align-items: end; }
.up4up-eyebrow, .up4up-section-heading > div > span, .up4up-principles span {
    display: inline-flex; color: var(--up4up-red); font-size: 10px; line-height: 1; letter-spacing: .16em; font-weight: 850; text-transform: uppercase;
}
.up4up-overline { margin: 18px 0 8px; color: var(--up4up-muted); font-size: 11px; letter-spacing: .1em; font-weight: 800; }
.up4up-hero h1 { margin: 0; max-width: 740px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6vw, 84px); line-height: .95; letter-spacing: -.052em; }
.up4up-lede { max-width: 720px; margin: 22px 0 0; color: #47586a; font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.52; }
.up4up-back { display: inline-block; margin-top: 22px; text-decoration: none; font-size: 13px; font-weight: 800; }
.up4up-find-panel { padding: 28px; border: 1px solid var(--up4up-line); border-radius: 22px; background: var(--up4up-paper); box-shadow: 0 18px 45px rgba(7,28,53,.06); }
.up4up-find-label { display: block; margin-bottom: 12px; font-size: 10px; letter-spacing: .14em; font-weight: 850; }
.up4up-search-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.up4up-search-form input { min-width: 0; width: 100%; border: 1px solid var(--up4up-line); border-radius: 12px; padding: 13px 14px; background: #fff; color: var(--up4up-ink); outline: none; }
.up4up-search-form input:focus { border-color: var(--up4up-navy); box-shadow: 0 0 0 3px rgba(8,36,61,.08); }
.up4up-search-form button { border: 0; border-radius: 12px; padding: 0 18px; background: var(--up4up-navy); color: #fff; font-weight: 800; cursor: pointer; }
.up4up-trust-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.up4up-trust-line span { padding: 6px 8px; border-radius: 999px; background: #f0ece4; color: #4f5d6b; font-size: 10px; font-weight: 750; }
.up4up-updated { display: block; margin-top: 16px; color: var(--up4up-muted); font-size: 11px; }

.up4up-quick { padding: 34px 0 38px; border-bottom: 1px solid var(--up4up-line); }
.up4up-section-heading { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 24px; }
.up4up-section-heading h2 { margin: 7px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3vw, 42px); line-height: 1.02; letter-spacing: -.035em; }
.up4up-section-heading p { max-width: 700px; margin: 10px 0 0; color: var(--up4up-muted); line-height: 1.55; }
.up4up-section-heading > a { flex: 0 0 auto; text-decoration: none; font-size: 12px; font-weight: 850; }
.up4up-section-heading.compact { margin-bottom: 18px; }
.up4up-section-heading.compact h2 { font-size: 25px; }
.up4up-action-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--up4up-line); border-radius: 18px; overflow: hidden; background: #fff; }
.up4up-action { position: relative; min-height: 106px; padding: 17px 14px; border-right: 1px solid var(--up4up-line); text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; }
.up4up-action:last-child { border-right: 0; }
.up4up-action:hover { background: var(--up4up-ivory); }
.up4up-action strong { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.08; }
.up4up-action small { color: var(--up4up-muted); font-size: 10px; }
.up4up-action-arrow { position: absolute; top: 13px; right: 13px; font-size: 14px; font-weight: 850; }
.up4up-action-search { background: var(--up4up-navy); color: #fff; }
.up4up-action-search small { color: rgba(255,255,255,.72); }

.up4up-today, .up4up-section, .up4up-changes { padding: 58px 0; border-bottom: 1px solid var(--up4up-line); }
.up4up-today-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr); gap: 38px; align-items: start; }
.up4up-lead { min-width: 0; }
.up4up-lead > a { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 395px; background: var(--up4up-navy); color: #fff; border-radius: 22px; overflow: hidden; text-decoration: none; }
.up4up-lead-image { margin: 0; min-height: 100%; background: #0c2032; }
.up4up-lead-image img { width: 100%; height: 100%; object-fit: cover; }
.up4up-lead-body { padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; }
.up4up-lead-body h3 { margin: 10px 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3.2vw, 46px); line-height: .99; letter-spacing: -.035em; }
.up4up-lead-body p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.55; }
.up4up-read { margin-top: 20px; font-size: 12px; }
.up4up-card-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 9px; letter-spacing: .09em; font-weight: 850; text-transform: uppercase; }
.up4up-card-meta span { color: var(--up4up-red); }
.up4up-lead .up4up-card-meta time { color: rgba(255,255,255,.65); }
.up4up-now-list { border-top: 3px solid var(--up4up-navy); }
.up4up-now-list article { border-bottom: 1px solid var(--up4up-line); }
.up4up-now-list a { display: block; padding: 18px 2px; text-decoration: none; }
.up4up-now-list h3 { margin: 6px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.12; letter-spacing: -.018em; }
.up4up-now-list time { color: var(--up4up-muted); }

.up4up-changes { padding-block: 44px; background: #fbf7ef; }
.up4up-change-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--up4up-line); border-bottom: 1px solid var(--up4up-line); }
.up4up-change-list article { border-right: 1px solid var(--up4up-line); }
.up4up-change-list article:last-child { border-right: 0; }
.up4up-change-list a { min-height: 150px; padding: 18px 16px; display: flex; flex-direction: column; text-decoration: none; }
.up4up-change-list span { color: var(--up4up-red); font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.up4up-change-list h3 { margin: 12px 0; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.1; }
.up4up-change-list time { margin-top: auto; color: var(--up4up-muted); font-size: 10px; }

.up4up-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.up4up-card { min-width: 0; border: 1px solid var(--up4up-line); border-radius: 18px; overflow: hidden; background: #fff; }
.up4up-card-link { height: 100%; display: flex; flex-direction: column; text-decoration: none; }
.up4up-card-image { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #edf0f1; }
.up4up-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.up4up-card:hover .up4up-card-image img { transform: scale(1.02); }
.up4up-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.up4up-card h3 { margin: 10px 0; font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.08; letter-spacing: -.022em; }
.up4up-card p { margin: auto 0 0; padding-top: 5px; color: var(--up4up-muted); font-size: 13px; line-height: 1.48; }
.up4up-card .up4up-card-meta time { color: var(--up4up-muted); }
.up4up-count { flex: 0 0 auto; padding: 8px 10px; border: 1px solid var(--up4up-line); border-radius: 999px; color: var(--up4up-muted); font-size: 11px; }
.up4up-empty { padding: 34px; border: 1px dashed var(--up4up-line); border-radius: 18px; background: var(--up4up-ivory); }
.up4up-empty strong { font-family: Georgia, "Times New Roman", serif; font-size: 24px; }
.up4up-empty p { color: var(--up4up-muted); }
.up4up-empty a { font-weight: 800; }

.up4up-services { padding: 64px 0; background: var(--up4up-deep); color: #fff; }
.up4up-section-heading.inverse p { color: rgba(255,255,255,.64); }
.up4up-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.up4up-service-card { min-height: 230px; padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.045); display: flex; flex-direction: column; }
.up4up-service-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: #9fb2c2; font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.up4up-state { padding: 5px 7px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; font-size: 8px; letter-spacing: .08em; }
.up4up-service-card h3 { margin: 42px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.05; }
.up4up-service-card p { margin: 0; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.5; }
.up4up-service-card a, .up4up-service-card small { margin-top: auto; padding-top: 20px; color: rgba(255,255,255,.74); font-size: 11px; }

.up4up-principles { padding: 56px 0; background: var(--up4up-ivory); }
.up4up-principles-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.up4up-principles h2 { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 34px; line-height: 1.05; letter-spacing: -.03em; }
.up4up-principle-list { border-top: 1px solid var(--up4up-line); }
.up4up-principle-list p { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--up4up-line); color: #4f5f70; line-height: 1.5; }

.up4up-footer { padding: 46px 0; background: #030d17; color: #fff; }
.up4up-footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr 1fr; gap: 34px; }
.up4up-footer p { max-width: 280px; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.5; }
.up4up-footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: 8px; }
.up4up-footer-grid > div:not(:first-child) > span { margin-bottom: 5px; color: #98aaba; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; font-weight: 850; }
.up4up-footer a { color: rgba(255,255,255,.77); text-decoration: none; font-size: 12px; }
.footer-brand { font-size: 27px; }

@media (max-width: 1050px) {
    .up4up-desktop-nav { display: none; }
    .up4up-search-link { display: none; }
    .up4up-menu-button { display: inline-flex; align-items: center; }
    .up4up-header-actions { margin-left: auto; }
    .up4up-hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .up4up-action-grid { grid-template-columns: repeat(4, 1fr); }
    .up4up-action { border-bottom: 1px solid var(--up4up-line); }
    .up4up-today-grid { grid-template-columns: 1fr; }
    .up4up-card-grid { grid-template-columns: repeat(2, 1fr); }
    .up4up-change-list { grid-template-columns: repeat(2, 1fr); }
    .up4up-service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .up4up-shell { width: min(calc(100% - 22px), var(--up4up-shell)); }
    .up4up-header-row { min-height: 58px; gap: 12px; }
    .up4up-brand { font-size: 24px; }
    .up4up-product-lockup { display: none; }
    .up4up-hero { padding: 40px 0 34px; }
    .up4up-hero h1 { font-size: clamp(42px, 13vw, 60px); line-height: .96; }
    .up4up-lede { font-size: 17px; line-height: 1.48; }
    .up4up-find-panel { padding: 18px; border-radius: 16px; }
    .up4up-search-form { grid-template-columns: 1fr; }
    .up4up-search-form button { padding: 12px 14px; }
    .up4up-quick { padding-block: 26px; }
    .up4up-action-grid { grid-template-columns: repeat(2, 1fr); border-radius: 14px; }
    .up4up-action { min-height: 96px; border-right: 1px solid var(--up4up-line); }
    .up4up-action:nth-child(2n) { border-right: 0; }
    .up4up-section-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 20px; }
    .up4up-section-heading h2 { font-size: 30px; }
    .up4up-today, .up4up-section, .up4up-changes { padding: 40px 0; }
    .up4up-lead > a { grid-template-columns: 1fr; min-height: 0; }
    .up4up-lead-image { aspect-ratio: 16 / 9; min-height: 0; }
    .up4up-lead-body { padding: 22px; }
    .up4up-lead-body h3 { font-size: 30px; }
    .up4up-now-list h3 { font-size: 19px; }
    .up4up-change-list { grid-template-columns: 1fr; }
    .up4up-change-list article { border-right: 0; border-bottom: 1px solid var(--up4up-line); }
    .up4up-change-list article:last-child { border-bottom: 0; }
    .up4up-change-list a { min-height: 0; }
    .up4up-card-grid { grid-template-columns: 1fr; gap: 12px; }
    .up4up-card-link { display: grid; grid-template-columns: 116px minmax(0, 1fr); }
    .up4up-card-image { aspect-ratio: 1 / 1; height: 100%; }
    .up4up-card-body { padding: 14px; }
    .up4up-card h3 { font-size: 18px; }
    .up4up-card p { display: none; }
    .up4up-service-grid { grid-template-columns: 1fr; }
    .up4up-service-card { min-height: 190px; }
    .up4up-principles-grid, .up4up-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .up4up-principles h2 { font-size: 29px; }
}

@media (max-width: 380px) {
    .up4up-shell { width: min(calc(100% - 16px), var(--up4up-shell)); }
    .up4up-menu-button { padding-inline: 10px; }
    .up4up-hero h1 { font-size: 40px; }
    .up4up-action strong { font-size: 15px; }
    .up4up-card-link { grid-template-columns: 104px minmax(0, 1fr); }
}
