<style>
        :root {
            --primary: #4361ee;
            --secondary: #3f37c9;
            --accent: #4cc9f0;
            --light: #f8f9fa;
            --dark: #212529;
            --success: #4ade80;
            --warning: #facc15;
            --danger: #f87171;
            --gray: #6c757d;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            color: var(--dark);
            line-height: 1.6;
            overflow-x: hidden;
           
        }
.container.header-container{
	padding:0px;
	
}
header{
	padding:15px 0;
}

header ul li{
    margin-bottom: 0;
    line-height: 1.6;
}
	
	
}
.age-container {
    background-color: white;
    width: 100%;
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin: 0 auto;
}
 .section {
            max-width: 1200px;
            margin: 50px auto 50px auto;
            padding: 0;
        }

        .sub-header {
            background: linear-gradient(to right, #2575fc, #6a11cb);
    color: white;
    padding: 30px 40px;
    text-align: center;
	    margin-bottom:20px;
    border-radius: 15px;
        }

        .sub-header h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            background: #FFF;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .description {
            font-size: 1.1rem;
            color: var(--white);
            max-width: 600px;
            margin: 0 auto;
        }

        .calculator-card {
            background: white;
            border-radius: 16px;
          
            overflow: hidden;
            margin-bottom: 40px;
        }

        .calculator-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
			flex-wrap: wrap;
        }

        .calculator-header .title h2 {
            font-size: 1.8rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .currency-selector {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .currency-selector label {
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .currency-selector select {
            padding: 10px 15px;
            border-radius: 8px;
            border: none;
            background: white;
            font-weight: 500;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .calculator-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            padding: 30px;
        }

        @media (max-width: 900px) {
            .calculator-content {
                grid-template-columns: 1fr;
            }
        }

        .input-section, .result-section {
            padding: 20px;
        }

        .section-title {
            font-size: 1.4rem;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--primary);
        }

        .form-group {
            margin-bottom: 30px;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: var(--dark);
        }

        .input-group {
            display: flex;
            align-items: center;
            border: 1px solid #e1e5eb;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 15px;
        }

        .input-group i {
            padding: 0 15px;
            color: var(--primary);
            background: #f8f9fa;
            height: 100%;
            display: flex;
            align-items: center;
        }

        .input-group input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            font-size: 16px;
            outline: none;
        }

        .slider-container {
            position: relative;
        }

        .slider {
            width: 100%;
            height: 8px;
            -webkit-appearance: none;
            background: #e1e5eb;
            border-radius: 5px;
            outline: none;
            margin: 25px 0 15px;
        }

        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            transition: var(--transition);
        }

        .slider::-webkit-slider-thumb:hover {
            transform: scale(1.1);
            background: var(--secondary);
        }

        .value-display {
            position: absolute;
            top: -30px;
            right: 0;
            background: var(--primary);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .btn-calculate {
    background: linear-gradient(to right, #2575fc, #6a11cb);
    color: white;
    border: none;
    padding: 16px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 15px rgba(37, 117, 252, 0.4);
        }

        .btn-calculate:hover {
            background: var(--secondary);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(67, 97, 238, 0.4);
        }

        .emi-display {
            text-align: center;
            margin-bottom: 30px;
            padding: 20px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 16px;
            color: white;
        }

        .emi-display .label {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .emi-display .value {
            font-size: 2.5rem;
            font-weight: 700;
        }

        .result-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }

        .result-card {
            background: var(--light);
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .result-card .label {
            font-size: 0.9rem;
            color: var(--gray);
            margin-bottom: 8px;
        }

        .result-card .value {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--dark);
        }

        .chart-container {
            height: 250px;
            margin-top: 20px;
        }

        .emi-formula-explanation {
            background: white;
            border-radius: 16px;
            padding: 30px;
            margin-bottom: 30px;
        
        }

        .emi-formula-explanation h2 {
            margin-bottom: 20px;
            color: var(--primary);
        }

        .emi-formula-explanation h3 {
            margin: 25px 0 15px;
            color: var(--secondary);
        }

        .emi-formula-explanation p {
            margin-bottom: 15px;
            line-height: 1.7;
        }

        pre {
            background: var(--light);
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
            overflow-x: auto;
        }

        code {
            font-family: 'Courier New', monospace;
            color: var(--secondary);
        }

        ul, ol {
            margin: 15px 0;
            padding-left: 30px;
        }

        li {
            margin-bottom: 10px;
            line-height: 1.6;
        }

        .note {
            background: #e3f2fd;
            padding: 15px;
            border-radius: 8px;
            border-left: 4px solid var(--primary);
            margin-top: 20px;
        }

        .disclaimer {
            background: #fff8e1;
            padding: 20px;
            border-radius: 12px;
            border-left: 4px solid var(--warning);
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }

        .disclaimer i {
            color: var(--warning);
            font-size: 1.5rem;
            margin-top: 3px;
        }

        .disclaimer strong {
            color: var(--dark);
        }
		
 @media (max-width: 480px) {
	 header{
	padding:0px;
}
	 .sub-header h1 {
    font-size: 1.5rem;
	 }
	    .description {
            font-size: 0.9rem;
		}
		.container.header-container{
	padding:15px;
	
}
 .calculator-content {
    
            gap: 0px;
            padding: 10px;
        }
		.calculator-header .title h2 {
            font-size: 1.4rem;
		}
	.section {
    margin: 30px auto 30px auto;
    padding: 0;
} 
 }
 
    </style>