 :root {
            --primary: #2563eb;
            --primary-dark: #1e40af;
            --secondary: #0f172a;
            --text-dark: #1e293b;
            --text-light: #64748b;
            --bg-light: #ffffff;
            --bg-off: #f8fafc;
            --border: #e2e8f0;
            --gradient-police: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
            --gradient-judiciary: linear-gradient(135deg, #0f172a 0%, #334155 100%);
            --gradient-common: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
            --gradient-sig: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
        }

        body {
            font-family: 'Segoe UI', system-ui, sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
        }

        /* =========================================
           1. NAVIGATION BAR CSS (COPY TO ALL PAGES)
           ========================================= */
        .navbar {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border);
            padding: 15px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
        }

        .logo {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            letter-spacing: -0.5px;
        }

        .nav-links {
            display: flex;
            gap: 25px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.2s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -4px;
            left: 0;
            background-color: var(--primary);
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* Mobile Menu Button */
        .menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }

        @media (max-width: 768px) {
            .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; border-bottom: 1px solid var(--border); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
            .nav-links.active { display: flex; }
            .menu-toggle { display: block; }
        }
        /* =========================================
           END NAVIGATION CSS
           ========================================= */

        /* HERO SECTION */
        .hero {
            text-align: center;
            padding: 80px 20px 60px;
            background: radial-gradient(circle at top center, #eff6ff 0%, #ffffff 70%);
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            color: var(--text-dark);
            letter-spacing: -1px;
            line-height: 1.2;
        }

        .hero p {
            color: var(--text-light);
            font-size: 1.2rem;
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        /* SEARCH BOX */
        .search-container {
            max-width: 650px;
            margin: 0 auto;
            position: relative;
        }

        .search-box {
            width: 100%;
            padding: 18px 30px;
            border-radius: 50px;
            border: 2px solid var(--border);
            font-size: 1.1rem;
            outline: none;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
            transition: all 0.3s ease;
            box-sizing: border-box;
        }

        .search-box:focus {
            border-color: var(--primary);
            box-shadow: 0 20px 30px -5px rgba(37, 99, 235, 0.15);
            transform: translateY(-2px);
        }

        /* SECTIONS & GRIDS */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 20px 60px;
        }

        h2 {
            font-size: 1.8rem;
            margin: 50px 0 25px;
            padding-bottom: 12px;
            border-bottom: 2px solid #f1f5f9;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
            gap: 20px;
        }

        /* TOOL CARDS (IMPROVED) */
        .tool-card {
            background: #ffffff;
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 25px 15px;
            text-align: center;
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 110px;
            position: relative;
            overflow: hidden;
        }

        .tool-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 4px;
            background: var(--border);
            transition: 0.3s;
        }

        .tool-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
            color: var(--primary);
            border-color: transparent;
        }

        .tool-card:hover::before {
            background: var(--primary);
        }

        /* EXACT KB BUTTONS (PILL SHAPE) */
        .kb-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
        }

        .kb-btn {
            background: #ffffff;
            color: var(--text-dark);
            padding: 12px 24px;
            border-radius: 50px; /* Pill Shape */
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.2s ease;
            border: 1px solid var(--border);
            box-shadow: 0 2px 4px rgba(0,0,0,0.03);
        }

        .kb-btn:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            transform: scale(1.05);
            box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
        }

        /* SPECIAL BUTTONS (Police/Judiciary/Common) - GRADIENTS & SHADOWS */
        .big-btn-wrapper {
            display: flex;
            gap: 25px;
            flex-wrap: wrap;
        }

        .big-btn {
            flex: 1;
            padding: 25px;
            border-radius: 16px;
            text-align: center;
            text-decoration: none;
            font-size: 1.2rem;
            font-weight: 800;
            color: white;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            min-width: 280px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            position: relative;
            overflow: hidden;
        }

        /* Shine Effect on Hover */
        .big-btn::after {
            content: '';
            position: absolute;
            top: 0; left: -100%; width: 50%; height: 100%;
            background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
            transform: skewX(-25deg);
            transition: 0.5s;
        }

        .big-btn:hover::after {
            left: 150%;
        }

        .big-btn:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
        }

        .big-btn.police { background: var(--gradient-police); }
        .big-btn.judiciary { background: var(--gradient-judiciary); }
        .big-btn.common-photo { background: var(--gradient-common); }
        .big-btn.common-sig { background: var(--gradient-sig); }

        /* TAGS CLOUD */
        .seo-box {
            background: #f1f5f9;
            padding: 40px;
            border-radius: 20px;
            margin-top: 60px;
            border: 1px solid var(--border);
        }
        .seo-box h3 {
            margin-top: 0;
            color: var(--text-dark);
            margin-bottom: 20px;
        }
        .tags-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }
        .tag {
            font-size: 0.9rem;
            color: var(--text-light);
            background: #fff;
            padding: 8px 16px;
            border-radius: 50px;
            border: 1px solid #e2e8f0;
            transition: 0.2s;
            cursor: default;
        }
        .tag:hover {
            background: #e2e8f0;
            color: var(--text-dark);
        }

        /* FAQ */
        details {
            margin-bottom: 15px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: #fff;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        details[open] {
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
            border-color: var(--primary);
        }
        summary {
            padding: 18px 20px;
            cursor: pointer;
            font-weight: 600;
            list-style: none;
            position: relative;
            background: #fff;
            font-size: 1.05rem;
        }
        summary::after {
            content: '+';
            position: absolute;
            right: 20px;
            font-weight: bold;
            color: var(--primary);
            font-size: 1.5rem;
            line-height: 1;
            top: 50%;
            transform: translateY(-50%);
        }
        details[open] summary::after { content: '-'; }
        .faq-content { 
            padding: 20px; 
            border-top: 1px solid var(--border); 
            color: var(--text-light); 
            line-height: 1.7;
            background: #fcfcfc;
        }

        /* =========================================
           2. FOOTER CSS (COPY TO ALL PAGES)
           ========================================= */
        footer {
            background: #0f172a;
            color: #f1f5f9;
            padding: 80px 20px 30px;
            margin-top: 80px;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 50px;
            margin-bottom: 50px;
        }

        .footer-col h3 { 
            color: white; 
            margin-bottom: 25px; 
            font-size: 1.2rem;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0;
            width: 40px; height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }

        .footer-col p { line-height: 1.7; color: #94a3b8; }

        .footer-col a { 
            display: block; 
            color: #cbd5e1; 
            text-decoration: none; 
            margin-bottom: 12px; 
            transition: 0.2s; 
            font-size: 0.95rem;
        }
        .footer-col a:hover { color: #60a5fa; transform: translateX(5px); }

        .copyright {
            text-align: center;
            border-top: 1px solid #334155;
            padding-top: 30px;
            color: #64748b;
            font-size: 0.9rem;
        }
        /* =========================================
           END FOOTER CSS
           ========================================= */
