/* CSS Custom Properties / Design Tokens */
:root {
    --primary: #0E4B5E;          /* Logo Deep Slate Teal/Blue (Trustworthy & Stable) */
    --primary-light: #155E75;
    --secondary: #D22630;        /* Logo Red (Call to Action & Highlight) */
    --background: #F4F7F9;       /* Soft grey-blue background */
    --text: #222B32;             /* Logo Charcoal text */
    --text-muted: #5A6982;       /* Slate-grey text */
    --white: #FFFFFF;
    --accent: #D22630;           /* Logo Red */
    --accent-hover: #B51F26;
    --border: #E1E8ED;
    --border-focus: #1C75BC;     /* Logo Airplane Blue */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Helper Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #155cb8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-success {
    background-color: var(--accent);
    color: var(--white);
    font-weight: 700;
}

.btn-success:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    gap: 6px;
}

.badge-trust {
    background-color: #E6F0FA;
    color: var(--primary);
}

.badge-trust i {
    color: var(--secondary);
}

/* Header & Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 74px;
    display: flex;
    align-items: center;
    transition: height 0.3s ease, background-color 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-image {
    height: 46px;
    max-height: 48px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease, max-height 0.3s ease;
}

.header .logo-image {
    height: 46px;
    max-height: 48px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: var(--secondary);
}

/* Visa Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.active .nav-dropdown-toggle {
    color: var(--secondary);
}

.dropdown-arrow {
    font-size: 0.72rem;
    transition: transform 0.25s ease;
    color: var(--text-muted);
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--secondary);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: var(--white);
    min-width: 290px;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 36px rgba(14, 75, 94, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(14, 75, 94, 0.1);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
    z-index: 1050;
}

/* Invisible bridge hover zone so menu stays open seamlessly when moving pointer */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.dropdown-item:hover {
    background-color: #F0F9FB;
    transform: translateX(3px);
}

.dropdown-flag {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
}

.dropdown-item-content {
    display: flex;
    flex-direction: column;
}

.dropdown-item-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary);
    line-height: 1.25;
}

.dropdown-item-desc {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.2;
    margin-top: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Header Action Buttons - Standardized height and sleek fit */
.header-btn {
    height: 40px;
    padding: 0 18px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.header-btn-signin {
    border: 1.5px solid rgba(14, 75, 94, 0.35);
    color: var(--primary);
    background: transparent;
}

.header-btn-signin:hover {
    background: rgba(14, 75, 94, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.header-btn-cta {
    background: var(--primary);
    color: var(--white);
    border: 1.5px solid var(--primary);
    box-shadow: 0 2px 6px rgba(14, 75, 94, 0.18);
}

.header-btn-cta:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 75, 94, 0.25);
}

.header-btn-logout {
    border: 1.5px solid #CBD5E1;
    color: var(--text-muted);
    background: transparent;
}

.header-btn-logout:hover {
    background-color: #FEE2E2;
    border-color: #FCA5A5;
    color: #991B1B;
}

.phone-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 30px;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transition: top 0.3s ease;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    padding: 6px 0;
    text-decoration: none;
}

.mobile-nav-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 4px 0;
    padding: 10px 14px;
    background: #F8FAFC;
    border-radius: var(--radius-md);
    border: 1px solid #EDF2F7;
    gap: 4px;
}

.mobile-group-title {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.mobile-nav-sublink {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav-sublink:hover {
    background: rgba(14, 75, 94, 0.08);
    color: var(--primary);
}

.mobile-phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    margin-top: 8px;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #FFFFFF 0%, #EBF2F7 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26,115,232,0.05) 0%, transparent 70%);
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-top: 16px;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Visual Card */
.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.visual-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    max-width: 400px;
    width: 100%;
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.secure-icon {
    font-size: 2.2rem;
    color: var(--primary);
}

.visual-header h4 {
    font-size: 1.1rem;
    color: var(--primary);
}

.visual-header p {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.visual-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.visual-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}

.list-check {
    color: var(--accent);
}

.visual-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--background);
    padding: 12px;
    border-radius: var(--border-radius);
    border: 1px dashed var(--border);
}

/* Trust Bar */
.trust-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 24px 0;
    border-bottom: 4px solid var(--secondary);
}

.trust-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.trust-logos {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-logo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.trust-logo-icon {
    font-size: 1.1rem;
    color: var(--accent);
}

/* Sections Global */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px auto;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary);
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--background);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.service-icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.service-card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--background);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    position: relative;
}

.step-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    border: 1px solid var(--border);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step-number {
    position: absolute;
    top: -24px;
    left: 32px;
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    border: 4px solid var(--background);
}

.step-title {
    font-size: 1.25rem;
    margin-top: 8px;
    margin-bottom: 16px;
}

.step-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 32px;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: #FFC107;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.testimonial-comment {
    font-style: italic;
    color: var(--text);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #E6F0FA;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.author-name {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 700;
}

.author-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Lead Form Section */
.lead-form-section {
    background-color: var(--background);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.form-container {
    max-width: 1100px;
}

.form-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-info {
    background-color: var(--primary);
    color: var(--white);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-info-title {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.form-info-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.form-info-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.form-info-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-info-points i {
    color: var(--accent);
}

.form-info-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 28px;
}

.form-secure-lock {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 4px;
}

.form-info-footer p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.form-info-footer strong {
    color: var(--white);
}

/* Actual Form Area */
.form-wrapper {
    padding: 48px;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.required {
    color: #D32F2F;
}

.input-icon-wrapper {
    position: relative;
    width: 100%;
}

.field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background-color: var(--background);
    transition: var(--transition);
}

.form-select {
    padding-left: 16px; /* dropdown doesn't strictly need icon */
}

.form-textarea {
    padding-left: 16px;
    min-height: 100px;
    resize: vertical;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.form-input.invalid, .form-select.invalid {
    border-color: #D32F2F;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.error-msg {
    display: block;
    font-size: 0.75rem;
    color: #D32F2F;
    margin-top: 4px;
    font-weight: 600;
    min-height: 16px;
}

.btn-arrow {
    transition: transform 0.2s ease;
}

.btn-success:hover .btn-arrow {
    transform: translateX(4px);
}

.form-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
}

.form-status.success {
    background-color: #E6F6F0;
    color: #007A4D;
    border: 1px solid #BCE5D6;
    display: block;
}

.form-status.error {
    background-color: #FDF2F2;
    color: #9B1C1C;
    border: 1px solid #FDE8E8;
    display: block;
}

/* FAQ Accordion */
.faq {
    background-color: var(--white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    padding: 8px 0;
    cursor: pointer;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-top: 8px;
    padding-bottom: 16px;
    line-height: 1.6;
}

/* Open Accordion State */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--secondary);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* arbitrary height to slide down nicely */
}

/* Modal Window */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 51, 102, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

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

.modal-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-success-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.modal-title {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.modal-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.modal-close-btn {
    width: 100%;
}

/* Footer Section */
.footer {
    background-color: #0A192F; /* Very deep dark blue/navy */
    color: #8892B0;
    padding-top: 80px;
    border-top: 1px solid #172A45;
}

.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo {
    background-color: var(--white);
    padding: 6px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 6px;
}

.footer-brand .logo-image {
    height: 42px;
    max-height: 44px;
    width: auto;
}

.footer-brand .logo-icon {
    color: var(--white);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand .accent-text {
    color: var(--secondary);
}

.footer-tagline {
    font-size: 0.85rem;
    margin-top: 16px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #172A45;
    color: #CCD6F6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #8892B0;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact p {
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 4px;
}

/* Disclaimer area */
.footer-disclaimer {
    border-top: 1px solid #172A45;
    padding: 32px 0;
    background-color: #071120;
    font-size: 0.75rem;
    line-height: 1.6;
}

.footer-disclaimer p {
    margin-bottom: 12px;
    color: #5A6982;
}

.footer-disclaimer p strong {
    color: #8892B0;
}

.copyright {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.copyright a {
    color: #8892B0;
    text-decoration: underline;
}

.copyright a:hover {
    color: var(--white);
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .header {
        height: 70px;
    }
    .header .logo-image {
        height: 40px;
        max-height: 42px;
    }
    .nav {
        gap: 18px;
    }
    .nav-link {
        font-size: 0.9rem;
    }
    .header-btn {
        height: 38px;
        padding: 0 14px;
        font-size: 0.86rem;
    }
    .mobile-nav {
        top: 70px;
    }
}

@media (max-width: 992px) {
    .header {
        height: 66px;
    }
    
    .header .logo-image {
        height: 38px;
        max-height: 40px;
    }
    
    .header-right {
        display: none;
    }
    
    .nav {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .mobile-nav {
        top: 66px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-visual {
        justify-content: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-info {
        padding: 32px;
    }
    
    .form-wrapper {
        padding: 32px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .header {
        height: 62px;
    }
    
    .header .logo-image {
        height: 34px;
        max-height: 36px;
    }
    
    .mobile-nav {
        top: 62px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        width: 100%;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* UI Adjustments for Country Code Select and Phone Layout */
.phone-input-container {
    display: flex;
    gap: 8px;
    width: 100%;
}

.country-code-select {
    width: 125px;
    flex-shrink: 0;
    padding-left: 10px !important;
    padding-right: 10px !important;
    background-color: var(--background);
}

.phone-number-wrapper {
    flex-grow: 1;
}

/* Service Tabbed Page Layout */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.tab-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.services-wrapper {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.services-tab-content {
    display: none;
    padding: 48px;
}

.services-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.service-content-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.service-content-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1rem;
}

.service-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
}

.service-features-list i {
    color: var(--secondary);
}

.service-flag-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-flag-visual svg {
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.08));
}

/* Contact Info Column Adjustments */
.form-info-logo {
    max-height: 44px;
    width: auto;
    margin-bottom: 32px;
    display: block;
}

.contact-details-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.25rem;
    color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 50%;
    margin-top: 4px;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white) !important;
    margin-bottom: 2px;
}

.contact-value:hover {
    color: var(--border-focus) !important;
}

/* Social Media Channels Styles */
.connect-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
    width: 100%;
}

.social-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 2px;
}

.social-channel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    height: 44px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--white) !important;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
}

.social-channel-btn i {
    font-size: 1.15rem;
    line-height: 1;
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #1EBE5B;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 39, 67, 0.35);
}

@media (max-width: 576px) {
    .social-channels {
        grid-template-columns: 1fr;
    }
}

/* Mobile & Tab Visual Overrides */
@media (max-width: 992px) {
    .service-content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .service-features-list li {
        justify-content: center;
    }
    .service-flag-visual {
        order: -1;
    }
}

/* Visa Service Pages Styles */
.visa-banner {
    background-color: var(--primary);
    padding: 100px 0 60px;
    color: var(--white);
    border-bottom: 4px solid var(--secondary);
}

.visa-banner-container {
    display: flex;
    align-items: center;
}

.visa-banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.visa-banner-flag {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.visa-banner-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 4px;
}

.visa-banner-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.visa-page-body {
    padding: 60px 0 80px;
    background-color: var(--background);
}

.visa-body-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: start;
}

.visa-main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.visa-content-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.visa-content-card h2 {
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--background);
    padding-bottom: 12px;
}

.visa-content-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.visa-subtypes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

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

.subtype-box {
    background-color: var(--background);
    padding: 24px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.subtype-box h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.subtype-box p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.strategy-step {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    align-items: start;
}

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

.strategy-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    background-color: rgba(210, 38, 48, 0.08);
    padding: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.strategy-step h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.strategy-step p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.faq-item-simple {
    margin-bottom: 24px;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 20px;
}

.faq-item-simple:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item-simple h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.faq-item-simple p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Sidebar Styling */
.visa-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-cta-card {
    background-color: var(--primary);
    color: var(--white);
    padding: 36px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.sidebar-cta-card h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.sidebar-cta-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.sidebar-contact-info {
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-contact-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.sidebar-contact-info i {
    color: var(--secondary);
}

@media (max-width: 992px) {
    .visa-body-container {
        grid-template-columns: 1fr;
    }
    .visa-sidebar {
        position: static;
    }
}

@media (max-width: 480px) {
    .header {
        height: 58px;
    }
    .header .logo-image {
        height: 30px;
        max-height: 32px;
    }
    .mobile-nav {
        top: 58px;
    }
    .footer-brand .logo-image {
        height: 30px;
        max-height: 32px;
    }
}

/* ==========================================================================
   Authentication & Portal Access Styles
   ========================================================================== */
.auth-section {
    min-height: calc(100vh - 74px);
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #F8FAFC 0%, #EBF2F7 100%);
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
}

.auth-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(14, 75, 94, 0.08);
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary);
    display: block;
    margin-bottom: 8px;
}

.auth-title {
    font-size: 1.85rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.auth-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Auth Inputs & Theme-Matched Controls */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    background-color: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-control::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.form-control:hover {
    border-color: #94A3B8;
    background-color: #FFFFFF;
}

.form-control:focus {
    border-color: var(--primary);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(14, 75, 94, 0.12);
    outline: none;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #64748B;
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
    transition: color 0.2s ease;
}

.input-icon-wrapper:focus-within .input-icon {
    color: var(--primary);
}

.input-icon-wrapper .form-control {
    padding-left: 46px;
}

.password-input-wrapper .form-control {
    padding-right: 48px;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748B;
    font-size: 1.05rem;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
    z-index: 3;
}

.password-toggle-btn:hover {
    color: var(--primary);
    background-color: rgba(14, 75, 94, 0.08);
}

.auth-submit-btn {
    margin-top: 10px;
}

.auth-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.auth-link:hover {
    color: var(--secondary);
}

/* Alert Notification Banners */
/* Alert Notification Banners */
.alert {
    position: relative;
    padding: 14px 44px 14px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease;
}

.alert-error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.alert-success {
    background-color: #DCFCE7;
    color: #166534;
    border: 1px solid #86EFAC;
}

.alert-info {
    background-color: #E0F2FE;
    color: #075985;
    border: 1px solid #7DD3FC;
}

.alert-close-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 1.35rem;
    line-height: 1;
    color: currentColor;
    opacity: 0.55;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.alert-close-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.15);
}

/* Header User Profile & Sign Out - Theme Matching */
.user-action-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 12px 0 8px;
    background: rgba(14, 75, 94, 0.06);
    border: 1.5px solid rgba(14, 75, 94, 0.18);
    border-radius: 8px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.header-user-badge:hover {
    background: rgba(14, 75, 94, 0.1);
    border-color: var(--primary);
}

.header-user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.header-username {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
}

.header-role-pill {
    background: var(--primary);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
}

.header-btn-signout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent) !important;
    background: rgba(210, 38, 48, 0.05);
    border: 1.5px solid rgba(210, 38, 48, 0.3);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-btn-signout:hover {
    background: var(--accent) !important;
    color: var(--white) !important;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(210, 38, 48, 0.25);
}

.header-btn-signout i {
    font-size: 0.88rem;
}

.nav-link-dashboard {
    color: var(--primary) !important;
    font-weight: 700 !important;
    background: rgba(14, 75, 94, 0.08);
    padding: 6px 12px;
    border-radius: 6px;
}

.nav-link-dashboard:hover {
    background: rgba(14, 75, 94, 0.15);
}

.mobile-dashboard-link {
    color: var(--primary) !important;
    font-weight: 700 !important;
    background: rgba(14, 75, 94, 0.08);
    padding: 10px 16px;
    border-radius: 6px;
}

/* ==========================================================================
   Inquiries Dashboard Styles
   ========================================================================== */
.dashboard-section {
    min-height: 100vh;
    padding: 110px 0 80px;
    background-color: #F8FAFC;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(14, 75, 94, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.dashboard-title {
    font-size: 2.1rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.dashboard-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 0;
}

.dashboard-user-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.user-avatar-icon {
    font-size: 1.8rem;
    color: var(--primary);
}

.user-greeting {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.user-name {
    font-size: 0.95rem;
    color: var(--text);
}

.badge-staff {
    background-color: var(--secondary);
    color: var(--white);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    font-weight: 600;
}

/* Metric Cards */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.metric-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.metric-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.metric-total {
    background-color: rgba(14, 75, 94, 0.1);
    color: var(--primary);
}

.metric-new {
    background-color: #FEF3C7;
    color: #D97706;
}

.metric-progress {
    background-color: #EDE9FE;
    color: #7C3AED;
}

.metric-booked {
    background-color: #D1FAE5;
    color: #059669;
}

.metric-info {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin: 0;
}

/* Toolbar & Filters */
.dashboard-toolbar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

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

.search-box {
    position: relative;
    flex-grow: 1;
    min-width: 260px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-box .form-control {
    padding-left: 38px;
    height: 42px;
}

.filter-selects {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.select-filter {
    height: 42px;
    min-width: 160px;
    font-size: 0.9rem;
}

/* Data Table Card */
.table-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-title {
    font-size: 1.15rem;
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.records-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.table-responsive {
    overflow-x: auto;
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.leads-table th {
    background-color: #F8FAFC;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.leads-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.leads-table tbody tr:hover {
    background-color: #F8FAFC;
}

.leads-table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Cells */
.cell-date {
    white-space: nowrap;
}

.date-main {
    display: block;
    font-weight: 600;
    color: var(--text);
}

.time-sub {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.cell-client {
    min-width: 200px;
}

.client-name {
    font-size: 1rem;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.client-contacts {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.82rem;
}

.contact-link {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.country-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background-color: #F1F5F9;
    color: #334155;
    white-space: nowrap;
}

.country-usa { background-color: #EFF6FF; color: #1D4ED8; }
.country-uk { background-color: #FDF2F8; color: #BE185D; }
.country-canada { background-color: #FEF2F2; color: #B91C1C; }
.country-australia { background-color: #F0FDF4; color: #15803D; }
.country-schengen { background-color: #F0F9FF; color: #0369A1; }

.category-badge {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    background-color: rgba(14, 75, 94, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.cell-message {
    max-width: 220px;
}

.message-preview {
    margin: 0;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
}

.text-empty {
    color: #94A3B8;
    font-size: 0.8rem;
    font-style: italic;
}

/* Status Pills */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status-new {
    background-color: #EFF6FF;
    color: #1E40AF;
}
.status-new .status-dot { background-color: #3B82F6; }

.status-contacted {
    background-color: #FEF3C7;
    color: #92400E;
}
.status-contacted .status-dot { background-color: #F59E0B; }

.status-in_progress {
    background-color: #EDE9FE;
    color: #5B21B6;
}
.status-in_progress .status-dot { background-color: #8B5CF6; }

.status-booked {
    background-color: #D1FAE5;
    color: #065F46;
}
.status-booked .status-dot { background-color: #10B981; }

.status-cancelled {
    background-color: #F1F5F9;
    color: #64748B;
}
.status-cancelled .status-dot { background-color: #94A3B8; }

/* Status Update Dropdown */
.status-select {
    padding: 6px 10px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: 6px;
    background-color: var(--white);
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.status-select:hover, .status-select:focus {
    border-color: var(--primary);
    outline: none;
}

/* Empty State */
.empty-state {
    padding: 60px 24px;
    text-align: center;
}

.empty-icon {
    font-size: 3rem;
    color: #94A3B8;
    margin-bottom: 16px;
}

.empty-state h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto 20px;
}

/* Responsive Overrides for Dashboard */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dashboard-user-meta {
        justify-content: space-between;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-selects {
        flex-direction: column;
        align-items: stretch;
    }
    
    .select-filter {
        width: 100%;
    }
    
    .filter-selects .btn {
        width: 100%;
    }
}

