/* ===== EB-3 Visa Guide page styles ===== */

.eb3-page { color: #2d3748; line-height: 1.7; font-size: 16px; }
.eb3-page a { color: #0a58ca; text-decoration: none; }
.eb3-page a:hover { text-decoration: underline; }
.eb3-container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* ----- HERO ----- */
.eb3-hero {
    background: #1a3a5c;
    color: #fff; padding: 150px 20px 70px; text-align: center;
}
.eb3-hero-inner { max-width: 820px; margin: 0 auto; }
.eb3-hero-badge {
    display: inline-block; background: rgba(255,184,77,0.2);
    border: 1px solid rgba(255,184,77,0.5); color: #ffd87a;
    padding: 7px 16px; border-radius: 30px; font-size: 13px;
    margin-bottom: 22px; letter-spacing: 0.5px; font-weight: 500;
}
.eb3-hero h1 {
    font-size: 44px; font-weight: 800; margin: 0 0 20px;
    line-height: 1.2; color: #ffffff;
    letter-spacing: -0.3px;
}
.eb3-hero .eb3-subtitle {
    font-size: 18px; opacity: 0.92; margin: 0 auto 30px; max-width: 720px;
}
.eb3-hero-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.eb3-cta-primary {
    display: inline-block; background: #ffb84d; color: #1a3a6c;
    padding: 14px 32px; font-weight: 600; border-radius: 6px;
    text-decoration: none; font-size: 16px;
}
.eb3-cta-primary:hover { background: #ffa31a; color: #1a3a6c; text-decoration: none; }
.eb3-cta-secondary {
    display: inline-block; background: #fff; color: #1a3a5c;
    padding: 14px 28px; font-weight: 600; border-radius: 6px;
    text-decoration: none; font-size: 15px;
    transition: all 0.2s;
}
.eb3-cta-secondary:hover {
    background: #f0f0f0; color: #1a3a5c; text-decoration: none;
}
.eb3-meta { font-size: 13px; opacity: 0.85; margin-top: 24px; }

/* ----- QUICK FACTS BAR ----- */
.eb3-quick-bar {
    background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-radius: 8px; padding: 24px; margin: -36px auto 36px;
    max-width: 920px; position: relative; z-index: 2;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.eb3-fact { text-align: center; padding: 0 8px; }
.eb3-fact-num { font-size: 26px; font-weight: 700; color: #0a58ca; line-height: 1.1; }
.eb3-fact-label { font-size: 13px; color: #6b7280; margin-top: 4px; line-height: 1.3; }

/* ----- TOC ----- */
.eb3-toc {
    background: #f8fafc; border: 1px solid #e2e8f0;
    padding: 22px 28px; margin: 30px 0; border-radius: 8px;
}
.eb3-toc h3 { margin: 0 0 14px; font-size: 16px; color: #1a3a6c; text-transform: uppercase; letter-spacing: 0.5px; }
.eb3-toc-grid { column-count: 2; column-gap: 22px; }
.eb3-toc-grid a { font-size: 15px; padding: 4px 0; display: block; break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; }

/* ----- SECTIONS ----- */
.eb3-section { padding: 40px 0 30px; border-bottom: 1px solid #edf2f7; }
.eb3-section:last-child { border-bottom: none; }
.eb3-section h2 {
    font-size: 30px; font-weight: 700; color: #1a3a6c;
    margin: 0 0 20px; line-height: 1.25;
}
.eb3-section h2 .eb3-stage-badge {
    display: inline-block; background: #0a58ca; color: #fff;
    font-size: 13px; font-weight: 600; padding: 4px 12px;
    border-radius: 20px; vertical-align: middle; margin-right: 12px;
    letter-spacing: 0.5px;
}
.eb3-section h3 {
    font-size: 21px; font-weight: 600; color: #1a3a6c;
    margin: 28px 0 12px;
}
.eb3-section p { margin: 0 0 16px; }
.eb3-section ul, .eb3-section ol { padding-left: 24px; margin: 0 0 18px; }
.eb3-section li { margin: 6px 0; }

.eb3-lead {
    font-size: 18px; color: #4a5568; line-height: 1.6;
    border-left: 4px solid #0a58ca; padding: 12px 0 12px 18px;
    background: #f8fafc; margin: 0 0 24px;
}

/* ----- PROCESS STEPPER ----- */
.eb3-stepper {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 0; margin: 30px 0 20px; padding: 10px 0;
    position: relative;
}
.eb3-stepper::before {
    content: ''; position: absolute;
    top: 28px; left: 8%; right: 8%; height: 3px;
    background: #d6dde5; z-index: 0;
}
.eb3-step {
    flex: 1; text-align: center; position: relative; z-index: 1;
    padding: 0 6px;
}
.eb3-step-circle {
    width: 56px; height: 56px; line-height: 56px;
    border-radius: 50%; background: #1a3a5c; color: #fff;
    font-weight: 700; font-size: 22px; margin: 0 auto 12px;
    border: 4px solid #fff; box-shadow: 0 0 0 1px #d6dde5;
}
.eb3-step[data-agency="DOL"]   .eb3-step-circle { background: #0a58ca; }
.eb3-step[data-agency="USCIS"] .eb3-step-circle { background: #1a3a5c; }
.eb3-step[data-agency="DOS"]   .eb3-step-circle { background: #6b46c1; }
.eb3-step[data-agency="MIX"]   .eb3-step-circle {
    background: linear-gradient(90deg, #1a3a5c 50%, #6b46c1 50%);
}
.eb3-step.eb3-step-final .eb3-step-circle {
    background: #f4a024; font-size: 22px;
}
.eb3-step-name {
    font-size: 15px; font-weight: 600; color: #1a3a5c;
    line-height: 1.25; margin-bottom: 2px;
}
.eb3-step-name small { font-weight: 400; color: #6b7280; font-size: 12px; }
.eb3-step-agency {
    font-size: 11px; color: #6b7280; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.eb3-stepper-note {
    background: #f7f9fc; border-left: 3px solid #0a58ca;
    padding: 14px 18px; border-radius: 4px; margin: 20px 0 10px;
    font-size: 14px; color: #4a5568; line-height: 1.65;
}
.eb3-stepper-note strong { color: #1a3a5c; }

/* ----- CATEGORY CARDS (Skilled / Professional / Unskilled) ----- */
.eb3-cat-cards {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 18px; margin: 24px 0;
}
.eb3-cat-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
    padding: 24px 22px; transition: all 0.2s; box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.eb3-cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(10,88,202,0.12); border-color: #0a58ca; }
.eb3-cat-card-head {
    display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.eb3-cat-icon {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; flex-shrink: 0;
}
.eb3-cat-icon-a { background: #4a90e2; }
.eb3-cat-icon-b { background: #0a58ca; }
.eb3-cat-icon-c { background: #1a3a6c; }
.eb3-cat-card h4 { margin: 0; font-size: 18px; color: #1a3a6c; font-weight: 700; }
.eb3-cat-card .eb3-cat-code { font-size: 12px; color: #6b7280; font-weight: 500; letter-spacing: 0.5px; }
.eb3-cat-card p { font-size: 14.5px; margin: 0 0 10px; color: #4a5568; }
.eb3-cat-card ul { padding-left: 20px; margin: 0; font-size: 14px; }
.eb3-cat-card li { margin: 4px 0; color: #4a5568; }

/* ----- TABLES ----- */
.eb3-table {
    width: 100%; border-collapse: collapse; margin: 18px 0;
    background: #fff; font-size: 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.eb3-table th, .eb3-table td {
    border: 1px solid #e2e8f0; padding: 11px 14px;
    text-align: left; vertical-align: top;
}
.eb3-table th { background: #1a3a6c; color: #fff; font-weight: 600; }
.eb3-table tr:nth-child(even) td { background: #f8fafc; }

/* ----- CALLOUT / TIP BOXES ----- */
.eb3-callout {
    padding: 16px 20px; border-radius: 8px; margin: 18px 0;
    font-size: 15px; line-height: 1.6;
    display: flex; gap: 12px; align-items: flex-start;
}
.eb3-callout-info { background: #eef6ff; border-left: 4px solid #0a58ca; }
.eb3-callout-warn { background: #fff8e6; border-left: 4px solid #f59e0b; }
.eb3-callout-tip { background: #ecfdf5; border-left: 4px solid #10b981; }
.eb3-callout i { font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.eb3-callout-info i { color: #0a58ca; }
.eb3-callout-warn i { color: #f59e0b; }
.eb3-callout-tip i { color: #10b981; }
.eb3-callout strong { color: inherit; }

/* ----- DYNAMIC FAQ WIDGET ----- */
.eb3-faq-widget {
    background: #f8fafc; border-radius: 10px;
    padding: 30px; margin: 30px 0;
}
.eb3-faq-widget h2 { margin-top: 0; }
.eb3-faq-widget .eb3-faq-intro {
    color: #4a5568; font-size: 15px; margin-bottom: 22px;
}
.eb3-faq-search {
    position: relative; margin-bottom: 18px;
}
.eb3-faq-search input {
    width: 100%; padding: 14px 18px 14px 46px;
    border: 1px solid #cbd5e0; border-radius: 8px;
    font-size: 15px; outline: none; background: #fff;
    transition: border-color 0.2s;
}
.eb3-faq-search input:focus { border-color: #0a58ca; box-shadow: 0 0 0 3px rgba(10,88,202,0.1); }
.eb3-faq-search-icon {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: #9ca3af; font-size: 16px;
}
.eb3-faq-chips {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.eb3-faq-chip {
    padding: 6px 14px; border-radius: 20px;
    border: 1px solid #cbd5e0; background: #fff;
    cursor: pointer; font-size: 13px;
    transition: all 0.15s; user-select: none;
}
.eb3-faq-chip:hover { border-color: #0a58ca; color: #0a58ca; }
.eb3-faq-chip.is-active { background: #0a58ca; color: #fff; border-color: #0a58ca; }
.eb3-faq-clear {
    background: none; border: none; color: #6b7280;
    cursor: pointer; font-size: 13px; text-decoration: underline;
    padding: 6px 0;
}
.eb3-faq-meta {
    font-size: 13px; color: #6b7280; margin-bottom: 14px;
}
.eb3-faq-list { background: #fff; border-radius: 8px; overflow: hidden; }
.eb3-faq-row { border-bottom: 1px solid #edf2f7; }
.eb3-faq-row:last-child { border-bottom: none; }
.eb3-faq-row-q {
    padding: 14px 18px; cursor: pointer; display: flex;
    align-items: flex-start; gap: 12px;
    transition: background 0.15s; user-select: none;
}
.eb3-faq-row-q:hover { background: #f8fafc; }
.eb3-faq-row-q .eb3-faq-toggle { color: #0a58ca; font-size: 14px; margin-top: 3px; flex-shrink: 0; }
.eb3-faq-row-q .eb3-faq-text { flex: 1; font-weight: 500; color: #1a3a6c; font-size: 15px; line-height: 1.45; }
.eb3-faq-row-q .eb3-faq-cat-tag {
    font-size: 11px; background: #eef6ff; color: #0a58ca;
    padding: 3px 8px; border-radius: 4px; flex-shrink: 0; margin-top: 2px;
    font-weight: 500;
}
.eb3-faq-row-a {
    padding: 0 18px 16px 44px; color: #4a5568; font-size: 14.5px;
    line-height: 1.65; white-space: pre-wrap;
}
.eb3-faq-loadmore {
    display: block; width: 100%; padding: 12px;
    background: #fff; border: 1px solid #cbd5e0; border-radius: 8px;
    color: #0a58ca; font-weight: 500; cursor: pointer;
    margin-top: 14px; font-size: 14px;
}
.eb3-faq-loadmore:hover { background: #eef6ff; border-color: #0a58ca; }
.eb3-faq-loadmore[disabled] { opacity: 0.5; cursor: not-allowed; }
.eb3-faq-empty { padding: 30px; text-align: center; color: #6b7280; font-size: 14px; }
.eb3-faq-spinner { display: inline-block; margin-left: 8px; color: #6b7280; font-size: 13px; }

/* ----- FINAL CTA ----- */
.eb3-final-cta {
    background: #1a3a5c;
    color: #fff; padding: 56px 20px; text-align: center;
    margin-top: 40px; border-radius: 10px;
}
.eb3-final-cta h2 { color: #fff; margin: 0 0 14px; font-size: 28px; }
.eb3-final-cta p { font-size: 16px; opacity: 0.92; margin: 0 0 24px; max-width: 580px; margin-left: auto; margin-right: auto; }

/* ----- RESPONSIVE ----- */
@media (max-width: 880px) {
    .eb3-hero { padding: 110px 16px 50px; }
    .eb3-hero h1 { font-size: 30px; line-height: 1.25; }
    .eb3-hero .eb3-subtitle { font-size: 15.5px; }
    .eb3-stepper { flex-direction: column; gap: 0; }
    .eb3-stepper::before {
        top: 0; bottom: 0; left: 26px; right: auto;
        width: 3px; height: auto;
    }
    .eb3-step {
        display: flex; align-items: center; gap: 14px;
        text-align: left; padding: 8px 0;
    }
    .eb3-step-circle { margin: 0; flex-shrink: 0; width: 50px; height: 50px; line-height: 50px; font-size: 20px; }
    .eb3-step-name { margin-bottom: 2px; font-size: 16px; }
    .eb3-step-agency { font-size: 11px; }
    .eb3-section h2 { font-size: 24px; }
    .eb3-quick-bar { grid-template-columns: repeat(2, 1fr); margin-top: -24px; padding: 18px; }
    .eb3-fact-num { font-size: 22px; }
    .eb3-toc-grid { column-count: 1; }
    .eb3-cat-cards { grid-template-columns: 1fr; }
    .eb3-table { font-size: 14px; }
    .eb3-table th, .eb3-table td { padding: 8px 10px; }
    .eb3-faq-widget { padding: 20px 16px; }
    .eb3-faq-row-q .eb3-faq-cat-tag { display: none; }
    .eb3-faq-row-a { padding-left: 18px; }
}
