        * {
            scroll-behavior: smooth;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            font-family: 'Poppins', sans-serif;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* PWA Splash Screen */
        .splash-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #3b82f6, #10b981);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
        }

        .splash-screen.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .splash-logo {
            width: 120px;
            height: 120px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            animation: bounceIn 1s ease-out;
        }

        .splash-text {
            color: white;
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 10px;
            animation: fadeIn 1s ease-out 0.5s both;
        }

        .splash-subtitle {
            color: rgba(255, 255, 255, 0.8);
            font-size: 14px;
            animation: fadeIn 1s ease-out 0.7s both;
        }

        .hero-gradient {
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 25%, #06b6d4 50%, #14b8a6 75%, #10b981 100%);
            background-size: 400% 400%;
            animation: gradientShift 8s ease infinite;
        }

        @keyframes gradientShift {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        /* Mobile App-like Navigation */
        .mobile-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            z-index: 1000;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            transform: translateY(0);
            padding: env(safe-area-inset-top) 0 0 0;
        }

        .mobile-nav.scrolled {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(25px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
        }

        .mobile-nav.hidden {
            transform: translateY(-100%);
        }

        /* Bottom Tab Navigation */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            z-index: 1500;
            padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
            display: flex;
            justify-content: space-around;
            align-items: center;
        }

        .bottom-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 8px 12px;
            border-radius: 12px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            min-width: 60px;
            color: #6b7280 !important;
        }

        .bottom-nav-item.active {
            background: rgba(59, 130, 246, 0.1) !important;
            color: #3b82f6 !important;
            transform: translateY(-2px);
        }

        .bottom-nav-item svg {
            color: inherit !important;
        }

        .bottom-nav-item span {
            color: inherit !important;
        }

        .bottom-nav-item svg {
            width: 24px;
            height: 24px;
            margin-bottom: 4px;
            transition: all 0.3s ease;
        }

        .bottom-nav-item.active svg {
            transform: scale(1.1);
        }

        .bottom-nav-item span {
            font-size: 10px;
            font-weight: 500;
        }

        /* Mobile Content Padding */
        .mobile-content {
            padding-top: 80px;
            padding-bottom: 120px;
            min-height: 100vh;
        }

        @media (min-width: 768px) {
            .mobile-content {
                padding-top: 100px;
                padding-bottom: 0;
                min-height: auto;
            }
        }

        /* Ensure mobile sections are fully visible */
        @media (max-width: 767px) {
            section {
                min-height: auto;
                padding-top: 3rem;
                padding-bottom: 3rem;
                margin-bottom: 1rem;
            }

            .hero-gradient {
                min-height: calc(100vh - 80px);
                display: flex;
                align-items: center;
                padding-top: 2rem;
                padding-bottom: 2rem;
            }

            /* Ensure all text is visible on mobile */
            .mobile-section-content {
                padding: 1rem;
                margin: 0 auto;
                max-width: 100%;
            }

            /* Fix text visibility in mobile cards */
            .mobile-card-text {
                color: #1f2937 !important;
                font-weight: 500;
                line-height: 1.5;
            }

            .mobile-card-subtitle {
                color: #4b5563 !important;
                font-size: 0.875rem;
                line-height: 1.4;
            }
        }

        /* App-like Cards */
        .app-card {
            background: white !important;
            border-radius: 20px;
            padding: 20px;
            margin: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(0, 0, 0, 0.05) !important;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            transform: translateY(20px);
            opacity: 100;
            animation: slideUp 0.6s ease-out forwards;
            color: #1f2937 !important;
        }

        .app-card * {
            color: inherit !important;
        }

        .app-card h3 {
            color: #1f2937 !important;
        }

        .app-card p {
            color: #4b5563 !important;
        }

        .app-card:nth-child(1) {
            animation-delay: 0.1s;
        }

        .app-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .app-card:nth-child(3) {
            animation-delay: 0.3s;
        }

        .app-card:nth-child(4) {
            animation-delay: 0.4s;
        }

        .app-card:nth-child(5) {
            animation-delay: 0.5s;
        }

        .app-card:nth-child(6) {
            animation-delay: 0.6s;
        }

        .app-card:active {
            transform: scale(0.98);
        }

        /* Service Grid for Mobile */
        .service-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            padding: 0 16px;
        }

        .service-item {
            background: white !important;
            border-radius: 16px;
            padding: 20px 16px;
            text-align: center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(0, 0, 0, 0.05) !important;
            color: #1f2937 !important;
        }

        .service-item h3 {
            color: #1f2937 !important;
            font-weight: bold;
        }

        .service-item p {
            color: #4b5563 !important;
        }

        .service-item:active {
            transform: scale(0.95);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        }

        .service-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
            transition: all 0.3s ease;
        }

        .service-item:hover .service-icon {
            transform: scale(1.1) rotate(5deg);
        }

        /* Floating Action Button */
        .fab {
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, #3b82f6, #14b8a6);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 999;
        }

        .fab:active {
            transform: scale(0.9);
        }

        .fab::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border: 2px solid rgba(59, 130, 246, 0.3);
            border-radius: 50%;
            animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
        }

        /* Pull to Refresh */
        .pull-to-refresh {
            position: absolute;
            top: -60px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(59, 130, 246, 0.1);
            border-radius: 50%;
            transition: all 0.3s ease;
            opacity: 0;
        }

        .pull-to-refresh.visible {
            opacity: 1;
            top: 20px;
        }

        .pull-to-refresh.loading {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from {
                transform: translateX(-50%) rotate(0deg);
            }

            to {
                transform: translateX(-50%) rotate(360deg);
            }
        }

        /* Swipe Gestures */
        .swipeable {
            touch-action: pan-y;
            user-select: none;
        }

        /* App Install Banner */
        .install-banner {
            position: fixed;
            bottom: 80px;
            left: 16px;
            right: 16px;
            background: linear-gradient(135deg, #3b82f6, #14b8a6);
            color: white;
            padding: 16px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 998;
        }

        .install-banner.show {
            transform: translateY(0);
        }

        .install-banner-content {
            flex: 1;
        }

        .install-banner h3 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .install-banner p {
            font-size: 12px;
            opacity: 0.9;
        }

        .install-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .install-btn:active {
            transform: scale(0.95);
            background: rgba(255, 255, 255, 0.3);
        }

        .close-banner {
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 4px;
            margin-left: 8px;
        }

        /* Modal Improvements for Mobile */
        .mobile-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            z-index: 3000;
            display: flex;
            align-items: flex-end;
            padding: 0;
            transform: translateY(100%);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .mobile-modal.show {
            transform: translateY(0);
        }

        .mobile-modal-content {
            background: white;
            border-radius: 20px 20px 0 0;
            padding: 24px 20px calc(40px + env(safe-area-inset-bottom));
            width: 100%;
            max-height: 85vh;
            overflow-y: auto;
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            margin-bottom: env(safe-area-inset-bottom);
        }

        .mobile-modal.show .mobile-modal-content {
            transform: translateY(0);
        }

        .modal-handle {
            width: 40px;
            height: 4px;
            background: #e5e7eb;
            border-radius: 2px;
            margin: 0 auto 20px;
        }

        /* Touch-friendly Form Elements */
        .mobile-input {
            width: 100%;
            padding: 16px;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s ease;
            margin-bottom: 16px;
            background: #f9fafb;
        }

        .mobile-input:focus {
            outline: none;
            border-color: #3b82f6;
            background: white;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .mobile-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 12px;
        }

        .mobile-btn:active {
            transform: scale(0.98);
        }

        .mobile-btn.secondary {
            background: #f3f4f6;
            color: #374151;
        }

        /* Status Bar Styling */
        .status-bar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: env(safe-area-inset-top);
            background: linear-gradient(135deg, #3b82f6, #14b8a6);
            z-index: 1001;
        }

        /* Haptic Feedback Simulation */
        .haptic-light:active {
            animation: hapticLight 0.1s ease-out;
        }

        .haptic-medium:active {
            animation: hapticMedium 0.15s ease-out;
        }

        .haptic-heavy:active {
            animation: hapticHeavy 0.2s ease-out;
        }

        @keyframes hapticLight {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(0.98);
            }

            100% {
                transform: scale(1);
            }
        }

        @keyframes hapticMedium {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(0.95);
            }

            100% {
                transform: scale(1);
            }
        }

        @keyframes hapticHeavy {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(0.92);
            }

            100% {
                transform: scale(1);
            }
        }

        /* Desktop Styles */
        @media (min-width: 768px) {

            .mobile-nav,
            .bottom-nav,
            .install-banner,
            .status-bar-overlay {
                display: none;
            }

            .mobile-content {
                padding-top: 0;
                padding-bottom: 0;
            }

            .service-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 32px;
                max-width: 1200px;
                margin: 0 auto;
                padding: 0 32px;
            }

            .app-card {
                margin: 16px 0;
            }

            .mobile-modal {
                align-items: center;
                padding: 20px;
            }

            .mobile-modal-content {
                border-radius: 20px;
                max-width: 600px;
                max-height: 90vh;
                margin: 0 auto;
            }

            .modal-handle {
                display: none;
            }

            /* Desktop-specific enhancements */
            .hero-gradient {
                background-attachment: fixed;
            }

            /* Smooth scrolling for desktop */
            html {
                scroll-behavior: smooth;
            }

            /* Better hover effects for desktop */
            .desktop-nav a:hover {
                transform: translateY(-2px);
            }

            /* Enhanced shadows for desktop */
            .app-card:hover,
            .service-item:hover {
                box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            }
        }

        /* Desktop Navigation (hidden on mobile) */
        .desktop-nav {
            display: none;
        }

        @media (min-width: 768px) {
            .desktop-nav {
                display: block;
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                background: rgba(255, 255, 255, 0.95);
                backdrop-filter: blur(20px);
                border-bottom: 1px solid rgba(0, 0, 0, 0.1);
                z-index: 1000;
                transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            }

            .desktop-nav.scrolled {
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(25px);
                box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
            }

            .desktop-nav.hidden {
                transform: translateY(-100%);
            }
        }

        /* Loading States */
        .loading-skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }

        @keyframes loading {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        /* Force Light Mode - Override Dark Mode */
        .mobile-nav,
        .bottom-nav {
            background: rgba(255, 255, 255, 0.95) !important;
            border-color: rgba(0, 0, 0, 0.1) !important;
            color: #1f2937 !important;
        }

        .app-card,
        .service-item {
            background: white !important;
            border-color: rgba(0, 0, 0, 0.05) !important;
            color: #1f2937 !important;
        }

        .mobile-input {
            background: #f9fafb !important;
            border-color: #e5e7eb !important;
            color: #1f2937 !important;
        }

        .mobile-input:focus {
            background: white !important;
            border-color: #3b82f6 !important;
            color: #1f2937 !important;
        }

        .mobile-modal-content {
            background: white !important;
            color: #1f2937 !important;
        }

        /* Ensure all text is visible */
        .text-gray-800,
        .text-gray-700,
        .text-gray-600 {
            color: #1f2937 !important;
        }

        .text-gray-600 {
            color: #4b5563 !important;
        }

        .text-gray-500 {
            color: #6b7280 !important;
        }

        /* Fix service item text visibility */
        .service-item h3,
        .service-item p {
            color: #1f2937 !important;
        }

        .service-item p {
            color: #4b5563 !important;
        }

        /* Mobile-specific enhancements */
        @media (max-width: 767px) {

            /* Improve touch targets */
            button,
            .bottom-nav-item,
            .app-card {
                min-height: 44px;
                touch-action: manipulation;
            }

            /* Better spacing for mobile */
            .mobile-section-spacing {
                padding: 2rem 1rem;
                margin-bottom: 1rem;
            }

            /* Ensure content doesn't get cut off */
            .mobile-safe-area {
                padding-bottom: env(safe-area-inset-bottom);
                padding-left: env(safe-area-inset-left);
                padding-right: env(safe-area-inset-right);
            }

            /* Improve readability */
            .mobile-text-readable {
                font-size: 16px;
                line-height: 1.6;
                color: #1f2937 !important;
            }

            /* Better button styling for mobile */
            .mobile-btn-enhanced {
                padding: 16px 24px;
                font-size: 16px;
                font-weight: 600;
                border-radius: 12px;
                transition: all 0.2s ease;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            }

            .mobile-btn-enhanced:active {
                transform: scale(0.98);
                box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
            }
        }

        /* Accessibility Improvements */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* High Contrast Mode */
        @media (prefers-contrast: high) {

            .app-card,
            .service-item {
                border: 2px solid #000;
            }

            .mobile-btn {
                border: 2px solid #000;
            }
        }