        body {
            transition: background-color 0.3s, color 0.3s;
        }

        /* make overlay place modal below the header */
        .modal-overlay {
          position: fixed;
          inset: 0; /* top:0; right:0; bottom:0; left:0; */
          background: rgba(0,0,0,0.6);
          backdrop-filter: blur(8px);
          display: none;
          justify-content: center;
          align-items: flex-start;        /* <-- allow padding-top to move modal below header */
          padding-top: calc(var(--header-offset, 90px) + 20px); /* header height + spacing */
          z-index: 2000;
          overflow-y: auto;               /* allow scrolling if modal + padding exceed viewport */
        }
        
        /* modal sizing & viewport-safe height */
        .modal {
          background: rgba(255,255,255,0.95);
          backdrop-filter: blur(10px);
          border-radius: 16px;
          max-width: 440px;
          width: 90%;
          box-shadow: 0 20px 60px rgba(0,0,0,0.25);
          overflow: hidden;
          animation: modalSlideIn 0.4s ease;
          position: relative;
          max-height: calc(100vh - (var(--header-offset, 90px) + 60px)); /* keep modal inside view */
          overflow-y: auto; /* scroll inside modal if content tall */
        }
        
        /* small tweak to slide animation so it doesn't appear to come from behind header */
        @keyframes modalSlideIn {
          from { opacity: 0; transform: translateY(-8px) scale(0.99); }
          to   { opacity: 1; transform: translateY(0) scale(1); }
        }
        
        /* Optional: slightly reduce modal scale on very short viewports */
        @media (max-height: 640px) {
          .modal { width: 95%; max-width: 520px; padding-bottom: 12px; }
          .modal-overlay { padding-top: calc(var(--header-offset, 90px) + 12px); }
        }


        .close-btn {
            position: absolute;
            top: 20px;
            right: 24px;
            font-size: 24px;
            cursor: pointer;
            color: white;
            z-index: 10;
            transition: color 0.2s;
        }

        .close-btn:hover {
            color: #ecf0f1;
        }

        .modal .header {
            background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
            color: white;
            padding: 40px 30px 30px;
            text-align: center;
            position: relative;
        }

        .login-icon {
            width: 70px;
            height: 70px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .login-icon i {
            font-size: 28px;
            color: white;
        }

        .modal .header h2 {
            margin: 0 0 8px 0;
            font-size: 1.6rem;
            font-weight: 600;
        }

        .modal .header p {
            margin: 0;
            opacity: 0.9;
            font-size: 0.95rem;
        }

        .modal .form-container {
            padding: 30px;
        }

        .modal .input-group {
            margin-bottom: 20px;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-icon {
            position: absolute;
            left: 15px;
            color: #7f8c8d;
            font-size: 16px;
            z-index: 2;
        }

        .modal .input-group input {
            width: 100%;
            padding: 16px 16px 16px 50px;
            border: 2px solid #ecf0f1;
            border-radius: 10px;
            font-size: 15px;
            transition: all 0.3s ease;
            background: #fafbfc;
        }

        .modal .input-group input:focus {
            outline: none;
            border-color: #3498db;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

        .modal .input-group input:focus+.input-icon {
            color: #3498db;
        }

        /* Role Selection */
        .role-selection {
            text-align: center;
            margin-bottom: 25px;
        }

        .role-label {
            display: block;
            margin-bottom: 15px;
            font-weight: 600;
            color: #2c3e50;
            font-size: 15px;
        }

        .role-options {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .btn-role {
            flex: 1;
            padding: 15px 20px;
            border: 2px solid #ecf0f1;
            border-radius: 10px;
            background: #fafbfc;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }

        .btn-role i {
            font-size: 18px;
        }

        .btn-role.btn-selected {
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            border-color: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
        }

        .btn-role:hover:not(.btn-selected) {
            border-color: #3498db;
            background: rgba(255, 255, 255, 0.98);
            transform: translateY(-1px);
        }

        /* Main Action Button */
        .modal .login-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 10px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .modal .login-btn:hover {
            background: linear-gradient(135deg, #2980b9, #1f4e79);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
        }

        .modal .login-btn:active {
            transform: translateY(0);
        }

        .modal .footer {
            text-align: center;
            margin-top: 25px;
        }

        .modal .footer p {
            margin: 10px 0;
            font-size: 14px;
            color: #7f8c8d;
        }

        .modal .footer a {
            color: #3498db;
            text-decoration: none;
            transition: color 0.2s;
        }

        .modal .footer a:hover {
            color: #2980b9;
        }

        .forgot-link {
            font-size: 13px !important;
            color: #95a5a6 !important;
        }

        .forgot-link:hover {
            color: #7f8c8d !important;
        }

        /* Remove old social login styles */
        .separator,
        .social-login,
        .social-btn {
            display: none;

            font-weight: 500;
        }

        .social-btn:hover {
            background: #f8f9fa;
        }

        :root {
            --primary-color: #1a56db;
            --secondary-color: #ff6b35;
            --dark-color: #2d3748;
            --light-color: #f7fafc;
            --gray-color: #e2e8f0;
            --dark-gray: #718096;
        }

        /* Dark Mode Variables */
        body {
            transition: background-color 0.3s, color 0.3s;
        }

        /* === DARK MODE STYLES (MATCH SCREENSHOT) === */
        body.dark-mode {
            --primary-color: #60a5fa;
            /* Light blue for links/buttons */
            --secondary-color: #fb923c;
            /* Light orange for accents */
            --dark-color: #f1f5f9;
            /* Light text */
            --light-color: #0f172a;
            /* Soft black background */
            --gray-color: #1e293b;
            --dark-gray: #94a3b8;
            background-color: #0f172a !important;
            color: var(--dark-color) !important;
        }

        /* Header */
        .dark-mode header {
            background-color: #0f172a !important;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
        }

        .dark-mode .logo {
            color: #60a5fa !important;
        }

        .dark-mode .logo i {
            color: #fb923c !important;
        }

        .dark-mode .nav-links a {
            color: var(--dark-color) !important;
        }

        .dark-mode .nav-links a:hover {
            color: var(--secondary-color) !important;
        }

        .dark-mode .nav-links a::after {
            background-color: var(--secondary-color) !important;
        }

        /* Hero Section */
        .dark-mode .hero {
            background: linear-gradient(135deg, #0f172a 0%, #0a192f 100%) !important;
            color: var(--dark-color) !important;
        }

        .dark-mode .hero h1,
        .dark-mode .hero p {
            color: var(--dark-color) !important;
        }

        .dark-mode .search-bar {
            background: #1e293b !important;
            border: 1px solid #475569 !important;
        }

        .dark-mode .search-bar input {
            background: #1e293b !important;
            color: var(--dark-color) !important;
            border: none !important;
        }

        .dark-mode .search-bar button {
            background: var(--primary-color) !important;
            color: white !important;
        }

        .dark-mode .search-bar button:hover {
            background: #3b82f6 !important;
        }

        .dark-mode .cta-buttons .btn {
            background: #fb923c !important;
            color: #0f172a !important;
        }

        .dark-mode .cta-buttons .btn.btn-secondary {
            background: #60a5fa !important;
            color: #0f172a !important;
        }

        .dark-mode .stat-value {
            color: var(--secondary-color) !important;
        }

        .dark-mode .stat-label {
            color: var(--dark-gray) !important;
        }

        /* Features Section */
        .dark-mode .features {
            background-color: #0f172a !important;
        }

        .dark-mode .feature-card {
            background: #1e293b !important;
            border-top: 4px solid var(--primary-color) !important;
            color: var(--dark-color) !important;
        }

        .dark-mode .feature-card h3 {
            color: var(--dark-color) !important;
        }

        .dark-mode .feature-card p {
            color: var(--dark-gray) !important;
        }

        .dark-mode .feature-icon {
            background: linear-gradient(135deg, var(--primary-color), #3b82f6) !important;
        }

        /* How It Works Section */
        .dark-mode .how-it-works {
            background-color: #0f172a !important;
        }

        .dark-mode .step {
            background: #1e293b !important;
            color: var(--dark-color) !important;
        }

        .dark-mode .step-number {
            background-color: var(--secondary-color) !important;
            color: white !important;
        }

        .dark-mode .step h3 {
            color: var(--dark-color) !important;
        }

        /* Testimonial Section */
        .dark-mode .testimonial {
            background: linear-gradient(135deg, var(--primary-color), #3b82f6) !important;
            color: white !important;
        }

        .dark-mode .testimonial-content {
            color: white !important;
        }

        .dark-mode .testimonial-author {
            color: rgba(255, 255, 255, 0.9) !important;
        }

        .dark-mode .preview-image img {
            filter: brightness(0.9);
        }

        /* CTA Section */
        .dark-mode .cta {
            background: linear-gradient(135deg, #0f172a 0%, #0a192f 100%) !important;
            color: var(--dark-color) !important;
        }

        .dark-mode .cta h2 {
            color: var(--primary-color) !important;
        }

        .dark-mode .cta p {
            color: var(--dark-gray) !important;
        }

        /* Footer */
        .dark-mode footer {
            background-color: #0f172a !important;
            color: var(--dark-color) !important;
        }

        .dark-mode .footer-column h3 {
            color: var(--dark-color) !important;
        }

        .dark-mode .footer-column h3::after {
            background-color: var(--secondary-color) !important;
        }

        .dark-mode .footer-column ul li a {
            color: var(--dark-gray) !important;
        }

        .dark-mode .footer-column ul li a:hover {
            color: white !important;
        }

        .dark-mode .social-links a {
            background-color: #1e293b !important;
        }

        .dark-mode .social-links a:hover {
            background-color: var(--secondary-color) !important;
        }

        .dark-mode .footer-bottom {
            color: var(--dark-gray) !important;
            border-top: 1px solid #475569 !important;
        }

        /* Buttons */
        .dark-mode .btn {
            background-color: var(--secondary-color) !important;
            color: #0f172a !important;
        }

        .dark-mode .btn:hover {
            background-color: #f97316 !important;
        }

        .dark-mode .btn-secondary {
            background-color: var(--primary-color) !important;
            color: #0f172a !important;
        }

        .dark-mode .btn-secondary:hover {
            background-color: #3b82f6 !important;
        }

        /* Input Fields */
        .dark-mode input,
        .dark-mode .search-bar input,
        .dark-mode .modal .input-group input {
            background-color: #1e293b !important;
            color: var(--dark-color) !important;
            border-color: #475569 !important;
        }

        /* Modal Dark Mode */
        .dark-mode .modal {
            background-color: #1e293b !important;
            color: #e2e8f0 !important;
        }

        .dark-mode .modal .header {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
        }

        .dark-mode .modal .input-group input {
            background-color: #0f172a !important;
            color: #e2e8f0 !important;
            border-color: #475569 !important;
        }

        .dark-mode .modal .input-group input:focus {
            border-color: #3b82f6 !important;
            background-color: #1e293b !important;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
        }

        .dark-mode .input-icon {
            color: #94a3b8 !important;
        }

        .dark-mode .modal .input-group input:focus+.input-icon {
            color: #3b82f6 !important;
        }

        .dark-mode .login-icon {
            background: rgba(59, 130, 246, 0.2) !important;
            border-color: rgba(59, 130, 246, 0.3) !important;
        }

        .dark-mode .btn-role {
            background-color: #0f172a !important;
            color: #e2e8f0 !important;
            border-color: #475569 !important;
        }

        .dark-mode .btn-role:hover:not(.btn-selected) {
            background-color: #1e293b !important;
            border-color: #3b82f6 !important;
        }

        .dark-mode .btn-role.btn-selected {
            background: linear-gradient(135deg, #3b82f6, #1e40af) !important;
        }

        .dark-mode .modal .login-btn {
            background: linear-gradient(135deg, #3b82f6, #1e40af) !important;
        }

        .dark-mode .modal .login-btn:hover {
            background: linear-gradient(135deg, #1e40af, #1d4ed8) !important;
        }

        .dark-mode .role-label {
            color: #e2e8f0 !important;
        }

        .dark-mode .modal .footer a {
            color: #60a5fa !important;
        }

        .dark-mode .modal .footer a:hover {
            color: #3b82f6 !important;
        }

        .dark-mode .forgot-link {
            color: #94a3b8 !important;
        }

        .dark-mode .forgot-link:hover {
            color: #cbd5e1 !important;
        }

        .dark-mode .modal .close-btn {
            color: #e2e8f0 !important;
        }

        /* Auth Buttons in Navbar */
        .dark-mode .auth-buttons .btn {
            background: #fb923c !important;
            color: #0f172a !important;
        }

        .dark-mode .auth-buttons .btn.btn-secondary {
            background: #60a5fa !important;
            color: #0f172a !important;
        }

        .dark-mode .auth-buttons .btn:hover {
            background: #f97316 !important;
        }

        .dark-mode .auth-buttons .btn.btn-secondary:hover {
            background: #3b82f6 !important;
        }

        .dark-mode #greeting {
            background: #1e293b !important;
            color: var(--dark-color) !important;
        }

        .dark-mode #logoutBtn {
            background: #e74c3c !important;
            color: white !important;
        }

        /* Smooth transition */
        body {
            transition: background-color 0.3s, color 0.3s;
        }

        /* Smooth transition */
        body {
            transition: background-color 0.3s, color 0.3s;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background: linear-gradient(-45deg, #ffc9d4, #d4e5ff, #d4f4dd, #ffe4d4);
            background-size: 400% 400%;
            animation: gradientMove 15s ease infinite;
            color: var(--dark-color);
            line-height: 1.6;
        }

        @keyframes gradientMove {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .btn {
            display: inline-block;
            padding: 12px 24px;
            background-color: var(--secondary-color);
            color: white;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 16px;
        }

        .btn:hover {
            background-color: #e55a2b;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .btn-secondary {
            background-color: var(--primary-color);
        }

        .btn-secondary:hover {
            background-color: #1648b5;
        }

        /* Dark Mode Toggle Button Styles */
        .dark-mode-btn {
            background-color: #f8f9fa !important;
            color: #333 !important;
            border: 1px solid #dee2e6 !important;
            border-radius: 4px !important;
            padding: 8px 12px !important;
            font-size: 14px !important;
            cursor: pointer !important;
            transition: all 0.3s ease !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            min-width: 40px !important;
            min-height: 32px !important;
        }

        .dark-mode-btn:hover {
            background-color: #e9ecef !important;
            transform: translateY(-1px) !important;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
        }

        /* Dark Mode Button in Dark Mode */
        body.dark-mode .dark-mode-btn {
            background-color: #374151 !important;
            color: #f9fafb !important;
            border: 1px solid #4b5563 !important;
        }

        body.dark-mode .dark-mode-btn:hover {
            background-color: #4b5563 !important;
            color: #ffffff !important;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
        }

        .btnLogout {
            display: inline-block;
            padding: 12px 24px;
            background-color: var(--secondary-color);
            color: white;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 16px;
        }

        .btnLogout:hover {
            background-color: #e55a2b;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        section {
            padding: 80px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
            font-size: 2.2rem;
            color: var(--primary-color);
        }

        .section-subtitle {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 40px;
            color: var(--dark-gray);
            font-size: 1.1rem;
        }

        /* Header Styles */
        header {
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
            text-decoration: none;
        }

        .logo i {
            margin-right: 10px;
            color: var(--secondary-color);
        }

        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            margin-left: 30px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--dark-color);
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--primary-color);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--primary-color);
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .auth-buttons {
            display: flex;
            gap: 15px;
        }

        .mobile-toggle {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            /* Soft blue base to match your UI */
            background: linear-gradient(135deg, #eff6ff 0%, #e6f7ff 100%);
            min-height: 80vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        /* Left image (blue outline area) */
        .hero::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 62%;
            /* Overlay tint + image for tone consistency */
            background-image: linear-gradient(to right, rgba(239, 246, 255, 0.85), rgba(239, 246, 255, 0.15)), url('/Design/ILP_img3.jpg');
            background-blend-mode: overlay;
            background-size: cover;
            background-position: left center;
            background-repeat: no-repeat;
            pointer-events: none;
            z-index: 1;
            opacity: 0.9;
            /* Fade to transparent towards the right for a smooth blend */
            -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 62%, rgba(0, 0, 0, 0) 100%);
            mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 62%, rgba(0, 0, 0, 0) 100%);
        }

        /* Right image (red outline area) */
        .hero::after {
            content: '';
            position: absolute;
            right: 0;
            top: 0;
            height: 100%;
            width: 48%;
            /* Overlay tint + image for tone consistency */
            background-image: linear-gradient(to left, rgba(239, 246, 255, 0.85), rgba(239, 246, 255, 0.15)), url('/Design/ILP_img.jpg');
            background-blend-mode: overlay;
            background-size: cover;
            background-position: right center;
            background-repeat: no-repeat;
            pointer-events: none;
            z-index: 1;
            opacity: 0.9;
            /* Fade to transparent towards the left for a smooth blend */
            -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 48%, rgba(0, 0, 0, 0) 100%);
            mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 48%, rgba(0, 0, 0, 0) 100%);
        }

        /* Fallback layering using real elements (more robust across browsers) */
        .hero::before,
        .hero::after {
            display: none;
        }

        .hero-bg {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 50%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            pointer-events: none;
        }

        .hero-right {
            right: 0;
            width: 56%;
            /* Keep right image full; add a light tint for tone harmony */
            background-image: linear-gradient(to left, rgba(239, 246, 255, 0) 45%, rgba(239, 246, 255, 0.18) 85%), url('/Design/ILP_img.jpg?v=2');
            z-index: 0;
        }

        .hero-left {
            left: 0;
            width: 68%;
            /* overlap right to allow blend */
            background-image: linear-gradient(to right, rgba(239, 246, 255, 0.88) 0%, rgba(239, 246, 255, 0.25) 50%, rgba(239, 246, 255, 0) 100%), url('/Design/ILP_img3.jpg?v=2');
            background-blend-mode: overlay;
            z-index: 1;
            /* Smooth crossfade into the right image */
            -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0) 100%);
            mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0) 100%);
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 600px;
        }

        .hero h1 {
            font-size: 3.2rem;
            margin-bottom: 20px;
            line-height: 1.2;
            font-weight: 700;
            color: #2d3748;
            text-shadow:
                -1px -1px 0 rgba(255, 255, 255, 0.9),
                1px -1px 0 rgba(255, 255, 255, 0.9),
                -1px 1px 0 rgba(255, 255, 255, 0.9),
                1px 1px 0 rgba(255, 255, 255, 0.9),
                0 0 10px rgba(255, 255, 255, 0.6),
                2px 2px 4px rgba(0, 0, 0, 0.2);
        }

        .hero p {
            font-size: 1.3rem;
            color: #2d3748;
            margin-bottom: 30px;
            font-weight: 600;
            text-shadow:
                -1px -1px 0 rgba(255, 255, 255, 0.8),
                1px -1px 0 rgba(255, 255, 255, 0.8),
                -1px 1px 0 rgba(255, 255, 255, 0.8),
                1px 1px 0 rgba(255, 255, 255, 0.8),
                0 0 8px rgba(255, 255, 255, 0.5),
                1px 1px 3px rgba(0, 0, 0, 0.15);
        }

        .search-bar {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-radius: 50px;
            padding: 5px;
            display: flex;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
            max-width: 500px;
        }

        .search-bar input {
            flex: 1;
            border: none;
            padding: 15px 20px;
            border-radius: 50px;
            font-size: 1rem;
            outline: none;
        }

        .search-bar button {
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 15px 25px;
            cursor: pointer;
            transition: background 0.3s;
        }

        .search-bar button:hover {
            background: #144cc0;
        }

        .hero-stats {
            display: flex;
            gap: 25px;
            margin-top: 30px;
        }

        .stat {
            text-align: center;
        }

        .stat-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        .stat-label {
            color: var(--dark-gray);
            font-size: 0.9rem;
        }

        /* Features Section */
        .features {
            background-color: transparent;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .feature-card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
            border-top: 4px solid var(--primary-color);
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .feature-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--primary-color), #3b82f6);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }

        .feature-icon i {
            font-size: 28px;
            color: white;
        }

        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--dark-color);
        }

        .feature-card p {
            color: var(--dark-gray);
        }

        /* How It Works Section */
        .how-it-works {
            background: transparent;
        }

        .steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
        }

        .step {
            text-align: center;
            padding: 30px 20px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            position: relative;
        }

        .step-number {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 40px;
            background-color: var(--secondary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .step-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 20px;
        }

        .step h3 {
            margin-bottom: 15px;
            color: var(--dark-color);
        }

        /* Testimonial Section */
        .testimonial {
            background: linear-gradient(135deg, var(--primary-color), #3b82f6);
            color: white;
            border-radius: 15px;
            padding: 50px;
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }

        .testimonial::before {
            content: '\201C';
            font-size: 10rem;
            position: absolute;
            top: -20px;
            left: 10px;
            opacity: 0.1;
            font-family: Georgia, serif;
        }

        .testimonial-content {
            position: relative;
            z-index: 2;
            font-size: 1.3rem;
            line-height: 1.6;
            max-width: 700px;
            margin: 0 auto;
        }

        .testimonial-author {
            text-align: center;
            margin-top: 20px;
            font-style: italic;
            opacity: 0.9;
        }

        .preview-image {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
            margin-top: 50px;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

        .preview-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* CTA Section */
        .cta {
            background: transparent;
            text-align: center;
        }

        .cta h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: var(--primary-color);
        }

        .cta p {
            max-width: 700px;
            margin: 0 auto 30px;
            font-size: 1.2rem;
            color: var(--dark-gray);
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        /* Footer */
        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 60px 0 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--secondary-color);
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 12px;
        }

        .footer-column ul li a {
            color: #cbd5e0;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-column ul li a:hover {
            color: white;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: #4a5568;
            border-radius: 50%;
            color: white;
            transition: background-color 0.3s;
        }

        .social-links a:hover {
            background-color: var(--secondary-color);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #4a5568;
            color: #cbd5e0;
            font-size: 0.9rem;
        }

        /* Role Buttons */
        .btn-role {
            background-color: #e2e8f0;
            color: #333;
            border: 1px solid #ddd;
            padding: 10px 25px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
            font-weight: 600;
        }

        .btn-role.btn-selected {
            background-color: #3498db !important;
            color: white !important;
            border: none !important;
        }

        /* Role Button Hover Effect */
        .btn-role:hover {
            transform: translateY(-2px);
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero::before {
                width: 45%;
            }

            .hero h1 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .mobile-toggle {
                display: block;
                color: var(--primary-color);
                font-size: 1.5rem;
                padding: 10px;
                border-radius: 4px;
                background: rgba(52, 152, 219, 0.1);
            }

            .nav-links {
                position: fixed;
                top: 0;
                left: -100%;
                flex-direction: column;
                background-color: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(10px);
                width: 280px;
                height: 100vh;
                padding: 80px 20px 20px 20px;
                box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
                transition: left 0.3s ease;
                z-index: 999;
                overflow-y: auto;
            }

            .nav-links.active {
                left: 0;
            }

            .nav-links li {
                margin: 0 0 20px 0;
                border-bottom: 1px solid #f0f0f0;
                padding-bottom: 15px;
            }

            .nav-links li:last-child {
                border-bottom: none;
            }

            .nav-links .mobile-close {
                display: block !important;
                text-align: right;
                border-bottom: 2px solid var(--primary-color);
                margin-bottom: 25px;
                padding-bottom: 15px;
            }

            .nav-links .mobile-auth {
                display: block !important;
                border-top: 2px solid #f0f0f0 !important;
                margin-top: 20px !important;
                padding-top: 20px !important;
            }

            .nav-links .mobile-auth .btn {
                font-size: 1rem;
                font-weight: 600;
                transition: all 0.3s ease;
                border: none;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
            }

            .nav-links .mobile-auth .btn:hover,
            .nav-links .mobile-auth .mobile-auth-btn:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            }

            .nav-links .mobile-auth .btn.btn-secondary {
                background: #34495e;
                color: white;
            }

            .nav-links .mobile-auth .btn.btn-secondary:hover {
                background: #2c3e50;
            }

            .mobile-auth-btn:active {
                transform: translateY(0);
            }

            .nav-links a {
                display: block;
                padding: 15px 10px;
                font-size: 1.1rem;
                border-radius: 8px;
                transition: all 0.3s ease;
            }

            .nav-links a:hover {
                background-color: var(--primary-color);
                color: white;
                transform: translateX(5px);
            }

            .auth-buttons {
                display: none;
                /* Hide auth buttons in mobile sidebar for now */
            }

            /* Mobile overlay when menu is open */
            .mobile-overlay {
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0, 0, 0, 0.5);
                z-index: 998;
                opacity: 0;
                visibility: hidden;
                transition: all 0.3s ease;
            }

            .nav-links.active+.mobile-overlay,
            .mobile-overlay.active {
                opacity: 1;
                visibility: visible;
            }

            .hero {
                min-height: auto;
                padding: 60px 0;
            }

            .hero::before,
            .hero::after,
            .hero .hero-bg {
                display: none;
            }

            .hero-content {
                max-width: 100%;
                text-align: center;
            }

            .search-bar {
                margin-left: auto;
                margin-right: auto;
            }

            .hero-stats {
                justify-content: center;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }

            .btn {
                width: 100%;
                max-width: 300px;
            }
        }

        @media (max-width: 576px) {
            .section-title {
                font-size: 1.8rem;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .testimonial {
                padding: 30px 20px;
            }

            .testimonial-content {
                font-size: 1.1rem;
            }
        }

        /* Animation Styles */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }
        
        /* Scroll animations */
        .scroll-animate {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }

        .scroll-animate.animated {
            opacity: 1;
            transform: translateY(0);
        }

        /* Stagger delays for multiple elements */
        .scroll-animate.delay-1 {
            transition-delay: 0.1s;
        }

        .scroll-animate.delay-2 {
            transition-delay: 0.2s;
        }

        .scroll-animate.delay-3 {
            transition-delay: 0.3s;
        }

        .scroll-animate.delay-4 {
            transition-delay: 0.4s;
        }

        /* Smooth page load */
        body {
            opacity: 1;
            transition: opacity 0.5s ease-in-out;
        }

        body.fade-out {
            opacity: 0;
        }