
        :root {
            --saffron: #FF9933;
            --white: #FFFFFF;
            --green: #138808;
            --navy: #000080;
            --teal: #008080;
            --gold: #FFD700;
            --bihar-purple: #5a287d;
        }
        
        body {
            background-color: #f8f9fa;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
        }
        
        .hero-banner {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                        url('https://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Purnea_college.jpg/1200px-Purnea_college.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            border-radius: 16px;
            margin-bottom: 2rem;
            padding: 3rem 2rem;
            position: relative;
            overflow: hidden;
        }
        
        .hero-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 8px;
            background: linear-gradient(90deg, var(--saffron), var(--white), var(--green));
            z-index: 2;
        }
        
        .district-name {
            font-weight: 800;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            color: white;
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }
        
        .district-subtitle {
            font-size: 1.25rem;
            opacity: 0.9;
            margin-bottom: 1.5rem;
        }
        
        .tool-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 6px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 100%;
            border: none;
            position: relative;
        }
        
        .tool-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(0,0,0,0.15);
        }
        
        .tool-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 8px;
            background: linear-gradient(90deg, var(--bihar-purple), #8e44ad);
            z-index: 2;
        }
        
        .tool-header {
            padding: 1.5rem;
            background: linear-gradient(135deg, #6a3093, #a044ff);
            color: white;
            position: relative;
        }
        
        .tool-icon {
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            font-size: 1.75rem;
        }
        
        .tool-body {
            padding: 1.5rem;
        }
        
        .form-label {
            font-weight: 600;
            color: #555;
        }
        
        .form-control, .form-select {
            border-radius: 12px;
            padding: 10px 15px;
            border: 2px solid #e0e0e0;
            transition: all 0.3s;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--bihar-purple);
            box-shadow: 0 0 0 0.25rem rgba(90, 40, 125, 0.2);
        }
        
        .btn-purnea {
            background: linear-gradient(135deg, var(--bihar-purple), #8e44ad);
            color: white;
            border: none;
            border-radius: 12px;
            padding: 10px 20px;
            font-weight: 600;
            transition: all 0.3s;
        }
        
        .btn-purnea:hover {
            background: linear-gradient(135deg, #8e44ad, var(--bihar-purple));
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(90, 40, 125, 0.3);
        }
        
        .result-box {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 1.5rem;
            margin-top: 1.5rem;
            border-left: 4px solid var(--bihar-purple);
        }
        
        .result-value {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--bihar-purple);
            margin: 0.5rem 0;
        }
        
        .unit-info {
            background: #e8f4f8;
            border-radius: 12px;
            padding: 1.5rem;
            margin-top: 2rem;
            border: 1px dashed #3498db;
        }
        
        .unit-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1rem;
        }
        
        .unit-table th {
            background-color: var(--bihar-purple);
            color: white;
            padding: 10px 15px;
            text-align: left;
        }
        
        .unit-table td {
            padding: 10px 15px;
            border-bottom: 1px solid #eee;
        }
        
        .unit-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        
        .section-title {
            position: relative;
            padding-bottom: 0.75rem;
            margin-bottom: 1.5rem;
            color: var(--bihar-purple);
            font-weight: 700;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--bihar-purple), #8e44ad);
            border-radius: 2px;
        }
        
        .common-units {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 1rem;
        }
        
        .common-unit {
            background: rgba(90, 40, 125, 0.1);
            border: 1px solid rgba(90, 40, 125, 0.2);
            border-radius: 8px;
            padding: 8px 15px;
            font-weight: 500;
            color: var(--bihar-purple);
        }
        
        /* SEO Content Styling */
        .content-section {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        
        .content-section h2 {
            color: var(--bihar-purple);
            border-bottom: 2px solid var(--teal);
            padding-bottom: 0.5rem;
            margin-bottom: 1.5rem;
        }
        
        .content-section h3 {
            color: #5a287d;
            margin-top: 1.5rem;
        }
        
        .content-section ul {
            padding-left: 1.5rem;
        }
        
        .content-section li {
            margin-bottom: 0.5rem;
        }
        
        .breadcrumb {
            background-color: #f1f1f1;
            border-radius: 8px;
            padding: 0.75rem 1rem;
            margin-bottom: 1.5rem;
        }
        
        .breadcrumb-item a {
            color: var(--bihar-purple);
            text-decoration: none;
        }
        
        .breadcrumb-item.active {
            color: #666;
        }
        
        @media (max-width: 768px) {
            .hero-banner {
                padding: 2rem 1rem;
            }
            
            .district-name {
                font-size: 2rem;
            }
            
            .tool-body {
                padding: 1rem;
            }
            
            .content-section {
                padding: 1.5rem;
            }
        }
    