
        :root {
            --saffron: #FF9933;
            --white: #FFFFFF;
            --green: #138808;
            --navy: #000080;
            --teal: #008080;
            --gold: #FFD700;
            --bihar-purple: #8A2BE2;
        }
        
        body {
            background-color: #f8f9fa;
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
        }
        
        .khagaria-hero {
            background: linear-gradient(135deg, #e6e6ff, #f0f0ff);
            border-radius: 16px;
            padding: 2.5rem 1.5rem;
            margin-top: 1rem;
            margin-bottom: 2rem;
            border-left: 8px solid var(--bihar-purple);
            position: relative;
            overflow: hidden;
        }
        
        .khagaria-hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 200px;
            height: 200px;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%238A2BE2" stroke-width="2" stroke-dasharray="5,5"/></svg>') no-repeat;
            opacity: 0.1;
        }
        
        .calculator-card {
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 6px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: none;
            margin-bottom: 2rem;
            background: white;
        }
        
        .calculator-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(0,0,0,0.15);
        }
        
        .card-header {
            background: linear-gradient(135deg, var(--bihar-purple), #6a1b9a);
            color: white;
            padding: 1.25rem 1.5rem;
            border: none;
            font-weight: 600;
        }
        
        .card-body {
            padding: 1.75rem;
        }
        
        .form-label {
            font-weight: 500;
            color: #333;
        }
        
        .form-control, .form-select {
            border-radius: 10px;
            padding: 0.75rem;
            border: 1px solid #ddd;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--bihar-purple);
            box-shadow: 0 0 0 0.25rem rgba(138, 43, 226, 0.2);
        }
        
        .btn-primary {
            background: var(--bihar-purple);
            border: none;
            padding: 0.75rem 1.5rem;
            font-weight: 500;
            border-radius: 10px;
            transition: all 0.3s;
        }
        
        .btn-primary:hover {
            background: #7b1fa2;
            transform: translateY(-2px);
        }
        
        .result-container {
            background: #f0f8ff;
            border-radius: 10px;
            padding: 1.5rem;
            margin-top: 1.5rem;
            border-left: 4px solid var(--bihar-purple);
        }
        
        .result-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--bihar-purple);
        }
        
        .unit-badge {
            display: inline-block;
            padding: 5px 10px;
            margin: 0 5px 5px 0;
            font-size: 12px;
            font-weight: 600;
            border-radius: 8px;
            background-color: rgba(138, 43, 226, 0.1);
            color: var(--bihar-purple);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            border: 1px solid rgba(138, 43, 226, 0.2);
        }
        
        .district-info {
            background: white;
            border-radius: 16px;
            padding: 1.5rem;
            box-shadow: 0 6px 15px rgba(0,0,0,0.1);
            margin-bottom: 2rem;
        }
        
        .info-icon {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--bihar-purple), #6a1b9a);
            color: white;
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .conversion-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1.5rem;
        }
        
        .conversion-table th {
            background-color: rgba(138, 43, 226, 0.1);
            color: var(--bihar-purple);
            padding: 0.75rem;
            text-align: left;
        }
        
        .conversion-table td {
            padding: 0.75rem;
            border-bottom: 1px solid #eee;
        }
        
        .conversion-table tr:hover {
            background-color: #f9f5ff;
        }
        
        .seo-content {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 6px 15px rgba(0,0,0,0.1);
            margin-bottom: 2rem;
        }
        
        .seo-content h2 {
            color: var(--bihar-purple);
            border-bottom: 2px solid rgba(138, 43, 226, 0.2);
            padding-bottom: 0.5rem;
            margin-bottom: 1.5rem;
        }
        
        .seo-content h3 {
            color: #5a3d8a;
            margin-top: 1.5rem;
        }
        
        @media (max-width: 768px) {
            .khagaria-hero {
                padding: 1.5rem 1rem;
            }
            
            .card-body {
                padding: 1.25rem;
            }
        }
    