/*
Criminal Record Check from Outside Canada - page styles
Surrey Fingerprint Company Theme
Every class starts with "outside-canada-" so nothing collides with other pages.
Palette matches the theme: navy #1e3c72, blue #2a5298, gold #ffd700, light grey #f8f9fa.
*/

.outside-canada-main {
    color: #333;
    line-height: 1.65;
    overflow-x: hidden;
}

/* Section titles */
.outside-canada-title {
    font-size: 2.3rem;
    line-height: 1.25;
    color: #1e3c72;
    text-align: center;
    margin-bottom: 2.5rem;
}
.outside-canada-title--left { text-align: left; margin-bottom: 1.25rem; }
.outside-canada-title--light { color: #fff; }

/* Hero */
.outside-canada-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 4.5rem 0;
    text-align: center;
}
.outside-canada-hero-content { max-width: 820px; margin: 0 auto; }
.outside-canada-hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.outside-canada-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 1.75rem;
}
.outside-canada-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 0 2rem;
    padding: 0;
}
.outside-canada-badges li {
    background: rgba(255, 215, 0, 0.18);
    border: 1px solid rgba(255, 215, 0, 0.6);
    color: #ffd700;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
}
.outside-canada-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem 1.75rem;
}
.outside-canada-link-light {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.outside-canada-link-light:hover { color: #ffd700; }
.outside-canada-hero-hint {
    margin: 1rem 0 0;
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Overview */
.outside-canada-overview { background: #f8f9fa; padding: 4.5rem 0; }
.outside-canada-overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}
.outside-canada-overview-text p { font-size: 1.08rem; margin-bottom: 1.25rem; }
.outside-canada-purposes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}
.outside-canada-purpose {
    background: #f8f9fa;
    border-left: 4px solid #2a5298;
    border-radius: 8px;
    padding: 1.3rem 1.5rem;
}
.outside-canada-purpose h3 { font-size: 1.1rem; color: #1e3c72; margin-bottom: 0.4rem; }
.outside-canada-purpose p { font-size: 0.95rem; margin: 0; color: #555; }

.outside-canada-glance {
    background: #fff;
    border-top: 4px solid #ffd700;
    border-radius: 10px;
    padding: 1.75rem;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.09);
}
.outside-canada-glance h3 { color: #1e3c72; font-size: 1.3rem; margin-bottom: 1rem; }
.outside-canada-glance dt { font-weight: 700; color: #1e3c72; margin-top: 1rem; }
.outside-canada-glance dt:first-of-type { margin-top: 0; }
.outside-canada-glance dd { margin: 0.15rem 0 0; color: #555; }

/* Shared intro / note lines */
.outside-canada-section-intro { max-width: 760px; margin: -1rem auto 2rem; text-align: center; color: #555; font-size: 1.05rem; }
.outside-canada-section-note { max-width: 760px; margin: 1.75rem auto 0; text-align: center; color: #555; }
.outside-canada-overview-text a,
.outside-canada-section-note a,
.outside-canada-explain-card a,
.outside-canada-why-note a { color: #2a5298; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Why you might need it */
.outside-canada-why { background: #fff; padding: 4.5rem 0; }
.outside-canada-why-note { max-width: 800px; margin: 2rem auto 0; text-align: center; color: #555; }

/* Fingerprint vs name-based */
.outside-canada-explain { background: #f8f9fa; padding: 4.5rem 0; }
.outside-canada-explain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.outside-canada-explain-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}
.outside-canada-explain-card h3 { color: #1e3c72; font-size: 1.3rem; margin-bottom: 0.8rem; }
.outside-canada-explain-card p { color: #444; margin-bottom: 1rem; }
.outside-canada-explain-card p:last-child { margin-bottom: 0; }

/* Where to get fingerprinted */
.outside-canada-agencies { background: #f8f9fa; padding: 4.5rem 0; }
.outside-canada-agencies-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: start;
}
.outside-canada-agency-list,
.outside-canada-must-show ul { list-style: none; margin: 0; padding: 0; }
.outside-canada-agency-list li {
    background: #fff;
    border-left: 4px solid #2a5298;
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.outside-canada-must-show {
    background: #fff8e1;
    border-left: 4px solid #ffd700;
    border-radius: 8px;
    padding: 1.5rem;
}
.outside-canada-must-show h3 { color: #1e3c72; font-size: 1.15rem; margin-bottom: 0.75rem; }
.outside-canada-must-show li { padding: 0.35rem 0 0.35rem 1.5rem; position: relative; }
.outside-canada-must-show li::before { content: '✓'; position: absolute; left: 0; color: #2a5298; font-weight: 700; }
.outside-canada-must-show p { margin: 0.75rem 0 0; font-size: 0.93rem; color: #555; }

/* What the check shows (table) */
.outside-canada-released { background: #f8f9fa; padding: 4.5rem 0; }
.outside-canada-table-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; }
.outside-canada-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}
.outside-canada-table th,
.outside-canada-table td { padding: 0.95rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid #e9edf3; }
.outside-canada-table thead th { background: #1e3c72; color: #fff; font-weight: 600; }
.outside-canada-table tbody th { color: #1e3c72; font-weight: 700; width: 34%; background: #fff; }
.outside-canada-table tbody tr:last-child th,
.outside-canada-table tbody tr:last-child td { border-bottom: 0; }

/* Common mistakes */
.outside-canada-mistakes {
    max-width: 860px;
    margin: 2.5rem auto 0;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.75rem 2rem;
}
.outside-canada-mistakes h3 { color: #1e3c72; font-size: 1.25rem; margin-bottom: 1rem; }
.outside-canada-mistakes ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.outside-canada-mistakes li { position: relative; padding: 0.4rem 0 0.4rem 1.6rem; break-inside: avoid; }
.outside-canada-mistakes li::before { content: '✗'; position: absolute; left: 0; color: #b91c1c; font-weight: 700; }

/* Country guides */
.outside-canada-countries { background: #fff; padding: 4.5rem 0; }
.outside-canada-country-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
}
.outside-canada-country-list a {
    display: block;
    background: #f8f9fa;
    border: 2px solid #dfe3ea;
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    color: #1e3c72;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease;
}
.outside-canada-country-list a:hover { border-color: #2a5298; }

/* Steps: a real sequence, so numbered */
.outside-canada-process { background: #fff; padding: 4.5rem 0; }
.outside-canada-steps {
    list-style: none;
    counter-reset: oc-step;
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
}
.outside-canada-step {
    counter-increment: oc-step;
    display: flex;
    gap: 1.25rem;
    padding-bottom: 1.75rem;
    position: relative;
}
.outside-canada-step::before {
    content: counter(oc-step);
    flex: 0 0 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.outside-canada-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: #d6deeb;
}
.outside-canada-step-body h3 { font-size: 1.25rem; color: #1e3c72; margin: 0.6rem 0 0.35rem; }
.outside-canada-step-body p { color: #555; margin: 0; }

/* Requirements */
.outside-canada-requirements { background: #fff; padding: 4.5rem 0; }
.outside-canada-req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.outside-canada-req-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}
.outside-canada-req-card h3 { color: #1e3c72; font-size: 1.35rem; margin-bottom: 1rem; }
.outside-canada-req-card ul { list-style: none; padding: 0; margin: 0; }
.outside-canada-req-card li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.9rem;
    border-bottom: 1px solid #eee;
}
.outside-canada-req-card li:last-child { border-bottom: 0; }
.outside-canada-req-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.6rem;
    color: #2a5298;
    font-weight: 700;
}

/* Notes */
.outside-canada-notes { background: #fff; padding: 4.5rem 0; }
.outside-canada-notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.outside-canada-note {
    background: #fff8e1;
    border-left: 4px solid #ffd700;
    border-radius: 8px;
    padding: 1.4rem 1.5rem;
}
.outside-canada-note h3 { color: #1e3c72; font-size: 1.15rem; margin-bottom: 0.5rem; }
.outside-canada-note p { margin: 0; color: #4a4a4a; font-size: 0.98rem; }

/* Forms */
.outside-canada-forms { background: #f8f9fa; padding: 4.5rem 0; }
.outside-canada-forms-intro { max-width: 720px; margin: -1rem auto 2rem; text-align: center; color: #555; }
.outside-canada-forms-list {
    list-style: none;
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}
.outside-canada-forms-list a {
    display: block;
    height: 100%;
    background: #fff;
    border: 2px solid #dfe3ea;
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
    color: #1e3c72;
    text-decoration: none;
    transition: border-color 0.2s ease;
}
.outside-canada-forms-list a:hover { border-color: #2a5298; }
.outside-canada-forms-list strong { display: block; font-size: 1.05rem; }
.outside-canada-forms-list span { display: block; margin-top: 0.25rem; font-size: 0.88rem; color: #666; }

/* FAQ (native <details>, no JavaScript) */
.outside-canada-faq { background: #f8f9fa; padding: 4.5rem 0; }
.outside-canada-faq-list { max-width: 860px; margin: 0 auto; }
.outside-canada-faq-item {
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 10px;
    margin-bottom: 0.85rem;
}
.outside-canada-faq-item summary {
    cursor: pointer;
    list-style: none;
    position: relative;
    padding: 1.15rem 3rem 1.15rem 1.4rem;
    font-weight: 700;
    color: #1e3c72;
}
.outside-canada-faq-item summary::-webkit-details-marker { display: none; }
.outside-canada-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: #2a5298;
}
.outside-canada-faq-item[open] summary::after { content: '−'; }
.outside-canada-faq-item[open] { background: #fff; border-color: #2a5298; }
.outside-canada-faq-item p { margin: 0; padding: 0 1.4rem 1.3rem; color: #555; }

/* Contact */
.outside-canada-contact { background: #1e3c72; color: #fff; padding: 4.5rem 0; }
.outside-canada-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.outside-canada-contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding: 1.1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
}
.outside-canada-contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.outside-canada-contact-item a { color: #ffd700; font-weight: 600; }
.outside-canada-map iframe { display: block; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }

/* Final CTA */
.outside-canada-final-cta {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}
.outside-canada-final-cta h2 { font-size: 2.1rem; margin-bottom: 1rem; }
.outside-canada-final-cta p { max-width: 620px; margin: 0 auto 2rem; font-size: 1.1rem; opacity: 0.95; }

/* Keyboard focus */
.outside-canada-main a:focus-visible,
.outside-canada-faq-item summary:focus-visible {
    outline: 3px solid #ffd700;
    outline-offset: 3px;
}
.outside-canada-faq-item summary:focus-visible,
.outside-canada-forms-list a:focus-visible { outline-color: #2a5298; }

/* Tablet and mobile */
@media (max-width: 900px) {
    .outside-canada-overview-grid,
    .outside-canada-contact-grid,
    .outside-canada-agencies-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
    .outside-canada-hero { padding: 3rem 0; }
    .outside-canada-hero h1 { font-size: 2.1rem; }
    .outside-canada-hero-subtitle { font-size: 1.05rem; }
    .outside-canada-title { font-size: 1.8rem; margin-bottom: 1.75rem; }
    .outside-canada-title--left { text-align: left; }
    .outside-canada-overview,
    .outside-canada-why,
    .outside-canada-explain,
    .outside-canada-agencies,
    .outside-canada-released,
    .outside-canada-countries,
    .outside-canada-process,
    .outside-canada-requirements,
    .outside-canada-notes,
    .outside-canada-forms,
    .outside-canada-faq,
    .outside-canada-contact { padding: 3rem 0; }
    .outside-canada-final-cta h2 { font-size: 1.7rem; }
    .outside-canada-forms-intro,
    .outside-canada-section-intro { margin-top: 0; }
    .outside-canada-mistakes ul { columns: 1; }
    .outside-canada-mistakes { padding: 1.4rem; }
    .outside-canada-table th,
    .outside-canada-table td { padding: 0.8rem 0.9rem; }
    .outside-canada-table tbody th { width: 38%; }
}
@media (max-width: 480px) {
    .outside-canada-hero h1 { font-size: 1.75rem; }
    .outside-canada-badges { flex-direction: column; align-items: center; }
    .outside-canada-req-card,
    .outside-canada-glance { padding: 1.4rem; }
    .outside-canada-cta-group .fingerprint-cta-button { width: 100%; text-align: center; }
    .outside-canada-step::before { flex-basis: 40px; height: 40px; font-size: 1rem; }
    .outside-canada-step:not(:last-child)::after { left: 19px; top: 40px; }
    .outside-canada-faq-item summary { padding-left: 1.1rem; }
}