/* Exam-payments hub — trapay.net. Scoped .exh-* classes. Dark hero + light body, RTL. */

.exh-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#0d3e7e 0%,#123a63 55%,#0b2742 100%);color:#fff;border-radius:0 0 32px 32px;padding:64px 20px 72px}
.exh-hero__glow{position:absolute;border-radius:50%;filter:blur(90px);opacity:.5;pointer-events:none}
.exh-hero__glow--a{width:420px;height:420px;background:#1e40af;top:-140px;inset-inline-start:-90px}
.exh-hero__glow--b{width:360px;height:360px;background:#0a8f8f;bottom:-150px;inset-inline-end:-70px}
.exh-hero__grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(circle at 50% 0,#000,transparent 70%)}
.exh-hero__in{position:relative;max-width:1120px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:32px;align-items:center}
.exh-hero__col{min-width:0}
.exh-brand{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:24px;padding:32px;display:grid;place-items:center;backdrop-filter:blur(8px)}
.exh-brand img{width:140px;height:140px;object-fit:contain}
.exh-brand__cap{margin-top:16px;font-size:13px;color:#bcd0f5;text-align:center}
.exh-hero__col--visual{align-self:center}
.exh-wall{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.exh-wall__cell{aspect-ratio:1;display:grid;place-items:center;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:16px;backdrop-filter:blur(6px);transition:transform .15s,background .15s,border-color .15s}
.exh-wall__cell:hover{transform:translateY(-3px);background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.28)}
.exh-wall__cell img{width:40px;height:40px;object-fit:contain}
.exh-wall__cap{margin:16px 0 0;font-size:13px;color:#bcd0f5;text-align:center}
/* visa-hub hero visual — calm passport/approval card */
.exh-hero__col--visa{align-self:center}
.exh-passport{position:relative;background:linear-gradient(160deg,rgba(255,255,255,.1),rgba(255,255,255,.05));border:1px solid rgba(255,255,255,.18);border-radius:22px;padding:30px 28px;backdrop-filter:blur(8px);max-width:380px;margin-inline-start:auto;overflow:hidden}
.exh-passport::before{content:"";position:absolute;inset-block-start:0;inset-inline:0;height:4px;background:linear-gradient(90deg,#7fb0ff,#8ee6e6)}
.exh-passport__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.exh-passport__stamp{display:inline-flex;align-items:center;gap:9px;font-weight:800;font-size:17px;letter-spacing:.14em;color:#4ade80;border:2px solid rgba(74,222,128,.55);border-radius:12px;padding:9px 16px;transform:rotate(-3deg)}
.exh-passport__stamp svg{width:19px;height:19px}
.exh-passport__kind{font-size:12px;font-weight:700;letter-spacing:.2em;color:#9db8e6}
.exh-passport__flags{display:flex;flex-wrap:wrap;align-items:center;gap:11px}
.exh-passport__flag{width:54px;height:38px;display:grid;place-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:9px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.exh-passport__flag img{width:40px;height:27px;object-fit:cover;border-radius:3px;display:block}
.exh-passport__flag--more{font-size:14px;font-weight:800;color:#cfe0ff;font-variant-numeric:tabular-nums;box-shadow:none;background:rgba(255,255,255,.06)}
.exh-passport__cap{margin:22px 0 0;padding-top:18px;border-top:1px dashed rgba(255,255,255,.18);font-size:13px;line-height:1.9;color:#bcd0f5;text-align:center}
@media(max-width:900px){.exh-hero__col--visa{order:-1}.exh-passport{margin:0 auto}}
.exh-badge{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);padding:7px 14px;border-radius:999px;backdrop-filter:blur(6px)}
.exh-badge__dot{width:8px;height:8px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 0 rgba(74,222,128,.7);animation:exh-pulse 2s infinite}
@keyframes exh-pulse{0%{box-shadow:0 0 0 0 rgba(74,222,128,.6)}70%{box-shadow:0 0 0 10px rgba(74,222,128,0)}100%{box-shadow:0 0 0 0 rgba(74,222,128,0)}}
.exh-title{font-size:clamp(28px,5vw,46px);font-weight:800;line-height:1.2;margin:20px 0 14px;max-width:20ch}
.exh-title__accent{background:linear-gradient(90deg,#7fb0ff,#8ee6e6);-webkit-background-clip:text;background-clip:text;color:transparent}
.exh-lead{font-size:clamp(15px,2.2vw,18px);line-height:2;color:#cfe0ff;max-width:60ch;margin:0 0 26px}
.exh-hero__cta{display:inline-flex;align-items:center;gap:10px;background:#fff;color:#0d3e7e;font-weight:800;font-size:16px;padding:14px 26px;border-radius:14px;text-decoration:none;transition:transform .15s,box-shadow .15s;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.exh-hero__cta:hover{transform:translateY(-2px);box-shadow:0 16px 40px rgba(0,0,0,.32)}
.exh-hero__stats{display:flex;flex-wrap:wrap;gap:26px;margin-top:34px}
.exh-stat{display:flex;flex-direction:column}
.exh-stat__n{font-size:26px;font-weight:800;font-variant-numeric:tabular-nums}
.exh-stat__l{font-size:13px;color:#a9c3ee}

.exh-wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.exh-h{font-size:clamp(22px,3.6vw,32px);font-weight:800;color:#0f2547;margin:56px 0 8px;text-align:center}
.exh-h__sub{text-align:center;color:#5b6b86;font-size:15px;line-height:1.9;max-width:56ch;margin:0 auto 28px}

/* Why chips */
.exh-why{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:28px 0}
.exh-why__c{background:#fff;border:1px solid #e6ecf5;border-radius:18px;padding:22px 18px;text-align:center;box-shadow:0 6px 18px rgba(13,62,126,.05)}
.exh-why__ico{width:46px;height:46px;margin:0 auto 12px;display:grid;place-items:center;border-radius:12px;background:#eef4ff;color:#0d3e7e}
.exh-why__t{font-weight:700;color:#12294d;margin:0 0 4px;font-size:15px}
.exh-why__d{font-size:13px;color:#5b6b86;line-height:1.7;margin:0}

/* Exam grid */
.exh-group{margin:20px 0 8px;font-weight:800;color:#0f2547;font-size:18px;display:flex;align-items:center;gap:10px}
.exh-group::before{content:"";width:6px;height:20px;border-radius:3px;background:linear-gradient(#1e40af,#0a8f8f)}
.exh-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:14px 0 8px}
.exh-card{position:relative;display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #e6ecf5;border-radius:18px;padding:18px;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s}
.exh-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(13,62,126,.12);border-color:#c9d8f0}
.exh-card:active{transform:translateY(-1px) scale(.99);transition-duration:.08s}
/* Every logo sits in a fixed, subtly-tinted well so cards read as one consistent set no matter the
   logo aspect ratio — wide wordmarks (TOEFL) and square marks (GMAT) get the same optical footprint.
   The well also stops generic-icon cards from looking empty. */
.exh-card__logo{width:100%;height:56px;flex:none;display:flex;align-items:center;justify-content:flex-start;background:linear-gradient(135deg,#f3f7fd,#eaf1fb);border:1px solid #e9eff8;border-radius:12px;padding:10px 14px}
/* Normalize by HEIGHT so every logo carries the same optical weight regardless of aspect ratio.
   max-width caps extreme wordmarks so none dominates the row. object-position:right for RTL. */
.exh-card__logo img{height:32px;width:auto;max-width:150px;object-fit:contain;object-position:right center;display:block}
/* the generic category tiles are square icons — size to the well + add a tint so the card feels filled */
.exh-card__logo img[src*="generic"]{height:36px;opacity:.9}
/* country-flag chips: a touch taller + soft shadow so the 4:3 flag reads as a badge, not a logo */
.exh-card__logo--flag img{height:38px;border-radius:6px;box-shadow:0 1px 4px rgba(13,62,126,.18)}
.exh-card__t{font-weight:700;color:#12294d;font-size:15px;line-height:1.5;margin:0}
.exh-card__meta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px}
.exh-card__price{font-size:13px;color:#0d3e7e;font-weight:700;font-variant-numeric:tabular-nums}
.exh-card__go{width:28px;height:28px;border-radius:8px;background:#eef4ff;color:#0d3e7e;display:grid;place-items:center;flex:none;transition:background .15s,color .15s}
.exh-card:hover .exh-card__go{background:#0d3e7e;color:#fff}

@media(max-width:900px){.exh-why{grid-template-columns:repeat(2,1fr)}.exh-grid{grid-template-columns:repeat(2,1fr)}.exh-hero__in{grid-template-columns:1fr}.exh-brand{order:-1;max-width:320px;margin:0 auto}.exh-hero__col--visual{order:-1}.exh-wall{max-width:380px;margin:0 auto}.exh-wall__cell img{width:34px;height:34px}}
@media(max-width:520px){.exh-grid{grid-template-columns:1fr 1fr}.exh-card{padding:14px}.exh-card__logo{height:50px;padding:8px 12px}.exh-card__logo img{height:28px;max-width:120px}}

/* dark mode */
.dark .exh-h,.dark .exh-group{color:#e8eefb}
.dark .exh-h__sub,.dark .exh-why__d,.dark .exh-card__t{color:#c3d0e6}
.dark .exh-why__c,.dark .exh-card{background:#111a2e;border-color:#22314f}
.dark .exh-card__t{color:#e8eefb}
.dark .exh-why__ico,.dark .exh-card__go{background:#1a2744;color:#9dc0ff}
/* on dark cards the logo well becomes a soft light panel so coloured logos stay legible */
.dark .exh-card__logo{background:linear-gradient(135deg,#f4f7fc,#e7eef8);border-color:#2a3a5a}
.dark .exh-card__logo img[src*="generic"]{opacity:1}

[dir="rtl"] .rtl-flip{transform:scaleX(-1)}
.tnum{font-variant-numeric:tabular-nums}

/* 4-step flow */
.exh-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:28px 0}
.exh-step{position:relative;background:#fff;border:1px solid #e6ecf5;border-radius:18px;padding:24px 18px 18px}
.exh-step__n{position:absolute;top:-14px;inset-inline-start:18px;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#1e40af,#0d3e7e);color:#fff;font-weight:800;display:grid;place-items:center;font-variant-numeric:tabular-nums}
.exh-step__t{font-weight:700;color:#12294d;margin:8px 0 4px;font-size:15px}
.exh-step__d{font-size:13px;color:#5b6b86;line-height:1.8;margin:0}

/* price table */
.exh-table-wrap{overflow-x:auto;border:1px solid #e6ecf5;border-radius:16px;margin:20px 0}
.exh-table{width:100%;border-collapse:collapse;min-width:520px;font-size:14px}
.exh-table th,.exh-table td{padding:12px 14px;text-align:start;border-bottom:1px solid #eef2f8}
.exh-table th{background:#eef4fc;color:#0f2547;font-weight:700;position:sticky;top:0}
.exh-table tbody tr:nth-child(even){background:#fafcff}
.exh-table tbody tr{transition:background .12s}
.exh-table tbody tr:hover{background:#f0f6ff}
.exh-table tr:last-child td{border-bottom:0}
.exh-table td:last-child{font-weight:700;color:#0d3e7e;font-variant-numeric:tabular-nums;white-space:nowrap}
.exh-note{font-size:12.5px;color:#7b8aa3;margin:8px 2px 0;line-height:1.7}

/* faq */
.exh-faq{margin:22px 0}
.exh-faq details{background:#fff;border:1px solid #e6ecf5;border-radius:14px;margin-bottom:10px;overflow:hidden}
.exh-faq summary{cursor:pointer;list-style:none;padding:16px 18px;font-weight:700;color:#12294d;display:flex;align-items:center;justify-content:space-between;gap:12px}
.exh-faq summary::-webkit-details-marker{display:none}
.exh-faq summary .exh-chev{transition:transform .2s;flex:none;color:#0d3e7e}
.exh-faq details[open] summary .exh-chev{transform:rotate(180deg)}
.exh-faq__a{padding:0 18px 16px;color:#4a5a76;line-height:2;font-size:14px}

/* article */
.exh-article{max-width:860px;margin:36px auto;color:#33445f;line-height:2.05;font-size:15.5px}
.exh-article h2{font-size:22px;color:#0f2547;margin:32px 0 10px}
.exh-article h3{font-size:18px;color:#123a63;margin:22px 0 8px}
.exh-article p{margin:0 0 14px}
.exh-article ul{margin:0 0 14px;padding-inline-start:22px}
.exh-article li{margin:6px 0}
.exh-article a{color:#0d3e7e;font-weight:600;text-decoration:none;border-bottom:1px solid #b9cdec}

/* related */
.exh-related{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}
.exh-related a{background:#f5f8fd;border:1px solid #e6ecf5;border-radius:14px;padding:16px;text-decoration:none;color:#12294d;font-weight:600;font-size:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;transition:background .15s}
.exh-related a:hover{background:#eaf1fc}

/* final CTA */
.exh-final{position:relative;overflow:hidden;background:linear-gradient(135deg,#0d3e7e,#0a8f8f);color:#fff;border-radius:28px;padding:48px 26px;margin:48px 0 20px;text-align:center}
.exh-final h2{font-size:clamp(22px,3.4vw,30px);font-weight:800;margin:0 0 10px}
.exh-final p{color:#dcecff;line-height:1.9;max-width:52ch;margin:0 auto 22px;font-size:15px}
.exh-final__cta{display:inline-flex;align-items:center;gap:10px;background:#fff;color:#0d3e7e;font-weight:800;font-size:16px;padding:14px 28px;border-radius:14px;text-decoration:none;transition:transform .15s}
.exh-final__cta:hover{transform:translateY(-2px)}

@media(max-width:900px){.exh-flow{grid-template-columns:repeat(2,1fr)}.exh-related{grid-template-columns:1fr}}

.dark .exh-step,.dark .exh-faq details{background:#111a2e;border-color:#22314f}
.dark .exh-step__t,.dark .exh-faq summary{color:#e8eefb}
.dark .exh-step__d,.dark .exh-faq__a{color:#c3d0e6}
.dark .exh-table-wrap{border-color:#22314f}
.dark .exh-table th{background:#16223c;color:#e8eefb}
.dark .exh-table td,.dark .exh-table th{border-color:#22314f}
.dark .exh-table tbody tr:nth-child(even){background:#0f1a30}
.dark .exh-table tbody tr:hover{background:#15233f}
.dark .exh-table td:last-child{color:#9dc0ff}
.dark .exh-article{color:#c3d0e6}
.dark .exh-article h2,.dark .exh-article h3{color:#e8eefb}
.dark .exh-related a{background:#111a2e;border-color:#22314f;color:#e8eefb}

/* breadcrumb bar — needs clear breathing room from the header + hero */
.exh-crumbs{max-width:1120px;margin:0 auto;padding:22px 24px 18px;font-size:13.5px;line-height:1.9;color:#64748b;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}
.exh-crumbs a{color:#0d3e7e;text-decoration:none;font-weight:600;transition:color .15s}
.exh-crumbs a:hover{color:#1a4ea3;text-decoration:underline}
.exh-crumbs span[aria-current]{color:#12294d;font-weight:600}
.exh-crumbs .sep{opacity:.45;margin:0 2px;font-weight:400}
.dark .exh-crumbs{color:#9fb2d0}.dark .exh-crumbs a{color:#9dc0ff}.dark .exh-crumbs a:hover{color:#bcd4ff}.dark .exh-crumbs span[aria-current]{color:#e8eefb}
@media(max-width:640px){.exh-crumbs{padding:16px 16px 12px;font-size:12.5px}}
