:root {
    --ie-primary: #2563eb;
    --ie-primary-dark: #1e3a8a;
    --ie-accent: #7c3aed;
    --ie-success: #059669;
    --ie-dark: #0f172a;
    --ie-muted: #64748b;
    --ie-bg: #f6f8fc;
    --ie-card: #ffffff;
    --ie-border: #e2e8f0;
    --ie-shadow: 0 18px 45px rgba(15,23,42,.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding-top: 74px;
    color: var(--ie-dark);
    background: var(--ie-bg);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}
a { transition: .2s ease; }

.international-navbar {
    min-height: 74px;
    background: rgba(15,23,42,.97);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand-logo { border-radius: 13px; background: #fff; object-fit: contain; padding: 3px; }
.brand-copy { line-height: 1; font-size: 1.05rem; }
.brand-copy strong, .brand-copy span { display: block; }
.brand-copy span { color: #fbbf24; font-weight: 900; }
.international-navbar .nav-link { color: rgba(255,255,255,.84) !important; font-weight: 700; border-radius: 10px; }
.international-navbar .nav-link:hover,
.international-navbar .nav-link.active { color: #fff !important; background: rgba(255,255,255,.09); }
.nav-join { border-radius: 999px; font-weight: 800; padding: .5rem 1rem; }

.international-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 72px;
    color: #fff;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 50%, #6d28d9 100%);
}
.hero-glow { position: absolute; border-radius: 999px; filter: blur(2px); background: rgba(255,255,255,.12); }
.hero-glow-one { width: 300px; height: 300px; right: -80px; top: -100px; }
.hero-glow-two { width: 180px; height: 180px; left: -60px; bottom: -80px; }
.breadcrumb-shell { margin-bottom: 25px; }
.breadcrumb-shell .breadcrumb { margin: 0; }
.breadcrumb-shell .breadcrumb-item,
.breadcrumb-shell .breadcrumb-item a { color: rgba(255,255,255,.75); font-weight: 650; text-decoration: none; }
.breadcrumb-shell .breadcrumb-item.active { color: #fff; }
.breadcrumb-shell .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.45); }
.hero-kicker,
.section-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .74rem;
    font-weight: 900;
}
.hero-kicker { color: #dbeafe; margin-bottom: 14px; }
.international-hero h1 { max-width: 900px; margin: 0 0 16px; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.04; font-weight: 900; letter-spacing: -.035em; }
.international-hero p { max-width: 850px; margin: 0; color: rgba(255,255,255,.84); font-size: 1.06rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions .btn { border-radius: 999px; padding: .8rem 1.25rem; font-weight: 800; }
.hero-panel { padding: 24px; border-radius: 24px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 25px 60px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.hero-panel-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 16px; background: rgba(255,255,255,.16); font-size: 1.25rem; }
.hero-panel strong, .hero-panel span, .hero-panel small { display: block; }
.hero-panel strong { font-size: 1.05rem; margin-bottom: 6px; }
.hero-panel span { color: rgba(255,255,255,.85); }
.hero-panel small { color: rgba(255,255,255,.72); line-height: 1.55; }
.hero-panel-divider { height: 1px; background: rgba(255,255,255,.18); margin: 18px 0; }

.content-section { padding: 54px 0; }
.section-heading { max-width: 900px; margin-bottom: 26px; }
.section-kicker { color: var(--ie-primary); margin-bottom: 7px; }
.section-heading h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 900; letter-spacing: -.02em; }
.section-heading p { margin: 0; color: var(--ie-muted); line-height: 1.7; }

.directory-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.directory-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 23px;
    border: 1px solid var(--ie-border);
    border-radius: 22px;
    background: var(--ie-card);
    color: inherit;
    text-decoration: none;
    box-shadow: var(--ie-shadow);
    overflow: hidden;
}
.directory-card::after { content: ""; position: absolute; inset: auto -30px -55px auto; width: 120px; height: 120px; border-radius: 999px; background: #eef2ff; }
.directory-card:hover { transform: translateY(-4px); border-color: #bfdbfe; box-shadow: 0 22px 50px rgba(37,99,235,.13); color: inherit; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 15px; background: #eff6ff; color: var(--ie-primary); font-size: 1.15rem; }
.directory-card h3 { position: relative; z-index: 1; margin: 0 0 8px; font-size: 1.12rem; font-weight: 900; }
.directory-card p { position: relative; z-index: 1; margin: 0 0 18px; color: var(--ie-muted); line-height: 1.58; flex: 1; }
.card-footer-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; color: var(--ie-primary-dark); font-weight: 800; font-size: .88rem; }
.badge-soft { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; background: #ecfdf5; color: #047857; font-size: .75rem; font-weight: 800; }

.info-card { padding: 26px; margin-bottom: 25px; border: 1px solid var(--ie-border); border-radius: 22px; background: #fff; box-shadow: var(--ie-shadow); }
.info-card p { margin: 0; color: #475569; line-height: 1.75; }
.info-card p + p { margin-top: 12px; }

.stats-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 26px; }
.stat-box { padding: 18px; border: 1px solid var(--ie-border); border-radius: 18px; background: #fff; box-shadow: 0 8px 25px rgba(15,23,42,.05); }
.stat-box span { display: block; color: var(--ie-muted); font-size: .79rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.stat-box strong { display: block; margin-top: 3px; font-size: 1.45rem; font-weight: 900; }

.topic-header { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-bottom: 28px; }
.topic-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.topic-actions .btn { border-radius: 12px; font-weight: 800; }

.sample-section { margin-top: 35px; }
.sample-mcq { margin-bottom: 16px; padding: 22px; border: 1px solid var(--ie-border); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(15,23,42,.05); }
.sample-number { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; color: var(--ie-primary); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.sample-question { margin-bottom: 14px; font-weight: 850; line-height: 1.55; }
.sample-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.sample-option { padding: 11px 12px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; line-height: 1.45; }
.sample-option strong { color: var(--ie-primary-dark); }
.sample-mcq details { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; }
.sample-mcq summary { cursor: pointer; color: #047857; font-weight: 850; }
.answer-copy { margin-top: 9px; color: #334155; line-height: 1.6; }

.empty-state { padding: 38px 24px; border: 1px dashed #cbd5e1; border-radius: 22px; background: #fff; text-align: center; color: var(--ie-muted); }
.empty-state i { margin-bottom: 13px; color: var(--ie-primary); font-size: 2rem; }

.international-cta { padding: 0 0 58px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--ie-border); box-shadow: var(--ie-shadow); }
.cta-card h2 { margin: 5px 0 8px; font-weight: 900; }
.cta-card p { margin: 0; color: var(--ie-muted); }
.cta-card .btn { flex: 0 0 auto; border-radius: 14px; font-weight: 800; }

.not-found { padding: 46px 25px; border-radius: 24px; background: #fff; border: 1px solid var(--ie-border); box-shadow: var(--ie-shadow); text-align: center; }
.not-found i { font-size: 3rem; color: #f59e0b; margin-bottom: 15px; }
.not-found h2 { font-weight: 900; }
.not-found p { color: var(--ie-muted); }

.international-footer { padding: 24px 0; background: #0f172a; color: #94a3b8; font-size: .88rem; }

@media (max-width: 991.98px) {
    body { padding-top: 70px; }
    .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .topic-header { grid-template-columns: 1fr; }
    .topic-actions { justify-content: flex-start; }
}
@media (max-width: 767.98px) {
    .international-hero { padding: 42px 0 55px; }
    .directory-grid, .stats-row { grid-template-columns: 1fr; }
    .sample-options { grid-template-columns: 1fr; }
    .cta-card { flex-direction: column; align-items: flex-start; }
}
