:root {
    --pb-green: #006a4e;
    --pb-green-dark: #004d38;
    --pb-green-mid: #0a8f6e;
    --pb-gold: #e8a317;
    --pb-gold-hover: #d4920f;
    --pb-blue: #0d6efd;
    --pb-dark: #0f1f1a;
    --pb-ink: #14241f;
    --pb-muted: #5a6b64;
    --pb-light: #f3f7f5;
    --pb-mist: #e8f0ec;
    --pb-surface: #f7faf8;
    --pb-border: rgba(0, 106, 78, .12);
    --pb-radius: 14px;
    --pb-shadow: 0 10px 32px rgba(15, 31, 26, .08);
    --pb-font: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    --pb-font-display: 'Outfit', 'Hind Siliguri', sans-serif;
    --pb-nav-h: 64px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--pb-font);
    background: var(--pb-light);
    color: var(--pb-ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: var(--pb-font-display);
    letter-spacing: -.01em;
}

.bg-primary {
    background: linear-gradient(135deg, var(--pb-green) 0%, var(--pb-green-dark) 100%) !important;
}

.btn {
    font-family: var(--pb-font);
    font-weight: 600;
    border-radius: 10px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn-lg {
    border-radius: 12px;
    padding: .7rem 1.35rem;
}

.btn-primary {
    background: var(--pb-green);
    border-color: var(--pb-green);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--pb-green-dark);
    border-color: var(--pb-green-dark);
}

.btn-outline-success {
    color: var(--pb-green);
    border-color: rgba(0, 106, 78, .45);
}

.btn-outline-success:hover {
    background: var(--pb-green);
    border-color: var(--pb-green);
}

.btn-warning {
    background: var(--pb-gold);
    border-color: var(--pb-gold);
    color: var(--pb-ink);
    font-weight: 600;
}

.btn-warning:hover {
    background: var(--pb-gold-hover);
    border-color: var(--pb-gold-hover);
    color: var(--pb-ink);
}

.btn-warning:active {
    transform: translateY(1px);
}

/* Site navbar */
.site-navbar {
    min-height: var(--pb-nav-h);
    background: linear-gradient(135deg, var(--pb-green) 0%, var(--pb-green-dark) 100%) !important;
    box-shadow: 0 2px 16px rgba(0, 53, 38, .22);
    padding-top: .45rem;
    padding-bottom: .45rem;
}

.site-navbar .navbar-brand {
    font-size: 1.2rem;
    letter-spacing: -.02em;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.site-navbar .navbar-brand-mark {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
}

.site-navbar .nav-link {
    font-weight: 500;
    font-size: .92rem;
    padding: .45rem .7rem !important;
    border-radius: 8px;
    opacity: .92;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
    opacity: 1;
    background: rgba(255, 255, 255, .1);
}

.site-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, .45);
    padding: .4rem .55rem;
    background: rgba(0, 0, 0, .15);
}

.site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .2);
}

.site-navbar .btn-warning {
    border-radius: 8px;
    padding: .4rem .9rem;
}

@media (max-width: 991.98px) {
    .site-navbar .navbar-collapse {
        margin-top: .75rem;
        padding: .75rem;
        background: rgba(0, 0, 0, .12);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, .1);
    }

    .site-navbar .nav-link {
        padding: .55rem .75rem !important;
    }

    .site-navbar .btn-warning {
        display: block;
        width: 100%;
        margin: .35rem 0 0 !important;
        text-align: center;
    }
}

/* Legacy hero (non-home pages if any) */
.hero-section {
    position: relative;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,106,78,.88) 0%, rgba(15,31,26,.75) 100%);
}

.home-page .hero-section::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
}

/* Page headers (public inner pages) */
.page-hero {
    background: linear-gradient(135deg, rgba(0, 106, 78, .06) 0%, rgba(232, 163, 23, .06) 100%);
    border-bottom: 1px solid var(--pb-border);
    padding: 2rem 0 1.5rem;
    margin-bottom: -.5rem;
}

.page-hero .section-title {
    margin-bottom: .35rem;
}

.page-hero .section-subtitle {
    margin-bottom: 0;
}

/* Auth pages */
.auth-shell {
    min-height: calc(100vh - var(--pb-nav-h) - 220px);
    display: flex;
    align-items: center;
    padding: 2.5rem 0;
    background:
        radial-gradient(ellipse 60% 50% at 10% 20%, rgba(0, 106, 78, .08), transparent 55%),
        radial-gradient(ellipse 50% 40% at 90% 80%, rgba(232, 163, 23, .08), transparent 50%),
        var(--pb-light);
}

.auth-card {
    border: 1px solid var(--pb-border);
    border-radius: calc(var(--pb-radius) + 2px);
    box-shadow: var(--pb-shadow);
    background: #fff;
    overflow: hidden;
}

.auth-card .card-body {
    padding: 1.75rem 1.5rem;
}

.auth-card-brand {
    font-family: var(--pb-font-display);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--pb-green);
    text-align: center;
    margin-bottom: .35rem;
}

.auth-card-lead {
    text-align: center;
    color: var(--pb-muted);
    font-size: .92rem;
    margin-bottom: 1.5rem;
}

.auth-card .form-control {
    border-radius: 10px;
    border-color: rgba(0, 106, 78, .18);
    padding: .65rem .85rem;
}

.auth-card .form-control:focus {
    border-color: var(--pb-green);
    box-shadow: 0 0 0 .2rem rgba(0, 106, 78, .15);
}

/* Country cards */
.country-card {
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    height: 100%;
    background: #fff;
}

.country-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 106, 78, .35);
    box-shadow: var(--pb-shadow);
}

.country-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 .45rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--pb-green), #004d38);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1;
    flex-shrink: 0;
}

.country-badge-lg {
    min-width: 3rem;
    height: 3rem;
    font-size: .85rem;
}

.country-flag-wrap {
    display: inline-flex;
    flex-shrink: 0;
}

.country-flag-img {
    width: 44px;
    height: 30px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

.country-flag-img-lg {
    width: 56px;
    height: 38px;
    border-radius: 8px;
}

.country-jobs-block {
    background: rgba(0,106,78,.05);
    border-radius: 10px;
    padding: .75rem .85rem;
}

.country-jobs-label {
    font-size: .75rem;
    font-weight: 600;
    color: var(--pb-green);
    margin-bottom: .35rem;
}

.country-jobs-label .bi {
    margin-right: .25rem;
}

.country-jobs-text {
    font-size: .85rem;
    line-height: 1.55;
    color: #444;
}

.country-card .card-body {
    padding: 1.25rem;
}

.stat-badge {
    background: rgba(0,106,78,.08);
    color: var(--pb-green);
    border-radius: 8px;
    padding: .35rem .65rem;
    font-size: .8rem;
    font-weight: 600;
}

/* Process timeline */
.process-timeline {
    position: relative;
    padding-left: 2rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: .85rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--pb-green), var(--pb-gold));
    border-radius: 3px;
}

.process-step {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    left: -2rem;
    top: 1.25rem;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--pb-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    transform: translateX(-50%);
    margin-left: .85rem;
}

.process-step img {
    border-radius: 8px;
    width: 100%;
    height: 140px;
    object-fit: cover;
}

/* Service tier comparison cards */
.tier-compare-card {
    position: relative;
    transition: box-shadow .2s ease;
}
.tier-compare-card:hover {
    box-shadow: 0 .25rem .75rem rgba(25, 135, 84, .15);
}
.tier-recommended {
    border-width: 2px !important;
}
.tier-recommended-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--bs-success);
    color: #fff;
    font-size: .65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    z-index: 1;
}
.tier-select-card {
    display: block;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    position: relative;
    transition: border-color .2s, box-shadow .2s;
    height: 100%;
}
.tier-select-card:hover {
    border-color: var(--bs-success);
}
.tier-select-card.selected {
    border-color: var(--bs-success);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, .15);
    background: rgba(25, 135, 84, .03);
}
.tier-select-title {
    font-weight: 600;
    margin-bottom: .25rem;
}
.tier-select-fee {
    font-size: 1.1rem;
}

/* Trust badges (legacy / shared) */
.trust-badge {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--pb-gold);
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border-radius: var(--pb-radius);
    padding: 1.5rem;
    border: 1px solid var(--pb-border);
    box-shadow: none;
    height: 100%;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.success-story-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.success-story-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
}

.success-story-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.success-story-avatar-wrap .testimonial-avatar {
    display: block;
}

.success-story-avatar-wrap.has-video .testimonial-avatar {
    box-shadow: 0 0 0 2px var(--pb-green);
}

.success-story-play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(25, 135, 84, .92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.success-story-play-btn:hover {
    background: var(--pb-green-dark, #146c43);
}

.success-story-quote {
    font-size: .95rem;
    line-height: 1.6;
}

.story-video-modal .modal-content {
    overflow: hidden;
    border-radius: 12px;
}

.story-video-player {
    width: 100%;
    height: 100%;
    background: #000;
}

/* AI chat widget (legacy) */
.ai-widget {
    background: linear-gradient(135deg, var(--pb-green) 0%, var(--pb-green-dark) 100%);
    border-radius: 20px;
    color: #fff;
    padding: 2rem;
}

.chat-box {
    height: 400px;
    overflow-y: auto;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
}

.chat-msg {
    margin-bottom: .75rem;
    max-width: 85%;
}

.chat-msg.user {
    margin-left: auto;
    background: var(--pb-green);
    color: #fff;
    border-radius: 12px 12px 0 12px;
    padding: .6rem 1rem;
}

.chat-msg.ai {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px 12px 12px 0;
    padding: .6rem 1rem;
}

/* AI chat page */
body.ai-chat-page {
    background: linear-gradient(180deg, #eef5f2 0%, var(--pb-light) 40%);
}

body.ai-chat-page main {
    padding-bottom: 0;
}

body.ai-chat-page .site-footer {
    margin-top: 0 !important;
}

.ai-chat-shell {
    min-height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
}

.ai-chat-header {
    background: linear-gradient(135deg, var(--pb-green) 0%, var(--pb-green-dark) 55%, #1a3d32 100%);
    color: #fff;
    padding: 1rem 0 1.25rem;
    box-shadow: 0 8px 32px rgba(0, 77, 56, .18);
    position: relative;
    overflow: hidden;
}

.ai-chat-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(244, 160, 36, .15), transparent 45%);
    pointer-events: none;
}

.ai-chat-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.ai-chat-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.ai-chat-subtitle {
    font-size: .85rem;
    opacity: .88;
}

.ai-chat-user-badge {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    padding: .35rem .85rem .35rem .45rem;
    backdrop-filter: blur(8px);
}

.ai-chat-login-btn {
    border-radius: 999px;
    font-weight: 600;
}

.ai-chat-body-wrap {
    flex: 1;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.ai-chat-layout {
    min-height: calc(100vh - 160px);
}

.ai-chat-main {
    min-height: 0;
}

.ai-chat-panel {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(0, 106, 78, .08);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .06);
    backdrop-filter: blur(12px);
    overflow: hidden;
    min-height: 420px;
    max-height: calc(100vh - 180px);
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    scroll-behavior: smooth;
}

.ai-chat-empty {
    text-align: center;
    padding: 2rem 1rem 1rem;
    max-width: 520px;
    margin: 0 auto;
}

.ai-chat-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 106, 78, .12), rgba(244, 160, 36, .12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--pb-green);
}

.ai-chat-empty h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.ai-chat-empty p {
    color: #667;
    font-size: .92rem;
    margin-bottom: 1.25rem;
}

.ai-msg-row {
    display: flex;
    align-items: flex-end;
    gap: .65rem;
    margin-bottom: 1rem;
    animation: aiMsgIn .25s ease;
}

@keyframes aiMsgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-msg-user {
    justify-content: flex-end;
}

.ai-msg-assistant {
    justify-content: flex-start;
}

.ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ai-avatar-user {
    background: linear-gradient(135deg, var(--pb-green), var(--pb-green-dark));
    color: #fff;
}

.ai-avatar-assistant {
    background: linear-gradient(135deg, #e8f5f0, #d4ebe3);
    color: var(--pb-green);
    border: 1px solid rgba(0, 106, 78, .15);
}

.ai-msg-bubble {
    max-width: min(82%, 640px);
    padding: .75rem 1rem;
    border-radius: 16px;
    font-size: .94rem;
    line-height: 1.55;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: anywhere;
}

.ai-msg-user .ai-msg-bubble {
    background: linear-gradient(135deg, var(--pb-green), #00875f);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.ai-msg-assistant .ai-msg-bubble {
    background: #f4f8f6;
    border: 1px solid rgba(0, 106, 78, .1);
    color: #2a2a2a;
    border-bottom-left-radius: 4px;
}

.ai-msg-bubble a {
    color: inherit;
    text-decoration: underline;
}

.ai-msg-assistant .ai-msg-bubble a {
    color: var(--pb-green, #006a4e);
    font-weight: 600;
    text-underline-offset: 2px;
}

.ai-msg-bubble .ai-md-p {
    display: block;
    margin: 0 0 .45rem;
}

.ai-msg-bubble .ai-md-p:last-child {
    margin-bottom: 0;
}

.ai-msg-bubble .ai-md-heading {
    display: block;
    font-weight: 700;
    margin: .15rem 0 .4rem;
}

.ai-msg-bubble .ai-md-list {
    display: block;
    margin: .35rem 0 .55rem;
    padding-left: 1.25rem;
    list-style-position: outside;
}

.ai-msg-bubble .ai-md-list li {
    margin-bottom: .35rem;
    line-height: 1.5;
}

.ai-msg-bubble .ai-md-list li:last-child {
    margin-bottom: 0;
}

.ai-msg-bubble br.ai-md-break {
    display: block;
    content: '';
    margin-top: .35rem;
}

.ai-msg-assistant .ai-msg-bubble strong {
    font-weight: 700;
    color: var(--pb-green-dark, #004d38);
}

.ai-typing-bubble {
    display: flex;
    align-items: center;
    gap: .35rem;
    min-width: 56px;
    padding: .85rem 1rem;
}

.ai-typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pb-green);
    opacity: .45;
    animation: aiTyping 1.2s infinite ease-in-out;
}

.ai-typing-dot:nth-child(2) { animation-delay: .15s; }
.ai-typing-dot:nth-child(3) { animation-delay: .3s; }

@keyframes aiTyping {
    0%, 80%, 100% { transform: translateY(0); opacity: .35; }
    40% { transform: translateY(-4px); opacity: 1; }
}

.ai-chat-composer {
    border-top: 1px solid rgba(0, 106, 78, .08);
    padding: .85rem 1rem 1rem;
    background: rgba(248, 249, 252, .85);
}

.ai-suggest-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .75rem;
}

.ai-suggest-chip {
    border: 1px solid rgba(0, 106, 78, .18);
    background: #fff;
    color: var(--pb-green-dark);
    border-radius: 999px;
    padding: .35rem .85rem;
    font-size: .78rem;
    cursor: pointer;
    transition: all .15s ease;
}

.ai-suggest-chip:hover {
    background: var(--pb-green);
    color: #fff;
    border-color: var(--pb-green);
}

.ai-chat-form {
    margin: 0;
}

.ai-chat-input-wrap {
    display: flex;
    align-items: flex-end;
    gap: .5rem;
    background: #fff;
    border: 1px solid rgba(0, 106, 78, .15);
    border-radius: 16px;
    padding: .45rem .45rem .45rem .85rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.ai-chat-input {
    border: 0;
    box-shadow: none !important;
    resize: none;
    min-height: 42px;
    max-height: 120px;
    padding: .55rem 0;
    background: transparent;
}

.ai-chat-send {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 0;
    background: linear-gradient(135deg, var(--pb-green), var(--pb-green-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .15s ease, opacity .15s ease;
}

.ai-chat-send:hover:not(:disabled) {
    transform: scale(1.04);
    color: #fff;
}

.ai-chat-send:disabled {
    opacity: .65;
}

.ai-chat-send.is-loading i {
    animation: aiSpin .8s linear infinite;
}

@keyframes aiSpin {
    to { transform: rotate(360deg); }
}

.ai-chat-hint {
    font-size: .72rem;
    color: #889;
    margin-top: .45rem;
    padding-left: .25rem;
}

.ai-chat-sidebar {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.ai-sidebar-card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(0, 106, 78, .08);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.ai-sidebar-card h6 {
    font-size: .82rem;
    font-weight: 700;
    color: var(--pb-green-dark);
    margin-bottom: .75rem;
}

.ai-context-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-context-list li {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    padding: .35rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, .06);
}

.ai-context-list li:last-child {
    border-bottom: 0;
}

.ai-official-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.ai-official-chip {
    display: inline-block;
    font-size: .72rem;
    padding: .3rem .65rem;
    border-radius: 999px;
    background: #eef5f2;
    color: var(--pb-green-dark);
    text-decoration: none;
    border: 1px solid rgba(0, 106, 78, .12);
    transition: all .15s ease;
}

.ai-official-chip:hover {
    background: var(--pb-green);
    color: #fff;
}

.ai-quick-links li {
    margin-bottom: .35rem;
}

.ai-quick-links a {
    color: #445;
    text-decoration: none;
}

.ai-quick-links a:hover {
    color: var(--pb-green);
}

@media (max-width: 991.98px) {
    .ai-chat-panel {
        max-height: calc(100vh - 140px);
        min-height: 360px;
    }

    .ai-chat-sidebar-col {
        order: 2;
    }

    .ai-chat-main {
        order: 1;
    }

    .ai-chat-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .ai-sidebar-card {
        flex: 1 1 calc(50% - .5rem);
        min-width: 160px;
    }
}

@media (max-width: 575.98px) {
    .ai-chat-header {
        padding: .85rem 0 1rem;
    }

    .ai-chat-title {
        font-size: 1.05rem;
    }

    .ai-chat-subtitle {
        font-size: .78rem;
    }

    .ai-chat-panel {
        border-radius: 16px;
        min-height: calc(100vh - 200px);
        max-height: none;
    }

    .ai-chat-messages {
        padding: .85rem;
    }

    .ai-msg-bubble {
        max-width: 88%;
        font-size: .9rem;
    }

    .ai-suggest-chips-empty .ai-suggest-chip {
        font-size: .72rem;
        padding: .3rem .65rem;
    }

    .ai-chat-sidebar {
        flex-direction: column;
    }

    .ai-sidebar-card {
        flex: 1 1 100%;
    }
}

/* Dashboard progress */
.progress-step {
    text-align: center;
    position: relative;
}

.progress-step .step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

.progress-step.done .step-icon {
    background: var(--pb-green);
    color: #fff;
}

.progress-step.active .step-icon {
    background: var(--pb-gold);
    color: var(--pb-ink);
}

.progress-step.pending .step-icon {
    background: #e9ecef;
    color: #6c757d;
}

/* Dashboard page */
.dashboard-page {
    background: var(--pb-light);
    min-height: 60vh;
}

.dashboard-hero {
    background: linear-gradient(135deg, #fff 0%, #f0faf6 100%);
    border-left: 4px solid var(--pb-green) !important;
    border-radius: 16px;
}

.dashboard-hero-label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--pb-green);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.dashboard-hero-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--pb-dark);
}

.dashboard-stat {
    background: #fff;
    border-radius: 12px;
    padding: .75rem .5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    height: 100%;
}

.dashboard-stat-value {
    display: block;
    font-family: var(--pb-font-display);
    font-size: clamp(1rem, 2.8vw, 1.25rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.01em;
    color: var(--pb-dark);
    line-height: 1.25;
}

.dashboard-stat-money {
    font-family: var(--pb-font-display);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    white-space: nowrap;
}

.dashboard-stat-label {
    display: block;
    font-size: .7rem;
    color: #6c757d;
    margin-top: .25rem;
    line-height: 1.2;
}

.dashboard-balance-amount {
    font-family: var(--pb-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--pb-green);
    line-height: 1.2;
}

/* Dashboard CTA system */
.dashboard-cta {
    font-weight: 600;
    border-radius: 10px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}

.dashboard-cta--primary {
    background: var(--pb-green);
    border: 1px solid var(--pb-green);
    color: #fff;
}

.dashboard-cta--primary:hover,
.dashboard-cta--primary:focus {
    background: var(--pb-green-dark);
    border-color: var(--pb-green-dark);
    color: #fff;
}

.dashboard-cta--secondary {
    background: #fff;
    border: 1px solid rgba(0, 106, 78, .35);
    color: var(--pb-green-dark);
}

.dashboard-cta--secondary:hover,
.dashboard-cta--secondary:focus {
    background: rgba(0, 106, 78, .06);
    border-color: var(--pb-green);
    color: var(--pb-green-dark);
}

.dashboard-cta--urgent {
    background: var(--pb-gold);
    border: 1px solid var(--pb-gold);
    color: #1a1a2e;
}

.dashboard-cta--urgent:hover,
.dashboard-cta--urgent:focus {
    background: var(--pb-gold-hover);
    border-color: var(--pb-gold-hover);
    color: #1a1a2e;
}

.dashboard-job-tile {
    border: 1px solid var(--pb-border);
    border-radius: 12px;
    padding: 1rem;
    background: #fff;
}

.dashboard-tools-list .dashboard-cta {
    justify-content: flex-start;
}

.dashboard-journey-card {
    border-radius: 16px;
}

.dashboard-journey-next-pill {
    background: rgba(0, 106, 78, .12);
    color: var(--pb-green-dark);
    font-weight: 600;
}

.dashboard-journey {
    align-items: stretch;
}

.dashboard-journey > [class*="col-"] {
    display: flex;
}

.dashboard-journey-step {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    padding: 1rem .9rem;
    background: #fff;
    position: relative;
}

.dashboard-journey-step.is-done {
    border-color: rgba(0, 106, 78, .35);
    background: #f3fbf7;
}

.dashboard-journey-step.is-active {
    border-color: rgba(0, 106, 78, .55);
    box-shadow: 0 0 0 2px rgba(0, 106, 78, .12);
}

.dashboard-journey-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--pb-green);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: .5rem;
    flex-shrink: 0;
}

.dashboard-journey-step.is-done .dashboard-journey-num {
    background: var(--pb-green-dark);
}

.dashboard-journey-title {
    display: block;
    font-size: .9rem;
    line-height: 1.35;
    margin-bottom: .35rem;
    color: var(--pb-dark);
}

.dashboard-journey-hint {
    font-size: .75rem;
    color: #6c757d;
    margin-bottom: .5rem;
    line-height: 1.4;
    flex-grow: 0;
}

.dashboard-journey-badge {
    align-self: flex-start;
    font-size: .65rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

.dashboard-journey-badge.is-done {
    background: rgba(0, 106, 78, .15);
    color: var(--pb-green-dark);
}

.dashboard-journey-badge.is-todo {
    background: #e9ecef;
    color: #6c757d;
}

.dashboard-journey-badge.is-info {
    background: rgba(0, 106, 78, .12);
    color: var(--pb-green-dark);
}

.dashboard-journey-badge.is-urgent {
    background: rgba(232, 163, 23, .2);
    color: #8a5a00;
}

.dashboard-journey-action {
    margin-top: auto;
    padding-top: .25rem;
}

.dashboard-journey-done-note {
    display: block;
    font-size: .8rem;
    color: var(--pb-green);
    font-weight: 600;
}

.dashboard-journey-pending-note {
    display: block;
    font-size: .75rem;
    color: #8a5a00;
    line-height: 1.35;
}

.dashboard-pay-alert {
    background: #fff8e6;
}

.dashboard-balance-card {
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #f0faf6 100%);
}

.dashboard-balance-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0,106,78,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--pb-green);
}

.dashboard-touch-btn {
    min-height: 44px;
}

@media (max-width: 991.98px) {
    .dashboard-journey-title {
        font-size: .82rem;
    }

    .dashboard-journey-hint {
        font-size: .7rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 575px) {
    .dashboard-stats .dashboard-stat-label {
        font-size: .65rem;
    }

    .dashboard-journey-step {
        padding: .85rem .7rem;
    }
}

.dashboard-progress-card {
    border-radius: 16px;
    overflow: hidden;
}

.dashboard-timeline {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: .5rem 0 1rem;
}

.dashboard-timeline-step {
    flex: 0 0 auto;
    width: 170px;
    scroll-snap-align: start;
    padding: 0 .75rem;
    position: relative;
}

.dashboard-timeline-connector {
    position: absolute;
    top: 32px;
    left: calc(50% + 32px);
    width: calc(100% - 64px);
    height: 3px;
    background: #dee2e6;
    z-index: 0;
}

.dashboard-timeline-step.done .dashboard-timeline-connector {
    background: var(--pb-green);
}

.dashboard-timeline-step.active .dashboard-timeline-connector {
    background: linear-gradient(90deg, var(--pb-green) 0%, var(--pb-gold) 100%);
}

.dashboard-timeline-step .step-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
}

.dashboard-timeline-step .step-label {
    font-size: .8rem;
    font-weight: 700;
    margin: .5rem 0 .35rem;
    color: var(--pb-dark);
}

.step-status {
    font-size: .65rem;
    font-weight: 600;
    padding: .35em .65em;
}

.step-status-pending {
    background: #e9ecef;
    color: #6c757d;
}

.step-status-active {
    background: rgba(244,160,36,.2);
    color: #b37400;
}

.step-status-done {
    background: rgba(0,106,78,.15);
    color: var(--pb-green-dark);
}

.step-action-btn {
    min-height: 44px;
    min-width: 100px;
    font-size: .75rem;
    font-weight: 600;
    border-radius: 8px;
}

.step-actions {
    width: 100%;
    max-width: 140px;
    margin-top: .5rem;
}

.step-actions-desktop .step-action-verify {
    font-size: .65rem;
    padding: .35rem .5rem;
    white-space: normal;
    line-height: 1.2;
    min-height: 36px;
}

.step-actions-need {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.step-actions-need-label {
    font-size: .6rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.step-actions-need-btns {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.step-actions-need-btns .btn {
    font-size: .65rem;
    padding: .3rem .45rem;
    white-space: nowrap;
}

.step-action-official {
    border-color: #adb5bd;
    color: #495057;
}

.step-action-probasi {
    background: var(--pb-green);
    border-color: var(--pb-green);
}

.step-action-dropdown {
    font-size: .7rem;
    min-height: 40px;
}

.service-path-actions {
    width: 100%;
}

.service-path-card {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.service-path-row {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.service-path-row-label {
    font-size: .75rem;
    font-weight: 700;
    color: #6c757d;
}

.service-path-row-btns {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.service-path-row-have .service-path-verify {
    align-self: flex-start;
}

.progress-step.pending .step-action-btn {
    background: var(--pb-green);
    border-color: var(--pb-green);
    color: #fff;
}

.progress-step.active .step-action-btn {
    background: var(--pb-gold);
    border-color: var(--pb-gold);
    color: #1a1a2e;
}

.progress-step.done .step-action-btn {
    background: transparent;
    border: 1px solid var(--pb-green);
    color: var(--pb-green);
}

.dashboard-table thead th {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #6c757d;
    border-bottom-width: 1px;
    white-space: nowrap;
}

.dashboard-mobile-cards {
    padding: .75rem;
}

.dashboard-app-card {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: .75rem;
}

.dashboard-app-card:last-child {
    margin-bottom: 0;
}

.dashboard-visa-list {
    padding: .75rem 1rem 1rem;
}

.dashboard-visa-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
}

.dashboard-app-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.dashboard-app-actions .btn {
    min-height: 40px;
}

@media (min-width: 992px) {
    .dashboard-timeline {
        flex-wrap: wrap;
        overflow-x: visible;
        justify-content: space-between;
    }

    .dashboard-timeline-step {
        flex: 1 1 0;
        width: auto;
        max-width: none;
    }

    .dashboard-timeline-connector {
        width: calc(100% - 56px);
        left: calc(50% + 28px);
    }
}

@media (max-width: 767px) {
    .dashboard-timeline {
        flex-direction: column;
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 1rem;
    }

    .dashboard-timeline-step {
        width: 100%;
        display: grid;
        grid-template-columns: 56px 1fr auto;
        grid-template-rows: auto auto;
        gap: 0 .75rem;
        align-items: center;
        text-align: left;
        padding: 1rem;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,.04);
    }

    .dashboard-timeline-connector {
        display: none;
    }

    .dashboard-timeline-step .step-icon {
        grid-row: 1 / 3;
        margin-bottom: 0;
    }

    .dashboard-timeline-step .step-label {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        align-self: end;
    }

    .dashboard-timeline-step .step-status {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        align-self: start;
        margin-top: .25rem;
    }

    .dashboard-timeline-step .step-actions,
    .dashboard-timeline-step .step-action-btn {
        grid-column: 1 / -1;
        grid-row: 3;
        max-width: none;
        margin-top: .75rem !important;
    }

    .dashboard-timeline-step .step-action-btn {
        width: 100%;
    }
}

/* Footer */
.site-footer {
    background: linear-gradient(165deg, #0f1f1a 0%, #163028 55%, #0c1a15 100%);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pb-green), var(--pb-gold), var(--pb-green-mid));
}

.site-footer .footer-brand {
    font-family: var(--pb-font-display);
    font-size: 1.25rem;
    letter-spacing: -.02em;
}

.oep-footer-trust {
    text-align: center;
    margin-bottom: 1rem;
}

.oep-footer-badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem .75rem;
    padding: .6rem 1rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: rgba(255,255,255,.75);
    font-size: .85rem;
}

.oep-footer-badge > .bi-shield-check {
    color: #75d99a;
    font-size: 1.1rem;
}

.oep-footer-text strong {
    color: #fff;
    font-weight: 600;
}

.oep-footer-sep {
    opacity: .5;
}

.oep-verify-link {
    color: var(--pb-gold);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.oep-verify-link:hover {
    color: #fff;
    text-decoration: underline;
}

.oep-license-card {
    border-radius: 16px;
}

.oep-license-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25,135,84,.12);
    border-radius: 12px;
    color: #198754;
    font-size: 1.5rem;
}

.oep-license-label {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #198754;
    font-weight: 600;
    margin-bottom: .25rem;
}

.oep-license-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pb-dark);
    line-height: 1.2;
}

.oep-license-agent {
    font-size: .95rem;
    color: #6c757d;
    margin-bottom: 0;
}

.oep-license-inline .oep-verify-link {
    color: #198754;
    font-weight: 600;
    margin-left: .25rem;
}

.oep-license-inline .oep-verify-link:hover {
    color: #146c43;
}

.footer-links a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: .9rem;
    line-height: 2;
}

.footer-links a:hover {
    color: var(--pb-gold);
}

.program-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: transform .2s;
}

.program-card:hover {
    transform: translateY(-4px);
}

.official-link-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.section-title {
    font-weight: 700;
    color: var(--pb-green-dark);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--pb-muted);
    margin-bottom: 2rem;
}

.lang-toggle {
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 8px;
    padding: .2rem .55rem !important;
    font-weight: 600;
    font-size: .85rem;
}

.region-filters .btn {
    border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn,
    .country-card,
    .success-story-card,
    .program-card {
        transition: none !important;
    }

    .country-card:hover,
    .success-story-card:hover,
    .program-card:hover {
        transform: none;
    }
}

.admin-sidebar {
    min-height: 100vh;
    background: var(--pb-dark);
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,.7);
    border-radius: 8px;
    margin-bottom: .25rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255,255,255,.1);
    color: #fff;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 420px;
    }
    .process-timeline {
        padding-left: 0;
    }
    .process-timeline::before,
    .process-step::before {
        display: none;
    }
}
