/**
 * TourBook Africa - Visa Requirements Page Styles
 * Production-ready CSS with optimizations
 * @version 2.0.0
 */

/* CSS Variables for theming */
:root {
    --primary-color: #135bec;
    --primary-hover: #0e4ac5;
    --background: #f6f6f8;
    --surface: #ffffff;
    --text-primary: #111318;
    --text-secondary: #616f89;
    --border: #e5e7eb;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 0.75rem;
    --radius-full: 9999px;
    --font-family: 'Public Sans', 'Noto Sans', sans-serif;
}

/* Base styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide placeholder on focus for all form inputs */
#origin-desktop-input:focus::placeholder,
#passport-desktop-input:focus::placeholder,
#destination-desktop-input:focus::placeholder,
#origin-input-field:focus::placeholder,
#issuing-country-input-field:focus::placeholder,
#destination-input-field:focus::placeholder,
.country-input-field:focus::placeholder {
    opacity: 0;
    transition: opacity 0.2s ease;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Header styles */
header:not(.brand-filter-title) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2001;
    height: 4rem;
    width: 100%;
    max-width: 100%;
    border-bottom: none;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    overflow-x: hidden;
    transform: translateY(0);
    transition: transform 0.25s ease-out;
    will-change: transform;
}

header:not(.brand-filter-title).hidden {
    transform: translateY(-100%);
}

.header-wrapper {
    width: 100%;
    height: 100%;
    padding: 0 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 1;
    justify-content: flex-start;
    min-width: 0;
    max-width: calc(100% - 4rem);
    overflow: visible;
}

.logo-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 2px solid #48831f;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.logo-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.15);
    border: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    font-family: 'Yeseva One', 'Playfair Display', serif;
    white-space: nowrap;
    position: relative;
    display: inline-block;
    background: linear-gradient(120deg, #7B3F00 0%, #7B3F00 32%, #fff 36%, #ffd700 40%, #fff 44%, #7B3F00 48%, #7B3F00 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: shimmer-wave 16s linear infinite;
    flex-shrink: 1;
    margin: 0;
    min-width: 0;
}

@keyframes shimmer-wave {
    0% { background-position: 400% 0; }
    100% { background-position: 0% 0; }
}

/* Logo Motto Banner - replaces text */
.logo-motto-banner-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.logo-motto-banner {
    height: 42px;
    max-width: 200px;
    object-fit: contain;
    flex-shrink: 1;
    min-width: 0;
    display: block;
}

.logo-motto-banner-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 100%
    );
    animation: shimmer-banner 14s ease-in-out infinite;
}

@keyframes shimmer-banner {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 150%;
    }
}

@media (min-width: 768px) {
    .logo-motto-banner {
        height: 48px;
        max-width: 220px;
    }
}

@media (min-width: 1280px) {
    .logo-motto-banner {
        height: 52px;
        max-width: 240px;
    }
}

.mobile-menu-button {
    display: block;
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}

.mobile-menu-icon {
    font-size: 1.875rem;
}

/* Header Auth Buttons - Desktop Only */
.header-auth-buttons {
    display: none;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.header-banner-img {
    height: 3.3rem;
    width: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.header-banner-img:hover {
    transform: scale(1.02);
}

/* Coming Soon Tooltip */
.banner-tooltip {
    position: fixed;
    background: #FFD700;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    max-width: calc(100vw - 20px);
}

.banner-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.banner-tooltip::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent #FFD700 transparent;
}

.header-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.2s ease;
    white-space: nowrap;
    background-color: transparent;
    border: 1.5px solid #7B3F00;
    color: #7B3F00;
}

.header-auth-btn .material-symbols-outlined {
    font-size: 1rem;
}

.header-login-btn:hover {
    background-color: rgba(123, 63, 0, 0.1);
}

.header-signup-btn {
    background-color: #7B3F00;
    color: #ffffff;
    border-color: #7B3F00;
}

.header-signup-btn:hover {
    background-color: #5a2e00;
    border-color: #5a2e00;
}

/* Header Auth Buttons Animation - fade out when navbar hides */
header.hidden .header-auth-buttons {
    opacity: 0;
    transform: translateY(-10px);
}

/* Show auth buttons on desktop */
@media (min-width: 1024px) {
    .header-auth-buttons {
        display: flex;
    }
}

/* Tab Bar Styles */
.tab-bar {
    display: none;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    z-index: 2000;
    width: 100%;
    height: 3.5rem;
    border-top: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    backdrop-filter: blur(4px);
    margin: 0;
    padding: 0;
    transform: translateY(0);
    transition: transform 0.25s ease-out;
    will-change: transform;
}

.tab-bar.navbar-hidden {
    transform: translateY(-4rem);
}

.tab-bar .container {
    padding-top: 0;
    padding-bottom: 0;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.tab-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.5rem 1rem;
    height: 3.5rem;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.tab-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: auto;
    padding: 0.25rem 1rem;
    color: #000000;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 2px solid #000000;
    border-radius: 9999px;
    background-color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-link .material-icons-outlined {
    font-size: 1.125rem;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    color: #48831f;
}

.tab-link:hover {
    color: #00D100;
    background-color: #ffffff;
    border-color: #00D100;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab-link:hover .material-icons-outlined {
    color: #00D100;
}

.tab-link.active {
    background-color: #00D100;
    color: #ffffff;
    border-color: #00D100;
}

.tab-link.active .material-icons-outlined {
    color: #ffffff;
}

.tab-link.active:hover {
    background-color: #00B800;
    border-color: #00B800;
    color: #ffffff;
}

/* Tab Bar Banner - Hidden by default, appears on right near auth buttons when navbar hides */
.tab-banner {
    position: absolute;
    right: 14.5rem;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s ease-out;
    pointer-events: none;
    height: 100%;
    display: flex;
    align-items: center;
}

.tab-banner-img {
    height: 2.75rem;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.tab-banner-img:hover {
    transform: scale(1.02);
}

/* Tab Bar Banner - appear when navbar hides */
.tab-bar.navbar-hidden .tab-banner {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.tab-bar.navbar-hidden .tab-banner-img {
    pointer-events: auto;
    position: relative;
    z-index: 100;
}

/* Compact banner for 1440px screen width */
@media (min-width: 1400px) and (max-width: 1500px) {
    .tab-banner-img {
        height: 2.5rem;
        max-width: 140px;
    }

    .tab-banner {
        right: 15rem;
    }
}

/* Compact banner on smaller desktops to prevent overlap */
@media (min-width: 768px) and (max-width: 1400px) {
    .tab-banner-img {
        height: 1.75rem;
        max-width: 80px;
    }

    .tab-banner {
        right: 15rem;
    }
}

/* Tab Bar Auth Buttons - Hidden by default, appear when navbar hides */
.tab-auth-buttons {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s ease-out;
    pointer-events: none;
}

.tab-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    background-color: transparent;
    border: 1.5px solid #7B3F00;
    color: #7B3F00;
}

.tab-auth-btn .material-symbols-outlined {
    font-size: 1rem;
}

.tab-login-btn:hover {
    background-color: rgba(123, 63, 0, 0.1);
}

.tab-signup-btn {
    background-color: #7B3F00;
    color: #ffffff;
    border-color: #7B3F00;
}

.tab-signup-btn:hover {
    background-color: #5a2e00;
    border-color: #5a2e00;
}

/* Tab Bar Auth Buttons - appear when navbar hides */
.tab-bar.navbar-hidden .tab-auth-buttons {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    visibility: visible;
    pointer-events: auto;
}

/* ============================================
   MODERN SIDEBAR STYLES - Light Professional Theme
   Mobile & Tablet Only
   ============================================ */

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main Sidebar Container */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 3001;
    transform: translateX(-100%);
    transition: transform 0.35s ease-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.sidebar.open {
    transform: translateX(0);
}

/* Subtle top accent line */
.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #48831f 0%, #65a830 50%, #48831f 100%);
    z-index: 10;
}

/* Close Button */
.sidebar-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.sidebar-close-btn:hover {
    background: #fee2e2;
    border-color: #ef4444;
    color: #ef4444;
    transform: scale(1.05);
}

.sidebar-close-btn:active {
    transform: scale(0.95);
}

.sidebar-close-btn .material-symbols-outlined {
    font-size: 1.125rem;
    font-weight: 600;
}

/* Brand Header Section */
.sidebar-brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.5rem 1.25rem 1.25rem;
    border-bottom: 1px solid #000000;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.sidebar-brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
    border: 2px solid #48831f;
    box-shadow: 0 2px 8px rgba(72, 131, 31, 0.15);
}

.sidebar-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.sidebar-brand-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.01em;
    line-height: 1.2;
    font-family: 'Public Sans', sans-serif;
}

.sidebar-brand-tagline {
    font-size: 0.5rem;
    color: #000000;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Navigation Section */
.sidebar-nav {
    flex: 1;
    padding: 1rem 0.875rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-nav-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 0.625rem;
    margin-bottom: 0.625rem;
}

/* Navigation Items */
.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    margin-bottom: 0.25rem;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    background: transparent;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
    position: relative;
}

/* Nav Item Hover State */
.sidebar-nav-item:hover {
    background: #f8fafc;
    border-color: #e5e7eb;
    color: #111827;
}

/* Nav Item Active State */
.sidebar-nav-item.active {
    background: linear-gradient(135deg, rgba(72, 131, 31, 0.08) 0%, rgba(72, 131, 31, 0.04) 100%);
    border-color: rgba(72, 131, 31, 0.2);
    color: #1e293b;
}

.sidebar-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: linear-gradient(180deg, #48831f 0%, #65a830 100%);
    border-radius: 0 3px 3px 0;
}

/* Nav Icon */
.sidebar-nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.sidebar-nav-item:hover .sidebar-nav-icon {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.sidebar-nav-item.active .sidebar-nav-icon {
    background: #48831f;
    border-color: #48831f;
    box-shadow: 0 2px 8px rgba(72, 131, 31, 0.3);
}

.sidebar-nav-icon .material-symbols-outlined {
    font-size: 1.25rem;
    color: #000000;
}

.sidebar-nav-item:hover .sidebar-nav-icon .material-symbols-outlined {
    color: #000000;
}

.sidebar-nav-item.active .sidebar-nav-icon .material-symbols-outlined {
    color: #ffffff;
}

/* Nav Content */
.sidebar-nav-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
}

.sidebar-nav-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-nav-item:hover .sidebar-nav-title,
.sidebar-nav-item.active .sidebar-nav-title {
    color: #000000;
}

.sidebar-nav-subtitle {
    font-size: 0.625rem;
    color: #000000;
    font-weight: 400;
    white-space: nowrap;
}

.sidebar-nav-item:hover .sidebar-nav-subtitle {
    color: #000000;
}

.sidebar-nav-item.active .sidebar-nav-subtitle {
    color: #48831f;
}

/* Nav Badge */
.sidebar-nav-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 5px;
    flex-shrink: 0;
    margin-left: auto;
}

.sidebar-nav-badge.new {
    background: #FFBF00;
    color: #000000;
    box-shadow: 0 2px 6px rgba(255, 191, 0, 0.35);
}

/* Nav Arrow */
.sidebar-nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
    padding-left: 1rem;
}

.sidebar-nav-arrow .material-symbols-outlined {
    font-size: 1.125rem;
    color: #9ca3af;
}

.sidebar-nav-item:hover .sidebar-nav-arrow .material-symbols-outlined {
    color: #6b7280;
}

.sidebar-nav-item.active .sidebar-nav-arrow .material-symbols-outlined {
    color: #48831f;
}

/* Sidebar Banner */
.sidebar-banner {
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    cursor: pointer;
    position: relative;
}

.sidebar-banner-img {
    width: 100%;
    max-height: 50px;
    border-radius: 6px;
    object-fit: contain;
}

.sidebar-banner-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fbbf24;
    color: #000;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: tooltipFadeIn 0.2s ease;
}

.sidebar-banner-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #fbbf24;
}

@keyframes tooltipFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-5px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Footer Section */
.sidebar-footer {
    padding: 0.875rem 1rem 1.25rem;
    margin-top: auto;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.sidebar-footer-divider {
    display: none;
}

.sidebar-footer-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    margin-bottom: 0.125rem;
    border-radius: 8px;
    text-decoration: none;
    color: #000000;
    font-size: 0.8125rem;
    font-weight: 500;
}

.sidebar-footer-link:hover {
    color: #000000;
    background: #f3f4f6;
}

.sidebar-footer-link .material-symbols-outlined {
    font-size: 1.125rem;
    color: #6b7280;
}

.sidebar-footer-link:hover .material-symbols-outlined {
    color: #4b5563;
}

.sidebar-footer-version {
    text-align: center;
    font-size: 0.6875rem;
    color: #9ca3af;
    margin-top: 0.75rem;
    letter-spacing: 0.02em;
    font-weight: 500;
}

/* Hide Sidebar on Desktop (1024px+) */
@media (min-width: 1024px) {
    .sidebar,
    .sidebar-overlay,
    .mobile-menu-button {
        display: none !important;
    }
}

/* Tablet Optimizations */
@media (min-width: 768px) and (max-width: 1023px) {
    .sidebar {
        width: 340px;
    }

    .sidebar-brand {
        padding: 1.75rem 1.5rem 1.5rem;
    }

    .sidebar-brand-logo {
        width: 52px;
        height: 52px;
    }

    .sidebar-nav {
        padding: 1.25rem 1rem;
    }

    .sidebar-nav-item {
        padding: 0.875rem 1rem;
    }

    .sidebar-nav-icon {
        width: 44px;
        height: 44px;
    }
}

/* Small Mobile Optimizations */
@media (max-width: 374px) {
    .sidebar {
        width: 100%;
    }

    .sidebar-brand {
        padding: 1.25rem 1rem 1rem;
    }

    .sidebar-brand-logo {
        width: 42px;
        height: 42px;
    }

    .sidebar-brand-name {
        font-size: 1.125rem;
    }

    .sidebar-nav {
        padding: 0.75rem 0.625rem;
    }

    .sidebar-nav-item {
        padding: 0.625rem 0.75rem;
    }

    .sidebar-nav-icon {
        width: 36px;
        height: 36px;
    }

    .sidebar-nav-title {
        font-size: 0.875rem;
    }

    .sidebar-nav-subtitle {
        font-size: 0.625rem;
    }
}

/* ============================================
   END SIDEBAR STYLES
   ============================================ */

.material-icons-outlined {
    font-family: 'Material Icons Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Main content */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 5rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 4rem;
    position: relative;
    padding: 2rem 1rem 1rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/visa11.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.02);
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-badge {
    display: none;
}

.hero-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.hero-description {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    max-width: 42rem;
    margin: 0 auto 1rem;
}

.hero-stats {
    display: none;
}

/* Form container */
.hero-section .form-container {
    width: 100%;
    max-width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(19, 91, 236, 0.2);
    padding: 0.75rem;
    margin-top: 1rem;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

/* Form styles */
.hero-section .search-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    align-items: end;
}

.hero-section .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0;
    margin: 0;
}

.hero-section .form-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    padding-left: 0.75rem;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    line-height: 1.2;
}

.input-wrapper {
    position: relative;
    margin: 0;
    padding: 0;
}

/* Icon styling for form fields */
.input-wrapper .origin-icon,
.input-wrapper .issuing-country-icon,
.input-wrapper .destination-icon,
.input-wrapper .purpose-icon {
    position: absolute;
    left: 0.75rem;
    top: -0.625rem;
    width: 20px;
    height: 20px;
    z-index: 1;
    pointer-events: none;
}

/* Move origin icon down slightly on mobile */
.input-wrapper .origin-icon {
    top: -0.75rem;
}

/* Adjust select and label padding for icon fields */
.form-group-origin .input-wrapper select,
.form-group-issuing-country .input-wrapper select,
.form-group-destination .input-wrapper select,
.form-group-purpose .input-wrapper select {
    padding-left: 2.5rem;
}

.form-group-origin .form-label,
.form-group-issuing-country .form-label,
.form-group-destination .form-label,
.form-group-purpose .form-label {
    padding-left: 2.5rem;
}

.hero-section select,
.hero-section .date-input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 900;
    color: #000000;
    transition: all 0.2s;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    text-align: left;
    line-height: 1.5;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    font-style: normal;
}

select option {
    font-size: 0.75rem;
}

select:hover,
.date-input:hover,
select:focus,
.date-input:focus {
    background-color: transparent;
}

.date-input::placeholder {
    color: #6b7280;
    font-size: 0.75rem;
}

.submit-button-wrapper {
    grid-column: span 2;
    height: 100%;
    display: flex;
    align-items: end;
}

.hero-section .submit-button {
    width: 100%;
    height: 42px;
    background-color: #00A000;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.hero-section .submit-button:hover {
    background-color: #008000;
    opacity: 0.9;
}

.submit-button .material-symbols-outlined {
    transition: transform 0.2s;
}

.submit-button:hover .material-symbols-outlined {
    transform: scale(1.1);
}

/* Popular routes section */
.routes-section {
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem 2rem 1rem;
    overflow-x: hidden;
    overflow-y: visible;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.routes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: 1rem 0 4rem 0;
}

/* Route card styles */
.route-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 24px;
    line-height: 1.6;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 36px;
    border-radius: 22px;
    color: #ffffff;
    overflow: hidden;
    background: #0a3cff;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    position: relative;
}

.card-content::before {
    position: absolute;
    content: "";
    top: -4%;
    left: 50%;
    width: 90%;
    height: 90%;
    transform: translate(-50%);
    background: #ced8ff;
    z-index: -1;
    transform-origin: bottom;
    border-radius: inherit;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-content::after {
    position: absolute;
    content: "";
    top: -8%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%);
    background: #e7ecff;
    z-index: -2;
    transform-origin: bottom;
    border-radius: inherit;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-content svg {
    width: 48px;
    height: 48px;
}

.card-content .para {
    z-index: 1;
    opacity: 1;
    font-size: 18px;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    margin: 0;
}

.card-content .card-title {
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.route-card:hover {
    transform: translate(0px, -16px);
}

.route-card:hover .card-content::before {
    rotate: -8deg;
    top: 0;
    width: 100%;
    height: 100%;
}

.route-card:hover .card-content::after {
    rotate: 8deg;
    top: 0;
    width: 100%;
    height: 100%;
}

/* Card color variants */
.route-card:nth-child(1) .card-content { background: #0a3cff; }
.route-card:nth-child(1) .card-content::before { background: #ced8ff; }
.route-card:nth-child(1) .card-content::after { background: #e7ecff; }

.route-card:nth-child(2) .card-content { background: #059669; }
.route-card:nth-child(2) .card-content::before { background: #a7f3d0; }
.route-card:nth-child(2) .card-content::after { background: #d1fae5; }

.route-card:nth-child(3) .card-content { background: #d97706; }
.route-card:nth-child(3) .card-content::before { background: #fed7aa; }
.route-card:nth-child(3) .card-content::after { background: #ffedd5; }

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 50%, #3b641a 100%);
    color: #fff;
    padding: 60px 0 0;
    margin: 0;
    position: relative;
    overflow-x: hidden;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffaa00, #ffd700);
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
    overflow-x: hidden;
}

.footer-section h3 {
    color: #ffd700;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-family: "Playfair Display", "Georgia", "Times New Roman", serif;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #ffd700;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-section ul li i {
    color: #ffd700;
    width: 16px;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.social-links a.facebook { background: #1877F2; }
.social-links a.twitter { background: #1DA1F2; }
.social-links a.instagram { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
.social-links a.linkedin { background: #0A66C2; }

.social-links a i {
    color: #fff;
    font-size: 1rem;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    position: relative;
    max-width: 320px;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 8px 12px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.newsletter-form input:focus {
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.newsletter-form button {
    padding: 0 16px;
    height: 36px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.2), rgba(255,255,255,0));
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   HOW TO USE - STEPPER GUIDE SECTION
   A bold, modern instructional timeline
   ============================================ */

.how-to-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
    overflow: visible;
}

/* Section Header */
.how-to-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.how-to-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #00E400 0%, #00C400 100%);
    color: white;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 228, 0, 0.3);
}

.how-to-eyebrow .material-symbols-outlined {
    font-size: 0.875rem;
}

.how-to-title {
    font-family: 'Yeseva One', serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: #111318;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.how-to-subtitle {
    font-size: 0.875rem;
    color: #616f89;
    margin: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Steps Container */
.how-to-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

/* Connecting line */
.how-to-steps::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 32px;
    bottom: 32px;
    width: 3px;
    background: linear-gradient(180deg,
        #48831f 0%,
        #135bec 33%,
        #f59e0b 66%,
        #10b981 100%
    );
    border-radius: 3px;
    z-index: 0;
}

/* Individual Step */
.how-to-step {
    display: flex;
    gap: 1.25rem;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-20px);
    animation: stepFadeIn 0.6s ease forwards;
}

.how-to-step:nth-child(1) { animation-delay: 0.1s; }
.how-to-step:nth-child(2) { animation-delay: 0.2s; }
.how-to-step:nth-child(3) { animation-delay: 0.3s; }
.how-to-step:nth-child(4) { animation-delay: 0.4s; }

@keyframes stepFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Step Number Badge */
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Yeseva One', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    flex-shrink: 0;
    position: relative;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 0 4px white,
        0 0 0 6px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.how-to-step:nth-child(1) .step-number {
    background: linear-gradient(135deg, #48831f 0%, #5a9c2a 100%);
}

.how-to-step:nth-child(2) .step-number {
    background: linear-gradient(135deg, #135bec 0%, #3b7cf5 100%);
}

.how-to-step:nth-child(3) .step-number {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.how-to-step:nth-child(4) .step-number {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.how-to-step:hover .step-number {
    transform: scale(1.1) rotate(-5deg);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.2),
        0 0 0 4px white,
        0 0 0 8px rgba(72, 131, 31, 0.1);
}

/* Step Content */
.step-content {
    flex: 1;
    padding-top: 0.25rem;
}

.step-label {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
}

.how-to-step:nth-child(1) .step-label {
    background: rgba(72, 131, 31, 0.1);
    color: #48831f;
}

.how-to-step:nth-child(2) .step-label {
    background: rgba(19, 91, 236, 0.1);
    color: #135bec;
}

.how-to-step:nth-child(3) .step-label {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.how-to-step:nth-child(4) .step-label {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #111318;
    margin: 0 0 0.375rem 0;
    line-height: 1.3;
}

.step-description {
    font-size: 0.8125rem;
    color: #616f89;
    margin: 0;
    line-height: 1.6;
}

/* Step Icon Hint */
.step-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    border: 1px dashed #d1d5db;
}

.step-hint .material-symbols-outlined {
    font-size: 0.875rem;
}

/* Decorative elements */
.how-to-decoration {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(72, 131, 31, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.how-to-decoration-1 {
    top: -20px;
    right: -40px;
}

.how-to-decoration-2 {
    bottom: 20px;
    left: -60px;
    background: radial-gradient(circle, rgba(19, 91, 236, 0.05) 0%, transparent 70%);
}

/* Quick tip banner */
.how-to-tip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1px solid #fde047;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.how-to-tip-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #eab308 0%, #facc15 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
}

.how-to-tip-icon .material-symbols-outlined {
    font-size: 1.125rem;
    color: white;
}

.how-to-tip-content {
    flex: 1;
}

.how-to-tip-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: #a16207;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.125rem 0;
}

.how-to-tip-text {
    font-size: 0.8125rem;
    color: #854d0e;
    margin: 0;
    line-height: 1.4;
}

/* Legacy info-cards support - hide old classes */
.info-cards-section {
    width: 100%;
    max-width: 1200px;
    padding: 1.5rem 0.75rem;
    overflow-x: hidden;
}

.info-cards-grid {
    display: none;
}

/* Visa Results Section */
.visa-results-section {
    width: 100%;
    max-width: 100%;
    padding: 0 0.5rem 1rem 0.5rem;
    margin-top: -1.5rem;
    overflow-x: hidden;
    background-color: #f6f6f8;
    position: relative;
    z-index: 1;
    min-height: 100px;
}

.visa-results-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 200px;
    width: 100%;
    padding: 0;
}

/* Visa Guide Styles */
.visa-guide-main {
    flex-grow: 1;
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1rem;
    background-color: #f6f6f8;
}

.visa-guide-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.visa-guide-breadcrumb-item {
    color: var(--text-secondary);
    font-weight: 500;
    text-decoration: none;
}

.visa-guide-breadcrumb-item:hover {
    text-decoration: underline;
}

.visa-guide-breadcrumb-separator {
    color: var(--text-secondary);
}

.visa-guide-breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

.visa-guide-page-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.visa-guide-page-title-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 42rem;
}

.visa-guide-page-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.visa-guide-page-title {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.033em;
    color: var(--text-primary);
}

.visa-guide-visa-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: #fee2e2;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #fecaca;
    white-space: nowrap;
}

.visa-guide-page-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.625;
}

.visa-guide-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.visa-guide-info-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    border-radius: var(--radius-lg);
    padding: 1rem;
    background-color: white;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.visa-guide-info-card::before {
    display: none;
}

.visa-guide-info-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: var(--primary-color);
}

.visa-guide-info-icon.blue { background-color: #eff6ff; }
.visa-guide-info-icon.purple { background-color: #faf5ff; color: #9333ea; }
.visa-guide-info-icon.teal { background-color: #f0fdfa; color: #0d9488; }
.visa-guide-info-icon.orange { background-color: #ffedd5; color: #9a3412; }
.visa-guide-info-icon.green { background-color: #f0fdf4; color: #16a34a; }
.visa-guide-info-icon.indigo { background-color: #eef2ff; color: #4f46e5; }
.visa-guide-info-icon.emerald { background-color: #ecfdf5; color: #059669; }
.visa-guide-info-icon.sky { background-color: #f0f9ff; color: #0284c7; }

.visa-guide-info-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.visa-guide-info-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.125rem;
}

.visa-guide-info-value {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

.visa-guide-section {
    margin-bottom: 2.5rem;
}

.visa-guide-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.visa-guide-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(19, 91, 236, 0.1);
    color: var(--primary-color);
}

.visa-guide-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.visa-guide-document-item {
    display: flex;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    background-color: white;
    border: 1px solid var(--border);
    transition: border-color 0.2s;
    margin-bottom: 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.visa-guide-document-item:hover {
    border-color: rgba(0, 255, 0, 0.5);
}

.visa-guide-document-icon {
    flex-shrink: 0;
    padding-top: 0.25rem;
    color: #00FF00;
}

.visa-guide-document-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.2s;
}

.visa-guide-document-item:hover .visa-guide-document-title {
    color: #00FF00;
}

.visa-guide-document-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.visa-guide-steps-container {
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.5);
}

.visa-guide-steps-line {
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 2px;
    background-color: #FEBE10;
}

.visa-guide-step {
    position: relative;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.visa-guide-step:last-child {
    margin-bottom: 0;
}

.visa-guide-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #FEBE10;
    z-index: 10;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    font-weight: 700;
    color: #FEBE10;
}

.visa-guide-step-complete {
    background-color: #FEBE10;
    color: white;
    box-shadow: var(--shadow-md);
}

.visa-guide-step-content {
    padding-top: 0.5rem;
}

.visa-guide-step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.visa-guide-step-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.visa-guide-faq-item {
    border-radius: var(--radius-lg);
    background-color: white;
    padding: 1.25rem;
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}

.visa-guide-faq-question {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.visa-guide-faq-answer {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.visa-guide-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visa-guide-apply-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 6rem;
}

.visa-guide-apply-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.visa-guide-apply-card-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.visa-guide-apply-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.visa-guide-apply-button {
    display: flex;
    width: 100%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    height: 3rem;
    padding: 0 1rem;
    font-weight: 700;
    border: none;
    transition: all 0.2s;
}

.visa-guide-apply-button-primary {
    background-color: #00D100;
    color: white;
    box-shadow: var(--shadow-md);
}

.visa-guide-apply-button-primary:hover {
    background-color: #00B800;
    box-shadow: var(--shadow-lg);
}

.visa-guide-apply-button-secondary {
    background-color: white;
    border: 1px solid #00D100;
    color: #00D100;
}

.visa-guide-apply-button-secondary:hover {
    background-color: #f0fdf0;
}

.visa-guide-security-notice {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.visa-guide-security-icon {
    color: #16a34a;
    margin-top: 0.25rem;
}

.visa-guide-security-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.visa-guide-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Country Modal Styles */
.country-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f6f6f8;
    z-index: 4000;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.country-modal-overlay.active {
    display: flex;
}

.country-modal {
    background-color: #f6f6f8;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.country-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.country-modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111318;
    flex: 1;
    text-align: center;
}

.country-modal-close {
    padding: 0.5rem;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #1f2937;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.country-modal-close:hover {
    background-color: #e5e7eb;
}

.country-modal-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.country-search-container {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
}

.country-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 1.5rem;
    pointer-events: none;
    z-index: 1;
}

.country-input-field {
    width: 100%;
    padding: 1rem 4rem 1rem 3.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    color: #111318;
    background-color: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.country-input-field:focus {
    outline: none;
    border-color: #48831f;
    box-shadow: 0 0 0 3px rgba(72, 131, 31, 0.1);
}

.country-input-field::placeholder {
    color: #000000;
    font-weight: 900;
    opacity: 1;
    font-style: normal;
}

.country-input-field.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    background-color: #fef2f2;
}

.country-clear-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #135bec;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    z-index: 2;
    transition: opacity 0.2s;
}

.country-clear-btn:hover {
    opacity: 0.8;
}

.country-list-section {
    width: 100%;
}

.country-list-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111318;
    margin: 0 0 1rem 0;
}

.country-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.country-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 0.5rem;
    gap: 1rem;
}

.country-item:active {
    background-color: #f3f4f6;
}

.country-item-icon {
    color: #4b5563;
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.country-item-icon svg {
    width: 100%;
    height: 100%;
}

.country-item-flag {
    flex-shrink: 0;
    width: 28px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.country-item-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.country-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.country-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: #111318;
    margin: 0;
}

.no-results-message {
    padding: 1rem;
    text-align: center;
    color: #4b5563;
}

/* Loading spinner animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Small Mobile (640px) */
@media (min-width: 640px) {
    .header-wrapper {
        padding: 0 1rem;
    }
}

/* Tablet (768px) */
@media (min-width: 768px) {
    .header-wrapper {
        padding: 0 2rem;
        justify-content: space-between;
    }

    /* Keep hamburger menu visible on tablet for sidebar access */
    .mobile-menu-button {
        display: block;
    }

    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.375rem 0.875rem;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.15) 100%);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50px;
        font-size: 0.6875rem;
        font-weight: 600;
        color: #ffffff;
        margin-bottom: 0.75rem;
        backdrop-filter: blur(10px);
    }

    .hero-badge .material-symbols-outlined {
        font-size: 0.875rem;
        color: #ffffff;
    }

    .hero-section {
        padding: 2.5rem 2rem 1.5rem;
        margin-bottom: 2.5rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .hero-section .form-container {
        padding: 0.625rem 1rem;
    }

    .hero-section .search-form {
        grid-template-columns: repeat(5, 1fr);
        gap: 0;
        align-items: stretch;
    }

    .hero-section .form-group {
        gap: 0.0625rem;
        position: relative;
        padding: 0.3125rem 0.4375rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-section .form-label {
        margin-bottom: 0.125rem;
        font-size: 0.625rem;
        letter-spacing: -0.01em;
        line-height: 1.2;
    }

    /* Subtle vertical separators */
    .hero-section .form-group-origin::after,
    .hero-section .form-group-issuing-country::after,
    .hero-section .form-group-destination::after,
    .hero-section .form-group-purpose::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 2px;
        height: 48px;
        background: linear-gradient(180deg,
            transparent 0%,
            rgba(72, 131, 31, 0.2) 15%,
            rgba(72, 131, 31, 0.45) 50%,
            rgba(72, 131, 31, 0.2) 85%,
            transparent 100%
        );
        border-radius: 1px;
        z-index: 10;
    }

    /* Ensure line between origin and passport country is thicker */
    .hero-section .form-group-origin::after {
        width: 3px !important;
    }

    /* Ensure line between destination and purpose is thicker */
    .hero-section .form-group-destination::after {
        width: 3px !important;
    }

    .input-wrapper .origin-icon,
    .input-wrapper .issuing-country-icon,
    .input-wrapper .destination-icon,
    .input-wrapper .purpose-icon {
        left: 0.625rem;
        top: calc(50% - 8px);
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
    }

    /* Move origin icon up a bit more on tablet */
    .input-wrapper .origin-icon {
        top: calc(50% - 10px);
    }

    /* Move passport icon up a bit on tablet */
    .input-wrapper .issuing-country-icon {
        top: calc(50% - 10px);
    }

    /* Move purpose icon up a bit on tablet */
    .input-wrapper .purpose-icon {
        top: calc(50% - 10px);
    }

    select, .date-input {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem 0.375rem 2.25rem;
        height: auto;
        line-height: 1.5;
    }

    .date-input::placeholder {
        font-size: 0.8125rem;
    }

    .submit-button-wrapper {
        grid-column: span 1;
        align-items: center;
        justify-content: center;
        padding: 0.375rem 0.375rem 0.375rem 0.5rem;
    }

    .hero-section .submit-button {
        height: 38px;
        font-size: 0.875rem;
        padding: 0 1.25rem;
    }

    .routes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* How-to Section - Desktop/Tablet */
    .how-to-section {
        padding: 3rem 2rem 4rem;
    }

    .how-to-header {
        margin-bottom: 3rem;
    }

    .how-to-title {
        font-size: 2.25rem;
    }

    .how-to-subtitle {
        font-size: 1rem;
        max-width: 500px;
    }

    .how-to-steps {
        max-width: 700px;
    }

    .how-to-steps::before {
        left: 35px;
    }

    .step-number {
        width: 72px;
        height: 72px;
        font-size: 1.875rem;
    }

    .step-title {
        font-size: 1.375rem;
    }

    .step-description {
        font-size: 0.9375rem;
    }

    .how-to-tip {
        max-width: 700px;
    }

    .visa-results-section {
        padding: 0 2rem 3rem 2rem;
        margin-top: -2rem;
    }

    .visa-results-container {
        padding: 0 2rem;
        gap: 1.5rem;
    }

    .visa-guide-content-sidebar {
        width: 340px;
    }

    .country-modal-overlay {
        display: none !important;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-section ul li {
        justify-content: center;
    }

    .footer-section ul li:hover {
        transform: translateY(-3px);
    }

    .newsletter-form {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Tablet specific (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section .search-form {
        grid-template-columns: 1.15fr 1.15fr 1.15fr 1.15fr 0.4fr;
        gap: 0;
        align-items: stretch;
    }

    .hero-section .search-form .form-group {
        min-width: 0;
    }

    /* Tablet: Slightly reduced vertical separators */
    .hero-section .form-group,
    .hero-section .submit-button-wrapper {
        position: relative;
        padding: 0.25rem 0.375rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-section .form-group-origin::after,
    .hero-section .form-group-issuing-country::after,
    .hero-section .form-group-destination::after,
    .hero-section .form-group-purpose::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 2px;
        height: 44px;
        background: linear-gradient(180deg,
            transparent 0%,
            rgba(72, 131, 31, 0.2) 15%,
            rgba(72, 131, 31, 0.4) 50%,
            rgba(72, 131, 31, 0.2) 85%,
            transparent 100%
        );
        border-radius: 1px;
        z-index: 10;
    }

    /* Ensure line between origin and passport country is thicker on tablet-specific */
    .hero-section .form-group-origin::after {
        width: 3px !important;
    }

    /* Ensure line between destination and purpose is thicker on tablet-specific */
    .hero-section .form-group-destination::after {
        width: 3px !important;
    }

    .hero-section .form-label {
        font-size: 0.5625rem;
        padding-left: 0.5rem;
        margin-bottom: 0.0625rem;
        letter-spacing: -0.01em;
        line-height: 1.2;
    }

    .form-group-origin .form-label,
    .form-group-issuing-country .form-label,
    .form-group-destination .form-label,
    .form-group-purpose .form-label {
        padding-left: 2rem;
    }

    .form-group-origin .input-wrapper select,
    .form-group-issuing-country .input-wrapper select,
    .form-group-destination .input-wrapper select,
    .form-group-purpose .input-wrapper select {
        padding-left: 2rem;
    }

    .hero-section select,
    .hero-section .date-input {
        padding: 0.3125rem 0.375rem 0.3125rem 2rem;
        font-size: 0.75rem;
        line-height: 1.4;
        font-weight: 900;
        color: #000000;
        font-style: normal;
    }

    select option {
        font-size: 0.6875rem;
    }

    .hero-section .submit-button {
        width: auto;
        min-width: 80px;
        max-width: 100px;
        height: 34px;
        font-size: 0.8125rem;
    }

    .input-wrapper .origin-icon,
    .input-wrapper .issuing-country-icon,
    .input-wrapper .destination-icon,
    .input-wrapper .purpose-icon {
        left: 0.5rem;
        top: calc(50% - 8px);
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
    }

    /* Move origin icon up a bit more on tablet-specific */
    .input-wrapper .origin-icon {
        top: calc(50% - 10px);
    }

    /* Move passport icon up a bit on tablet-specific */
    .input-wrapper .issuing-country-icon {
        top: calc(50% - 10px);
    }

    /* Move purpose icon up a bit on tablet-specific */
    .input-wrapper .purpose-icon {
        top: calc(50% - 10px);
    }

    /* Reduce purpose trigger text size on tablets */
    .purpose-trigger-text {
        font-size: 0.75rem;
    }
}

/* Desktop (1024px) */
@media (min-width: 1024px) {
    .header-wrapper {
        padding: 0 2rem;
    }

    .logo-text {
        font-size: 1.75rem;
    }

    .tab-bar {
        display: block;
    }

    .hero-section {
        padding: 2.75rem 4rem 1.75rem;
        margin-top: 7.5rem;
        transition: margin-top 0.3s ease-in-out;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-section .form-container {
        padding: 0.625rem 1.25rem;
    }

    .hero-section .search-form {
        grid-template-columns: repeat(5, 1fr);
        gap: 0;
        align-items: stretch;
    }

    /* Slightly reduced form groups */
    .hero-section .form-group {
        position: relative;
        padding: 0.4375rem 0.75rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-section .submit-button-wrapper {
        position: relative;
        padding: 0.4375rem 0 0.4375rem 0.75rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: auto;
        align-items: flex-end;
    }

    /* Subtle vertical separators with brand color */
    .hero-section .form-group-origin::after,
    .hero-section .form-group-issuing-country::after,
    .hero-section .form-group-destination::after,
    .hero-section .form-group-purpose::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 2px;
        height: 52px;
        background: linear-gradient(180deg,
            transparent 0%,
            rgba(72, 131, 31, 0.25) 15%,
            rgba(72, 131, 31, 0.5) 50%,
            rgba(72, 131, 31, 0.25) 85%,
            transparent 100%
        );
        border-radius: 1px;
        z-index: 10;
    }

    /* Ensure line between origin and passport country is thicker on desktop */
    .hero-section .form-group-origin::after {
        width: 3px !important;
    }

    /* Ensure line between destination and purpose is thicker on desktop */
    .hero-section .form-group-destination::after {
        width: 3px !important;
    }

    .hero-section .form-label {
        font-size: 0.6875rem;
        padding-left: 0.75rem;
        margin-bottom: 0.1875rem;
    }

    .form-group-origin .form-label,
    .form-group-issuing-country .form-label,
    .form-group-destination .form-label,
    .form-group-purpose .form-label {
        padding-left: 2.5rem;
    }

    .form-group-origin .input-wrapper select,
    .form-group-issuing-country .input-wrapper select,
    .form-group-destination .input-wrapper select,
    .form-group-purpose .input-wrapper select {
        padding-left: 2.5rem;
    }

    .hero-section select,
    .hero-section .date-input {
        padding: 0.375rem 0.75rem 0.375rem 2.5rem;
        font-size: 0.75rem;
        line-height: 1.5;
        font-weight: 900;
        color: #000000;
        font-style: normal;
    }

    select option {
        font-size: 0.875rem;
    }

    .hero-section .submit-button {
        width: auto;
        min-width: 120px;
        max-width: 160px;
        height: 40px;
        font-size: 0.875rem;
    }

    .input-wrapper .origin-icon,
    .input-wrapper .issuing-country-icon,
    .input-wrapper .destination-icon,
    .input-wrapper .purpose-icon {
        left: 0.75rem;
        top: calc(50% - 8px);
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
    }

    /* Move origin icon up a bit more on desktop */
    .input-wrapper .origin-icon {
        top: calc(50% - 10px);
    }

    /* Move passport icon up a bit on desktop */
    .input-wrapper .issuing-country-icon {
        top: calc(50% - 10px);
    }

    /* Move purpose icon up a bit on desktop */
    .input-wrapper .purpose-icon {
        top: calc(50% - 10px);
    }

    .routes-section {
        padding: 0 2rem;
    }

    .routes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* How-to Section - Large Desktop - Horizontal Layout */
    .how-to-section {
        padding: 4rem 3rem 5rem;
    }

    .how-to-title {
        font-size: 2.5rem;
    }

    .how-to-steps {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        max-width: 100%;
    }

    .how-to-steps::before {
        display: none;
    }

    .how-to-step {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 0;
        position: relative;
    }

    /* Horizontal connector line */
    .how-to-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 36px;
        right: -1rem;
        width: calc(100% - 72px);
        height: 3px;
        background: linear-gradient(90deg, currentColor 50%, transparent 50%);
        background-size: 8px 3px;
        opacity: 0.3;
        transform: translateX(100%);
    }

    .how-to-step:nth-child(1)::after { color: #48831f; }
    .how-to-step:nth-child(2)::after { color: #135bec; }
    .how-to-step:nth-child(3)::after { color: #f59e0b; }

    .step-number {
        margin-bottom: 1.25rem;
    }

    .step-content {
        padding-top: 0;
    }

    .step-label {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }

    .step-hint {
        justify-content: center;
    }

    .how-to-tip {
        max-width: 800px;
        margin-top: 3rem;
    }

    .visa-results-section {
        padding: 0 3rem 4rem 3rem;
        margin-top: -2rem;
    }

    .visa-results-container {
        padding: 0 3rem;
        gap: 1.5rem;
    }

    .visa-guide-info-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 0.5rem;
    }

    .visa-guide-info-card-full-width {
        grid-column: span 6;
    }

    .visa-guide-info-card-three-per-row {
        grid-column: span 4;
    }

    .visa-guide-info-card {
        padding: 0.625rem;
        gap: 0.5rem;
    }

    .visa-guide-info-icon {
        width: 2rem;
        height: 2rem;
    }

    .visa-guide-info-icon .material-symbols-outlined {
        font-size: 1rem;
    }

    .visa-guide-info-label {
        font-size: 0.5625rem;
        margin-bottom: 0.0625rem;
    }

    .visa-guide-info-value {
        font-size: 0.75rem;
    }

    .visa-guide-content-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .visa-guide-content-main {
        grid-column: span 8 / span 8;
    }

    .visa-guide-sidebar {
        grid-column: span 4 / span 4;
    }

    .visa-guide-page-header {
        flex-direction: row;
        align-items: flex-end;
    }
}

/* Mobile specific (max 767px) */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }

    img, video, iframe {
        max-width: 100%;
        height: auto;
    }

    .hero-section .form-container,
    .routes-section,
    .hero-section,
    .header-container {
        width: 100%;
        max-width: 100%;
    }

    .hero-section {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero-section .form-container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .routes-section {
        padding-left: 0;
        padding-right: 0;
    }

    main {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-section .search-form {
        position: relative;
    }

    .hero-section .search-form .form-group {
        position: relative;
        padding-bottom: 0.5rem;
        gap: 0.25rem;
    }

    .hero-section .search-form select {
        padding: 0.5rem 0.75rem;
    }

    .hero-section .search-form .form-group-origin .input-wrapper select,
    .hero-section .search-form .form-group-issuing-country .input-wrapper select,
    .hero-section .search-form .form-group-destination .input-wrapper select,
    .hero-section .search-form .form-group-purpose .input-wrapper select {
        padding-left: 2.5rem;
        padding-right: 0.75rem;
    }

    .hero-section .search-form .form-group-origin .form-label,
    .hero-section .search-form .form-group-issuing-country .form-label,
    .hero-section .search-form .form-group-destination .form-label,
    .hero-section .search-form .form-group-purpose .form-label {
        padding-left: 2.5rem;
    }

    /* Mobile form dividers */
    .hero-section .search-form .form-group:nth-child(1)::after,
    .hero-section .search-form .form-group:nth-child(3)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: calc(200% + 0.5rem);
        height: 1px;
        background-color: #000000;
        z-index: 1;
    }

    .hero-section .search-form .form-group:nth-child(2)::before {
        content: '';
        position: absolute;
        top: 0;
        left: -0.5rem;
        bottom: 0;
        width: 1px;
        background-color: #000000;
        z-index: 1;
    }

    .hero-section .search-form .form-group:nth-child(4)::before {
        content: '';
        position: absolute;
        top: calc(-0.75rem - 1px);
        left: -0.5rem;
        bottom: 0;
        width: 1px;
        background-color: #000000;
        z-index: 1;
    }

    .hero-section .search-form .submit-button-wrapper {
        border-bottom: none;
        padding-bottom: 0;
    }

    .hero-section select {
        pointer-events: none;
    }

    .hero-section .form-group-origin,
    .hero-section .form-group-issuing-country,
    .hero-section .form-group-destination {
        cursor: pointer;
    }

    .hero-section .form-group-origin .input-wrapper,
    .hero-section .form-group-issuing-country .input-wrapper,
    .hero-section .form-group-destination .input-wrapper {
        cursor: pointer;
    }

    .desktop-origin-autocomplete-wrapper,
    .desktop-passport-autocomplete-wrapper,
    .desktop-destination-autocomplete-wrapper {
        display: none !important;
    }

    .visa-guide-info-label {
        font-size: 0.4375rem;
    }

    .visa-guide-info-value {
        font-size: 0.625rem;
    }

    .visa-guide-info-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .visa-guide-info-icon .material-symbols-outlined {
        font-size: 0.75rem;
    }

    .visa-guide-info-card {
        padding: 0.5rem;
        gap: 0.375rem;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    }

    .visa-guide-info-card-full-width {
        grid-column: span 2;
    }

    .visa-guide-info-grid {
        gap: 0.5rem;
    }

    .visa-guide-document-item {
        padding: 0.5rem 0.625rem;
        margin-bottom: 0.25rem;
        gap: 0.75rem;
    }

    .visa-guide-document-icon {
        padding-top: 0.125rem;
    }

    .visa-guide-document-icon .material-symbols-outlined {
        font-size: 1rem;
        width: 1rem;
        height: 1rem;
    }

    .visa-guide-document-title {
        font-size: 0.875rem;
        line-height: 1.3;
        margin-bottom: 0.125rem;
    }

    .visa-guide-document-description {
        font-size: 0.6875rem;
        line-height: 1.4;
        margin-top: 0.125rem;
    }

    .visa-guide-steps-container {
        padding: 0.75rem;
    }

    .visa-guide-steps-line {
        left: 0.875rem;
    }

    .visa-guide-step {
        gap: 1rem;
        margin-bottom: 1.25rem;
    }

    .visa-guide-step-number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
        border-width: 1.5px;
        min-width: 1.75rem;
        min-height: 1.75rem;
    }

    .visa-guide-step-number .material-symbols-outlined {
        font-size: 0.875rem;
        width: 0.875rem;
        height: 0.875rem;
    }

    .visa-guide-step-complete {
        width: 1.75rem;
        height: 1.75rem;
    }

    .visa-guide-step-content {
        padding-top: 0.125rem;
    }

    .visa-guide-step-title {
        font-size: 0.8125rem;
        line-height: 1.25;
        margin-bottom: 0.125rem;
    }

    .visa-guide-step-description {
        font-size: 0.6875rem;
        line-height: 1.35;
        margin-top: 0.0625rem;
    }

    .visa-guide-faq-item {
        padding: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .visa-guide-section > div[style*="gap"] {
        gap: 0.25rem;
    }

    .visa-guide-faq-question {
        font-size: 0.875rem;
        line-height: 1.3;
        margin-bottom: 0.375rem;
    }

    .visa-guide-faq-answer {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .visa-guide-apply-card {
        padding: 1rem;
    }

    .visa-guide-apply-card-title {
        font-size: 1.125rem;
        margin-bottom: 0.375rem;
    }

    .visa-guide-apply-card-description {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .visa-guide-apply-buttons {
        gap: 0.5rem;
    }

    .visa-guide-apply-button {
        height: 2.5rem;
        font-size: 0.875rem;
    }

    .visa-guide-security-notice {
        margin-top: 1rem;
        padding-top: 1rem;
        gap: 0.5rem;
    }

    .visa-guide-security-text {
        font-size: 0.6875rem;
        line-height: 1.4;
    }

    .visa-guide-sidebar {
        gap: 1rem;
    }

    .visa-guide-content-grid {
        gap: 1rem;
    }

    .visa-guide-section {
        margin-bottom: 0.75rem;
    }

    .visa-guide-section-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .visa-guide-page-title {
        font-size: 1.25rem;
    }

    .visa-guide-section-title {
        font-size: 1.125rem;
    }

    .visa-page-title {
        font-size: 1.75rem;
    }

    .visa-stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        text-align: center;
    }
}

/* Desktop Autocomplete Styles */
@media (min-width: 768px) {
    .form-group-origin #origin-select,
    .form-group-issuing-country #issuing-country-select,
    .form-group-destination #destination-select {
        display: none !important;
    }

    .hero-section,
    .form-container,
    .search-form,
    .form-group-origin,
    .form-group-origin .input-wrapper,
    .form-group-issuing-country,
    .form-group-issuing-country .input-wrapper,
    .form-group-destination,
    .form-group-destination .input-wrapper {
        overflow: visible !important;
    }

    .desktop-origin-autocomplete-wrapper,
    .desktop-passport-autocomplete-wrapper,
    .desktop-destination-autocomplete-wrapper {
        position: relative;
        width: 100%;
        overflow: visible;
        display: block;
        padding-left: 2.25rem;
    }

    .desktop-origin-autocomplete-wrapper input,
    .desktop-passport-autocomplete-wrapper input,
    .desktop-destination-autocomplete-wrapper input {
        width: 100%;
        border: none;
        outline: none;
        font-size: 0.875rem;
        color: #111827;
        background: transparent;
        padding: 0.25rem 0;
        cursor: pointer;
        height: auto;
        line-height: 1.5;
        font-weight: 500;
    }

    .desktop-origin-autocomplete-wrapper input::placeholder,
    .desktop-passport-autocomplete-wrapper input::placeholder,
    .desktop-destination-autocomplete-wrapper input::placeholder {
        color: #000000;
        font-size: 0.75rem;
        font-weight: 900;
        opacity: 1;
        font-style: normal;
    }

    .desktop-origin-autocomplete-wrapper input:focus,
    .desktop-origin-autocomplete-wrapper input:active,
    .desktop-passport-autocomplete-wrapper input:focus,
    .desktop-passport-autocomplete-wrapper input:active,
    .desktop-destination-autocomplete-wrapper input:focus,
    .desktop-destination-autocomplete-wrapper input:active {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    .desktop-origin-autocomplete-dropdown,
    .desktop-passport-autocomplete-dropdown,
    .desktop-destination-autocomplete-dropdown {
        position: absolute;
        top: 100%;
        left: -2.25rem;
        width: clamp(11rem, 16vw, 14rem);
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 0.5rem;
        box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.08);
        max-height: 260px;
        overflow-y: auto;
        z-index: 99999;
        display: none;
        margin-top: 10px;
        scrollbar-width: thin;
        scrollbar-color: #48831f transparent;
    }

    /* Extend origin dropdown to the right to align with input field */
    .desktop-origin-autocomplete-dropdown {
        left: 0;
        width: 100%;
    }

    /* Extend passport dropdown to the right to align with input field */
    .desktop-passport-autocomplete-dropdown {
        left: 0;
        width: 100%;
    }

    /* Extend destination dropdown to the right to align with input field */
    .desktop-destination-autocomplete-dropdown {
        left: 0;
        width: 100%;
    }

    .desktop-origin-autocomplete-dropdown.show,
    .desktop-passport-autocomplete-dropdown.show,
    .desktop-destination-autocomplete-dropdown.show {
        display: block;
    }

    .desktop-origin-autocomplete-dropdown::-webkit-scrollbar,
    .desktop-passport-autocomplete-dropdown::-webkit-scrollbar,
    .desktop-destination-autocomplete-dropdown::-webkit-scrollbar {
        width: 5px;
    }

    .desktop-origin-autocomplete-dropdown::-webkit-scrollbar-track,
    .desktop-passport-autocomplete-dropdown::-webkit-scrollbar-track,
    .desktop-destination-autocomplete-dropdown::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 3px;
        margin: 4px 0;
    }

    .desktop-origin-autocomplete-dropdown::-webkit-scrollbar-thumb,
    .desktop-passport-autocomplete-dropdown::-webkit-scrollbar-thumb,
    .desktop-destination-autocomplete-dropdown::-webkit-scrollbar-thumb {
        background: #1f2937;
        border-radius: 3px;
        transition: background 0.2s ease;
    }

    .desktop-origin-autocomplete-dropdown::-webkit-scrollbar-thumb:hover,
    .desktop-passport-autocomplete-dropdown::-webkit-scrollbar-thumb:hover,
    .desktop-destination-autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
        background: #111827;
    }

    .desktop-origin-autocomplete-list,
    .desktop-passport-autocomplete-list,
    .desktop-destination-autocomplete-list {
        padding: clamp(0.125rem, 0.5vw, 0.5rem) 0;
    }

    .desktop-origin-autocomplete-item,
    .desktop-passport-autocomplete-item,
    .desktop-destination-autocomplete-item {
        padding: clamp(0.25rem, 0.8vw, 0.75rem) clamp(0.5rem, 1vw, 1rem);
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: clamp(0.3rem, 0.6vw, 0.75rem);
        transition: background-color 0.2s;
    }

    .desktop-origin-autocomplete-item:hover,
    .desktop-passport-autocomplete-item:hover,
    .desktop-destination-autocomplete-item:hover {
        background-color: #f3f4f6;
    }

    .desktop-origin-autocomplete-item-flag,
    .desktop-passport-autocomplete-item-flag,
    .desktop-destination-autocomplete-item-flag {
        width: clamp(14px, 2vw, 24px);
        height: clamp(10px, 1.5vw, 18px);
        flex-shrink: 0;
        border-radius: 2px;
        overflow: hidden;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .desktop-origin-autocomplete-item-flag img,
    .desktop-passport-autocomplete-item-flag img,
    .desktop-destination-autocomplete-item-flag img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .desktop-origin-autocomplete-item-name,
    .desktop-passport-autocomplete-item-name,
    .desktop-destination-autocomplete-item-name {
        font-size: clamp(0.625rem, 1.1vw, 0.875rem);
        color: #111827;
        font-weight: 500;
        white-space: nowrap;
    }

    .desktop-origin-autocomplete-no-results,
    .desktop-passport-autocomplete-no-results,
    .desktop-destination-autocomplete-no-results {
        padding: clamp(0.375rem, 1vw, 1rem);
        color: #6b7280;
        text-align: center;
        font-size: clamp(0.625rem, 1.1vw, 0.875rem);
    }
}

/* ================================================
   CUSTOM PURPOSE SELECTOR - Mobile First
   ================================================ */

/* Hide native select */
.purpose-native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Purpose Trigger Button - Base (Mobile) - Matches other form fields */
.purpose-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.375rem 0.75rem 0.375rem 2.5rem;
    background-color: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Public Sans', sans-serif;
    position: relative;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-align: left;
    line-height: 1.5;
}

.purpose-trigger:focus {
    outline: none;
}

.purpose-trigger[aria-expanded="true"] .purpose-trigger-arrow .material-symbols-outlined {
    transform: rotate(180deg);
}

.purpose-trigger-content {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Hide the icon box, use the SVG icon in the input-wrapper instead */
.purpose-trigger-icon {
    display: none;
}

.purpose-trigger-text {
    font-size: 0.8125rem;
    font-weight: 900;
    color: #000000;
    font-style: normal;
}

.purpose-trigger-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.purpose-trigger-arrow .material-symbols-outlined {
    font-size: 20px;
    color: #6b7280;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop/Tablet Dropdown - Hidden on Mobile */
.purpose-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 10px 20px -2px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(72, 131, 31, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.purpose-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.purpose-dropdown-header {
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #f0f9eb 0%, #e8f5e0 100%);
    border-bottom: 1px solid #d1e7c4;
}

.purpose-dropdown-title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #48831f;
}

.purpose-dropdown-options {
    padding: 0.1875rem;
    max-height: 260px;
    overflow-y: auto;
}

.purpose-option {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.4375rem 0.625rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-family: inherit;
}

.purpose-option:hover {
    background: linear-gradient(135deg, #f8fdf6 0%, #f0f9eb 100%);
}

.purpose-option:focus {
    outline: none;
    background: linear-gradient(135deg, #f0f9eb 0%, #e8f5e0 100%);
}

.purpose-option.selected {
    background: linear-gradient(135deg, #e8f5e0 0%, #d9f0cc 100%);
}

.purpose-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(145deg, #f0f9eb 0%, #e8f5e0 100%);
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.purpose-option:hover .purpose-option-icon,
.purpose-option.selected .purpose-option-icon {
    background: linear-gradient(145deg, #48831f 0%, #3a6c18 100%);
    box-shadow: 0 2px 8px rgba(72, 131, 31, 0.3);
}

.purpose-option-icon .material-symbols-outlined {
    font-size: 18px;
    color: #48831f;
    font-variation-settings: 'FILL' 1, 'wght' 500;
    transition: color 0.2s ease;
}

.purpose-option:hover .purpose-option-icon .material-symbols-outlined,
.purpose-option.selected .purpose-option-icon .material-symbols-outlined {
    color: #fff;
}

.purpose-option-content {
    flex: 1;
    min-width: 0;
}

.purpose-option-title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.03125rem;
}

.purpose-option-desc {
    display: block;
    font-size: 0.625rem;
    color: #6b7280;
    line-height: 1.15;
}

.purpose-option-check {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}

.purpose-option.selected .purpose-option-check {
    opacity: 1;
    transform: scale(1);
}

.purpose-option-check .material-symbols-outlined {
    font-size: 24px;
    color: #48831f;
    font-variation-settings: 'FILL' 1, 'wght' 600;
}

/* ================================================
   MOBILE FULL-PAGE PURPOSE MODAL
   Matches country-modal pattern for consistency
   ================================================ */

.purpose-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f6f6f8;
    z-index: 4000;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.purpose-modal-overlay.active {
    display: flex;
}

.purpose-modal {
    background-color: #f6f6f8;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.purpose-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.purpose-modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111318;
    flex: 1;
    text-align: center;
}

.purpose-modal-close {
    padding: 0.5rem;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #1f2937;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.purpose-modal-close:hover {
    background-color: #e5e7eb;
}

.purpose-modal-close .material-icons-outlined {
    font-size: 1.5rem;
}

.purpose-modal-content {
    flex: 1;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-bottom: 100px;
}

/* Intro Section */
.purpose-modal-intro {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #e8f5e0 0%, #f0f9eb 100%);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid #d1e7c4;
}

.purpose-intro-icon {
    font-size: 2rem;
    color: #48831f;
    font-variation-settings: 'FILL' 1, 'wght' 500;
}

.purpose-intro-text {
    margin: 0;
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.5;
    font-weight: 500;
}

/* Purpose Options Grid */
.purpose-options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

/* Purpose Card */
.purpose-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.125rem 1.25rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    text-align: left;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.purpose-card:active {
    transform: scale(0.98);
}

.purpose-card.selected {
    border-color: #48831f;
    background: linear-gradient(135deg, #f8fdf6 0%, #f0f9eb 100%);
    box-shadow: 0 4px 12px rgba(72, 131, 31, 0.15);
}

.purpose-card-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, #f0f9eb 0%, #e8f5e0 100%);
    border-radius: 14px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.purpose-card.selected .purpose-card-icon-wrap {
    background: linear-gradient(145deg, #48831f 0%, #3a6c18 100%);
    box-shadow: 0 4px 12px rgba(72, 131, 31, 0.35);
}

.purpose-card-icon-wrap .material-symbols-outlined {
    font-size: 28px;
    color: #48831f;
    font-variation-settings: 'FILL' 1, 'wght' 500;
    transition: color 0.25s ease;
}

.purpose-card.selected .purpose-card-icon-wrap .material-symbols-outlined {
    color: #ffffff;
}

.purpose-card-content {
    flex: 1;
    min-width: 0;
}

.purpose-card-title {
    display: block;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.purpose-card-desc {
    display: block;
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.4;
}

.purpose-card-check {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.purpose-card.selected .purpose-card-check {
    opacity: 1;
    transform: scale(1);
}

.purpose-card-check .material-symbols-outlined {
    font-size: 28px;
    color: #48831f;
    font-variation-settings: 'FILL' 1, 'wght' 600;
}

/* Sticky Footer */
.purpose-modal-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.purpose-confirm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    background: linear-gradient(145deg, #48831f 0%, #3a6c18 100%);
    border: none;
    border-radius: 14px;
    font-family: 'Public Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(72, 131, 31, 0.35);
}

.purpose-confirm-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(72, 131, 31, 0.25);
}

.purpose-confirm-btn .material-symbols-outlined {
    font-size: 22px;
    font-variation-settings: 'wght' 600;
}

/* ================================================
   TABLET STYLES (768px+)
   ================================================ */

@media (min-width: 768px) {
    /* Hide mobile modal on tablet+ */
    .purpose-modal-overlay {
        display: none !important;
    }

    .purpose-modal-footer {
        display: none !important;
    }

    /* Show dropdown on tablet+ */
    .purpose-dropdown {
        display: block;
    }

    .form-group-purpose {
        position: relative;
    }
}

/* ================================================
   DESKTOP STYLES (1024px+)
   ================================================ */

@media (min-width: 1024px) {

    .purpose-option {
        padding: 0.4375rem 0.625rem;
    }

    .purpose-option-icon {
        width: 36px;
        height: 36px;
    }

    .purpose-option-icon .material-symbols-outlined {
        font-size: 18px;
    }

    .purpose-option-title {
        font-size: 0.8125rem;
    }

    .purpose-option-desc {
        font-size: 0.625rem;
        line-height: 1.15;
    }
}

/* ================================================
   LARGE DESKTOP STYLES (1200px+)
   ================================================ */

@media (min-width: 1200px) {

    .purpose-dropdown-header {
        padding: 0.5rem 0.75rem;
    }

    .purpose-dropdown-title {
        font-size: 0.6875rem;
    }

    .purpose-dropdown-options {
        padding: 0.25rem;
    }

    .purpose-option {
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        gap: 0.75rem;
    }

    .purpose-option-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .purpose-option-icon .material-symbols-outlined {
        font-size: 18px;
    }

    .purpose-option-title {
        font-size: 0.8125rem;
    }

    .purpose-option-desc {
        font-size: 0.625rem;
        line-height: 1.15;
    }

    .purpose-option-check .material-symbols-outlined {
        font-size: 20px;
    }
}

/* XL Desktop styles removed - using base styles for consistency */

/* =====================================================
   VISA SKELETON LOADER WITH SHIMMER EFFECT
   Professional loading animation for visa requirements
   ===================================================== */

/* Progress Bar Loader - Fixed at top */
.visa-skeleton-progress-container {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e5e7eb;
    z-index: 9999;
    overflow: hidden;
}

.visa-skeleton-progress-bar {
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, #48831f, #6bb52a, #8dd35f, #6bb52a, #48831f);
    background-size: 200% 100%;
    border-radius: 0 4px 4px 0;
    animation: visa-progress-move 2s ease-in-out infinite, visa-progress-shimmer 1s linear infinite;
}

@keyframes visa-progress-move {
    0% { transform: translateX(-100%); width: 30%; }
    50% { transform: translateX(150%); width: 50%; }
    100% { transform: translateX(400%); width: 30%; }
}

@keyframes visa-progress-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Hide progress bar on desktop screens */
@media (min-width: 768px) {
    .visa-skeleton-progress-container {
        display: none !important;
    }
}

/* Loading Status Header */
.visa-skeleton-header {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid #bbf7d0;
}

.visa-skeleton-loading-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border: 4px solid #e5e7eb;
    border-top-color: #48831f;
    border-radius: 50%;
    animation: visa-spin 1s linear infinite;
}

@keyframes visa-spin {
    to { transform: rotate(360deg); }
}

.visa-skeleton-loading-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #111318;
    margin-bottom: 0.5rem;
}

.visa-skeleton-loading-route {
    font-size: 1rem;
    color: #48831f;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.visa-skeleton-loading-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Skeleton Base Styles - The Shimmer Effect */
.visa-skeleton {
    background: linear-gradient(
        90deg,
        #e5e7eb 0%,
        #e5e7eb 40%,
        #f3f4f6 50%,
        #e5e7eb 60%,
        #e5e7eb 100%
    );
    background-size: 200% 100%;
    animation: visa-shimmer-wave 1.5s ease-in-out infinite;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

@keyframes visa-shimmer-wave {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Skeleton Container */
.visa-skeleton-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* Skeleton Info Grid */
.visa-skeleton-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .visa-skeleton-info-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.visa-skeleton-info-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.visa-skeleton-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.visa-skeleton-info-label {
    width: 60%;
    height: 12px;
    margin-bottom: 0.5rem;
}

.visa-skeleton-info-value {
    width: 80%;
    height: 18px;
}

/* Skeleton Section */
.visa-skeleton-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.visa-skeleton-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.visa-skeleton-section-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.visa-skeleton-section-title {
    width: 180px;
    height: 22px;
}

/* Skeleton Document Items */
.visa-skeleton-document {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.visa-skeleton-document-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.visa-skeleton-document-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.visa-skeleton-document-title {
    width: 60%;
    height: 16px;
}

.visa-skeleton-document-desc {
    width: 90%;
    height: 14px;
}

.visa-skeleton-document-desc-2 {
    width: 70%;
    height: 14px;
}

/* Skeleton Steps */
.visa-skeleton-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .visa-skeleton-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

.visa-skeleton-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 10px;
}

.visa-skeleton-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

.visa-skeleton-step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.visa-skeleton-step-title {
    width: 70%;
    height: 16px;
}

.visa-skeleton-step-desc {
    width: 100%;
    height: 14px;
}

.visa-skeleton-step-desc-2 {
    width: 80%;
    height: 14px;
}

/* Skeleton Sidebar Card */
.visa-skeleton-sidebar {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #bbf7d0;
}

.visa-skeleton-sidebar-title {
    width: 70%;
    height: 20px;
    margin-bottom: 0.75rem;
    background: linear-gradient(
        90deg,
        #bbf7d0 0%,
        #bbf7d0 40%,
        #dcfce7 50%,
        #bbf7d0 60%,
        #bbf7d0 100%
    );
    background-size: 200% 100%;
    animation: visa-shimmer-wave 1.5s ease-in-out infinite;
    border-radius: 6px;
}

.visa-skeleton-sidebar-desc {
    width: 100%;
    height: 14px;
    margin-bottom: 0.5rem;
    background: linear-gradient(
        90deg,
        #bbf7d0 0%,
        #bbf7d0 40%,
        #dcfce7 50%,
        #bbf7d0 60%,
        #bbf7d0 100%
    );
    background-size: 200% 100%;
    animation: visa-shimmer-wave 1.5s ease-in-out infinite;
    border-radius: 6px;
}

.visa-skeleton-sidebar-desc-2 {
    width: 80%;
    height: 14px;
    margin-bottom: 1.5rem;
    background: linear-gradient(
        90deg,
        #bbf7d0 0%,
        #bbf7d0 40%,
        #dcfce7 50%,
        #bbf7d0 60%,
        #bbf7d0 100%
    );
    background-size: 200% 100%;
    animation: visa-shimmer-wave 1.5s ease-in-out infinite;
    border-radius: 6px;
}

.visa-skeleton-button {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    background: linear-gradient(
        90deg,
        #86efac 0%,
        #86efac 40%,
        #bbf7d0 50%,
        #86efac 60%,
        #86efac 100%
    );
    background-size: 200% 100%;
    animation: visa-shimmer-wave 1.5s ease-in-out infinite;
}

.visa-skeleton-button-secondary {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        #d1fae5 0%,
        #d1fae5 40%,
        #ecfdf5 50%,
        #d1fae5 60%,
        #d1fae5 100%
    );
    background-size: 200% 100%;
    animation: visa-shimmer-wave 1.5s ease-in-out infinite;
}

/* Desktop layout for skeleton */
@media (min-width: 1024px) {
    .visa-skeleton-layout {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 2rem;
        align-items: start;
    }

    .visa-skeleton-main {
        flex: 1;
    }

    .visa-skeleton-sidebar-wrapper {
        position: sticky;
        top: 8rem;
    }
}

/* =========================================
   MODERN FOOTER STYLES
   ========================================= */

/* INSTANT FOOTER RENDERING - Prevent "bits and pieces" loading */
.footer-modern {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  width: 100%;
  overflow: hidden;
  /* Reserve minimum height to prevent layout shift */
  min-height: 450px;
  /* Contain layout to isolate rendering */
  contain: layout style;
  /* Ensure footer renders as complete block */
  content-visibility: visible;
}

/* Footer image placeholders - show background while images load */
.footer-modern img {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Logo image - fixed dimensions to prevent shift */
.footer-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* Payment logos - fill edges */
.payment-logo {
  object-fit: contain;
  padding: 0;
}

/* Banner images - responsive */
.footer-brand-banner,
.footer-brand-banner-desktop {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Wave decoration */
.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  color: #f8fafc;
  transform: translateY(-100%);
  line-height: 0;
  pointer-events: none;
}

.footer-wave svg {
  width: 100%;
  height: 100%;
}

/* Main footer content */
.footer-main {
  padding: 80px 0 50px;
  position: relative;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
}

/* Brand column */
.footer-brand {
  padding-right: 24px;
  overflow: visible !important;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-logo .logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
  font-family: 'Poppins', 'Nunito', 'Quicksand', sans-serif;
  text-transform: uppercase;
  overflow: visible !important;
  text-overflow: unset !important;
  max-width: none !important;
  flex-shrink: 0;
  background: linear-gradient(
    90deg,
    #ffd700,
    #22c55e,
    #16a34a,
    #15803d,
    #22c55e,
    #ffd700
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 4s ease-in-out infinite;
}

.footer-logo .logo-accent {
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 768px) {
  .footer-logo {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer-logo-img {
    height: 45px;
  }
  .footer-logo .logo-text {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-logo-img {
    height: 40px;
  }
  .footer-logo .logo-text {
    font-size: 1.25rem;
  }
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 28px;
}

/* Social buttons */
.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.social-btn-x {
  background: #fff;
  border-color: #fff;
}

.social-btn-x:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
}

/* Footer headings */
.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 2px;
}

/* Footer links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.925rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.footer-links a .link-arrow {
  color: #22c55e;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-links a:hover .link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Contact column */
.footer-contact-list {
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.925rem;
  color: #94a3b8;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  flex-shrink: 0;
}

/* Newsletter */
.footer-newsletter {
  margin-top: 8px;
}

.newsletter-label {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.newsletter-form-modern {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.newsletter-form-modern:focus-within {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.newsletter-form-modern input {
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form-modern input::placeholder {
  color: #64748b;
}

.newsletter-form-modern button {
  padding: 14px 20px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form-modern button:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

/* Footer Banner - Desktop (inside brand section) */
.footer-brand-banner-desktop {
  display: block;
  width: 450px;
  max-width: none !important;
  height: auto;
  margin-top: 16px;
  margin-bottom: 20px;
  border-radius: 6px;
  object-fit: contain;
}

/* Footer Banner Wrapper - Full Width Mobile */
.footer-banner-wrapper {
  display: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.footer-brand-banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  /* Hide desktop banner on mobile */
  .footer-brand-banner-desktop {
    display: none;
  }

  /* Show full-width banner wrapper on mobile */
  .footer-banner-wrapper {
    display: block;
  }

  .footer-brand-banner {
    width: 100%;
    border-radius: 0;
  }
}

/* Bottom bar */
.footer-bottom-bar {
  background: rgba(0, 0, 0, 0.2);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-legal a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: #22c55e;
}

.footer-legal .divider {
  color: #475569;
}

.footer-payment {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-label {
  font-size: 0.8rem;
  color: #64748b;
}

.payment-icons {
  display: flex;
  gap: 10px;
}

.payment-icons i {
  font-size: 1.5rem;
  color: #64748b;
  transition: color 0.25s ease;
}

.payment-icons i:hover {
  color: #94a3b8;
}

.payment-logo {
  height: 32px;
  width: 100%;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  padding: 0;
}

@media (max-width: 480px) {
  .payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 220px;
  }

  .payment-logo {
    height: 28px;
    width: 100%;
  }

  .payment-logo:nth-child(1),
  .payment-logo:nth-child(2),
  .payment-logo:nth-child(3) {
    flex: 0 0 calc(33.33% - 6px);
  }

  .payment-logo:nth-child(4),
  .payment-logo:nth-child(5) {
    flex: 0 0 calc(50% - 4px);
  }
}

/* Tablet responsive */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
    padding-right: 0;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-tagline {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .footer-main {
    padding: 60px 0 40px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links a {
    justify-content: center;
  }

  .footer-links a .link-arrow {
    display: none;
  }

  .contact-item {
    justify-content: center;
  }

  .newsletter-form-modern {
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-payment {
    flex-direction: column;
    gap: 8px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .footer-main {
    padding: 48px 0 32px;
  }

  .footer-container {
    padding: 0 16px;
    gap: 32px;
  }

  .footer-logo .logo-text {
    font-size: 1.25rem;
  }

  .footer-tagline {
    font-size: 0.875rem;
  }

  .social-btn {
    width: 38px;
    height: 38px;
  }

  .footer-heading {
    font-size: 0.9rem;
  }

  .footer-links a {
    font-size: 0.875rem;
  }

  .contact-item {
    font-size: 0.875rem;
  }

  .footer-bottom-bar {
    padding: 20px 0;
  }

  .copyright, .footer-legal a {
    font-size: 0.8rem;
  }
}

/* Hide old footer */
.footer {
  display: none;
}
