/* Modern Color Palette */
:root {
    /* Primary Colors - Professional Blues */
    --primary-900: #1e3a8a;        /* Deep navy blue */
    --primary-700: #1d4ed8;        /* Rich blue */
    --primary-600: #2563eb;        /* Primary blue */
    --primary-500: #3b82f6;        /* Medium blue */
    --primary-400: #60a5fa;        /* Light blue */
    --primary-100: #dbeafe;        /* Very light blue */
    --primary-50: #eff6ff;         /* Subtle blue tint */
    
    /* Secondary Colors - Modern Accent */
    --secondary-600: #059669;      /* Professional teal */
    --secondary-500: #10b981;      /* Emerald green */
    --secondary-400: #34d399;      /* Light green */
    --secondary-100: #d1fae5;      /* Light green tint */
    
    /* Neutral Colors - Modern Grays */
    --neutral-900: #111827;        /* Almost black */
    --neutral-800: #1f2937;        /* Dark gray */
    --neutral-700: #374151;        /* Medium dark gray */
    --neutral-600: #4b5563;        /* Medium gray */
    --neutral-500: #6b7280;        /* Gray */
    --neutral-400: #9ca3af;        /* Light gray */
    --neutral-300: #d1d5db;        /* Lighter gray */
    --neutral-200: #e5e7eb;        /* Very light gray */
    --neutral-100: #f3f4f6;        /* Off white */
    --neutral-50: #f9fafb;         /* Almost white */
    
    /* Semantic Colors */
    --success: #10b981;            /* Success green */
    --warning: #f59e0b;            /* Warning amber */
    --error: #ef4444;              /* Error red */
    
    /* Surface Colors */
    --surface-primary: #ffffff;     /* Pure white */
    --surface-secondary: #f8fafc;   /* Subtle gray background */
    --surface-tertiary: #f1f5f9;    /* Card backgrounds */
    
    /* Typography Scale */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.25rem;    /* 36px */
    --text-5xl: 3rem;       /* 48px */
    
    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Spacing Scale */
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    
    /* Border Radius Scale */
    --radius-sm: 0.375rem;   /* 6px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    
    /* Shadow Scale */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 12px 24px -8px rgba(0, 0, 0, 0.1);
}

/* Fixed Header and Footer Layout */
/* Header and footer are fixed to viewport, body content scrolls independently */

.header {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
    padding: 3px 8px;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.15);
    justify-content: space-between;
    border-bottom: 1px solid var(--primary-500);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    box-sizing: border-box;
}

.mobile-company-name {
    display: none;
}

.logo-and-menu-row {
    display: none;
}

.desktop-logo-text {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 0;
}

.desktop-logo-text .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 20px;
}

.desktop-logo-text .logo-img {
    height: 60px;
    width: auto;
    margin-right: 20px;
    display: block;
}

.header .logo-text {
    display: block;
    color: var(--surface-primary);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    letter-spacing: 0.025em;
    line-height: var(--leading-tight);
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    display: flex;
    background: var(--neutral-800);
    color: var(--surface-primary);
    border: 1px solid var(--neutral-600);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 20px;
    cursor: pointer;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-right: 40px; /* Default for desktop */
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    background: var(--neutral-700);
    border-color: var(--neutral-500);
}

.header a {
    color: var(--surface-primary);
    text-align: center;
    padding: 12px 16px;
    text-decoration: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.header a:hover,
.header a:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--primary-100);
    outline: none;
    transform: translateY(-1px);
}

/* Responsive design */
@media screen and (max-width: 600px) {

    .header {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
        height: auto;
    }

    .desktop-logo-text {
        display: none !important;
    }

    .mobile-company-name {
        display: none; /* Hide the separate company name */
    }

    .mobile-company-name .logo-text {
        display: none;
    }

    .logo-and-menu-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        order: 1;
        padding: 0 10px;
        box-sizing: border-box;
        gap: 10px;
    }

    .logo-and-menu-row .logo-text-row {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        gap: 10px;
    }

    .logo-and-menu-row .logo {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .logo-and-menu-row .logo-img {
        height: 40px;
        width: 40px;
        margin-right: 10px;
    }

    .logo-and-menu-row .logo-text {
        display: block;
        font-size: var(--text-xl);
        line-height: var(--leading-snug);
        color: var(--surface-primary);
        font-weight: var(--font-bold);
        white-space: nowrap;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

    .menu-toggle {
        display: flex;
        background: var(--neutral-800);
        color: var(--surface-primary);
        border: 1px solid var(--neutral-600);
        border-radius: 6px;
        padding: 8px 12px;
        font-size: var(--text-xl);
        cursor: pointer;
        margin: 0; /* Reset margin for mobile */
        height: 40px;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }

    .menu-toggle:hover {
        background: var(--neutral-700);
        border-color: var(--neutral-500);
    }

    .header-right {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface-primary);
        border: 1px solid var(--neutral-200);
        border-radius: 0 0 8px 8px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        z-index: 1002;
    }

    .header-right a {
        padding: 16px 20px;
        display: block;
        color: var(--neutral-700);
        text-decoration: none;
        font-family: inherit;
        font-size: var(--text-lg);
        font-weight: var(--font-medium);
        border-radius: 0;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--neutral-100);
    }

    .header-right a:last-child {
        border-bottom: none;
    }

    .header-right a:hover,
    .header-right a:focus {
        background-color: var(--primary-50) !important;
        color: var(--primary-700);
        outline: none;
        transform: translateX(4px);
    }

    .header-right a.active {
        background-color: var(--primary-100);
        color: var(--primary-700);
        font-weight: var(--font-semibold);
    }

    .header-right.open {
        display: flex;
    }

    body {
        padding-top: 165px; /* header height (100px) + 65px gap */
        padding-bottom: 25px;
    }
}

/* Main content styling */
main {
    flex: 1;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* Main content for pages with full-width sections (index, services) */
main.full-width {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Main content for regular pages (contact, support, faq, about) */
main.regular {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    color: var(--neutral-900);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

h2 {
    color: var(--neutral-800);
    font-size: var(--text-3xl);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

h3 {
    color: var(--neutral-700);
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    margin-bottom: 0.5rem;
}

h4 {
    color: var(--neutral-700);
    font-size: var(--text-xl);
    font-weight: var(--font-medium);
    line-height: var(--leading-normal);
    margin-bottom: 0.5rem;
}

h5 {
    color: var(--neutral-600);
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    line-height: var(--leading-normal);
    margin-bottom: 0.25rem;
}

h6 {
    color: var(--neutral-600);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    line-height: var(--leading-normal);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p,
ul,
ol {
    font-size: var(--text-lg);
    color: var(--neutral-700);
    line-height: var(--leading-relaxed);
    margin-bottom: 1rem;
}

/* Text size utilities */
.text-sm {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
}

.text-base {
    font-size: var(--text-base);
    line-height: var(--leading-normal);
}

.text-lg {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

/* Text color utilities */
.text-primary {
    color: var(--primary-600);
}

.text-secondary {
    color: var(--secondary-600);
}

.text-muted {
    color: var(--neutral-500);
}

/* Link styling */
.text-link {
    color: var(--primary-600);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.text-link:hover,
.text-link:focus {
    color: var(--primary-700);
    text-decoration: none;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, var(--surface-secondary) 0%, var(--neutral-50) 100%);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 95px; /* header height (70px) + 25px gap */
    padding-bottom: 25px;
    box-sizing: border-box;
    color: var(--neutral-800);
    line-height: 1.6;
    position: relative;
}

/* Subtle background pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(59, 130, 246, 0.02) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
}

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

.logo-img {
    height: 60px;
    /* Adjust as needed */
    width: auto;
    margin-right: 20px;
    display: block;
}

.logo-text {
    display: block;
    color: var(--neutral-900);
    font-weight: var(--font-bold);
    font-size: var(--text-3xl);
    line-height: var(--leading-tight);
    letter-spacing: 0.025em;
}

/* Footer content styling */
.site-footer {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
    padding: 6px 0;
    text-align: center;
    border-top: 1px solid var(--primary-500);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    box-sizing: border-box;
    box-shadow: 0 -4px 20px rgba(30, 58, 138, 0.15);
}

.footer-content {
    color: var(--surface-primary);
    font-size: 1.1em;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.footer-content span {
    display: block;
    text-align: center;
}

.footer-link {
    color: var(--surface-primary);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.footer-link:hover,
.footer-link:focus {
    color: var(--primary-100);
    text-decoration: none;
}

/* Grid content styling */
.grid-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Row 1 is 1fr high, row 2 is 0.66fr high (66% of the top row) */
    grid-template-rows: 1fr 0.66fr;
    gap: var(--space-6);
    margin: var(--space-10) auto;
    max-width: 1200px;
    padding: var(--space-5);
    min-height: 70vh;
}

.grid-sections section {
    background: var(--surface-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 0;
    border: 1px solid var(--neutral-200);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.grid-sections section:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.grid-sections section h2 {
    margin-top: 0;
    color: var(--primary-700);
    font-size: var(--text-3xl);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
}

.grid-sections section:nth-child(1) h2 {
    /* Center the heading in the first section */
    text-align: center;
    align-self: center;
    margin: 0 auto 0.5em auto;
}

.grid-sections section:nth-child(2) {
    /* Align content to the top like other sections */
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.grid-sections section:nth-child(2) h2 {
    /* Center only the heading horizontally */
    text-align: center;
    align-self: center;
    margin: 0 auto 0.5em auto;
}

.section-bg {
    background: var(--surface-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    margin: var(--space-6) auto;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--neutral-200);
    transition: box-shadow 0.3s ease;
}

.section-bg:hover {
    box-shadow: var(--shadow-lg);
}

.section-bg h2 {
    align-self: left;
    text-align: left;
    color: var(--primary-700);
    font-size: var(--text-3xl);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    margin-bottom: var(--space-3);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.service-section {
    background: var(--surface-primary);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-8);
    border: 1px solid var(--neutral-200);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.service-section:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Intro Section Block styling */
.intro-section {
    width: 100%;
    background: var(--surface-secondary);
    padding: var(--space-16) 0;
}

.intro-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.intro-section h2 {
    font-size: var(--text-3xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-5);
    text-align: center;
    color: var(--neutral-900);
    line-height: var(--leading-snug);
}

.intro-section p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    text-align: center;
    color: var(--neutral-700);
}

/* Main Block Section Full Width styling */
.blockfull-section {
    width: 100%;
    background: var(--surface-secondary);
    padding: var(--space-16) 0;
}

.blockfull-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.blockfull-section h2 {
    font-size: var(--text-3xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-5);
    text-align: center;
    color: var(--neutral-900);
    line-height: var(--leading-snug);
}

.blockfull-section p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    text-align: center;
    color: var(--neutral-700);
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .grid-sections {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        gap: var(--space-4);
        padding: var(--space-4);
    }

    .grid-sections section:nth-child(1) h2 {
        text-align: center;
        margin: 0 auto var(--space-2) auto;
    }

    .grid-sections section:nth-child(2) h2 {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .grid-sections {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: var(--space-4);
        padding: var(--space-4);
        margin: var(--space-6) auto;
    }

    .grid-sections section {
        padding: var(--space-5);
    }

    .grid-sections section:nth-child(1) h2 {
        text-align: center;
        margin: 0 auto var(--space-2) auto;
    }

    .grid-sections section:nth-child(2) h2 {
        margin: 0;
    }

    .intro-section {
        padding: var(--space-12) 0;
    }

    .intro-section .container {
        padding: 0 var(--space-4);
    }

    .blockfull-section {
        padding: var(--space-12) 0;
    }

    .blockfull-section .container {
        padding: 0 var(--space-4);
    }

    .section-bg {
        margin: var(--space-4) auto;
        padding: var(--space-5);
    }

    .service-section {
        padding: var(--space-5);
        margin-bottom: var(--space-6);
    }
}

/* Modern Menu Toggle - Updated */
.menu-toggle {
    background: var(--neutral-800);
    color: var(--surface-primary);
    border: 1px solid var(--neutral-600);
    border-radius: 6px;
    padding: 10px 16px;
    font-size: var(--text-lg);
    cursor: pointer;
    margin-left: auto;
    margin-right: 40px;
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    background: var(--neutral-700);
    border-color: var(--neutral-500);
}

/* Registration Form Styles - Modern & Aligned */
.registration-form {
    max-width: 800px;
    margin: var(--space-8) auto;
    background: var(--surface-primary);
    padding: var(--space-12);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--neutral-200);
    position: relative;
    overflow: hidden;
}

.registration-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-600) 0%, var(--secondary-500) 100%);
}

.registration-form::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
    align-items: start;
}

.form-group {
    margin-bottom: var(--space-5);
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: var(--font-semibold);
    color: var(--neutral-800);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 52px;
    vertical-align: top;
    background-color: var(--surface-primary);
    color: var(--neutral-800);
    position: relative;
    z-index: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 2px 8px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
    background-color: var(--primary-50);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--neutral-400);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-group input:required:invalid {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: var(--leading-relaxed);
    font-family: inherit;
}

/* Checkbox Styles - Modern Design */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin: var(--space-6) 0;
    padding: var(--space-4);
    background: var(--surface-tertiary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
    color: var(--neutral-700);
    gap: var(--space-3);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid var(--neutral-400);
    border-radius: var(--radius-sm);
    background-color: var(--surface-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.125rem; /* Align with text baseline */
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e");
}

.checkbox-label input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.checkbox-label a {
    color: var(--primary-600);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--primary-500);
}

/* Form Actions - Modern Button Layout */
.form-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid var(--neutral-200);
}

.btn {
    padding: var(--space-4) var(--space-8);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 140px;
    position: relative;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
    color: var(--surface-primary);
    border: 2px solid var(--primary-600);
    box-shadow: 
        0 4px 12px rgba(59, 130, 246, 0.25),
        0 2px 4px rgba(59, 130, 246, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
    border-color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.35),
        0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(59, 130, 246, 0.3),
        0 1px 4px rgba(59, 130, 246, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--neutral-600);
    border: 2px solid var(--neutral-400);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: var(--neutral-100);
    color: var(--neutral-700);
    border-color: var(--neutral-500);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Professional CTA Button Styling */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-8);
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
    color: var(--surface-primary);
    text-decoration: none;
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-600);
    box-shadow: 
        0 4px 12px rgba(59, 130, 246, 0.25),
        0 2px 4px rgba(59, 130, 246, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 160px;
    cursor: pointer;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.button:hover::before {
    left: 100%;
}

.button:hover {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
    border-color: var(--primary-700);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.35),
        0 4px 12px rgba(59, 130, 246, 0.25);
}

.button:active {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 15px rgba(59, 130, 246, 0.3),
        0 2px 8px rgba(59, 130, 246, 0.2);
}

.button:focus {
    outline: none;
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.35),
        0 4px 12px rgba(59, 130, 246, 0.25),
        0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Secondary Button Variant */
.button.secondary {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-600);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.button.secondary:hover {
    background: var(--primary-50);
    color: var(--primary-700);
    border-color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
}

/* Button with Icon Support */
.button .icon {
    margin-right: var(--space-2);
    font-size: var(--text-base);
}

.button .icon-right {
    margin-left: var(--space-2);
    margin-right: 0;
}

/* Large Button Variant */
.button.large {
    padding: var(--space-5) var(--space-12);
    font-size: var(--text-xl);
    min-width: 200px;
}

/* Small Button Variant */
.button.small {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    min-width: 120px;
}

/* Light Button Variant */
.button.light {
    background: var(--neutral-200);
    color: var(--neutral-900);
    border-color: var(--neutral-300);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.06);
}

.button.light:hover {
    background: var(--neutral-300);
    border-color: var(--neutral-400);
    color: var(--neutral-900);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

.button.light:active {
    background: var(--neutral-300);
    transform: translateY(-1px);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Content Container and Section Title Classes */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.section-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-5);
    text-align: center;
    color: var(--neutral-900);
    line-height: var(--leading-snug);
}

.section-content {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    text-align: left;
    color: var(--neutral-700);
    margin-bottom: var(--space-4);
}

.section-content-center {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    text-align: center;
    color: var(--neutral-700);
    margin-bottom: var(--space-4);
}

/* FAQ and Support specific styling */
.faq-item, .support-item {
    background: var(--surface-primary);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover, .support-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.faq-question, .support-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--primary-700);
    margin-bottom: var(--space-3);
    line-height: var(--leading-snug);
}

.faq-answer, .support-description {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--neutral-700);
}

/* Contact details styling */
.contact-details {
    background: var(--surface-tertiary);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin: var(--space-4) 0;
    border-left: 4px solid var(--primary-500);
}

.contact-details p {
    margin-bottom: var(--space-2);
}

.contact-details p:last-child {
    margin-bottom: 0;
}

/* Support page specific styling */
.contact-info {
  background: var(--color-light-grey);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  margin: var(--spacing-md) 0;
  border-left: 4px solid var(--color-accent);
}

.contact-info p {
  margin: var(--spacing-xs) 0;
  font-size: 1.1rem;
}

.contact-details {
  background: var(--color-background-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-sm);
  margin: var(--spacing-md) 0;
  border: 1px solid var(--color-border-light);
}

.contact-details p {
  margin: var(--spacing-xs) 0;
  font-size: 1rem;
}

/* Modern Accessibility and Performance Enhancements */
/* Focus styles for better accessibility */
*:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* Remove focus styles for mouse users but keep for keyboard users */
.js-focus-visible *:focus:not(.focus-visible) {
    outline: none;
}

/* Smooth scrolling for better user experience */
html {
    scroll-behavior: smooth;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modern loading animation (for future use) */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--neutral-200);
    border-top: 4px solid var(--primary-600);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: var(--space-8) auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print styles for better printing experience */
@media print {
    .header,
    .site-footer,
    .menu-toggle,
    .header-right {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        padding-bottom: 0;
        background: white;
        color: black;
    }
    
    main {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .section-bg,
    .grid-sections section,
    .service-section,
    .faq-item,
    .support-item {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        margin-bottom: var(--space-4) !important;
        page-break-inside: avoid;
    }
}

/* Enhanced dark mode support (for future implementation) */
/* Note: Dark mode variables can be added here in the future for consistency */

/* Modern Card and Content Section Styling for Index Page */
.content-section {
    padding: var(--space-16) 0;
    position: relative;
}

.content-section:nth-child(even) {
    background: var(--surface-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.modern-card {
    background: var(--surface-primary);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--neutral-200);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-600) 0%, var(--secondary-500) 100%);
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        var(--shadow-2xl),
        0 0 40px rgba(59, 130, 246, 0.1);
}

.modern-card h1 {
    color: var(--neutral-900);
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
    text-align: center;
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--secondary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-card h2 {
    color: var(--primary-700);
    font-size: var(--text-3xl);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    margin-bottom: var(--space-5);
    text-align: center;
    position: relative;
}

.modern-card h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-600) 0%, var(--secondary-500) 100%);
    margin: var(--space-3) auto 0;
    border-radius: var(--radius-sm);
}

.modern-card p {
    color: var(--neutral-700);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
    text-align: left;
}

.modern-card .button {
    display: block;
    margin: var(--space-8) auto 0;
    text-align: center;
}

/* Animation on Scroll Support */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero section should be visible immediately */
#home.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Specific Styling */
#home .modern-card {
    background: linear-gradient(135deg, var(--surface-primary) 0%, var(--primary-50) 100%);
    border: 2px solid var(--primary-100);
    text-align: center;
}

#home .modern-card::before {
    height: 6px;
    background: linear-gradient(90deg, var(--primary-600) 0%, var(--secondary-500) 50%, var(--primary-600) 100%);
}

/* Responsive Design for Index Page */
@media (max-width: 768px) {
    .content-section {
        padding: var(--space-12) 0;
    }
    
    .container {
        padding: 0 var(--space-4);
    }
    
    .modern-card {
        padding: var(--space-8);
        border-radius: var(--radius-xl);
    }
    
    .modern-card h1 {
        font-size: var(--text-3xl);
        margin-bottom: var(--space-4);
    }
    
    .modern-card h2 {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-4);
    }
    
    .modern-card p {
        font-size: var(--text-base);
        margin-bottom: var(--space-6);
    }
}

@media (max-width: 480px) {
    .modern-card {
        padding: var(--space-6);
        margin: 0 var(--space-2);
    }
    
    .modern-card h1 {
        font-size: var(--text-2xl);
    }
    
    .modern-card h2 {
        font-size: var(--text-xl);
    }
    
    .button.large {
        padding: var(--space-4) var(--space-8);
        font-size: var(--text-lg);
        min-width: 180px;
    }
}

/* Feature list styling */
.feature-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.feature-list li {
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm);
  border-left: 3px solid var(--color-accent);
  background: var(--color-light-grey);
  border-radius: var(--border-radius-sm);
  font-size: 1.1rem;
  line-height: 1.6;
}

.feature-list li strong {
  color: var(--color-dark-blue);
}
