* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* SVG Icon Base Styles */
.svg-icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    display: inline-block;
    flex-shrink: 0;
}

.svg-icon-inline {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    display: inline-block;
    margin-right: 0.2em;
}

.badge-icon .svg-icon,
.contact-icon .svg-icon,
.service-icon .svg-icon {
    width: 1.5em;
    height: 1.5em;
}

.service-icon .svg-icon {
    width: 2em;
    height: 2em;
}

.expandable-header .svg-icon,
h3 .svg-icon {
    width: 1.2em;
    height: 1.2em;
    vertical-align: -0.15em;
    margin-right: 0.3em;
}

/* Color Palette */
:root {
    /* Primary Colors - Lavender & Navy */
    --primary-dark: #2D2D34;
    --primary-medium: #9B8FB5;
    --primary-light: #C5B9D8;
    --primary-accent: #0A1F5E;
    --primary-white: #FFFFFF;

    
    /* Supporting Lavender Shades */
    --lavender-100: #f3f9fd;
    --lavender-200: #E6DFF0;
    --lavender-300: #D0C4E3;
    --lavender-400: #B5A5CC;
    --lavender-500: #9B8FB5;
    --lavender-600: #7D6FA0;
    --lavender-700: #5F5380;
    
    /* Neutral Steel Grays */
    --neutral-50: #F8F9FA;
    --neutral-100: #E9ECEF;
    --neutral-200: #DEE2E6;
    --neutral-300: #CED4DA;
    --neutral-400: #ADB5BD;
    --neutral-500: #6C757D;
    --neutral-600: #495057;
    --neutral-700: #343A40;
    --neutral-800: #212529;
    --neutral-900: #2D2D34;
    
    /* Accent Colors */
    --accent-navy: #0A1F5E;
    --accent-navy-light: #1A3B8C;
    --accent-lavender: #C5B9D8;
    --accent-purple: #9B8FB5;
    
    /* Legacy aliases for smooth transition */
    --brand-brown: #9B8FB5;
    --dark-brown: #7D6FA0;
    --light-brown: #C5B9D8;
    --blue-strong: #0A1F5E;
    --blue-soft: #9B8FB5;
    --blue-ice: #E6DFF0;
    --magenta-strong: #0A1F5E;
    --magenta-soft: #C5B9D8;
    
    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light-beige: #F3F0F7;
    --bg-light-gray: #F8F9FA;
    --bg-cream: #E6DFF0;
    
    /* Dark/Neutral Colors */
    --charcoal-black: #2D2D34;
    --medium-dark: #343A40;
    --dark-gray: #495057;
    --brown-gray: #6C757D;
    
    /* Text Colors */
    --text-primary: #2D2D34;
    --text-secondary: #6C757D;
    --text-light: #ADB5BD;
    --text-subtle: #CED4DA;
    --text-very-light: #DEE2E6;
    
    /* Border Colors */
    --border-light: #DEE2E6;
    --border-gray: #CED4DA;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

/* Calculator page */
.calculator-wrapper {
    max-width: 100%;
    margin: 110px auto 80px;
    padding: 0 5%;
}

.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--neutral-700);
}

.calculator-header h1 {
    font-size: 2rem;
    margin: 0.35rem 0;
    color: var(--primary-dark);
}

.calculator-header p {
    max-width: 700px;
    color: var(--neutral-700);
}

.calculator-pill {
    background: var(--lavender-100);
    color: var(--primary-dark);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--lavender-300);
    font-size: 0.95rem;
    align-self: center;
}

.calculator-tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.currency-toggle {
    display: inline-flex;
    border: 1px solid var(--lavender-300);
    border-radius: 999px;
    background: var(--primary-white);
    overflow: hidden;
}

.currency-toggle-btn {
    border: none;
    background: transparent;
    color: var(--neutral-700);
    padding: 0.45rem 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.currency-toggle-btn.active {
    background: var(--accent-navy);
    color: var(--primary-white);
}

.currency-toggle-btn:not(.active):hover {
    background: var(--lavender-100);
}

.calculator-card {
    background: var(--primary-white);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 6px rgba(155, 143, 181, 0.1);
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--neutral-900);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid var(--neutral-300);
    background: var(--neutral-50);
    font-size: 1rem;
    font-family: inherit;
    color: var(--neutral-900);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-navy);
    box-shadow: 0 0 0 3px rgba(10, 31, 94, 0.15);
}

/* Keyboard navigation focus ring */
:focus-visible {
    outline: 2px solid var(--accent-navy);
    outline-offset: 2px;
}

.form-group.error input,
.form-group.error select {
    border-color: #e74c3c;
    background-color: #fef5f5;
}

.form-group.error input:focus,
.form-group.error select:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.35rem;
    font-weight: 500;
}

.input-with-note small,
.form-group small.helper {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-light);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.95rem 1.4rem;
    background: var(--accent-navy);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    font-family: inherit;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.submit-btn:hover {
    background: var(--accent-navy-light);
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(10, 31, 94, 0.2);
}

.results-wrapper {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--primary-white);
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(155, 143, 181, 0.1);
}

.panel-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.panel-title {
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
}

.stacked-values {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.stack-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--neutral-600);
}

.stack-row strong {
    color: var(--neutral-900);
    font-size: 1.05rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-variant-numeric: tabular-nums;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--neutral-200);
    font-weight: 700;
    color: var(--neutral-900);
}

.total-row strong {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-variant-numeric: tabular-nums;
}

.panel-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

/* Breakdown Card with Progress Bars */
.breakdown-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.breakdown-label {
    font-size: 0.9rem;
    color: var(--neutral-700);
    font-weight: 500;
}

.breakdown-value {
    font-size: 1rem;
    color: var(--neutral-900);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--neutral-200);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.gross-color { background: var(--blue-strong); }
.employer-color { background: var(--blue-soft); }
.platform-color { background: var(--lavender-500); }
.net-color { background: var(--magenta-strong); }
.tax-color { background: var(--lavender-400); }

.swatch-gross { background: var(--blue-strong); }
.swatch-employer { background: var(--blue-soft); }
.swatch-platform { background: var(--lavender-500); }
.swatch-net { background: var(--magenta-strong); }
.swatch-tax { background: var(--lavender-400); }

.breakdown-pct {
    font-size: 0.85rem;
    color: var(--neutral-600);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* PDF Download Section */
.pdf-download-section {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-200);
}

.download-pdf-btn {
    background: linear-gradient(135deg, var(--blue-strong) 0%, var(--blue-soft) 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(70, 40, 140, 0.2);
}

.download-pdf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(70, 40, 140, 0.3);
}

.download-pdf-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(70, 40, 140, 0.2);
}

.download-pdf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.donut {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    position: relative;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--lavender-200) 0deg 360deg);
    box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.9), 0 4px 6px rgba(155, 143, 181, 0.15);
}

.donut-center {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 6px rgba(155, 143, 181, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.4rem;
    gap: 0.15rem;
}

.donut-value {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--neutral-900);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-variant-numeric: tabular-nums;
}

.donut-label {
    font-size: 0.78rem;
    color: var(--neutral-600);
}

.donut-percent {
    font-size: 0.8rem;
    color: var(--neutral-500);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-variant-numeric: tabular-nums;
}

.legend {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
}

.legend-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    align-items: center;
}

.swatch {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.legend-sub {
    color: var(--neutral-600);
    font-size: 0.9rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-variant-numeric: tabular-nums;
}

/* Cost Transparency Note Section */
.cost-transparency-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--neutral-50);
    border-radius: 8px;
    border-left: 4px solid var(--accent-navy);
}

.cost-transparency-note h3 {
    color: var(--accent-navy);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.cost-transparency-note p {
    font-size: 0.9rem;
    color: var(--neutral-700);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.contribution-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 1rem 0;
}

.contribution-list li {
    font-size: 0.9rem;
    color: var(--neutral-700);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.contribution-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-navy);
    font-weight: bold;
}

.transparency-disclaimer {
    font-size: 0.85rem;
    color: var(--neutral-600);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .calculator-wrapper {
        margin-top: 95px;
    }

    .donut {
        width: 200px;
        height: 200px;
    }

    .donut-center {
        width: 110px;
        height: 110px;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: var(--primary-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--neutral-200);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-navy);
    letter-spacing: 0px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-accent);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-navy);
}

.nav-cta {
    background: var(--accent-navy);
    color: white !important;
    padding: 0.7rem 1.6rem;
    border-radius: 6px;
    font-weight: 500;
    border: none;
    white-space: nowrap;
    min-width: 110px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: var(--accent-navy-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--neutral-900);
    transition: all 0.3s;
}

/* Main Container */
.main-container {
    margin-top: 88px; /* 80px navbar height + 8px spacing */
    display: flex;
    flex-direction: column;
    padding: 5px 5% 1rem;
    min-height: calc(100vh - 140px);
    position: relative;
}

/* ========================= */
/* Logo Background Animation */
/* ========================= */
.logo-bg-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(50vmin, 600px);
    height: min(40vmin, 380px);
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-bg-container .logo-bg-svg {
    display: none;
}

.logo-bg-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.85;
}

.logo-bg-svg {
    width: 45vmin;
    height: 45vmin;
    max-width: 450px;
    max-height: 450px;
    opacity: 0.85;
}

/* ========================= */
/* Logo Part Animations       */
/* ========================= */
/* Logo Part - Static SVG (no animations) */

/* Keep content above background */
.main-container,
.site-footer {
    position: relative;
    z-index: 1;
}

/* Ensure navbar always stays above page content */
.navbar {
    position: fixed;
    z-index: 1000;
}

@media (prefers-reduced-motion: reduce) {
    /* No logo animations to reduce */
}

/* Hero Box */
.hero-box {
    background: var(--primary-white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-box .logo-bg-svg {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.hero-box .hero-content,
.hero-box .badges {
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.service-label {
    color: var(--accent-navy-light);
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.main-heading {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--accent-navy);
    margin-bottom: 0.8rem;
}

.description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--neutral-700);
    border-left: 3px solid var(--accent-navy);
    padding-left: 1.5rem;
    max-width: 600px;
}

.badges {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.badge-icon {
    width: 45px;
    height: 45px;
    border: 2px solid var(--accent-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-navy);
    font-size: 1.2rem;
}

.badge span {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--accent-navy);
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 35% 30% 35%;
    gap: 0;
    flex: 0.3;
    margin-bottom: 0.5rem;
    min-height: 0;
    overflow: visible;
    padding-top: 2rem;
    padding-bottom: 1.2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    position: relative;
}

.column-1,
.column-2 {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.column-label {
    display: none;
}

/* Middle Bridge Column */
.column-mid {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.bridge-shape {
    position: relative;
    background: var(--lavender-100);
    border-top: 2px solid var(--accent-navy-light);
    border-bottom: 2px solid var(--accent-navy-light);
    border-left: 2px solid var(--accent-navy-light);
    border-right: none;
    border-radius: 0;
    padding: 2.5rem 2rem 2.5rem 2rem;
    margin-right: 28px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(155, 143, 181, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bridge-shape:hover {
    transform: translateX(3px);
    box-shadow: 0 8px 24px rgba(155, 143, 181, 0.3);
}

.bridge-shape::before {
    display: none;
}

.bridge-shape::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -28px;
    bottom: -2px;
    width: 30px;
    background: var(--accent-navy-light);
    clip-path: polygon(0 0, 0 100%, 100% 50%);
}

/* Inner fill triangle to match background */
.bridge-shape .bridge-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: -24px;
    bottom: 0;
    width: 26px;
    background: var(--accent-navy-light);
    clip-path: polygon(0 0, 0 100%, 100% 50%);
    pointer-events: none;
}

.bridge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.bridge-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.bridge-icon .svg-icon {
    width: 1.5em;
    height: 1.5em;
}

.bridge-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-navy);
    margin: 0;
    line-height: 1.3;
}

.bridge-text {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.6;
    margin: 0;
}

.bridge-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-navy);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.4rem;
    transition: gap 0.3s ease;
}

.bridge-shape:hover .bridge-arrow {
    gap: 0.7rem;
}

.arrow-label {
    white-space: nowrap;
}

.column-2 {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.section-a,
.section-b {
    position: relative;
    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.section-a {
    padding: 1.5rem;
    border-radius: 8px;
}

.section-label {
    display: none;
}

/* Resources Section */
.resources-section {
    margin-bottom: 0;
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.resources-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.resources-list li {
    position: relative;
    padding-left: 1.5rem;
}

.resources-list a {
    color: var(--accent-navy);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.7;
    transition: all 0.3s;
    font-weight: 400;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    display: inline-block;
    background: var(--accent-navy);
    color: white;
    opacity: 1;
}

.resources-list a:hover {
    opacity: 0.9;
    text-decoration: none;
    transform: translateX(4px);
}

/* Pricing Calculator Box */
.pricing-box {
    flex: 0.6;
    background: var(--accent-navy);
    border-radius: 8px;
    padding: 2rem;
    /* padding-left: 3rem; */
    /* padding-right: 3rem; */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    white-space: normal;
    width: 100%;
    min-width: 0;
    max-width: 500px;
}

.pricing-box h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.3rem;
}

.best-value {
    color: #F5F5F5;
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.pricing-subtitle {
    color: #F5F5F5;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.toggle-option {
    background: transparent;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    border: 1px solid white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 0.85rem;
}

.toggle-option.active {
    background: #F5F5F5;
    color: #1d0951;
    border: 1px solid #F5F5F5;
}

.toggle-option:hover {
    transform: scale(1.05);
}

.price-note {
    color: #F5F5F5;
    font-size: 0.85rem;
    font-weight: 400;
}

.price-display {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.3rem;
}

.price-display .currency {
    font-size: 1.3rem;
}

.price-display .period {
    font-size: 1rem;
    font-weight: 400;
}

/* Calculator Box */
.calculator-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.calculator-btn {
    background: var(--accent-navy);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    white-space: nowrap;
    min-width: fit-content;
    max-width: 100%;
    height: auto;
}

.calculator-btn:hover {
    background: var(--accent-navy-light);
    color: white;
}

/* Partners Section */
.partners-section {
    background: transparent;
    padding: 0.8rem 1rem;
    overflow: hidden;
    position: relative;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partners-title {
    color: var(--neutral-800);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    text-align: center;
}

.partners-label {
    text-align: center;
    color: white;
    background: var(--accent-navy);
    padding: 0.6rem 2rem;
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 10;
}

.partners-slider {
    display: flex;
    padding-top: 0;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.partner-item {
    min-width: 110px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    border: 2px solid var(--neutral-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.6rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-item:hover {
    border-color: var(--accent-navy);
    box-shadow: 0 4px 16px rgba(10, 31, 94, 0.2);
    transform: translateY(-2px);
}

.partner-logo {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.partner-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--neutral-900);
    text-align: center;
    line-height: 1.2;
}

/* Content Page Styles */
.content-page {
    max-width: 1100px;
    margin: 100px auto 50px;
    padding: 3rem 5%;
    background: var(--primary-white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(10, 31, 94, 0.12), 0 2px 8px rgba(155, 143, 181, 0.15);
}

.content-page.content-page-fluid {
    max-width: none;
    width: 100%;
}

.content-page.content-page-wide {
    max-width: min(92vw, 1300px);
}

/* Guide / Resource Pages */
body.guide-page {
    background-color: var(--neutral-50);
    color: var(--neutral-700);
}

.guide-main {
    display: block;
}

.guide-page header {
    margin: 100px auto 0;
}

.guide-page .container {
    max-width: 100%;
    margin: 0 auto 24px;
    padding: 2.5rem 5%;
    background: var(--primary-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(155, 143, 181, 0.1);
}

.guide-page h1 {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    color: var(--accent-navy);
    text-align: center;
}

.guide-page .subtitle {
    text-align: center;
    color: var(--neutral-600);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.guide-page .content-section h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
    color: var(--neutral-900);    
}

.guide-page .content-section .cta-section h2 {
    color: #ffffff;
}

.guide-page .content-section h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
    color: var(--accent-navy);
}

.guide-page p,
.guide-page li {
    line-height: 1.7;
    font-size: 1.02rem;
    color: var(--neutral-700);
}

.guide-page ul:not(.nav-links),
.guide-page ol {
    margin-left: 1.4rem;
    margin-bottom: 1rem;
    display: grid;
    gap: 0.35rem;
}

.guide-page .info-table,
.guide-page .comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.guide-page .info-table th,
.guide-page .info-table td,
.guide-page .comparison-table th,
.guide-page .comparison-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
}

.guide-page .info-table thead th,
.guide-page .comparison-table thead th {
    background: var(--lavender-100);
    color: var(--neutral-900);
    font-weight: 600;
}

.guide-page .info-table tbody tr:nth-child(odd),
.guide-page .comparison-table tbody tr:nth-child(odd) {
    background: var(--lavender-100);
}

.guide-page .pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1rem 0 1.5rem;
}

.guide-page .pros,
.guide-page .cons,
.guide-page .highlight-box,
.guide-page .warning-box,
.guide-page .critical-box,
.guide-page .success-box,
.guide-page .calculation-example,
.guide-page .checklist,
.guide-page .step-card {
    background: var(--primary-white);
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 2px 4px rgba(155, 143, 181, 0.1);
}

/* Visa Grid Styling */
.guide-page .visa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.guide-page .visa-card {
    background: var(--primary-white);
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(155, 143, 181, 0.1);
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.guide-page .visa-card:hover {
    box-shadow: 0 4px 8px rgba(155, 143, 181, 0.2);
    transform: translateY(-2px);
    border-color: var(--lavender-300);
}

.guide-page .visa-tag {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: white;
}

.guide-page .visa-tag.most-common,
.guide-page .visa-tag.business,
.guide-page .visa-tag.employment,
.guide-page .visa-tag.regional {
    background: var(--accent-navy);
}

.guide-page .highlight-box {
    border-left: 4px solid var(--accent-navy);
    background: var(--lavender-100);
}

.guide-page .warning-box,
.guide-page .critical-box {
    border-left: 4px solid #e0a000;
    background: #fff8e6;
    margin-bottom: 1.5rem;
}

.guide-page .success-box {
    border-left: 4px solid #3fa372;
    background: #eaf7f1;
}

.guide-page .pros h4,
.guide-page .cons h4,
.guide-page .highlight-box h3,
.guide-page .warning-box h3,
.guide-page .critical-box h3,
.guide-page .success-box h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.guide-page .quick-facts,
.guide-page .step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1rem 0 1.5rem;
}

.guide-page .fact-card,
.guide-page .step-card {
    text-align: center;
}

.guide-page .fact-label {
    font-size: 0.9rem;
    color: #777;
}

.guide-page .fact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.guide-page .step-number {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    background: var(--accent-navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.guide-page .visa-card h3 {
    color: #1e3a8a;
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.guide-page .visa-card p {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

.guide-page .visa-card p:last-child {
    margin-bottom: 0;
}

.guide-page .cta-section {
    text-align: center;
    margin: 2rem 0 1rem;
    padding: 0.5rem;
    padding-bottom: 1rem;
}

.guide-page .cta-button {
    display: inline-block;
    background: var(--accent-navy);
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.guide-page .cta-button:hover {
    background: var(--accent-navy-light);
}

.guide-page .quick-stats,
.guide-page .comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.guide-page .stat-card,
.guide-page .comparison-card {
    background: var(--bg-white);
    border: 1px solid #f0e8e2;
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.guide-page .stat-card {
    border-left: 4px solid var(--accent-navy);
}

.guide-page .stat-label {
    font-size: 0.9rem;
    color: var(--neutral-600);
    font-weight: 600;
}

.guide-page .stat-detail {
    font-size: 0.82rem;
    color: var(--neutral-500);
    margin-top: 0.25rem;
    line-height: 1.4;
}

.guide-page .stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-navy);
    margin-top: 0.35rem;
}

.guide-page .comparison-card h3 {
    margin-top: 0;
    color: var(--accent-navy);
}

.guide-page .quick-fact {
    background: var(--lavender-100);
    padding: 0.75rem;
    margin: 0.4rem 0;
    border-radius: 6px;
    border-left: 3px solid var(--accent-navy);
    color: var(--neutral-700);
}

.guide-page .expandable {
    margin: 1.5rem 0;
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(155, 143, 181, 0.1);
    background: var(--primary-white);
}

.guide-page .expandable-header {
    background: var(--lavender-100);
    padding: 1rem 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background 0.2s ease;
    border-left: 4px solid var(--accent-navy);
}

.guide-page .expandable-header:hover {
    background: var(--lavender-200);
}

.guide-page .expandable-header h3 {
    margin: 0;
    font-size: 1.08rem;
    color: var(--neutral-900);
    font-weight: 600;
}

.guide-page .expand-icon {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-navy);
    transition: transform 0.25s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Expandable content: JS sets display via style.display; this hides by default */
.guide-page .expandable-content {
    display: none;
    border-top: 1px solid var(--neutral-200);
}

.guide-page .expandable.active .expandable-content {
    display: block;
}

.guide-page .expandable.active .expand-icon {
    transform: rotate(45deg);
}

.guide-page .expandable-content-inner {
    padding: 1.2rem 1.25rem;
    color: var(--neutral-700);
}

.guide-page .expandable-content-inner ul {
    list-style: disc;
    margin-left: 1.5rem;
}

.guide-page .expandable-content-inner li {
    margin-bottom: 0.5rem;
}

.guide-page .expandable-content-inner p {
    margin-bottom: 1rem;
}

.content-page h1 {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--accent-navy);
    margin-bottom: 1.5rem;
}

.content-page h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--neutral-900);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--neutral-700);
    margin-bottom: 1.5rem;
}

.content-page ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-page ul li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--neutral-700);
    margin-bottom: 0.5rem;
}

/* Feature highlight blocks (About page Why Choose Us) */
.feature-highlight {
    text-align: center;
    padding: 1.5rem 1rem;
}

.feature-highlight .feature-icon {
    font-size: 2rem;
    color: var(--accent-navy);
    margin-bottom: 0.75rem;
}

.feature-highlight h3 {
    margin-bottom: 0.5rem;
    color: var(--neutral-900);
    font-size: 1rem;
}

.feature-highlight p {
    font-size: 0.9rem;
    color: var(--neutral-600);
    margin: 0;
}

/* About Us Layout Helpers */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.two-col-grid-sm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .two-col-grid,
    .three-col-grid,
    .two-col-grid-sm {
        grid-template-columns: 1fr;
    }
}

/* About Us - Info Cards */
.info-card {
    background: var(--lavender-100);
    border-radius: 10px;
    padding: 1.8rem 2rem;
    border: 1px solid var(--lavender-200);
    box-shadow: 0 4px 14px rgba(10, 31, 94, 0.08), 0 1px 4px rgba(155, 143, 181, 0.12);
    transition: box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
}

.info-card:hover {
    box-shadow: 0 6px 20px rgba(10, 31, 94, 0.14), 0 2px 6px rgba(155, 143, 181, 0.18);
}

/* Contact Container */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-info,
.contact-form-wrapper {
    background: var(--lavender-100);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--lavender-200);
    box-shadow: 0 4px 14px rgba(10, 31, 94, 0.08), 0 1px 4px rgba(155, 143, 181, 0.12);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--accent-navy);
}

.contact-item p {
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

.info-card h2 {
    margin-top: 0;
    color: var(--accent-navy);
}

.info-card p {
    margin-bottom: 0.8rem;
}

.about-list {
    list-style: none;
    margin-left: 0 !important;
    padding: 0;
}

.about-list li {
    padding: 0.6rem 0 0.6rem 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--lavender-200);
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-navy);
    font-weight: bold;
}

.back-link {
    display: inline-block;
    color: var(--accent-navy);
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--accent-navy-light);
}

.back-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.back-nav .back-link {
    margin-bottom: 0;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--lavender-300);
    background: var(--lavender-100);
    font-weight: 600;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.back-nav .back-link:hover {
    background: var(--accent-navy);
    color: var(--primary-white);
    border-color: var(--accent-navy);
}

.back-button {
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
}

#scrollTopBtn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--accent-navy);
    color: var(--primary-white);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(10, 31, 94, 0.3);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
    z-index: 999;
}

#scrollTopBtn:hover {
    background: var(--accent-navy-light);
}

#scrollTopBtn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

/* Note: .form-group label, input, select, textarea defined in the Calculator section above.
   The contact/get-started form inherits the same base styles. */

/* Note: .submit-btn is defined once in the Calculator section above */

/* Responsive Design for Mid-range Devices */
@media (max-width: 900px) {
    .section-a,
    .section-b {
        flex: none;
        justify-content: flex-start;
    }

    .column-2 {
        gap: 0.2rem;
    }
}

/* Responsive Design */
@media (max-width: 1630px) {
    .hero-box {
        flex-wrap: wrap;
        align-items: stretch;
        gap: 1rem;
    }

    .hero-content {
        order: 1;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .badges {
        order: 2;
        flex: 1 1 260px;
        margin-top: 0;
    }

    .hero-actions {
        order: 3;
        flex: 1 1 500px;
    }
}

@media (max-width: 1200px) {
    .hero-box {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .hero-content,
    .badges,
    .hero-actions,
    .section-a,
    .section-b {
        width: 100%;
        max-width: 100%;
    }

    .badges {
        gap: 1rem;
        justify-content: flex-start;
    }

    .section-a {
        padding: 0;
    }

    .pricing-calculator-box {
        flex-direction: column;
    }

    .resources-list {
        grid-template-columns: 1fr;
    }

    .main-heading {
        font-size: 2rem;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 1.5rem;
        padding-bottom: 1rem;
        margin-bottom: 0.95rem;
        overflow: visible;
    }

    .column-1,
    .column-2 {
        width: 100%;
        padding: 1.25rem;
    }

    .column-mid {
        padding: 0.5rem 1.25rem;
    }

    .bridge-shape {
        padding: 1.5rem 1.2rem;
        max-width: 100%;
        margin-right: 0;
        border-top: 2px solid var(--accent-navy-light);
        border-bottom: 2px solid var(--accent-navy-light);
        border-left: 2px solid var(--accent-navy-light);
        border-right: 2px solid var(--accent-navy-light);
        border-radius: 0;
    }

    .bridge-shape::before {
        display: none;
    }

    .bridge-shape::after,
    .bridge-shape .bridge-content::after {
        display: none;
    }

    .bridge-content {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        align-items: center;
    }

    .bridge-title {
        font-size: 1rem;
    }

    .bridge-text {
        font-size: 0.85rem;
    }

    .bridge-icon {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }

    .bridge-arrow {
        font-size: 0.85rem;
    }

    .bridge-arrow svg {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 3%;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        min-width: 100px;
        margin: 0.5rem auto;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .main-container {
        padding: 5px 2% 0.5rem;
    }

    .hero-box {
        padding: 1.2rem 0.9rem;
        gap: 0.9rem;
    }

    .main-heading {
        font-size: 1.6rem;
    }

    .description {
        font-size: 0.95rem;
    }

    .badges {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .badge {
        width: 100%;
    }

    .content-page {
        padding: 2rem 5%;
        margin: 80px auto 30px;
    }

    .content-page h1 {
        font-size: 1.8rem;
    }

    .content-page h2 {
        font-size: 1.4rem;
    }

    .two-column-layout {
        padding-top: 0.75rem;
        padding-bottom: 0.5rem;
        margin-bottom: 0.15rem;
    }

    .column-mid {
        padding: 0.5rem 1rem;
    }

    .bridge-shape {
        padding: 1rem 0.8rem;
    }

    .bridge-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .bridge-icon {
        width: 36px;
        height: 36px;
    }

    .bridge-icon .svg-icon {
        width: 1.1em;
        height: 1.1em;
    }

    .bridge-title {
        font-size: 0.85rem;
    }

    .bridge-text {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .bridge-arrow {
        font-size: 0.75rem;
    }

    .column-1,
    .column-2 {
        padding: 1rem;
    }

    .pricing-box {
        padding: 1.2rem;
        /* padding-left: 2rem; */
        /* padding-right: 2rem; */
        min-width: 0;
        max-width: 100%;
        font-size: 0.95rem;
    }

    .toggle-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .toggle-option {
        width: 100%;
        padding: 0.45rem 0.6rem;
        font-size: 0.8rem;
    }

    .toggle-container .toggle-option:last-child {
        grid-column: 1 / -1;
    }

    .calculator-box {
        width: 100%;
        max-width: 100%;
    }

    .calculator-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .back-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
    }

    #scrollTopBtn {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 2px 1.5% 0.25rem;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 0.75rem;
        padding-bottom: 0.5rem;
        margin-bottom: 0.1rem;
    }

    .column-1,
    .column-2 {
        padding: 0.75rem;
    }

    .bridge-shape {
        padding: 0.8rem 0.6rem;
        margin-right: 0;
    }

    .bridge-icon {
        width: 30px;
        height: 30px;
    }

    .bridge-icon .svg-icon {
        width: 1em;
        height: 1em;
    }

    .bridge-title {
        font-size: 0.75rem;
    }

    .bridge-text {
        font-size: 0.68rem;
        line-height: 1.3;
    }

    .bridge-arrow {
        font-size: 0.68rem;
    }

    .hero-box {
        padding: 1rem 0.75rem;
    }

    .toggle-container {
        grid-template-columns: 1fr;
    }

    .toggle-container .toggle-option:last-child {
        grid-column: auto;
    }
}

/* Services Page Styles */
.content-page.services-page {
    max-width: none;
    width: 100%;
    margin: 100px 0 0;
    padding: 2rem 20px;
}

.services-page {
    padding: 2rem 5%;
    margin: 100px auto 0;
    background: none;
    color: var(--neutral-700);
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-900);
}

.services-header h1 .highlight {
    color: var(--accent-navy);
}

.services-header p {
    font-size: 1.1rem;
    color: var(--neutral-600);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(155, 143, 181, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--neutral-200);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(155, 143, 181, 0.2);
    border-color: var(--lavender-300);
}

.service-icon {
    font-size: 3rem;
    /* background: var(--lavender-200); */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-navy);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.service-subtitle {
    font-style: italic;
    color: var(--accent-navy);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--neutral-700);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more-btn {
    background: transparent;
    color: var(--accent-navy);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 500;
}

.learn-more-btn:hover {
    color: var(--accent-navy-light);
    text-decoration: underline;
}

/* Service Details (hidden by default) */
.service-details {
    margin-top: 1rem;
    text-align: left;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-200);
}

.service-details h4 {
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details li {
    color: var(--neutral-700);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.service-details li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-navy);
    font-weight: bold;
}

/* Modal Styles */
.service-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.service-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Visa Modal */
#visaModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

#visaModal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    z-index: 2001;
}

#visaModal .modal-content {
    max-width: 700px;
}

#visaModal .modal-content h2 {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #2c2c2c;
}

#modalBody {
    padding-top: 1rem;
}

#modalBody h4 {
    color: #2c2c2c;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

#modalBody ul {
    list-style: none;
    padding: 0;
}

#modalBody li {
    color: #555;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

#modalBody li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-navy);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-header h1 {
        font-size: 2rem;
    }

    .services-header p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

/* Visa Guide Specific Styles — additional card variants */
.guide-page .visa-card {
    background: var(--primary-white);
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(155, 143, 181, 0.1);
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.guide-page .visa-card:hover {
    box-shadow: 0 4px 8px rgba(155, 143, 181, 0.2);
    transform: translateY(-2px);
    border-color: var(--lavender-300);
}

.guide-page .visa-card h3 {
    color: var(--accent-navy);
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.guide-page .visa-card p {
    color: var(--neutral-600);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

.guide-page .visa-card p:last-child {
    margin-bottom: 0;
}

.guide-page .visa-tag {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: white;
    background: var(--accent-navy);
}

/* CTA Section */
.cta-section {
    background: var(--medium-dark);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.cta-section h2 {
    color: #ffffff;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.cta-section p {
    color: var(--neutral-100);
    margin: 0 auto 1.1rem;
    max-width: 760px;
    line-height: 1.7;
}

/* Site Footer */
.site-footer {
    border-top: 1px solid var(--neutral-200);
    padding: 1rem 2rem;
    color: var(--neutral-700);
    background: transparent;
    text-align: center;
    font-size: 0.9rem;
}

/* ========================= */
/* Pricing Page Styles        */
/* ========================= */
.pricing-container {
    margin: 100px auto 50px;
    padding: 3rem 5%;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header h1 {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--accent-navy);
    margin-bottom: 1rem;
}

.pricing-header p {
    font-size: 1.1rem;
    color: var(--neutral-700);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    background: white;
    border: 2px solid var(--accent-navy);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-navy);
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.pricing-card h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--accent-navy);
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-navy);
    margin-bottom: 0.5rem;
}

.price .currency {
    font-size: 1.8rem;
}

.price .period {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--neutral-600);
}

.billing-note {
    color: var(--neutral-600);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--neutral-700);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '✓';
    color: var(--accent-navy);
    font-weight: bold;
    font-size: 1.2rem;
}

.pricing-container .cta-button {
    background: var(--accent-navy);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
    width: 100%;
    text-decoration: none;
    display: inline-block;
}

.pricing-container .cta-button:hover {
    background: var(--accent-navy-light);
}

.additional-costs {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.additional-costs h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--accent-navy);
    margin-bottom: 1.5rem;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
}

.cost-table th,
.cost-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--neutral-200);
}

.cost-table th {
    font-weight: 600;
    color: var(--accent-navy);
    background: #9db8fd7d;
}

.cost-table td {
    color: var(--neutral-700);
}

.faq-section {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-section h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--accent-navy);
    margin-bottom: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent-navy);
    margin-bottom: 0.8rem;
}

.faq-item p {
    color: var(--neutral-700);
    line-height: 1.8;
}

@media (max-width: 1200px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-container {
        padding: 1.5rem 5%;
    }

    .pricing-header h1 {
        font-size: 2rem;
    }

    .pricing-header p {
        font-size: 1rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-card h2 {
        font-size: 1.5rem;
    }

    .price {
        font-size: 2.5rem;
    }

    .price .currency {
        font-size: 1.5rem;
    }

    .price .period {
        font-size: 1rem;
    }

    .additional-costs,
    .faq-section {
        padding: 1.5rem;
    }

    .additional-costs h2,
    .faq-section h2 {
        font-size: 1.5rem;
    }

    .cost-table th,
    .cost-table td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* ========================= */
/* Visa Types Page Styles     */
/* ========================= */
.visa-types-page .container {
    width: min(1200px, 92vw);
    margin: 0 auto 24px;
    padding: 2rem clamp(1rem, 2vw, 2rem);
}

.visa-types-page .visa-header .container,
.visa-types-page > .container {
    background: var(--primary-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(155, 143, 181, 0.1);
}

.visa-types-page .visa-header {
    margin-top: calc(80px + 2rem);
}

.visa-types-page .visa-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--neutral-200);
}

.visa-types-page > .container {
    margin-top: 2rem;
}

.visa-types-page .visa-header-brand {
    min-width: 0;
    display: grid;
    gap: 0.35rem;
}

.visa-types-page .visa-header-eyebrow {
    margin: 0;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-navy);
    font-weight: 700;
}

.visa-types-page .visa-header h1 {
    margin: 0;
    color: var(--accent-navy);
    font-size: clamp(1.5rem, 2.7vw, 2.2rem);
    line-height: 1.2;
}

.visa-types-page .visa-header .subtitle {
    margin: 0;
    color: var(--neutral-600);
    font-size: 1rem;
}

.visa-types-page .header-nav {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.visa-types-page .header-nav a {
    text-decoration: none;
    color: var(--accent-navy);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--lavender-300);
    background: var(--lavender-100);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.visa-types-page .header-nav a:hover {
    color: #ffffff;
    background: var(--accent-navy);
    border-color: var(--accent-navy);
}

.visa-types-page .visa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.visa-types-page .visa-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.visa-types-page .visa-card:hover {
    border-color: var(--accent-navy);
    box-shadow: 0 4px 12px rgba(10, 31, 94, 0.2);
    transform: translateY(-2px);
}

.visa-types-page .visa-card h3 {
    margin-top: 0;
    color: var(--accent-navy);
    font-size: 1.2rem;
}

.visa-types-page .visa-card p {
    color: #2a2a2a;
}

.visa-types-page .learn-more-btn {
    background: var(--accent-navy);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem;
    width: 100%;
    transition: background 0.2s;
}

.visa-types-page .learn-more-btn:hover {
    background: var(--accent-navy-light);
}

.visa-types-page .content-section {
    display: grid;
    gap: 1.6rem;
}

.visa-types-page .content-section h2 {
    margin-top: 1.4rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    color: var(--neutral-900);
}

.visa-types-page .content-section > p,
.visa-types-page .content-section li {
    line-height: 1.7;
    color: var(--neutral-700);
}

.visa-types-page .success-box {
    /* margin-inline: auto; */
    max-width: 760px;
    width: 100%;
    padding: 1rem 3rem;
    border-radius: 14px;
    border-left: 4px solid #3fa372;
    background: #eaf7f1;
    box-shadow: 0 4px 12px rgba(63, 163, 114, 0.16);
}

.visa-types-page .success-box h3,
.visa-types-page .success-box p,
.visa-types-page .success-box li {
    color: #1f3e31;
}

.visa-types-page .success-box h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    line-height: 1.3;
}

.visa-types-page .success-box p {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.visa-types-page .success-box ul {
    margin-left: 1.3rem;
    display: grid;
    gap: 0.4rem;
}

.visa-types-page .additional-visa-layout,
.visa-types-page .key-questions-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.visa-types-page .key-questions-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visa-types-page .key-questions-layout .success-box {
    margin: 0;
    max-width: none;
}

.visa-types-page .key-questions-layout .expandable:nth-child(3) {
    grid-column: 1 / -1;
}

.visa-types-page .expandable {
    margin: 0;
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    overflow: hidden;
    background: var(--primary-white);
    box-shadow: 0 2px 6px rgba(10, 31, 94, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.visa-types-page .expandable:hover {
    transform: translateY(-2px);
    border-color: var(--lavender-300);
    box-shadow: 0 8px 18px rgba(10, 31, 94, 0.12);
}

.visa-types-page .expandable-header {
    background: var(--lavender-100);
    padding: 1rem 1.15rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid var(--accent-navy);
}

.visa-types-page .expandable-header h3 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.35;
    color: var(--neutral-900);
}

.visa-types-page .expand-icon {
    font-size: 1.35rem;
    color: var(--accent-navy);
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.visa-types-page .expandable-content {
    display: none;
    border-top: 1px solid var(--neutral-200);
}

.visa-types-page .expandable.active .expandable-content {
    display: block;
}

.visa-types-page .expandable.active .expand-icon {
    transform: rotate(45deg);
}

.visa-types-page .expandable-content-inner {
    padding: 1.1rem 1.15rem 1.2rem;
}

.visa-types-page .expandable-content-inner p {
    margin-bottom: 0.8rem;
    line-height: 1.65;
}

.visa-types-page .expandable-content-inner ul {
    margin-left: 1.2rem;
    display: grid;
    gap: 0.35rem;
}

.visa-types-page .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
}

.visa-types-page .info-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    min-width: 620px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--primary-white);
    box-shadow: 0 4px 10px rgba(10, 31, 94, 0.1);
}

.visa-types-page .info-table thead th {
    background: var(--lavender-100);
    color: var(--neutral-900);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.visa-types-page .info-table th,
.visa-types-page .info-table td {
    padding: 0.95rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--neutral-200);
}

.visa-types-page .info-table tbody tr:nth-child(even) {
    background: var(--neutral-50);
}

.visa-types-page .info-table tbody tr:hover {
    background: var(--lavender-100);
}

.visa-types-page .how-umurimo-box {
    max-width: 820px;
    background: linear-gradient(180deg, #edf9f2 0%, #e4f4ec 100%);
}

.visa-types-page .how-umurimo-box .value-lead {
    font-size: 1.08rem;
    font-weight: 700;
    color: #18503a;
    margin-bottom: 0.45rem;
}

.visa-types-page .how-umurimo-box .value-intro {
    font-size: 1rem;
}

.visa-types-page .how-umurimo-box ul li::marker {
    color: #3fa372;
}

.visa-types-page .cta-section {
    margin-top: 2rem;
    padding: 2.25rem 1.5rem;
    background: var(--accent-navy);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(10, 31, 94, 0.3);
    text-align: center;
}

.visa-types-page .cta-section h2,
.visa-types-page .cta-section p {
    color: #ffffff;
}

.visa-types-page .cta-section p {
    max-width: 700px;
    margin: 0.4rem auto 1.2rem;
}

.visa-types-page .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    border-radius: 999px;
    border: 1px solid var(--primary-white);
    background: var(--primary-white);
    color: var(--accent-navy);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.visa-types-page .cta-button:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.26);
}

/* Visa Types Modal Styles */
.visa-types-page .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    animation: visaFadeIn 0.3s ease-out;
}

.visa-types-page .modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.visa-types-page .modal {
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: visaSlideUp 0.3s ease-out;
    position: relative;
}

.visa-types-page .modal-header {
    background: var(--accent-navy);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.visa-types-page .modal-header h3 {
    margin: 0;
    color: white;
    font-size: 1.5rem;
}

.visa-types-page .modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.visa-types-page .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.visa-types-page .modal-body {
    padding: 2rem;
}

.visa-types-page .modal-tag {
    display: inline-block;
    background: var(--lavender-100);
    color: var(--accent-navy);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

@keyframes visaFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes visaSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .visa-types-page .visa-header {
        margin-top: calc(80px + 1.5rem);
    }

    .visa-types-page > .container {
        margin-top: 1.25rem;
    }

    .visa-types-page .container {
        width: min(1200px, 94vw);
        padding: 1.25rem 1rem;
    }

    .visa-types-page .visa-header .container {
        align-items: flex-start;
        gap: 1rem;
    }

    .visa-types-page .header-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .visa-types-page .visa-grid {
        grid-template-columns: 1fr;
    }

    .visa-types-page .additional-visa-layout,
    .visa-types-page .key-questions-layout {
        grid-template-columns: 1fr;
    }

    .visa-types-page .key-questions-layout .expandable:nth-child(3) {
        grid-column: auto;
    }

    .visa-types-page .modal {
        max-height: 90vh;
    }

    .visa-types-page .modal-header {
        padding: 1rem 1.5rem;
    }

    .visa-types-page .modal-body {
        padding: 1.5rem;
    }

    .visa-types-page .success-box {
        padding: 0.9rem 1.2rem;
    }

    .visa-types-page .table-responsive {
        margin-top: 0.25rem;
    }
}

@media (max-width: 560px) {
    .visa-types-page .visa-header .container {
        flex-direction: column;
    }

    .visa-types-page .header-nav a {
        font-size: 0.85rem;
    }
}

.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .guide-page .info-table,
    .guide-page .comparison-table,
    .cost-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Print / PDF Generation Styles */
@media print {
    body {
        margin: 0 !important;
        padding: 0 !important;
    }
    .navbar, .site-footer, .back-link {
        display: none !important;
    }
    .content-page, .guide-page .container {
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
}

