
        :root {
            --saffron: #FF9933;
            --white: #FFFFFF;
            --green: #138808;
            --navy: #1a237e;
            --light-green: #4caf50;
            --light-blue: #2196F3;
            --light-purple: #9C27B0;
            --dark-bg: #121212;
            --card-bg: #ffffff;
            --text-dark: #2c3e50;
            --text-light: #f5f5f5;
            --shadow: 0 6px 15px rgba(0,0,0,0.1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            color: var(--text-dark);
            line-height: 1.6;
        }
        
        .dark-theme {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: var(--text-light);
        }
        
        .dark-theme .card {
            background-color: #1e293b;
            color: var(--text-light);
        }
        
        .dark-theme .form-control, 
        .dark-theme .form-select {
            background-color: #2d3748;
            border-color: #4a5568;
            color: var(--text-light);
        }
        
        .dark-theme .result-box {
            background: linear-gradient(135deg, #2c3e50, #1a237e);
        }
        
        /* Header Styles */
        .navbar {
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            background: var(--card-bg) !important;
            padding: 0.8rem 0;
        }
        
        .dark-theme .navbar {
            background: #1e1e1e !important;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }
        
        .navbar-brand {
            font-weight: 700;
            color: var(--navy) !important;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
        }
        
        .dark-theme .navbar-brand {
            color: var(--light-blue) !important;
        }
        
        .navbar-brand i {
            margin-right: 8px;
            color: var(--saffron);
        }
        
        /* District Header */
        .district-header {
            background: linear-gradient(rgba(26, 35, 126, 0.85), rgba(26, 35, 126, 0.9)), 
                         url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="400" viewBox="0 0 1200 400"><rect width="1200" height="400" fill="%231a237e"/><path d="M0,200 Q300,100 600,200 T1200,200 L1200,400 L0,400 Z" fill="%234caf50" opacity="0.3"/></svg>');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 4rem 0 3rem;
            margin-bottom: 2rem;
            border-radius: 0 0 30px 30px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .district-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--saffron), var(--white), var(--green));
        }
        
        .district-header h1 {
            font-weight: 700;
            font-size: 2.8rem;
            margin-bottom: 1rem;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        
        .district-header p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 2rem;
            opacity: 0.9;
        }
        
        .badge-custom {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50px;
            padding: 0.6rem 1.2rem;
            font-size: 0.95rem;
            margin: 0 0.5rem 1rem;
            transition: all 0.3s ease;
        }
        
        .badge-custom:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-3px);
        }
        
        /* Main Content */
        .container-main {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }
        
        .card {
            border: none;
            border-radius: 16px;
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            margin-bottom: 2rem;
            background: var(--card-bg);
        }
        
        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0,0,0,0.15);
        }
        
        .card-header {
            background: linear-gradient(135deg, var(--navy), #283593);
            color: white;
            padding: 1.2rem 1.5rem;
            border-bottom: none;
            font-weight: 600;
            font-size: 1.3rem;
        }
        
        .dark-theme .card-header {
            background: linear-gradient(135deg, #1a237e, #303f9f);
        }
        
        .card-body {
            padding: 1.8rem;
        }
        
        .section-title {
            position: relative;
            padding-bottom: 1rem;
            margin-bottom: 1.8rem;
            font-weight: 600;
            color: var(--navy);
        }
        
        .dark-theme .section-title {
            color: var(--light-blue);
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            border-radius: 2px;
            background: var(--saffron);
        }
        
        /* Form Elements */
        .form-label {
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: var(--text-dark);
        }
        
        .dark-theme .form-label {
            color: var(--text-light);
        }
        
        .form-control, .form-select {
            border-radius: 12px;
            padding: 0.9rem 1.2rem;
            border: 2px solid #e0e0e0;
            transition: all 0.3s;
            font-size: 1rem;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--saffron);
            box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.25);
        }
        
        .btn-calculate {
            background: linear-gradient(135deg, var(--navy), var(--light-blue));
            color: white;
            border: none;
            padding: 0.9rem 1.8rem;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1.05rem;
            transition: all 0.3s;
            width: 100%;
            margin-top: 1rem;
        }
        
        .btn-calculate:hover {
            background: linear-gradient(135deg, var(--light-blue), var(--navy));
            transform: translateY(-3px);
            box-shadow: 0 7px 14px rgba(33, 150, 243, 0.3);
        }
        
        /* Result Box */
        .result-box {
            background: linear-gradient(135deg, #e3f2fd, #bbdefb);
            border-radius: 14px;
            padding: 1.8rem;
            text-align: center;
            margin-top: 1.8rem;
            border-left: 4px solid var(--light-blue);
        }
        
        .result-value {
            font-size: 2.5rem;
            font-weight: 700;
            margin: 0.5rem 0;
            color: var(--navy);
            line-height: 1.2;
        }
        
        .dark-theme .result-value {
            color: var(--text-light);
        }
        
        .result-unit {
            font-size: 1.2rem;
            color: #555;
            margin-bottom: 1rem;
        }
        
        .dark-theme .result-unit {
            color: #ccc;
        }
        
        /* Unit Cards */
        .unit-card {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 14px;
            padding: 1.5rem;
            margin-bottom: 1.2rem;
            border-left: 4px solid var(--light-green);
            transition: all 0.3s ease;
        }
        
        .dark-theme .unit-card {
            background: linear-gradient(135deg, #2d3748, #4a5568);
        }
        
        .unit-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        }
        
        .unit-card h5 {
            color: var(--navy);
            margin-bottom: 0.5rem;
        }
        
        .dark-theme .unit-card h5 {
            color: var(--text-light);
        }
        
        /* Features Section */
        .features-section {
            margin: 3rem 0;
        }
        
        .feature-card {
            text-align: center;
            padding: 2rem 1.5rem;
            border-radius: 16px;
            height: 100%;
            transition: all 0.3s ease;
        }
        
        .feature-card:hover {
            transform: translateY(-8px);
        }
        
        .feature-icon {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 20px;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            color: white;
        }
        
        .icon-1 {
            background: linear-gradient(135deg, var(--saffron), #ff6d00);
        }
        
        .icon-2 {
            background: linear-gradient(135deg, var(--light-green), #2e7d32);
        }
        
        .icon-3 {
            background: linear-gradient(135deg, var(--light-blue), #1565c0);
        }
        
        .feature-card h4 {
            margin-bottom: 1rem;
            color: var(--navy);
        }
        
        .dark-theme .feature-card h4 {
            color: var(--text-light);
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .district-header h1 {
                font-size: 2.2rem;
            }
            
            .district-header p {
                font-size: 1rem;
            }
            
            .result-value {
                font-size: 2rem;
            }
        }