/* ============================================
   Reclaim Bharosa - Modern Design System
   Premium Purple-Lavender Gradient Theme
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Primary Colors - Light Purple/Lavender Scale (Main Brand Color) */
    --primary-50: #faf5ff;
    --primary-100: #f3e8ff;
    --primary-200: #e9d5ff;
    --primary-300: #ddd6fe;
    --primary-400: #c4b5fd;
    --primary-500: #a78bfa;
    --primary-600: #8b5cf6;
    --primary-700: #7c3aed;
    --primary-800: #6d28d9;
    --primary-900: #5b21b6;
    --primary-950: #4c1d95;

    /* Accent Colors - Light Lavender/Pink Scale */
    --accent-50: #fdf4ff;
    --accent-100: #fae8ff;
    --accent-200: #f5d0fe;
    --accent-300: #f0abfc;
    --accent-400: #e879f9;
    --accent-500: #d946ef;
    --accent-600: #c026d3;
    --accent-700: #a21caf;
    --accent-800: #86198f;
    --accent-900: #701a75;

    /* Semantic Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --error: #ef4444;
    --error-light: #fee2e2;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-950: #030712;

    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* Indian Language Fonts - Professional fonts optimized for readability */
    --font-hindi: 'Noto Sans Devanagari', 'Mukta', 'Arial Unicode MS', sans-serif;
    --font-marathi: 'Noto Sans Devanagari', 'Mukta', 'Arial Unicode MS', sans-serif;
    --font-gujarati: 'Noto Sans Gujarati', 'Mukta', 'Arial Unicode MS', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px -10px var(--accent-500);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 400ms;
    --duration-slower: 600ms;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--font-body);
}

/* Language-specific font styling */
html[lang="hi"] {
    font-family: var(--font-hindi);
}

html[lang="mr"] {
    font-family: var(--font-marathi);
}

html[lang="gu"] {
    font-family: var(--font-gujarati);
}

html[lang="hi"] *,
html[lang="mr"] *,
html[lang="gu"] * {
    font-family: inherit;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Language-specific font size adjustments for better readability */
html[lang="hi"] body,
html[lang="mr"] body,
html[lang="gu"] body {
    font-size: 1.05rem; /* Slightly larger base size for Indian scripts */
    line-height: 1.7; /* Increased line height for better readability */
}

body {
    font-family: inherit;
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Ensure images don't overflow on mobile */
img {
    object-fit: cover;
}

@media (max-width: 767px) {
    img {
        width: 100%;
    }
}

button {
    font-family: inherit;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--gray-900);
}

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 640px) {
    .container {
        padding: 0 var(--space-6);
    }
}

/* ============================================
   Announcement Bar
   ============================================ */
.announcement-bar {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    text-align: center;
    animation: slideDown 0.5s ease-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Keep announcement bar font size consistent across all languages */
html[lang="hi"] .announcement-bar,
html[lang="mr"] .announcement-bar,
html[lang="gu"] .announcement-bar {
    font-size: var(--text-sm);
}

html[lang="hi"] .announcement-bar *,
html[lang="mr"] .announcement-bar *,
html[lang="gu"] .announcement-bar * {
    font-size: inherit;
    line-height: inherit;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.announcement-bar p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.announcement-highlight {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: var(--white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-xs);
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.3);
}

.announcement-bar a {
    color: var(--primary-300);
    font-weight: 500;
    transition: color var(--duration-fast);
}

.announcement-bar a:hover {
    color: var(--primary-200);
}

.announcement-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--white);
    text-decoration: none;
    transition: all var(--duration-fast);
}

.announcement-link:hover {
    color: var(--primary-200);
}

.announcement-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.announcement-separator {
    margin: 0 var(--space-2);
    color: var(--gray-400);
}

/* Floating Contact Button - Always Visible */
.announcement-floating-btn {
    display: flex;
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-4);
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 16px rgba(167, 139, 250, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.announcement-floating-btn:hover,
.announcement-floating-btn.active {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(167, 139, 250, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.announcement-floating-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2.5;
}

/* Floating Contact Panel */
.announcement-floating-panel {
    display: none;
    position: fixed;
    bottom: 80px;
    right: var(--space-4);
    width: 280px;
    background: var(--gray-900);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(167, 139, 250, 0.2);
    z-index: 98;
    animation: slideUpFade 0.3s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-floating-panel.active {
    display: block;
}

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

.announcement-floating-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-floating-panel-title {
    color: var(--white);
    font-weight: 700;
    font-size: var(--text-base);
}

.announcement-floating-panel-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: var(--text-xl);
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.announcement-floating-panel-close:hover {
    opacity: 1;
}

.announcement-floating-panel-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.announcement-floating-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--white);
    font-size: var(--text-sm);
}

.announcement-floating-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-300);
    flex-shrink: 0;
}

.announcement-floating-item a {
    color: var(--primary-300);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.announcement-floating-item a:hover {
    color: var(--primary-200);
}

.announcement-floating-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: var(--white);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

/* ============================================
   Header
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--duration-normal);
    animation: slideDown 0.6s ease-out;
}

.header .container {
    padding-right: var(--space-4);
}

@media (max-width: 1023px) {
    .header {
        backdrop-filter: blur(10px);
    }

    .nav {
        height: 64px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo {
        gap: var(--space-2);
    }

    .logo-name {
        font-size: var(--text-lg);
    }

    .logo-tagline {
        font-size: 0.65rem;
    }
}

@media (max-width: 479px) {
    .nav {
        height: 60px;
    }

    .logo-text {
        display: none;
    }
    
    .logo-separator {
        display: inline-block;
    }

    .nav-actions {
        gap: var(--space-2);
    }

    .nav-actions .btn {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
    }

    .lang-btn span {
        display: none;
    }
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.1);
    background: rgba(255, 255, 255, 0.99);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    height: 72px;
    width: 100%;
    position: relative;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--primary-900);
    transition: opacity var(--duration-fast);
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-500);
    transition: opacity var(--duration-fast);
    flex-shrink: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo:hover .logo-icon {
    opacity: 0.9;
}

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

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

/* Remove white background from SVG logo */
.logo-image svg rect[fill="#ffffff"],
.logo-image svg rect[fill="#fff"] {
    fill: transparent !important;
    fill-opacity: 0 !important;
}

/* Ensure SVG has no extra spacing */
.logo-image svg {
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-separator {
    color: var(--gray-300);
    font-size: var(--text-xl);
    font-weight: 300;
    margin: 0 var(--space-1);
    align-self: center;
}

.logo-name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: #ff9700;
}

.logo-tagline {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--primary-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Nav Menu */
.nav-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        position: absolute;
        left: 35%;
        transform: translateX(-50%);
    }
}

.nav-link {
    display: block;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.nav-link.active {
    color: var(--primary-700);
    background: var(--primary-100);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--primary-600);
    border-radius: var(--radius-full);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-left: auto;
    flex-shrink: 0;
    margin-right: 0;
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--accent-50) 100%);
    border: 1.5px solid var(--primary-200);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-700);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.15);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

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

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

.lang-btn:hover {
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--accent-100) 100%);
    border-color: var(--primary-400);
    color: var(--primary-800);
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.25);
    transform: translateY(-1px);
}

.lang-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(167, 139, 250, 0.2);
}

.lang-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-600);
    transition: transform var(--duration-normal) var(--ease-out);
    fill: currentColor;
}

.lang-btn:hover .lang-icon {
    transform: rotate(15deg) scale(1.1);
    color: var(--primary-700);
}

.lang-btn:hover .lang-icon {
    transform: rotate(15deg) scale(1.1);
    color: var(--primary-700);
}

.lang-indicator {
    font-size: 1.2em;
    line-height: 1;
    display: inline-block;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + var(--space-2));
    right: 0;
    min-width: 140px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--duration-fast);
    z-index: 50;
}

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

.lang-selector.open .lang-btn {
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--accent-100) 100%);
    border-color: var(--primary-400);
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.3);
}

.lang-selector.open .lang-btn {
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--accent-100) 100%);
    border-color: var(--primary-400);
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.3);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: transparent;
    border: none;
    text-align: left;
    font-size: var(--text-sm);
    color: var(--gray-700);
    transition: background var(--duration-fast);
    cursor: pointer;
}

.lang-flag {
    font-size: 1.2em;
    line-height: 1;
    display: inline-block;
}

.lang-option:hover {
    background: var(--gray-100);
}

.lang-option.active {
    color: var(--primary-600);
    font-weight: 600;
    background: var(--primary-50);
}

.lang-option:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Hide certain elements on mobile */
@media (max-width: 1023px) {
    .nav-actions .btn {
        display: none;
    }
    
    .nav-actions .lang-selector {
        display: none;
    }
    
    /* Show mobile language selector in header */
    .mobile-lang-selector-header {
        display: flex;
        align-items: center;
        margin-left: auto;
        margin-right: var(--space-2);
        order: 2;
    }
    
    .mobile-lang-selector-header .lang-selector {
        display: block;
    }
    
    .mobile-lang-selector-header .lang-btn {
        padding: var(--space-2) var(--space-3);
        min-width: auto;
        white-space: nowrap;
        border-radius: var(--radius-full);
    }
    
    .mobile-lang-selector-header .lang-btn span {
        display: inline;
    }
    
    .mobile-lang-selector-header .lang-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
    
    .mobile-lang-selector-header .lang-indicator {
        font-size: var(--text-xs);
    }
    
    .mobile-lang-selector-header .lang-dropdown {
        right: 0;
        left: auto;
        min-width: 140px;
        top: calc(100% + var(--space-2));
    }
    
    .mobile-menu-btn {
        order: 3;
        margin-left: 0;
    }
    
    .nav {
        position: relative;
    }
}

@media (min-width: 1024px) {
    .mobile-lang-selector-header {
        display: none;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: transparent;
    border: none;
    flex-shrink: 0;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gray-800);
    border-radius: 1px;
    transition: all var(--duration-normal);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    top: 72px;
    background: var(--white);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal);
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    padding: var(--space-6);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-links a {
    display: block;
    padding: var(--space-4) 0;
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--gray-800);
    transition: all var(--duration-fast);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--primary-600);
    font-weight: 600;
    padding-left: var(--space-2);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding-top: var(--space-4);
    margin-top: var(--space-2);
    align-items: center;
    width: 100%;
}

.mobile-nav-actions .btn {
    max-width: 280px;
    width: 100%;
}

.mobile-lang-selector {
    margin-bottom: var(--space-3);
}

.mobile-lang-selector .lang-selector {
    display: block;
    width: 100%;
}

.mobile-lang-selector .lang-btn {
    width: 100%;
    justify-content: center;
}

.mobile-lang-selector .lang-dropdown {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: var(--space-2);
    box-shadow: none;
    border: 1px solid var(--gray-200);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.5;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--duration-normal);
}

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

/* Button Variants */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: var(--white);
    box-shadow: 0 6px 20px -2px rgba(167, 139, 250, 0.5), 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-fast) var(--ease-out);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--duration-slow);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    box-shadow: 0 10px 30px -2px rgba(167, 139, 250, 0.6), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px) scale(1.02);
}

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

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-ghost:hover:not(:disabled) {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-light:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-white {
    background: var(--white);
    color: var(--primary-600);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover:not(:disabled) {
    background: var(--primary-50);
    color: var(--primary-700);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(167, 139, 250, 0.2);
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--primary-600);
    font-weight: 600;
    padding: 0;
}

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

/* Button Sizes */
.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-full {
    width: 100%;
}

/* Button Loading State */
.btn .btn-loading {
    display: none;
    align-items: center;
    gap: var(--space-2);
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: flex;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: calc(100vh - 112px);
    display: flex;
    align-items: center;
    padding: var(--space-16) 0;
    overflow: hidden;
    /* Prevent layout shifts during load */
    contain: layout style paint;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    /* Ensure proper positioning from start */
    will-change: auto;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    /* More faded effect with increased brightness and reduced contrast/saturation */
    filter: brightness(1.3) contrast(0.75) saturate(0.7);
    opacity: 0.6;
    /* Add smooth fade transition */
    transition: filter 0.3s ease;
    /* Remove slow transform to prevent misalignment */
}

@media (max-width: 767px) {
    .hero-image {
        object-position: center top;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        /* More faded from top - darker where text is */
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.35) 25%,
            rgba(0, 0, 0, 0.25) 50%,
            rgba(0, 0, 0, 0.2) 75%,
            rgba(0, 0, 0, 0.3) 100%
        ),
        /* Radial fade from center for text area - more pronounced */
        radial-gradient(
            ellipse 140% 90% at 50% 35%,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.25) 40%,
            rgba(0, 0, 0, 0.15) 70%,
            transparent 100%
        ),
        /* Vignette effect for depth - enhanced */
        radial-gradient(
            ellipse 100% 100% at 50% 50%,
            transparent 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.2) 100%
        );
    /* More faded effect for better text readability and visual appeal */
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        /* Subtle purple tint fade - enhanced */
        radial-gradient(
            ellipse 100% 80% at 30% 50%,
            rgba(167, 139, 250, 0.15) 0%,
            rgba(167, 139, 250, 0.08) 40%,
            transparent 70%
        ),
        /* Smooth fade from all edges - enhanced */
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.15) 0%,
            transparent 15%,
            transparent 85%,
            rgba(0, 0, 0, 0.15) 100%
        ),
        /* Top fade for text area - enhanced */
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.25) 0%,
            transparent 35%
        ),
        /* Additional overall fade layer */
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.1) 100%
        );
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.hero-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: var(--space-8) var(--space-4);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    color: var(--primary-700);
    font-size: var(--text-sm);
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(167, 139, 250, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeIn 0.3s ease-out;
    letter-spacing: 0.02em;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.badge-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-500);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    color: var(--white);
    margin-bottom: var(--space-6);
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-title span {
    display: block;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

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

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.98);
    max-width: 680px;
    margin: 0 auto var(--space-8);
    line-height: 1.75;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    justify-content: center;
    margin-bottom: var(--space-10);
    animation: fadeInUp 0.4s ease-out 0.1s both;
}

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

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.98);
    animation: fadeIn 0.4s ease-out 0.2s both;
    margin-top: var(--space-4);
}

.hero-trust strong {
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.trust-avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.4);
    margin-left: -8px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform var(--duration-fast);
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:nth-child(2) { 
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}
.avatar:nth-child(3) { 
    background: rgba(255, 255, 255, 0.35);
    z-index: 2;
}
.avatar:nth-child(4) { 
    background: rgba(255, 255, 255, 0.2);
    z-index: 3;
}

.avatar:hover {
    transform: scale(1.1);
    z-index: 10;
}

/* ============================================
   Stats Bar - Redesigned
   ============================================ */
.stats-bar {
    background: linear-gradient(135deg, #1e3a8a 0%, var(--primary-600) 100%);
    padding: var(--space-16) 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    opacity: 0.6;
}

.stats-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-60px);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-8);
    }
}

.stat-item {
    text-align: center;
    color: var(--white);
    padding: var(--space-6) var(--space-4);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity var(--duration-normal);
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    display: inline;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-left: 2px;
}

.stat-label {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.9);
    margin-top: var(--space-3);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ============================================
   Section Styles
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-12);
}

.section-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-500);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-3);
    position: relative;
    padding-left: var(--space-6);
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary-500), var(--accent-500));
    border-radius: var(--radius-full);
}

.section-title {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
    color: var(--primary-700);
    margin-bottom: var(--space-4);
    position: relative;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 50%, var(--white) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-300), transparent);
}

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

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--white);
    padding: var(--space-6);
    padding-bottom: calc(var(--space-6) + var(--space-10));
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-normal);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(167, 139, 250, 0.3);
    border-color: var(--primary-200);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    transition: all var(--duration-normal) var(--ease-bounce);
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-icon--red {
    background: var(--error-light);
    color: var(--error);
}

.service-icon--amber {
    background: var(--warning-light);
    color: var(--warning);
}

.service-icon--green {
    background: var(--success-light);
    color: var(--success);
}

.service-icon--blue {
    background: var(--primary-100);
    color: var(--primary-600);
}

.service-title {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.service-desc {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-2);
}

.service-features li {
    position: relative;
    padding-left: var(--space-5);
    font-size: var(--text-sm);
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

.service-more-link {
    position: absolute;
    bottom: var(--space-5);
    right: var(--space-5);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-600);
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-normal);
    text-decoration: none;
    font-family: inherit;
}

.service-more-link:hover {
    background: var(--primary-100);
    border-color: var(--primary-300);
    color: var(--primary-700);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.2);
}

.service-more-link:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(167, 139, 250, 0.15);
}

.service-more-link span {
    display: inline-block;
}

.service-more-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--duration-normal);
}

.service-more-link:hover svg {
    transform: translateX(2px);
}

.services-cta {
    text-align: center;
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 2px solid var(--primary-200);
    position: relative;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-500), transparent);
}

.services-cta p {
    color: var(--gray-700);
    margin-bottom: var(--space-4);
    font-size: var(--text-lg);
}

/* ============================================
   Process Section - Modern Horizontal Design
   ============================================ */
.process {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(167, 139, 250, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.process::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-200), var(--primary-300), var(--primary-200), transparent);
}

.process-main-title {
    text-align: center;
    color: var(--primary-600);
    margin-bottom: var(--space-12);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 50%, var(--accent-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Process Flow Container */
.process-flow-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-4);
    position: relative;
}

/* Connecting Line at Top - Hidden for 3x2 grid layout */
.process-connecting-line {
    display: none; /* Hidden for 3x2 grid as it doesn't work well with the layout */
}

.process-line-path {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-200) 8%, 
        var(--primary-300) 20%,
        var(--primary-400) 50%,
        var(--primary-300) 80%,
        var(--primary-200) 92%,
        transparent 100%);
    position: relative;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.2);
    animation: shimmerLine 3s ease-in-out infinite;
}

/* Animated dots pattern along the connecting line */
.process-line-path::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-image: radial-gradient(circle, var(--primary-400) 3px, transparent 3px);
    background-size: 50px 3px;
    background-position: 0 0;
    background-repeat: repeat-x;
    top: 50%;
    transform: translateY(-50%);
    animation: moveDots 8s linear infinite;
    opacity: 0.6;
}

/* Start dot */
.process-connecting-line::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
    border-radius: 50%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.5), 
                0 0 20px rgba(167, 139, 250, 0.3);
    animation: pulseDot 2s ease-in-out infinite;
    z-index: 2;
}

/* End dot */
.process-line-path::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
    border-radius: 50%;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.5), 
                0 0 20px rgba(167, 139, 250, 0.3);
    animation: pulseDot 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes shimmerLine {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

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

@keyframes pulseDot {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Process Steps Row */
.process-steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    position: relative;
    z-index: 2;
    margin-top: var(--space-6);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Process Step Cards */
.process-step-modern {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-50) 100%);
    border: 2px solid var(--primary-100);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-4);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    position: relative;
    box-shadow: 
        0 4px 12px rgba(167, 139, 250, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    will-change: transform;
}

.process-step-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.process-step-modern:hover::before {
    left: 100%;
}

.process-step-modern:nth-child(1) { animation-delay: 0.1s; }
.process-step-modern:nth-child(2) { animation-delay: 0.2s; }
.process-step-modern:nth-child(3) { animation-delay: 0.3s; }
.process-step-modern:nth-child(4) { animation-delay: 0.4s; }
.process-step-modern:nth-child(5) { animation-delay: 0.5s; }
.process-step-modern:nth-child(6) { animation-delay: 0.6s; }

.process-step-modern:hover {
    transform: translateY(-6px);
    border-color: var(--primary-300);
    box-shadow: 
        0 16px 32px rgba(167, 139, 250, 0.15),
        0 6px 12px rgba(167, 139, 250, 0.1),
        0 0 0 1px rgba(167, 139, 250, 0.05);
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-100) 50%, var(--primary-50) 100%);
}

/* Badge Wrapper */
.process-badge-wrapper {
    position: relative;
    margin-bottom: var(--space-3);
    z-index: 3;
    flex-shrink: 0;
}

.process-badge-circle {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 50%, var(--primary-800) 100%);
    border: 3px solid var(--primary-500);
    color: var(--white);
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-4);
    box-shadow: 
        0 6px 20px rgba(167, 139, 250, 0.3),
        0 0 0 4px rgba(167, 139, 250, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    will-change: transform;
}

.process-badge-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.process-badge-circle::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-400) 0%, transparent 70%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s;
    top: -10%;
    left: -10%;
}

.process-step-modern:hover .process-badge-circle {
    transform: scale(1.1);
    box-shadow: 
        0 8px 24px rgba(167, 139, 250, 0.4),
        0 0 0 6px rgba(167, 139, 250, 0.12),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.process-step-modern:hover .process-badge-circle::before {
    opacity: 1;
}

.process-step-modern:hover .process-badge-circle::after {
    opacity: 0.2;
}

/* Step Content */
.process-step-heading {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

/* All step titles - teal accent */
.process-step-heading.process-step-accent {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 50%, var(--accent-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background 0.3s ease;
}

.process-step-modern:hover .process-step-heading.process-step-accent {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 50%, var(--accent-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-step-subtitle {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-2);
    line-height: 1.4;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.process-step-modern:hover .process-step-subtitle {
    color: var(--gray-900);
}

.process-step-description {
    font-size: var(--text-xs);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-4);
    transition: color 0.3s ease;
    flex: 1;
    min-height: 0;
}

.process-step-modern:hover .process-step-description {
    color: var(--gray-700);
}

/* Step Footer */
.process-step-footer {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    align-items: center;
    margin-top: auto;
    flex-shrink: 0;
    padding-top: var(--space-3);
}

.process-step-bullet {
    font-size: var(--text-xs);
    color: var(--gray-600);
    text-align: center;
    font-weight: 500;
    position: relative;
    padding-left: var(--space-3);
    transition: color 0.3s ease;
}

.process-step-bullet::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-size: var(--text-lg);
    line-height: 1;
    font-weight: 700;
    transition: all 0.3s ease;
}

.process-step-modern:hover .process-step-bullet {
    color: var(--gray-700);
}

.process-step-modern:hover .process-step-bullet::before {
    color: var(--primary-400);
    transform: scale(1.2);
}

.process-step-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 50%, var(--primary-600) 100%);
    border: 1px solid var(--primary-500);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 
        0 4px 12px rgba(167, 139, 250, 0.25),
        0 2px 4px rgba(167, 139, 250, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

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

.process-step-tag:hover {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 50%, var(--primary-700) 100%);
    box-shadow: 
        0 6px 16px rgba(167, 139, 250, 0.35),
        0 3px 6px rgba(167, 139, 250, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.05);
    border-color: var(--primary-600);
}

.process-step-tag:hover::before {
    left: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Mobile Responsive */
@media (max-width: 1200px) {
    .process-steps-row {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
    }
}

@media (max-width: 1023px) {
    .process-steps-row {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .process-connecting-line {
        display: none;
    }
}

@media (max-width: 767px) {
    .process {
        padding: var(--space-12) 0;
    }

    .process-main-title {
        margin-bottom: var(--space-8);
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .process-flow-container {
        padding: var(--space-6) var(--space-3);
    }

    .process-steps-row {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .process-step-modern {
        padding: var(--space-5) var(--space-4);
    }

    .process-badge-circle {
        width: 64px;
        height: 64px;
        font-size: var(--text-2xl);
    }

    .process-step-heading {
        font-size: var(--text-base);
    }

    .process-step-subtitle {
        font-size: var(--text-sm);
    }

    .process-step-description {
        font-size: var(--text-xs);
        min-height: auto;
    }
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--primary-50) 50%, var(--white) 100%);
    position: relative;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.why-us-content .section-title {
    text-align: left;
}

.why-us-content .section-label {
    text-align: left;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.feature-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal);
}

.feature-item:hover {
    background: var(--white);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary-100), var(--accent-100));
    color: var(--primary-600);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal) var(--ease-bounce);
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.15);
}

.feature-item:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, var(--primary-200), var(--accent-200));
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.3);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-text h4 {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.feature-text p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.6;
}

/* Image Wrapper */
.image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.team-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform var(--duration-slow) var(--ease-out);
    filter: brightness(1) saturate(1);
}

@media (max-width: 767px) {
    .team-image {
        height: 300px;
    }
}

@media (max-width: 479px) {
    .team-image {
        height: 250px;
    }
}

.image-wrapper {
    transition: all var(--duration-normal);
}

.image-wrapper:hover {
    transform: translateY(-8px);
}

.image-wrapper:hover .team-image {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.1);
}

.image-badge {
    position: absolute;
    bottom: var(--space-6);
    right: var(--space-6);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: fadeIn 0.3s ease-out;
}

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

.badge-value {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.badge-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-top: var(--space-1);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    position: relative;
    padding: var(--space-20) 0;
    background: var(--gray-50);
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.testimonials-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.12;
    filter: grayscale(30%);
}

.testimonials-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.98) 100%);
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials .section-header {
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    position: relative;
    z-index: 2;
}

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

.testimonial-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-50), var(--accent-50), transparent);
    opacity: 0;
    transition: opacity var(--duration-normal);
    z-index: 0;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--primary-200);
    opacity: 0.3;
    line-height: 1;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(167, 139, 250, 0.25);
    border-color: var(--primary-300);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
}

.star {
    color: var(--accent-400);
    font-size: var(--text-lg);
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.4));
    animation: twinkle 2s ease-in-out infinite;
}

.star:nth-child(2) { animation-delay: 0.2s; }
.star:nth-child(3) { animation-delay: 0.4s; }
.star:nth-child(4) { animation-delay: 0.6s; }
.star:nth-child(5) { animation-delay: 0.8s; }

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.9);
    }
}

.testimonial-quote {
    font-size: var(--text-base);
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-100);
    color: var(--primary-700);
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h4 {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-900);
}

.author-info p {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    max-width: 1200px;
    margin: 0 auto;
}

.faq-service-box {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--duration-normal) var(--ease-out);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.faq-service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-normal);
}

.faq-service-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(167, 139, 250, 0.3);
    border-color: var(--primary-200);
}

.faq-service-box:hover::before {
    transform: scaleX(1);
}

.faq-service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    transition: all var(--duration-normal) var(--ease-bounce);
}

.faq-service-box:hover .faq-service-icon {
    transform: rotate(5deg) scale(1.1);
}

.faq-service-icon svg {
    width: 32px;
    height: 32px;
}

.faq-service-title {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.faq-service-desc {
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.faq-service-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-4);
    padding: var(--space-2);
}

.faq-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2);
    border-radius: var(--radius-full);
    background: var(--primary-50);
    color: var(--primary-600);
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-out);
    cursor: pointer;
}

.faq-action-link:hover,
.faq-action-link:focus {
    background: var(--primary-100);
    color: var(--primary-700);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.3);
}

.faq-action-link:active {
    transform: scale(1.05);
}

.faq-service-action .faq-action-arrow {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
    color: inherit;
    transition: all var(--duration-normal) var(--ease-out);
}

.faq-action-link:hover .faq-action-arrow,
.faq-action-link:focus .faq-action-arrow {
    transform: translateX(4px);
    color: inherit;
}

.faq-service-box:hover .faq-action-link {
    background: var(--primary-100);
    color: var(--primary-700);
}

/* Language-specific font size adjustments for better readability */
html[lang="hi"] .faq-service-title,
html[lang="mr"] .faq-service-title,
html[lang="gu"] .faq-service-title {
    font-size: 1.125rem;
    line-height: 1.6;
}

html[lang="hi"] h1,
html[lang="mr"] h1,
html[lang="gu"] h1 {
    font-size: 2.5rem;
    line-height: 1.3;
}

html[lang="hi"] h2,
html[lang="mr"] h2,
html[lang="gu"] h2 {
    font-size: 2rem;
    line-height: 1.4;
}

html[lang="hi"] h3,
html[lang="mr"] h3,
html[lang="gu"] h3 {
    font-size: 1.5rem;
    line-height: 1.5;
}

html[lang="hi"] .section-title,
html[lang="mr"] .section-title,
html[lang="gu"] .section-title {
    font-size: 2.25rem;
    line-height: 1.3;
}

html[lang="hi"] p,
html[lang="mr"] p,
html[lang="gu"] p {
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Removed - faq-action-text no longer exists */

html[lang="hi"] .hero-title,
html[lang="mr"] .hero-title,
html[lang="gu"] .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.3;
}

html[lang="hi"] .nav-link,
html[lang="mr"] .nav-link,
html[lang="gu"] .nav-link {
    font-size: 1rem;
    line-height: 1.5;
}

html[lang="hi"] button,
html[lang="mr"] button,
html[lang="gu"] button {
    font-size: 1rem;
    line-height: 1.5;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration-normal);
}

.faq-item:hover {
    border-color: var(--primary-300);
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    transition: background var(--duration-fast);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--gray-400);
    transition: transform var(--duration-normal);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-item.open .faq-question {
    color: var(--primary-600);
    background: var(--primary-50);
}

.faq-answer p {
    padding: 0 var(--space-6) var(--space-5);
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="%23ffffff" stroke-width="1" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: float 30s linear infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
    color: var(--white);
    margin-bottom: var(--space-4);
}

.cta-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-300);
    margin-bottom: var(--space-8);
}

.cta-actions {
    margin-bottom: var(--space-4);
}

.cta-note {
    font-size: var(--text-sm);
    color: var(--gray-400);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
}

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

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-info .section-title {
    text-align: left;
}

.contact-info .section-label {
    text-align: left;
}

.contact-desc {
    font-size: var(--text-base);
    color: var(--gray-600);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal);
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

a.contact-method:hover {
    background: linear-gradient(135deg, var(--primary-50), var(--accent-50));
    border-color: var(--primary-300);
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.15);
}

.contact-method:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-200);
    color: var(--primary-700);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal) var(--ease-bounce);
}

.method-icon svg {
    width: 24px;
    height: 24px;
}

.method-text {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.method-value {
    font-weight: 600;
    color: var(--gray-900);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
    box-shadow: 0 10px 40px rgba(167, 139, 250, 0.1);
    transition: all var(--duration-normal);
}

.contact-form-wrapper:hover {
    box-shadow: 0 20px 60px rgba(167, 139, 250, 0.15);
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--gray-900);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    transition: all var(--duration-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: var(--space-10);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Error Messages */
.field-error {
    display: none;
    font-size: var(--text-xs);
    color: #ea580c;
    margin-top: var(--space-1);
    padding: var(--space-2) var(--space-3);
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: var(--radius-md);
    line-height: 1.5;
}

.field-error:before {
    content: "⚠";
    display: inline-block;
    margin-right: var(--space-1);
    color: #ea580c;
}

.field-error.show {
    display: block;
}

.form-group input.error,
.form-group input:invalid:not(:placeholder-shown) {
    border-color: #ea580c;
}

.form-group input.error:focus,
.form-group input:invalid:not(:placeholder-shown):focus {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form-note {
    font-size: var(--text-xs);
    color: var(--gray-500);
    text-align: center;
}

/* Form Checkbox Styling */
.form-checkbox {
    margin: var(--space-4) 0;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    cursor: pointer;
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.6;
    font-weight: 400;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-600);
}

.form-checkbox input[type="checkbox"]:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

.form-checkbox a {
    color: var(--primary-600);
    text-decoration: underline;
    transition: color var(--duration-fast);
}

.form-checkbox a:hover {
    color: var(--primary-700);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.footer-brand .logo-tagline {
    color: var(--primary-400);
}

.footer-desc {
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.footer .badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--gray-400);
    transition: color var(--duration-fast);
}

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

.footer-contact p {
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.footer-contact strong {
    color: var(--gray-400);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
}

.footer-bottom > p:first-child {
    font-size: var(--text-sm);
    margin: 0;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-disclaimer {
    font-size: var(--text-xs);
    color: var(--gray-500);
    max-width: 600px;
    margin: 0;
    margin-top: var(--space-6);
    line-height: 1.6;
}

/* ============================================
   Footer Legal Links
   ============================================ */
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin: 0;
    padding: var(--space-4) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer-legal-links a,
.footer-legal-links .legal-link {
    color: #a78bfa; /* Light purple/lavender link color */
    text-decoration: underline;
    text-decoration-color: #a78bfa;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    padding: 6px 12px;
    margin: -6px -12px;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 0.02em;
}

/* Animated underline effect */
.footer-legal-links a::after,
.footer-legal-links .legal-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: #8b5cf6; /* Darker purple */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

/* Highlight effect on hover */
.footer-legal-links a::before,
.footer-legal-links .legal-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(167, 139, 250, 0.15);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.9);
    z-index: -1;
}

.footer-legal-links a:hover,
.footer-legal-links .legal-link:hover {
    color: #ffffff;
    text-decoration-color: #ffffff;
    text-decoration-thickness: 2.5px;
    transform: translateY(-3px);
    text-shadow: 0 2px 8px rgba(167, 139, 250, 0.4);
}

.footer-legal-links a:hover::after,
.footer-legal-links .legal-link:hover::after {
    transform: scaleX(1);
    background: #ffffff;
}

.footer-legal-links a:hover::before,
.footer-legal-links .legal-link:hover::before {
    opacity: 1;
    transform: scale(1);
    background: rgba(167, 139, 250, 0.25);
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.3);
}

.footer-legal-links a:active,
.footer-legal-links .legal-link:active {
    transform: translateY(-1px) scale(0.98);
    text-decoration-thickness: 2px;
}

.footer-legal-links a:active::before,
.footer-legal-links .legal-link:active::before {
    transform: scale(0.95);
    background: rgba(167, 139, 250, 0.3);
    box-shadow: 0 2px 6px rgba(167, 139, 250, 0.4);
}

.footer-legal-links a:active::after,
.footer-legal-links .legal-link:active::after {
    transform: scaleX(0.9);
}

.footer-legal-links a:focus-visible,
.footer-legal-links .legal-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-legal-links span {
    color: rgba(255, 255, 255, 0.4);
    user-select: none;
    margin: 0 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-legal-links span {
        display: none;
    }
    
    /* Enhanced touch targets for mobile */
    .footer-legal-links a,
    .footer-legal-links .legal-link {
        padding: 8px 14px;
        margin: -8px -14px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .footer-legal-links a:hover,
    .footer-legal-links .legal-link:hover {
        transform: none;
    }
    
    .footer-legal-links a:active,
    .footer-legal-links .legal-link:active {
        background: rgba(167, 139, 250, 0.2);
        transform: scale(0.95);
    }
}

/* ============================================
   Modal
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal);
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    transform: scale(0.95);
    transition: transform var(--duration-normal);
}

.modal.open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-full);
    color: var(--gray-500);
    transition: all var(--duration-fast);
    z-index: 10;
}

/* Sticky close button for large modals (like legal documents) */
.modal-content--large {
    position: relative;
    padding-top: calc(var(--space-8) + 40px); /* Extra padding for sticky button */
}

.modal-content--large .modal-close {
    position: sticky;
    top: var(--space-4);
    float: right;
    margin-top: calc(-1 * var(--space-8));
    margin-bottom: var(--space-4);
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-200);
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.modal-content--large .modal-close:hover {
    background: var(--gray-100);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    border-color: var(--gray-300);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    background: var(--primary-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
}

.modal-icon svg {
    width: 32px;
    height: 32px;
}

.modal-title {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.modal-subtitle {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.modal-email {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
}

/* OTP Inputs */
.otp-inputs {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    margin-bottom: var(--space-4);
}

.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: var(--text-xl);
    font-weight: 700;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: all var(--duration-fast);
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.otp-input.error {
    border-color: var(--error);
}

.otp-error {
    display: block;
    font-size: var(--text-sm);
    color: var(--error);
    min-height: 20px;
    margin-bottom: var(--space-4);
}

.otp-resend {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-top: var(--space-4);
}

/* ============================================
   Service Detail Modal
   ============================================ */
.modal-content--large {
    max-width: 800px;
    text-align: left;
    max-height: 90vh;
    overflow-y: auto;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--gray-200);
}

.service-detail-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail-icon svg {
    width: 28px;
    height: 28px;
}

.service-detail-title {
    font-family: var(--font-body);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.service-detail-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

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

.service-detail-section h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.service-detail-section h4 svg {
    width: 20px;
    height: 20px;
    color: var(--primary-600);
}

.service-detail-section p {
    font-size: var(--text-base);
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-3);
}

.service-detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-detail-section ul li {
    position: relative;
    padding-left: var(--space-6);
    font-size: var(--text-base);
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-2);
}

.service-detail-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-600);
    font-weight: 700;
    font-size: var(--text-xl);
}

/* Service Detail Accordion Styles */
.service-detail-accordion {
    margin-bottom: var(--space-4);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    transition: all var(--duration-normal);
}

.service-detail-accordion.open {
    border-color: var(--primary-300);
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.1);
}

.service-detail-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    background: var(--white);
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--duration-fast);
}

.service-detail-accordion-header:hover {
    background: var(--gray-50);
}

.service-detail-accordion-header h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex: 1;
}

.service-detail-accordion-header h4 svg {
    width: 20px;
    height: 20px;
    color: var(--primary-600);
    flex-shrink: 0;
}

.service-detail-accordion-header .accordion-icon {
    width: 20px;
    height: 20px;
    color: var(--gray-500);
    transition: transform var(--duration-normal);
    flex-shrink: 0;
    margin-left: var(--space-3);
}

.service-detail-accordion.open .service-detail-accordion-header .accordion-icon {
    transform: rotate(180deg);
    color: var(--primary-600);
}

.service-detail-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) ease-out;
}

.service-detail-accordion-content p {
    font-size: var(--text-base);
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-3);
    padding: 0 var(--space-5);
    padding-top: var(--space-3);
}

.service-detail-accordion-content ul {
    list-style: none;
    padding: 0 var(--space-5);
    padding-bottom: var(--space-4);
    margin: var(--space-3) 0 0 0;
}

.service-detail-accordion-content ul li {
    position: relative;
    padding-left: var(--space-6);
    font-size: var(--text-base);
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-2);
}

.service-detail-accordion-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-600);
    font-weight: 700;
    font-size: var(--text-xl);
}

.service-detail-faq {
    padding: var(--space-4) var(--space-5);
}

.service-detail-faq-accordion {
    margin-bottom: var(--space-3);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gray-50);
    transition: all var(--duration-normal);
}

.service-detail-faq-accordion:last-child {
    margin-bottom: 0;
}

.service-detail-faq-accordion.open {
    border-color: var(--primary-300);
    background: var(--white);
    box-shadow: 0 2px 4px rgba(167, 139, 250, 0.1);
}

.service-detail-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-4);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--duration-fast);
}

.service-detail-faq-question:hover {
    background: rgba(167, 139, 250, 0.05);
}

.service-detail-faq-question span {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-900);
    flex: 1;
    padding-right: var(--space-3);
}

.service-detail-faq-question .accordion-icon {
    width: 18px;
    height: 18px;
    color: var(--gray-500);
    transition: transform var(--duration-normal);
    flex-shrink: 0;
}

.service-detail-faq-accordion.open .service-detail-faq-question .accordion-icon {
    transform: rotate(180deg);
    color: var(--primary-600);
}

.service-detail-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) ease-out;
}

.service-detail-faq-answer p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
    padding: 0 var(--space-4) var(--space-3) var(--space-4);
}

/* ============================================
   Legal Document Modal
   ============================================ */
.legal-doc-modal-header {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--gray-200);
}

.legal-doc-modal-title {
    font-family: var(--font-body);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.legal-doc-modal-content {
    font-size: var(--text-base);
    color: var(--gray-700);
    line-height: 1.8;
}

.legal-doc-modal-content h1,
.legal-doc-modal-content h2,
.legal-doc-modal-content h3,
.legal-doc-modal-content h4 {
    color: var(--gray-900);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
    font-weight: 700;
}

.legal-doc-modal-content h1 {
    font-size: var(--text-2xl);
}

.legal-doc-modal-content h2 {
    font-size: var(--text-xl);
}

.legal-doc-modal-content h3 {
    font-size: var(--text-lg);
}

.legal-doc-modal-content p {
    margin-bottom: var(--space-4);
}

.legal-doc-modal-content ul,
.legal-doc-modal-content ol {
    margin-bottom: var(--space-4);
    padding-left: var(--space-6);
}

.legal-doc-modal-content li {
    margin-bottom: var(--space-2);
}

.legal-doc-modal-content a {
    color: var(--primary-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-doc-modal-content a:hover {
    color: var(--primary-700);
}

.legal-doc-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-12);
    color: var(--gray-500);
}

.legal-doc-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-600);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: var(--space-4);
}

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

.legal-doc-loading p {
    font-size: var(--text-sm);
    margin: 0;
}

/* ============================================
   Toast
   ============================================ */
.toast {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    max-width: 360px;
    padding: var(--space-4);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 300;
    transform: translateX(calc(100% + var(--space-6)));
    opacity: 0;
    transition: all var(--duration-normal) var(--ease-out);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
}

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

.toast.success .toast-icon {
    color: var(--success);
}

.toast.error .toast-icon {
    color: var(--error);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.toast-message {
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.toast-close {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--gray-400);
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast);
}

.toast-close:hover {
    background: var(--gray-100);
    color: var(--gray-600);
}

.toast-close svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   Animations
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-up"].animated {
    animation: fadeUp 0.4s var(--ease-out) both;
}

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

/* ============================================
   Utilities
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:target {
    scroll-margin-top: 100px;
}

:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

::selection {
    background: var(--primary-200);
    color: var(--primary-800);
}

/* ============================================
   Print Styles
   ============================================ */
/* ============================================
   Comprehensive Mobile & Tablet Responsive
   ============================================ */

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
    :root {
        --text-xs: 0.7rem;
        --text-sm: 0.8rem;
        --text-base: 0.9rem;
        --text-lg: 1rem;
        --text-xl: 1.1rem;
        --text-2xl: 1.3rem;
        --text-3xl: 1.6rem;
        --text-4xl: 2rem;
        --text-5xl: 2.5rem;
        --text-6xl: 3rem;
    }

    .container {
        padding: 0 var(--space-3);
    }

    .hero {
        min-height: calc(100vh - 80px);
        padding: var(--space-8) 0;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        margin-bottom: var(--space-4);
    }

    .hero-subtitle {
        font-size: var(--text-base);
        margin-bottom: var(--space-6);
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--space-3);
    }

    .btn {
        width: 100%;
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-base);
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .section-subtitle {
        font-size: var(--text-sm);
    }

    .service-card,
    .testimonial-card,
    .process-step-card {
        padding: var(--space-4);
    }

    .stats-bar {
        padding: var(--space-8) 0;
    }

    .stat-item {
        margin-bottom: var(--space-6);
    }

    .contact-form-wrapper {
        padding: var(--space-4);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: var(--space-3);
        border-radius: var(--radius-md);
    }


    .contact-grid {
        gap: var(--space-6);
    }

    .contact-methods {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }

    .announcement-bar {
        display: none;
    }

    .announcement-floating-btn {
        display: flex;
    }

    /* Process section mobile fixes */
    .process-row-top {
        gap: var(--space-3);
    }

    .process-step-card {
        min-width: 100%;
    }
}

/* Mobile (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .container {
        padding: 0 var(--space-4);
    }

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

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .btn {
        flex: 1;
        min-width: 140px;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        gap: var(--space-8);
    }

    .nav-menu {
        display: none;
    }

    .nav-actions {
        gap: var(--space-2);
    }

    .nav-actions .btn {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-sm);
    }

    /* Process section alignment for medium mobile */
    .process-row-top {
        gap: var(--space-3);
    }

    .process-step-card {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 var(--space-6);
    }

    .hero {
        padding: var(--space-16) 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }

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

    .process-row-top {
        gap: var(--space-4);
    }

    .process-step-card {
        min-width: 180px;
        max-width: 220px;
    }

    .process-connector {
        width: 70px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets for mobile - Apple HIG recommends 44x44px */
    .btn {
        min-height: 44px;
        min-width: 44px;
        padding: var(--space-3) var(--space-5);
    }

    .nav-link {
        padding: var(--space-3) var(--space-4);
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .lang-btn {
        min-width: 44px;
        min-height: 44px;
        padding: var(--space-2);
    }

    .mobile-menu-btn {
        min-width: 44px;
        min-height: 44px;
        padding: var(--space-2);
    }

    /* Better focus states for touch */
    .btn:focus-visible,
    .nav-link:focus-visible,
    .lang-btn:focus-visible {
        outline: 3px solid var(--primary-500);
        outline-offset: 2px;
    }

    /* Remove hover effects on touch devices */
    .service-card:hover,
    .testimonial-card:hover,
    .process-step-card:hover {
        transform: translateY(-2px);
    }

    /* Better tap feedback */
    .btn:active {
        transform: scale(0.98);
    }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--space-8) 0;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .section-header {
        margin-bottom: var(--space-6);
    }

    .header {
        padding: var(--space-2) 0;
    }

    .announcement-bar {
        display: none;
    }

    .announcement-floating-btn {
        display: flex;
    }
}


/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image,
    .team-image,
    .testimonials-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .process-path {
        animation: none;
        stroke-dashoffset: 0;
    }
}

/* Print Styles */
@media print {
    .header,
    .announcement-bar,
    .hero-actions,
    .cta-section,
    .contact-form-wrapper,
    .modal,
    .toast {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }

    .section-title {
        page-break-after: avoid;
    }
}
