
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            background: #2c5f41;
            color: #333;
            /* min-height: 100vh; */
        }

      .container {
        
            max-width: 900px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.95);
            background: white;
            /* border-radius: 20px; */
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            /* backdrop-filter: blur(10px); */
        }
        


.header {
            background-color: #2c3e50;
            color: white;
            padding: 40px 30px;
            text-align: center;
        }

       .header h1 {
            font-size: 2.2em;
            margin-bottom: 10px;
        }

        
        .header p {
            font-size: 1.2em;
            opacity: 0.9;
            text-align: left;
        }

        
        .content-card {
            background: white;
            /* border-radius: 15px; */
            padding: 30px;
            /* margin-bottom: 25px; */
            /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
            transition: transform 0.3s ease;
        } 

        
        .content-card:hover {
            transform: translateY(-5px);
        }
        
        .section-title {
            color: #5a67d8;
            font-size: 1.8em;
            margin-bottom: 20px;
            border-bottom: 3px solid #e2e8f0;
            padding-bottom: 10px;
        }
        
        .conversion-triangle {
            width: 300px;
            height: 260px;
            margin: 30px auto;
            position: relative;
            animation: float 3s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        .triangle-node {
            position: absolute;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }
        
        .triangle-node:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }
        
        .node-percent {
            background: linear-gradient(135deg, #5a67d8 0%, #667eea 100%);
            top: 0;
            left: 100px;
        }
        
        .node-decimal {
            background: #4a5d7a;
            bottom: 0;
            left: 0;
        }
        
        .node-fraction {
            background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
            bottom: 0;
            right: 0;
        }
        
        .arrow {
            position: absolute;
            width: 2px;
            background: #999;
            transform-origin: top center;
        }
        
        .arrow::after {
            content: '↔';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 20px;
            color: #666;
        }
        
        .arrow1 {
            height: 140px;
            top: 90px;
            left: 110px;
            transform: rotate(120deg);
        }
        
        .arrow2 {
            height: 140px;
            top: 90px;
            right: 110px;
            transform: rotate(-120deg);
        }
        
        .arrow3 {
            width: 180px;
            height: 2px;
            bottom: 50px;
            left: 60px;
        }
        
        .formula-box {
            background: #4a5d7a;
            color: white;
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
            text-align: center;
            box-shadow: 0 5px 15px rgba(74, 93, 122, 0.3);
        }
        
        .formula {
            font-size: 1.3em;
            font-weight: bold;
            margin: 10px 0;
        }
        
        .tip-box {
            background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
            border-left: 4px solid #ff8a65;
        }
        
        .example-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .example {
            background: #f8fafc;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 20px;
            transition: all 0.3s ease;
        }
        
        .example:hover {
            border-color: #5a67d8;
            background: #f1f5f9;
        }
        
        .example-title {
            color: #2d3748;
            font-size: 1.2em;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .step {
            margin: 10px 0;
            padding: 8px 12px;
            background: white;
            border-radius: 5px;
            border-left: 3px solid #38b2ac;
        }
        
        .answer {
            background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
            color: white;
            padding: 12px;
            border-radius: 8px;
            text-align: center;
            font-weight: bold;
            font-size: 1.1em;
            margin-top: 15px;
        }
        
        .interactive-section {
            background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
            border-radius: 10px;
            padding: 20px;
            margin-top: 20px;
        }
        
        .calculator {
            background: white;
            padding: 20px;
            border-radius: 8px;
            margin-top: 15px;
        }
        
        .converter-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .converter-box {
            background: white;
            padding: 20px;
            border-radius: 8px;
        }
        
        .converter-box h3 {
            color: #4a5568;
            margin-bottom: 15px;
            font-weight: bold;
        }
        
        .input-group {
            margin: 15px 0;
        }
        
        .input-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #4a5568;
        }
        
        .input-group input {
            width: 100%;
            padding: 10px;
            border: 2px solid #e2e8f0;
            border-radius: 5px;
            font-size: 1em;
        }
        
        .input-group input:focus {
            outline: none;
            border-color: #5a67d8;
        }
        
        .calculate-btn {
            background: linear-gradient(135deg, #5a67d8 0%, #667eea 100%);
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-size: 1.1em;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }
        
        .calculate-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(90, 103, 216, 0.4);
        }
        
        .result {
            margin-top: 15px;
            padding: 15px;
            background: #f0fff4;
            border: 2px solid #68d391;
            border-radius: 8px;
            min-height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2em;
            font-weight: bold;
            color: #2d3748;
        }
        
        .quick-reference {
            background: white;
            padding: 30px;
            /* border-radius: 15px; */
            margin-bottom: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        table {
            width: 100%;
            background: white;
            border-radius: 10px;
            overflow: hidden;
        }
        
        th {
            background: #4a5d7a;
            color: white;
            padding: 15px;
            text-align: left;
        }
        
        td {
            padding: 15px;
            border-bottom: 1px solid #e9ecef;
        }
        
        tr:hover {
            background: #f8f9fa;
        }
        
        tr:last-child td {
            border-bottom: none;
        }
        
        /* Quiz Styles */
        .quiz-container {
            background: white;
            /* border-radius: 15px; */
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            padding: 30px;
            margin-bottom: 25px;
            transition: transform 0.3s ease;
        }
        
        .quiz-container:hover {
            transform: translateY(-5px);
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .progress-bar {
            background: #e0e0e0;
            height: 8px;
            border-radius: 4px;
            margin-bottom: 30px;
            overflow: hidden;
        }

        .progress-fill {
            background: linear-gradient(90deg, #667eea, #764ba2);
            height: 100%;
            width: 0%;
            transition: width 0.3s ease;
            border-radius: 4px;
        }

        .question-container {
            margin-bottom: 30px;
            padding: 25px;
            background: #f8f9ff;
            border-radius: 15px;
            border-left: 5px solid #667eea;
        }

        .question {
            font-size: 1.2em;
            margin-bottom: 20px;
            color: #333;
            font-weight: 500;
        }

        .options {
            display: grid;
            gap: 12px;
        }

        .option {
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            padding: 15px 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1em;
            display: flex;
            align-items: center;
        }

        .option:hover {
            border-color: #667eea;
            background: #f0f4ff;
            transform: translateX(5px);
        }

        .option.selected {
            border-color: #667eea;
            background: #e8f0ff;
        }

        .option.correct {
            border-color: #4caf50;
            background: #e8f5e8;
            color: #2e7d32;
        }

        .option.incorrect {
            border-color: #f44336;
            background: #ffebee;
            color: #c62828;
        }

        .submit-btn {
            background: linear-gradient(135deg, #5a67d8 0%, #667eea 100%);
            color: white;
            border: none;
            padding: 15px 30px;
            font-size: 1.1em;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: block;
            margin: 30px auto;
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        .submit-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .feedback {
            margin-top: 15px;
            padding: 15px;
            border-radius: 10px;
            font-weight: 500;
            text-align: center;
        }

        .feedback.correct {
            background: #e8f5e8;
            color: #2e7d32;
            border: 1px solid #4caf50;
        }

        .feedback.incorrect {
            background: #ffebee;
            color: #c62828;
            border: 1px solid #f44336;
        }

        .score-container {
            text-align: center;
            margin-top: 30px;
            padding: 25px;
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            border-radius: 15px;
        }

        .score {
            font-size: 2em;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .reset-btn {
            background: white;
            color: #667eea;
            border: 2px solid white;
            padding: 12px 25px;
            font-size: 1em;
            border-radius: 20px;
            cursor: pointer;
            margin-top: 15px;
            transition: all 0.3s ease;
        }

        .reset-btn:hover {
            background: transparent;
            color: white;
        }

        .hidden {
            display: none;
        }
        
        @media (max-width: 768px) {
            .example-grid {
                grid-template-columns: 1fr;
            }
            
            .header h1 {
                font-size: 2em;
            }
            
            .content-card {
                padding: 20px;
            }
        }
    