
/* Modern Menu Styles */
.modern-menu {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.modern-menu .logo a {
    font-size: 1.5em;
    font-weight: bold;
    color: #0d6efd;
    text-decoration: none;
}
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.nav-links li {
    position: relative;
}
.nav-links > li > a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}
.nav-links > li > a:hover {
    color: #0d6efd;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    top: 100%;
    left: 0;
}
.dropdown-content a {
    color: #333;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}
.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #0d6efd;
}
.dropdown:hover .dropdown-content {
    display: block;
}

/* Footer Styles */
.common-footer {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #dee2e6;
}
.common-footer p {
    margin: 0;
    color: #666;
}
.common-footer a {
    color: #0d6efd;
    text-decoration: none;
}

/* Styles from back2total.html */

        :root {
            --bg-color: #ffffff;
            --text-color: #2d3748;
            --input-bg: #f8fafc;
            --border-color: #e2e8f0;
            --primary-color: #4299e1;
            --result-bg: #f7fafc;
        }

        [data-theme="dark"] {
            --bg-color: #1a202c;
            --text-color: #e2e8f0;
            --input-bg: #2d3748;
            --border-color: #4a5568;
            --primary-color: #63b3ed;
            --result-bg: #2d3748;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            transition: all 0.3s ease;
        }

        .theme-toggle {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--primary-color);
            border: none;
            padding: 8px 12px;
            border-radius: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: all 0.3s ease;
        }

        .calculator {
            background: var(--bg-color);
            border: 1px solid var(--border-color);
        }

        .input-group input {
            background: var(--input-bg);
            color: var(--text-color);
            border-color: var(--border-color);
        }

        .modern-result {
            background: var(--result-bg);
            color: var(--text-color);
        }

        .calc-description {
            color: var(--text-color);
            opacity: 0.8;
        }
    
/* Styles from back2total.html */

        .calculator {
            max-width: 600px;
            margin: 0 auto;
            padding: 2rem;
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        .calc-title {
            color: #2d3748;
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .calc-description {
            color: #718096;
            margin-bottom: 2rem;
        }

        .input-wrapper {
            position: relative;
            margin-top: 0.5rem;
        }

        .input-group {
            margin-bottom: 1.5rem;
        }

        .input-group label {
            color: #4a5568;
            font-size: 0.95rem;
            font-weight: 500;
        }

        .input-group input,
        .input-group .currency-select {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: #f8fafc;
        }
        
        .currency-select {
            appearance: none;
            background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
            background-repeat: no-repeat;
            background-position: right 0.7rem top 50%;
            background-size: 0.65rem auto;
        }

        .input-group input:focus {
            outline: none;
            border-color: #4299e1;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
        }

        .calc-button {
            width: 100%;
            padding: 0.875rem;
            background: #4299e1;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: transform 0.2s ease, background 0.2s ease;
        }

        .calc-button:hover {
            background: #3182ce;
            transform: translateY(-1px);
        }

        .calc-button:active {
            transform: translateY(0);
        }

        .modern-result {
            margin-top: 1.5rem;
            padding: 1.5rem;
            background: #f7fafc;
            border-radius: 12px;
            border-left: 4px solid #4299e1;
            display: none;
        }

        .modern-result strong {
            color: var(--text-color);
            font-weight: 600;
            display: inline-block;
            width: 180px;
        }
        .amount {
            font-family: 'Consolas', monospace;
            font-size: 1.3em;
            color: var(--text-color);
            font-weight: 500;
        }
        .highlight {
            color: #4299e1;
            font-weight: 600;
            font-size: 1.3em;
        }
        .percentage {
            color: #dc2626;
            font-weight: 600;
            font-size: 1.3em;
        }
    
/* Styles from barcode-to-text.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .header {
            text-align: center;
            margin-bottom: 20px;
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .converter {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        #fileInput {
            display: none;
        }
        .upload-area {
            border: 2px dashed #ccc;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
            cursor: pointer;
        }
        .upload-area:hover {
            border-color: #007bff;
        }
        #result {
            margin-top: 20px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 4px;
            display: none;
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin: 5px;
        }
        button:hover {
            background-color: #0056b3;
        }
        #interactive.viewport {
            position: relative;
            width: 100%;
            height: 300px;
        }
        #interactive.viewport > canvas, #interactive.viewport > video {
            max-width: 100%;
            width: 100%;
        }
        canvas.drawing, canvas.drawingBuffer {
            position: absolute;
            left: 0;
            top: 0;
        }
    
/* Styles from base64-converter.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        textarea {
            width: 100%;
            height: 150px;
            margin: 10px 0;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            resize: vertical;
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin: 5px;
        }
        button:hover {
            background-color: #0056b3;
        }
        .button-group {
            display: flex;
            gap: 10px;
            margin: 10px 0;
        }
    
/* Styles from CalculatePercentage.html */

    body {
      font-family: Arial, sans-serif;
      max-width: 600px;
      margin: 20px auto;
      padding: 20px;
      background-color: #f5f5f5;
    }
    .calculator {
      background-color: white;
      border: 1px solid #ccc;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .input-group {
      margin-bottom: 15px;
    }
    label {
      display: block;
      margin-bottom: 5px;
      color: #333;
    }
    input {
      width: 100%;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
    button {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      width: 100%;
    }
    button:hover {
      background-color: #0056b3;
    }
    .result {
      margin-top: 20px;
      padding: 15px;
      background-color: #f8f9fa;
      border-radius: 4px;
      border-left: 4px solid #007bff;
      display: none;
    }
    .back-button {
      display: inline-block;
      padding: 8px 16px;
      background-color: #6c757d;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      margin-bottom: 15px;
    }
    .back-button:hover {
      background-color: #545b62;
    }
    .header {
      text-align: center;
      margin-bottom: 20px;
    }
  
/* Styles from chest-size-calculator.html */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 20px;
            color: #333;
        }

        .container {
            max-width: 900px;
            margin: 0 auto;
        }

        .header {
            text-align: center;
            color: white;
            margin-bottom: 30px;
            animation: fadeInDown 0.6s ease-out;
        }

        .header h1 {
            font-size: 2.5em;
            font-weight: 700;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }

        .header p {
            font-size: 1.1em;
            opacity: 0.95;
        }

        .back-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            margin-bottom: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .back-button:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .converter {
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            margin-bottom: 30px;
            animation: fadeInUp 0.6s ease-out;
        }

        .converter h2 {
            color: #667eea;
            font-size: 2em;
            margin-bottom: 30px;
            text-align: center;
            position: relative;
            padding-bottom: 15px;
        }

        .converter h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
            border-radius: 2px;
        }

        .measurement-type {
            margin-bottom: 30px;
        }

        .measurement-type h3 {
            color: #444;
            margin-bottom: 15px;
            font-size: 1.2em;
        }

        .radio-group {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .radio-group label {
            flex: 1;
            min-width: 200px;
            position: relative;
            cursor: pointer;
        }

        .radio-group input[type="radio"] {
            position: absolute;
            opacity: 0;
        }

        .radio-group input[type="radio"] + span {
            display: block;
            padding: 15px 20px;
            background: #f8f9fa;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            text-align: center;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .radio-group input[type="radio"]:checked + span {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: #667eea;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }

        .instructions {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 30px;
            box-shadow: 0 5px 20px rgba(245, 87, 108, 0.3);
        }

        .instructions h3 {
            margin-bottom: 15px;
            font-size: 1.3em;
        }

        .instructions ol {
            padding-left: 20px;
        }

        .instructions li {
            margin: 8px 0;
            line-height: 1.6;
        }

        .upload-area {
            border: 3px dashed #667eea;
            padding: 50px 20px;
            text-align: center;
            margin: 30px 0;
            cursor: pointer;
            border-radius: 15px;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .upload-area::before {
            content: '📸';
            font-size: 3em;
            display: block;
            margin-bottom: 15px;
        }

        .upload-area:hover {
            border-color: #764ba2;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            transform: translateY(-2px);
        }

        .upload-area p {
            font-size: 1.1em;
            color: #667eea;
            font-weight: 500;
        }

        #imagePreview {
            text-align: center;
            margin: 30px 0;
        }

        #imagePreview img {
            max-width: 100%;
            max-height: 400px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            animation: zoomIn 0.4s ease-out;
        }

        button {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 15px 40px;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1.1em;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
            display: block;
            margin: 0 auto;
        }

        button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
        }

        button:active {
            transform: translateY(-1px);
        }

        .result-box {
            margin-top: 30px;
            padding: 30px;
            background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
            border-radius: 15px;
            display: none;
            animation: fadeInUp 0.5s ease-out;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .result-box h3 {
            color: #444;
            margin-bottom: 20px;
            font-size: 1.5em;
        }

        #sizeResult {
            font-size: 1.2em;
            line-height: 1.8;
            color: #333;
        }

        #sizeResult strong {
            color: #667eea;
            font-size: 1.5em;
        }

        .bra-recommendation {
            margin-top: 25px;
            padding: 25px;
            background: white;
            border-radius: 12px;
            display: none;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }

        .bra-recommendation h4 {
            color: #667eea;
            margin-bottom: 15px;
            font-size: 1.3em;
        }

        .bra-recommendation ul {
            list-style: none;
            padding: 0;
        }

        .bra-recommendation li {
            padding: 12px;
            margin: 8px 0;
            background: #f8f9fa;
            border-left: 4px solid #667eea;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .bra-recommendation li:hover {
            background: #f0f0f0;
            transform: translateX(5px);
        }

        .info-section {
            background: white;
            border-radius: 20px;
            padding: 40px;
            margin-top: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            animation: fadeInUp 0.8s ease-out;
        }

        .info-section h2 {
            color: #667eea;
            margin-bottom: 25px;
            font-size: 1.8em;
            position: relative;
            padding-bottom: 15px;
        }

        .info-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
            border-radius: 2px;
        }

        .info-section h3 {
            color: #444;
            margin: 25px 0 15px;
            font-size: 1.4em;
        }

        .info-section h4 {
            color: #555;
            margin: 20px 0 10px;
            font-size: 1.2em;
        }

        .info-section p {
            line-height: 1.8;
            color: #666;
            margin-bottom: 15px;
        }

        .info-section ul {
            padding-left: 25px;
            margin: 15px 0;
        }

        .info-section li {
            margin: 10px 0;
            line-height: 1.7;
            color: #666;
        }

        .info-section li strong {
            color: #667eea;
        }

        footer {
            background: white;
            padding: 30px;
            text-align: center;
            margin-top: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        footer p {
            color: #666;
            margin: 0;
        }

        footer a {
            color: #667eea;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        footer a:hover {
            color: #764ba2;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes zoomIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @media (max-width: 768px) {
            body {
                padding: 15px;
            }

            .header h1 {
                font-size: 2em;
            }

            .converter {
                padding: 25px;
            }

            .converter h2 {
                font-size: 1.6em;
            }

            .radio-group label {
                min-width: 100%;
            }

            .info-section {
                padding: 25px;
            }
        }
    
/* Styles from color-converter.html */

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
        }
        .header {
            text-align: center;
            margin-bottom: 40px;
        }
        .header h1 {
            color: #0d6efd;
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        .header p {
            color: #888;
            font-size: 1.1em;
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .color-input {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        .input-group {
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
        }
        .input-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
        }
        .input-group input {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        .preview {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
        }
        .color-preview {
            width: 150px;
            height: 150px;
            border-radius: 8px;
            border: 1px solid #ddd;
        }
        .accessibility {
            flex-grow: 1;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
        }
        .palette {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
            gap: 10px;
            margin-top: 20px;
        }
        .palette-color {
            height: 60px;
            border-radius: 4px;
            cursor: pointer;
            border: 1px solid #ddd;
        }
    
/* Styles from distance-converter.html */

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
        }
        .header {
            text-align: center;
            margin-bottom: 40px;
        }
        .converter {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .input-group {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            align-items: center;
            flex-wrap: wrap;
        }
        input[type="number"] {
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            width: 200px;
        }
        select {
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: white;
        }
        button {
            padding: 8px 16px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        button:hover {
            background-color: #0056b3;
        }
        .result {
            margin-top: 20px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 4px;
            border-left: 4px solid #007bff;
            display: none;
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
    
/* Styles from excel-to-json.html */

    body {
      font-family: 'Segoe UI', Arial, sans-serif;
      max-width: 1200px;
      margin: 20px auto;
      padding: 20px;
      background-color: #ffffff;
    }
    .header {
      text-align: center;
      margin-bottom: 40px;
    }
    .header h1 {
      color: #0d6efd;
      font-size: 2.5em;
      margin-bottom: 10px;
    }
    .header p {
      color: #888;
      font-size: 1.1em;
    }
    .converter {
      background-color: white;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      padding: 20px;
    }
    .back-button {
      display: inline-block;
      padding: 8px 16px;
      background-color: #6c757d;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      margin-bottom: 15px;
    }
    .back-button:hover {
      background-color: #545b62;
    }
    .upload-btn {
      display: block;
      padding: 15px;
      background-color: #f8f9fa;
      border: 2px dashed #dee2e6;
      border-radius: 4px;
      text-align: center;
      cursor: pointer;
      margin: 20px 0;
    }
    #fileInput {
      display: none;
    }
    #jsonOutput {
      width: 100%;
      height: 300px;
      margin: 20px 0;
      padding: 10px;
      border: 1px solid #dee2e6;
      border-radius: 4px;
      font-family: monospace;
    }
    button {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      margin: 5px;
    }
    button:hover {
      background-color: #0056b3;
    }
    .history {
      margin-top: 20px;
    }
    .history-item {
      background-color: #f8f9fa;
      padding: 10px;
      margin: 10px 0;
      border-radius: 4px;
      cursor: pointer;
    }
    .history-item pre {
      display: none;
      margin: 10px 0;
      white-space: pre-wrap;
      word-wrap: break-word;
    }
    .history-item.expanded pre {
      display: block;
    }
  
/* Styles from facebook-video-downloader.html */

    body {
      font-family: 'Segoe UI', Arial, sans-serif;
      max-width: 1200px;
      margin: 20px auto;
      padding: 20px;
      background-color: #ffffff;
    }
    .header {
      text-align: center;
      margin-bottom: 40px;
    }
    .header h1 {
      color: #0d6efd;
      font-size: 2.5em;
      margin-bottom: 10px;
    }
    .header p {
      color: #888;
      font-size: 1.1em;
    }
    .downloader {
      background-color: white;
      border: 1px solid #ccc;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .input-group {
      margin-bottom: 15px;
    }
    label {
      display: block;
      margin-bottom: 5px;
      color: #333;
    }
    input {
      width: 100%;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
    button {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      width: 100%;
    }
    button:hover {
      background-color: #0056b3;
    }
    .result {
      margin-top: 20px;
      padding: 15px;
      background-color: #f8f9fa;
      border-radius: 4px;
      border-left: 4px solid #007bff;
      display: none;
    }
    .back-button {
      display: inline-block;
      padding: 8px 16px;
      background-color: #6c757d;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      margin-bottom: 15px;
    }
    .back-button:hover {
      background-color: #545b62;
    }
    #error {
      color: red;
      margin-top: 10px;
      display: none;
    }
  
/* Styles from findpercentage.html */

    body {
      font-family: 'Segoe UI', Arial, sans-serif;
      max-width: 1200px;
      margin: 20px auto;
      padding: 20px;
      background-color: #ffffff;
    }
    .header {
      text-align: center;
      margin-bottom: 40px;
    }
    .header h1 {
      color: #0d6efd;
      font-size: 2.5em;
      margin-bottom: 10px;
    }
    .header p {
      color: #888;
      font-size: 1.1em;
    }
    .back-button {
      display: inline-block;
      padding: 8px 16px;
      background-color: #6c757d;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      margin-bottom: 15px;
    }
    .back-button:hover {
      background-color: #545b62;
    }
  <meta name="viewport" content="width=device-width">
  <meta name="description" content="Calculate bank deductions and fees with precision using our free online calculator. Find exact percentage deductions from transactions.">
  <meta name="keywords" content="bank deduction calculator, transaction fee calculator, bank charges calculator, percentage deduction, banking calculator">
  <meta name="author" content="X2X Converter">
  <title>Bank Deduction Calculator - Calculate Transaction Fees</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      max-width: 600px;
      margin: 20px auto;
      padding: 20px;
      background-color: #f5f5f5;
    }
    .calculator {
      background-color: white;
      border: 1px solid #ccc;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .input-group {
      margin-bottom: 15px;
    }
    label {
      display: block;
      margin-bottom: 5px;
      color: #333;
    }
    input {
      width: 100%;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
    button {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      width: 100%;
    }
    button:hover {
      background-color: #0056b3;
    }
    .result {
      margin-top: 20px;
      padding: 15px;
      background-color: #f8f9fa;
      border-radius: 4px;
      border-left: 4px solid #007bff;
    }
  
/* Styles from gender-detection.html */

        .analyzer {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            max-width: 800px;
            margin: 20px auto;
        }
        #dropZone {
            border: 2px dashed #ccc;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
            cursor: pointer;
            border-radius: 8px;
        }
        #imagePreview {
            max-width: 100%;
            margin: 20px 0;
            display: none;
        }
        #resultBox {
            margin-top: 20px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 4px;
            display: none;
        }
        .confidence {
            font-size: 0.9em;
            color: #666;
            margin-top: 5px;
        }
    
/* Styles from image-blur.html */

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
        }
        .header {
            text-align: center;
            margin-bottom: 40px;
        }
        .header h1 {
            color: #0d6efd;
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        .header p {
            color: #888;
            font-size: 1.1em;
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .upload-area {
            border: 2px dashed #ccc;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
            cursor: pointer;
        }
        .canvas-container {
            position: relative;
            margin: 20px auto;
            max-width: 800px;
            text-align: center;
        }
        #imageCanvas {
            max-width: 100%;
            border: 1px solid #ddd;
            cursor: crosshair;
        }
        .controls {
            margin: 20px 0;
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            justify-content: center;
        }
        .blur-controls {
            background-color: #f8f9fa;
            padding: 10px;
            border-radius: 4px;
            display: flex;
            gap: 20px;
            align-items: center;
            margin: 10px 0;
        }
        button {
            background-color: #0d6efd;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
        }
        button:hover {
            background-color: #0b5ed7;
        }
        .brush-size {
            width: 200px;
        }
    
/* Styles from image-color-extractor.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .upload-area {
            border: 2px dashed #ccc;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
            cursor: pointer;
        }
        #imagePreview {
            max-width: 100%;
            margin: 20px 0;
        }
        #imagePreview img {
            max-width: 100%;
            max-height: 300px;
            border-radius: 4px;
        }
        .color-palette {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }
        .color-box {
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            color: white;
            text-shadow: 0 0 3px rgba(0,0,0,0.5);
        }
        .color-info {
            margin-top: 10px;
            font-size: 14px;
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin: 5px;
        }
        button:hover {
            background-color: #0056b3;
        }
    
/* Styles from image-downloader.html */

    body {
      font-family: 'Segoe UI', Arial, sans-serif;
      max-width: 1200px;
      margin: 20px auto;
      padding: 20px;
      background-color: #ffffff;
    }
    .header {
      text-align: center;
      margin-bottom: 40px;
    }
    .header h1 {
      color: #0d6efd;
      font-size: 2.5em;
      margin-bottom: 10px;
    }
    .header p {
      color: #888;
      font-size: 1.1em;
    }
    .downloader {
      background-color: white;
      border: 1px solid #ccc;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .input-group {
      margin-bottom: 15px;
    }
    label {
      display: block;
      margin-bottom: 5px;
      color: #333;
    }
    input {
      width: 100%;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
    button {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      width: 100%;
      margin-bottom: 10px;
    }
    button:hover {
      background-color: #0056b3;
    }
    .back-button {
      display: inline-block;
      padding: 8px 16px;
      background-color: #6c757d;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      margin-bottom: 15px;
    }
    .back-button:hover {
      background-color: #545b62;
    }
    #error {
      color: red;
      margin-top: 10px;
      display: none;
    }
    .image-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 15px;
      margin-top: 20px;
    }
    .image-item {
      position: relative;
      border: 1px solid #ddd;
      padding: 5px;
      border-radius: 4px;
    }
    .image-item img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 2px;
    }
    .btn-container {
      position: absolute;
      bottom: 10px;
      right: 10px;
      display: flex;
      gap: 5px;
    }
    .download-btn, .view-btn {
      background: rgba(0, 123, 255, 0.9);
      color: white;
      border: none;
      padding: 5px 10px;
      border-radius: 4px;
      cursor: pointer;
      width: auto;
    }
    .image-info {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      padding: 4px 8px;
      border-radius: 3px;
      font-size: 12px;
      max-width: 90%;
    }
    .image-title {
      position: absolute;
      bottom: 45px;
      left: 10px;
      right: 10px;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      padding: 4px 8px;
      border-radius: 3px;
      font-size: 12px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .progress {
      margin-top: 10px;
      padding: 10px;
      background-color: #f8f9fa;
      border-radius: 4px;
      display: none;
    }
  
/* Styles from image-face-counter.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .analyzer {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        #dropZone {
            border: 2px dashed #ccc;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
            cursor: pointer;
            border-radius: 8px;
        }
        #dropZone:hover {
            background-color: #f8f9fa;
        }
        #imagePreview {
            max-width: 100%;
            margin: 20px 0;
            display: none;
        }
        #resultBox {
            margin-top: 20px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 4px;
            display: none;
        }
        .result-count {
            font-size: 24px;
            color: #007bff;
            font-weight: bold;
            text-align: center;
            margin: 10px 0;
        }
    
/* Styles from image-location-extractor.html */

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
        }
        .header {
            text-align: center;
            margin-bottom: 40px;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .upload-area {
            border: 2px dashed #ccc;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
            cursor: pointer;
        }
        #imagePreview {
            max-width: 100%;
            margin: 20px 0;
        }
        #imagePreview img {
            max-width: 100%;
            max-height: 300px;
            border-radius: 4px;
        }
        #map {
            height: 400px;
            margin: 20px 0;
            border-radius: 8px;
        }
        .location-info {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 4px;
            margin: 20px 0;
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin: 5px;
        }
        button:hover {
            background-color: #0056b3;
        }
    
/* Styles from image-merger.html */

    body {
      font-family: 'Segoe UI', Arial, sans-serif;
      margin: 0;
      padding: 20px;
      background-color: #ffffff;
    }
    .header {
      text-align: center;
      margin-bottom: 30px;
    }
    .header h1 {
      color: #0d6efd;
      margin-bottom: 10px;
    }
    .header p {
      color: #666;
      font-size: 1.1em;
      margin: 0;
    }
    .merger-container {
      max-width: 800px;
      margin: 20px auto;
      padding: 20px;
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .image-inputs {
      display: flex;
      gap: 20px;
      margin-bottom: 20px;
    }
    .image-input {
      flex: 1;
      padding: 20px;
      border: 2px dashed #ccc;
      border-radius: 8px;
      text-align: center;
    }
    .preview-container {
      margin: 20px 0;
    }
    .preview-container img {
      max-width: 100%;
      height: auto;
    }
    .size-controls {
      margin: 20px 0;
      padding: 15px;
      background: #f5f5f5;
      border-radius: 8px;
    }
    .download-options {
      display: flex;
      gap: 10px;
      margin-top: 20px;
    }
    .download-btn {
      padding: 10px 20px;
      background: #4CAF50;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }
    .download-btn:hover {
      background: #45a049;
    }
    .back-button {
      display: inline-block;
      padding: 8px 16px;
      background-color: #6c757d;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      margin-bottom: 15px;
    }
    .back-button:hover {
      background-color: #545b62;
    }
    .blog-section {
      max-width: 800px;
      margin: 40px auto;
      padding: 30px;
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .blog-section h2 {
      color: #333;
      margin-bottom: 20px;
    }
    .blog-section h3 {
      color: #0d6efd;
      margin: 20px 0 10px;
    }
  
/* Styles from image-resizer.html */

    body {
      font-family: Arial, sans-serif;
      max-width: 800px;
      margin: 20px auto;
      padding: 20px;
      background-color: #f5f5f5;
    }
    .converter {
      background-color: white;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      padding: 20px;
    }
    .back-button {
      display: inline-block;
      padding: 8px 16px;
      background-color: #6c757d;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      margin-bottom: 15px;
    }
    .back-button:hover {
      background-color: #545b62;
    }
    .upload-btn {
      display: block;
      padding: 15px;
      background-color: #f8f9fa;
      border: 2px dashed #dee2e6;
      border-radius: 4px;
      text-align: center;
      cursor: pointer;
      margin: 20px 0;
    }
    #fileInput {
      display: none;
    }
    #imagePreview {
      max-width: 100%;
      margin: 20px 0;
      text-align: center;
    }
    #imagePreview img {
      max-width: 100%;
      max-height: 400px;
      border-radius: 4px;
    }
    .size-options {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 15px;
      margin: 20px 0;
    }
    .size-option {
      background-color: #f8f9fa;
      padding: 15px;
      border-radius: 4px;
      text-align: center;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    .size-option:hover {
      background-color: #e9ecef;
    }
    button {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      margin: 5px;
    }
    button:hover {
      background-color: #0056b3;
    }
    .custom-size {
      margin: 20px 0;
      padding: 15px;
      background-color: #f8f9fa;
      border-radius: 4px;
    }
    .custom-size input {
      width: 100px;
      padding: 5px;
      margin: 0 10px;
    }
    .header {
      text-align: center;
      margin-bottom: 20px;
    }
  
/* Styles from image-to-base64.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .upload-area {
            border: 2px dashed #ccc;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
            cursor: pointer;
        }
        #imagePreview {
            max-width: 100%;
            margin: 20px 0;
            text-align: center;
        }
        #imagePreview img {
            max-width: 100%;
            max-height: 300px;
            border-radius: 4px;
        }
        #base64Output {
            width: 100%;
            height: 150px;
            margin: 10px 0;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            resize: vertical;
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin: 5px;
        }
        button:hover {
            background-color: #0056b3;
        }
    
/* Styles from image-to-cartoon.html */

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
        }
        .header {
            text-align: center;
            margin-bottom: 40px;
        }
        .header h1 {
            color: #0d6efd;
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        .header p {
            color: #888;
            font-size: 1.1em;
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .upload-area {
            border: 2px dashed #ccc;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
            cursor: pointer;
        }
        #imagePreview {
            max-width: 100%;
            margin: 20px 0;
        }
        #imagePreview img {
            max-width: 100%;
            max-height: 400px;
            border-radius: 4px;
        }
        .controls {
            margin: 20px 0;
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
        button {
            background-color: #0d6efd;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
        }
        button:hover {
            background-color: #0b5ed7;
        }
        #resultImage {
            max-width: 100%;
            margin: 20px 0;
        }
        .effect-options {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 15px;
            margin: 20px 0;
        }
        .effect-option {
            background-color: #f8f9fa;
            padding: 10px;
            border-radius: 4px;
            text-align: center;
            cursor: pointer;
        }
        .effect-option:hover {
            background-color: #e9ecef;
        }
    
/* Styles from image-to-ghibli.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .upload-area {
            border: 2px dashed #ccc;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
            cursor: pointer;
        }
        #imagePreview {
            max-width: 100%;
            margin: 20px 0;
        }
        #imagePreview img {
            max-width: 100%;
            max-height: 300px;
            border-radius: 4px;
        }
        .controls {
            margin: 20px 0;
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin: 5px;
        }
        button:hover {
            background-color: #0056b3;
        }
        #resultImage {
            max-width: 100%;
            margin: 20px 0;
        }
        canvas {
            display: none;
        }
    
/* Styles from image-to-pdf.html */

    body {
      font-family: 'Segoe UI', Arial, sans-serif;
      max-width: 1200px;
      margin: 20px auto;
      padding: 20px;
      background-color: #ffffff;
    }
    .header {
      text-align: center;
      margin-bottom: 40px;
    }
    .header h1 {
      color: #0d6efd;
      font-size: 2.5em;
      margin-bottom: 10px;
    }
    .header p {
      color: #888;
      font-size: 1.1em;
    }
    .converter {
      background-color: white;
      border: 1px solid #ccc;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .back-button {
      display: inline-block;
      padding: 8px 16px;
      background-color: #6c757d;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      margin-bottom: 15px;
    }
    .back-button:hover {
      background-color: #545b62;
    }
    #imagePreview {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 15px;
      margin: 20px 0;
    }
    .preview-item {
      position: relative;
      border: 1px solid #ddd;
      padding: 5px;
      border-radius: 4px;
    }
    .preview-item img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 2px;
    }
    .remove-btn {
      position: absolute;
      top: 5px;
      right: 5px;
      background: rgba(255, 0, 0, 0.7);
      color: white;
      border: none;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    button {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      width: 100%;
      margin: 10px 0;
    }
    button:hover {
      background-color: #0056b3;
    }
    #fileInput {
      display: none;
    }
    .upload-btn {
      border: 2px dashed #ccc;
      padding: 20px;
      text-align: center;
      cursor: pointer;
      margin: 10px 0;
      border-radius: 4px;
    }
    .upload-btn:hover {
      border-color: #007bff;
      color: #007bff;
    }
  
/* Styles from image-to-sketch.html */

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
        }
        .header {
            text-align: center;
            margin-bottom: 40px;
        }
        .header h1 {
            color: #0d6efd;
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        .header p {
            color: #888;
            font-size: 1.1em;
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .upload-area {
            border: 2px dashed #ccc;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
            cursor: pointer;
        }
        #imagePreview {
            max-width: 100%;
            margin: 20px 0;
        }
        #imagePreview img {
            max-width: 100%;
            max-height: 400px;
            border-radius: 4px;
        }
        .controls {
            margin: 20px 0;
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
        button {
            background-color: #0d6efd;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
        }
        button:hover {
            background-color: #0b5ed7;
        }
        #resultImage {
            max-width: 100%;
            margin: 20px 0;
        }
        .effect-options {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 15px;
            margin: 20px 0;
        }
        .effect-option {
            background-color: #f8f9fa;
            padding: 10px;
            border-radius: 4px;
            text-align: center;
            cursor: pointer;
        }
        .effect-option:hover {
            background-color: #e9ecef;
        }
    
/* Styles from image-to-text.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .upload-area {
            border: 2px dashed #ccc;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
            cursor: pointer;
        }
        #imagePreview {
            max-width: 100%;
            margin: 20px 0;
        }
        #imagePreview img {
            max-width: 100%;
            max-height: 300px;
            border-radius: 4px;
        }
        .result-box {
            margin-top: 20px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 4px;
            white-space: pre-wrap;
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin: 5px;
        }
        button:hover {
            background-color: #0056b3;
        }
        #progress {
            display: none;
            margin: 20px 0;
            text-align: center;
            color: #666;
        }
    
/* Styles from image-to-word.html */

    body {
      font-family: Arial, sans-serif;
      max-width: 800px;
      margin: 20px auto;
      padding: 20px;
      background-color: #f5f5f5;
    }
    .converter {
      background-color: white;
      border: 1px solid #ccc;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .back-button {
      display: inline-block;
      padding: 8px 16px;
      background-color: #6c757d;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      margin-bottom: 15px;
    }
    .back-button:hover {
      background-color: #545b62;
    }
    #imagePreview {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 15px;
      margin: 20px 0;
    }
    .preview-item {
      position: relative;
      border: 1px solid #ddd;
      padding: 5px;
      border-radius: 4px;
    }
    .preview-item img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 2px;
    }
    .remove-btn {
      position: absolute;
      top: 5px;
      right: 5px;
      background: rgba(255, 0, 0, 0.7);
      color: white;
      border: none;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    button {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      width: 100%;
      margin: 10px 0;
    }
    button:hover {
      background-color: #0056b3;
    }
    #fileInput {
      display: none;
    }
    .upload-btn {
      border: 2px dashed #ccc;
      padding: 20px;
      text-align: center;
      cursor: pointer;
      margin: 10px 0;
      border-radius: 4px;
    }
    .upload-btn:hover {
      border-color: #007bff;
      color: #007bff;
    }
    .header {
      text-align: center;
      margin-bottom: 20px;
    }
  
/* Styles from index.html */

    body {
      font-family: 'Segoe UI', Arial, sans-serif;
      max-width: 1200px;
      margin: 20px auto;
      padding: 20px;
      background-color: #ffffff;
      color: #333333;
    }

    .menu {
      background-color: #ffffff;
      border-radius: 12px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      padding: 30px;
    }

    h1 {
      text-align: center;
      color: #0d6efd;
      margin-bottom: 40px;
      font-size: 2.5em;
    }

    .category-section {
      margin-bottom: 40px;
    }

    /* Image Tools Section */
    .image-tools .category-title {
      color: #2ecc71;
      border-bottom-color: #d5f5e3;
    }

    .image-tools .tool-card {
      color: #27ae60;
      border-color: #d5f5e3;
    }

    .image-tools .tool-number {
      background-color: #d5f5e3;
      color: #27ae60;
    }

    /* Data Format Tools Section */
    .data-tools .category-title {
      color: #e74c3c;
      border-bottom-color: #fadbd8;
    }

    .data-tools .tool-card {
      color: #c0392b;
      border-color: #fadbd8;
    }

    .data-tools .tool-number {
      background-color: #fadbd8;
      color: #c0392b;
    }

    /* Web Tools Section */
    .web-tools .category-title {
      color: #9b59b6;
      border-bottom-color: #ebdef0;
    }

    .web-tools .tool-card {
      color: #8e44ad;
      border-color: #ebdef0;
    }

    .web-tools .tool-number {
      background-color: #ebdef0;
      color: #8e44ad;
    }

    /* Calculator Tools Section */
    .calc-tools .category-title {
      color: #3498db;
      border-bottom-color: #ebf5fb;
    }

    .calc-tools .tool-card {
      color: #2980b9;
      border-color: #ebf5fb;
    }

    .calc-tools .tool-number {
      background-color: #ebf5fb;
      color: #2980b9;
    }

    .category-title {
      font-size: 1.5em;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid;
    }

    .tools-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
    }

    .tool-card {
      background-color: #ffffff;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      padding: 20px;
      text-decoration: none;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .tool-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
      background-color: #f8f9fa;
    }

    .tool-icon {
      margin-right: 15px;
      font-size: 1.2em;
    }

    .tool-info {
      flex-grow: 1;
    }

    .tool-name {
      font-weight: 500;
      display: block;
      margin-bottom: 5px;
    }

    .tool-description {
      font-size: 0.8em;
      opacity: 0.8;
    }
  
/* Styles from json-prettifier.html */

    body {
      font-family: 'Segoe UI', Arial, sans-serif;
      max-width: 1200px;
      margin: 20px auto;
      padding: 20px;
      background-color: #ffffff;
    }
    .header {
      text-align: center;
      margin-bottom: 40px;
    }
    .header h1 {
      color: #0d6efd;
      font-size: 2.5em;
      margin-bottom: 10px;
    }
    .header p {
      color: #888;
      font-size: 1.1em;
    }
    .history {
      margin-top: 20px;
      background-color: white;
      border: 1px solid #ccc;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .history-item {
      margin-bottom: 15px;
      padding: 10px;
      background-color: #f8f9fa;
      border-radius: 4px;
      position: relative;
    }
    .history-item pre {
      margin: 0;
      white-space: pre-wrap;
      word-wrap: break-word;
      display: none;
    }
    .history-item.expanded pre {
      display: block;
    }
    .history-summary {
      cursor: pointer;
      padding: 5px;
      color: #0056b3;
      font-weight: bold;
    }
    .history-summary:hover {
      background-color: #e9ecef;
    }
    .copy-history {
      position: absolute;
      top: 5px;
      right: 5px;
      background-color: #28a745;
      color: white;
      border: none;
      padding: 5px 10px;
      border-radius: 4px;
      cursor: pointer;
      width: auto;
    }
    .copy-history:hover {
      background-color: #218838;
    }
    .prettifier {
      background-color: white;
      border: 1px solid #ccc;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    textarea {
      width: 100%;
      height: 200px;
      margin-bottom: 15px;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-family: monospace;
    }
    button {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      width: 100%;
      margin-bottom: 15px;
    }
    button:hover {
      background-color: #0056b3;
    }
    .back-button {
      display: inline-block;
      padding: 8px 16px;
      background-color: #6c757d;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      margin-bottom: 15px;
    }
    .back-button:hover {
      background-color: #545b62;
    }
    #error {
      color: red;
      margin-top: 10px;
      display: none;
    }
  
/* Styles from json-to-html.html */

    body {
      font-family: 'Segoe UI', Arial, sans-serif;
      max-width: 1200px;
      margin: 20px auto;
      padding: 20px;
      background-color: #ffffff;
    }
    .header {
      text-align: center;
      margin-bottom: 40px;
    }
    .header h1 {
      color: #0d6efd;
      font-size: 2.5em;
      margin-bottom: 10px;
    }
    .header p {
      color: #888;
      font-size: 1.1em;
    }
    .converter {
      background-color: white;
      border: 1px solid #ccc;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    textarea {
      width: 100%;
      height: 200px;
      margin: 10px 0;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-family: monospace;
    }
    button {
      background-color: #0d6efd;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      margin: 5px;
    }
    button:hover {
      background-color: #0b5ed7;
    }
    .back-button {
      display: inline-block;
      padding: 8px 16px;
      background-color: #6c757d;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      margin-bottom: 15px;
    }
    .back-button:hover {
      background-color: #5c636a;
    }
    #tableOutput {
      margin-top: 20px;
      overflow-x: auto;
    }
    table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 10px;
    }
    th, td {
      border: 1px solid #ddd;
      padding: 8px;
      text-align: left;
    }
    th {
      background-color: #f8f9fa;
    }
    tr:nth-child(even) {
      background-color: #f8f9fa;
    }
  
/* Styles from json-to-html.html */

    .history-section {
      margin-top: 20px;
      padding: 15px;
      background: #f8f9fa;
      border-radius: 8px;
    }
    .history-item {
      margin: 10px 0;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 4px;
    }
    .history-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }
    .history-content {
      max-height: 200px;
      overflow-y: auto;
    }
  
/* Styles from markdown-to-html.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        textarea {
            width: 100%;
            min-height: 200px;
            margin: 10px 0;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-family: monospace;
        }
        .preview {
            border: 1px solid #ddd;
            padding: 20px;
            margin: 10px 0;
            border-radius: 4px;
            background-color: #fff;
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin: 5px;
        }
        button:hover {
            background-color: #0056b3;
        }
        .options {
            margin: 15px 0;
            padding: 10px;
            background-color: #f8f9fa;
            border-radius: 4px;
        }
        .header {
            text-align: center;
            margin-bottom: 20px;
        }
    
/* Styles from memory-converter.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .input-group {
            margin: 20px 0;
        }
        input[type="number"] {
            width: 200px;
            padding: 8px;
            margin-right: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        select {
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
            margin-right: 10px;
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
        }
        button:hover {
            background-color: #0056b3;
        }
        .result {
            margin-top: 20px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 4px;
        }
        .copy-button {
            background-color: #28a745;
            margin-left: 10px;
        }
        .copy-button:hover {
            background-color: #218838;
        }
    
/* Styles from pdf-to-jpg.html */

    body {
      font-family: Arial, sans-serif;
      max-width: 800px;
      margin: 20px auto;
      padding: 20px;
      background-color: #f5f5f5;
    }
    .converter {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .upload-area {
      border: 2px dashed #ccc;
      padding: 20px;
      text-align: center;
      margin: 20px 0;
      border-radius: 4px;
      cursor: pointer;
    }
    .upload-area:hover {
      border-color: #007bff;
    }
    #fileInput {
      display: none;
    }
    .preview-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 20px;
      margin: 20px 0;
    }
    .preview-item {
      border: 1px solid #ddd;
      padding: 10px;
      border-radius: 4px;
      text-align: center;
    }
    .preview-item img {
      max-width: 100%;
      height: auto;
    }
    button {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 16px;
      width: 100%;
    }
    button:hover {
      background-color: #0056b3;
    }
    .back-button {
      display: inline-block;
      padding: 8px 16px;
      background-color: #6c757d;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      margin-bottom: 15px;
    }
    .back-button:hover {
      background-color: #545b62;
    }
    .header {
      text-align: center;
      margin-bottom: 20px;
    }
  
/* Styles from percentage-increase.html */

    body {
      font-family: Arial, sans-serif;
      max-width: 600px;
      margin: 20px auto;
      padding: 20px;
      background-color: #f5f5f5;
    }
    .calculator {
      background-color: white;
      border: 1px solid #ccc;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .input-group {
      margin-bottom: 15px;
    }
    label {
      display: block;
      margin-bottom: 5px;
      color: #333;
    }
    input {
      width: 100%;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
    button {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      width: 100%;
    }
    button:hover {
      background-color: #0056b3;
    }
    .result {
      margin-top: 20px;
      padding: 15px;
      background-color: #f8f9fa;
      border-radius: 4px;
      border-left: 4px solid #007bff;
      display: none;
    }
    .back-button {
      display: inline-block;
      padding: 8px 16px;
      background-color: #6c757d;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      margin-bottom: 15px;
    }
    .back-button:hover {
      background-color: #545b62;
    }
    .header {
      text-align: center;
      margin-bottom: 20px;
    }
  
/* Styles from qr-to-text.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .upload-area {
            border: 2px dashed #ccc;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        .upload-area:hover {
            background-color: #f8f9fa;
        }
        #preview {
            max-width: 100%;
            margin: 20px 0;
            text-align: center;
        }
        #preview img {
            max-width: 100%;
            max-height: 300px;
            border-radius: 4px;
        }
        #result {
            margin: 20px 0;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: #f8f9fa;
            display: none;
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin: 5px;
        }
        button:hover {
            background-color: #0056b3;
        }
        input[type="file"] {
            display: none;
        }
    
/* Styles from ramadan-timing.html */

        :root {
            --bg-dark: #123524;
            --bg-light: #2c6e49;
            --text-primary: #fff2cc;
            --text-secondary: #e2e8f0;
            --terminal-bg: rgba(20, 25, 20, 0.65);
            --terminal-border: rgba(255, 255, 255, 0.1);
            --success-green: #4ade80;
            --input-bg: rgba(255, 255, 255, 0.05);
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        body {
            font-family: 'Outfit', sans-serif;
            background: radial-gradient(circle at 60% 40%, var(--bg-light) 0%, var(--bg-dark) 100%);
            color: white;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            overflow-x: hidden;
            position: relative;
        }

        /* Decorative Background */
        .bg-pattern {
            position: absolute; width: 400px; height: 400px;
            background-image: radial-gradient(circle, transparent 20%, rgba(255,255,255,0.03) 21%, transparent 22%);
            background-size: 40px 40px; opacity: 0.5; pointer-events: none; z-index: 0;
        }
        .bg-pattern.top-left { top: -100px; left: -100px; border-radius: 50%; }
        .bg-pattern.bottom-right { bottom: -100px; right: -100px; border-radius: 50%; }

        /* Glowing Moon */
        .moon-container {
            position: absolute; top: 15%; right: 25%; width: 80px; height: 80px;
            filter: drop-shadow(0 0 20px rgba(255, 242, 204, 0.6)); z-index: 1;
        }
        
        .container {
            max-width: 1200px; margin: 0 auto; padding: 4rem 2rem;
            display: flex; align-items: center; justify-content: space-between;
            flex-wrap: wrap; gap: 4rem; flex: 1; z-index: 10; position: relative;
        }

        .content { flex: 1; min-width: 300px; }
        
        h1 {
            font-size: 5rem; font-weight: 700; color: var(--text-primary);
            letter-spacing: -1px; margin-bottom: 0.5rem;
            text-shadow: 0 4px 20px rgba(0,0,0,0.2);
        }

        .subtitle {
            font-size: 1.5rem; font-weight: 300; color: var(--text-secondary);
            margin-bottom: 3rem;
        }

        /* Features Section */
        .features { display: flex; gap: 2rem; margin-top: 2rem; }
        .feature-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
        .feature-icon {
            width: 45px; height: 45px; margin-bottom: 1rem; fill: none;
            stroke: var(--text-primary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
        }
        .feature-title { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); margin-bottom: 0.2rem; text-transform: uppercase; }
        .feature-desc { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

        /* Right Side Terminal & Config */
        .terminal-wrapper { flex: 1; min-width: 350px; max-width: 500px; }
        
        .terminal {
            background: var(--terminal-bg); border: 1px solid var(--terminal-border);
            border-radius: 12px; backdrop-filter: blur(15px);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); overflow: hidden;
        }
        
        .terminal-header {
            background: rgba(0,0,0,0.2); padding: 12px 16px; display: flex;
            gap: 8px; border-bottom: 1px solid var(--terminal-border);
        }
        .dot { width: 12px; height: 12px; border-radius: 50%; background: #4f5b54; }
        
        .terminal-body {
            padding: 24px; font-family: 'Fira Code', monospace;
            font-size: 1.1rem; line-height: 1.8; color: #d1d5db;
        }
        .cmd-line { margin-bottom: 1rem; }
        .prompt { color: var(--success-green); margin-right: 8px; font-weight: bold; }
        .output-line { display: flex; align-items: center; margin-bottom: 0.5rem; }
        
        .check { color: var(--success-green); margin-right: 12px; font-weight: bold; }
        .label { color: #f3f4f6; margin-right: 8px; }
        
        /* Dynamic Styles */
        .value { color: var(--success-green); }
        .countdown-value { color: var(--text-primary); font-weight: 500; }
        
        .iftar-happy-message {
            color: #fbbf24; font-weight: bold;
            text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { opacity: 0.8; }
            50% { opacity: 1; text-shadow: 0 0 20px rgba(251, 191, 36, 0.8); }
            100% { opacity: 0.8; }
        }

        /* Location Setup Form */
        .setup-box {
            background: rgba(0, 0, 0, 0.2); border: 1px solid var(--terminal-border);
            border-radius: 12px; padding: 1.5rem; margin-top: 1.5rem;
            backdrop-filter: blur(10px); width: 100%;
        }
        
        .setup-box h3 { margin-bottom: 1rem; font-size: 1rem; color: var(--text-secondary); font-weight: 400; }
        .input-group { display: flex; gap: 0.5rem; flex-wrap: wrap; }
        
        .setup-box input {
            flex: 1; min-width: 120px; background: var(--input-bg);
            border: 1px solid rgba(255,255,255,0.2); color: white;
            padding: 10px 14px; border-radius: 6px; font-family: inherit; font-size: 1rem;
            outline: none; transition: border-color 0.3s;
        }
        
        .setup-box input:focus { border-color: var(--success-green); }
        .setup-box input::placeholder { color: rgba(255,255,255,0.4); }

        .setup-box button {
            background: var(--success-green); color: #123524;
            border: none; padding: 10px 20px; border-radius: 6px;
            font-weight: bold; cursor: pointer; font-family: inherit;
            transition: transform 0.1s, opacity 0.3s;
        }
        
        .setup-box button:hover { opacity: 0.9; }
        .setup-box button:active { transform: scale(0.95); }

        /* Footer */
        footer { text-align: center; padding: 2rem; font-size: 0.9rem; color: rgba(255,255,255,0.6); z-index: 10; }
        footer span { color: rgba(255,255,255,0.9); }

        @media (max-width: 768px) {
            h1 { font-size: 3.5rem; }
            .subtitle { font-size: 1.2rem; }
            .container { flex-direction: column; text-align: center; padding: 2rem 1rem; }
            .features { justify-content: center; flex-wrap: wrap; }
            .terminal-wrapper { width: 100%; }
            .moon-container { right: 10%; top: 5%; width: 50px; height: 50px; }
            .bg-pattern { display: none; }
            .input-group { flex-direction: column; }
            .setup-box button { width: 100%; }
        }
    
/* Styles from shoe-size-converter.html */

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
        }
        .converter {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .input-group {
            margin: 20px 0;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 8px;
        }
        .gender-select {
            margin-bottom: 15px;
        }
        select, input {
            padding: 8px;
            margin: 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
        }
        button {
            background-color: #0d6efd;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }
        button:hover {
            background-color: #0b5ed7;
        }
        .result {
            margin-top: 20px;
            padding: 15px;
            background-color: #e9ecef;
            border-radius: 4px;
            display: none;
        }
        .size-chart {
            margin-top: 30px;
            overflow-x: auto;
        }
        .size-chart table {
            width: 100%;
            border-collapse: collapse;
        }
        .size-chart th, .size-chart td {
            padding: 8px;
            border: 1px solid #ddd;
            text-align: center;
        }
        .size-chart th {
            background-color: #f8f9fa;
        }
    
/* Styles from sitemap.html */

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
        }
        .sitemap-section {
            margin-bottom: 30px;
        }
        .sitemap-section h2 {
            color: #333;
            border-bottom: 2px solid #eee;
            padding-bottom: 10px;
        }
        .sitemap-list {
            list-style: none;
            padding-left: 20px;
        }
        .sitemap-list li {
            margin: 10px 0;
        }
        .sitemap-list a {
            color: #0d6efd;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        .sitemap-list a:hover {
            text-decoration: underline;
        }
        .back-home {
            display: inline-block;
            padding: 10px 20px;
            background-color: #0d6efd;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            margin-bottom: 20px;
        }
        .back-home:hover {
            background-color: #0b5ed7;
        }
    
/* Styles from ssl-converter.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .format-selector {
            margin: 20px 0;
            display: flex;
            gap: 20px;
        }
        .input-group {
            margin-bottom: 15px;
        }
        label {
            display: block;
            margin-bottom: 5px;
        }
        textarea {
            width: 100%;
            height: 200px;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            resize: vertical;
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin: 5px;
        }
        button:hover {
            background-color: #0056b3;
        }
        .result {
            margin-top: 20px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 4px;
            display: none;
        }
    
/* Styles from temperature-converter.html */

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
        }
        .header {
            text-align: center;
            margin-bottom: 40px;
        }
        .converter {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .input-group {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            align-items: center;
            flex-wrap: wrap;
        }
        input[type="number"] {
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            width: 200px;
        }
        select {
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: white;
        }
        button {
            padding: 8px 16px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        button:hover {
            background-color: #0056b3;
        }
        .result {
            margin-top: 20px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 4px;
            border-left: 4px solid #007bff;
            display: none;
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
    
/* Styles from text-analyzer.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .analyzer {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        textarea {
            width: 100%;
            min-height: 200px;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 4px;
            resize: vertical;
        }
        .stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }
        .stat-box {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 4px;
            text-align: center;
        }
        .stat-number {
            font-size: 24px;
            font-weight: bold;
            color: #007bff;
        }
        .stat-label {
            color: #6c757d;
            margin-top: 5px;
        }
    
/* Styles from text-to-barcode.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .header {
            text-align: center;
            margin-bottom: 20px;
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .converter {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .controls {
            margin: 20px 0;
            display: grid;
            gap: 15px;
        }
        .control-group {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        select, input {
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin: 5px;
        }
        button:hover {
            background-color: #0056b3;
        }
        #barcodeResult {
            margin-top: 20px;
            text-align: center;
        }
        .text-input {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 4px;
            resize: vertical;
        }
    
/* Styles from text-to-image.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .text-input {
            width: 100%;
            height: 150px;
            margin: 10px 0;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            resize: vertical;
        }
        .controls {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 10px;
            margin: 20px 0;
        }
        .control-group {
            margin-bottom: 15px;
        }
        label {
            display: block;
            margin-bottom: 5px;
            color: #666;
        }
        select, input {
            width: 100%;
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin: 5px;
        }
        button:hover {
            background-color: #0056b3;
        }
        #imageOutput {
            margin: 20px 0;
            text-align: center;
        }
        #imageOutput img {
            max-width: 100%;
            border-radius: 4px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
    
/* Styles from text-to-qr.html */

        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        textarea {
            width: 100%;
            height: 100px;
            margin: 10px 0;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            resize: vertical;
        }
        .controls {
            margin: 20px 0;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 10px;
        }
        label {
            display: block;
            margin-bottom: 5px;
            color: #666;
        }
        select, input {
            width: 100%;
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin: 5px;
        }
        button:hover {
            background-color: #0056b3;
        }
        #qrcode {
            text-align: center;
            margin: 20px 0;
        }
        #qrcode img {
            margin: auto;
        }
    
/* Styles from text-to-speech.html */

        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .header {
            text-align: center;
            margin-bottom: 30px;
        }
        .converter {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        textarea {
            width: 100%;
            height: 200px;
            margin: 10px 0;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            resize: vertical;
        }
        select, button {
            padding: 10px;
            margin: 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        button {
            background-color: #0d6efd;
            color: white;
            border: none;
            cursor: pointer;
        }
        button:hover {
            background-color: #0b5ed7;
        }
        .back-button {
            display: inline-block;
            padding: 10px 20px;
            margin-bottom: 20px;
            color: #0d6efd;
            text-decoration: none;
            border: 1px solid #0d6efd;
            border-radius: 4px;
        }
        .controls {
            margin: 20px 0;
        }

        /* Blog Section Styles */
        .blog-section {
            max-width: 800px;
            margin: 40px auto;
            padding: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .blog-section h2 {
            color: #333;
            margin-bottom: 20px;
        }

        .blog-section h3 {
            color: #0d6efd;
            margin: 20px 0 10px;
        }

        .blog-section ul, .blog-section ol {
            margin-left: 20px;
            margin-bottom: 15px;
        }

        .blog-section li {
            margin: 8px 0;
        }

        /* Footer Styles */
        .footer {
            background-color: #f8f9fa;
            padding: 20px;
            text-align: center;
            margin-top: 40px;
            border-top: 1px solid #dee2e6;
        }

        .footer-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .visit-counter {
            margin-top: 10px;
            color: #666;
        }
    
/* Styles from vector-to-image.html */

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
        }
        .header {
            text-align: center;
            margin-bottom: 40px;
        }
        .header h1 {
            color: #0d6efd;
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        .header p {
            color: #888;
            font-size: 1.1em;
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
        .converter {
            background-color: white;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .upload-area {
            border: 2px dashed #ccc;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
            cursor: pointer;
        }
        .upload-area:hover {
            background-color: #f8f9fa;
            border-color: #0d6efd;
        }
        .preview-area {
            margin: 20px 0;
            text-align: center;
        }
        .preview-area img {
            max-width: 100%;
            max-height: 400px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        .controls {
            display: flex;
            gap: 10px;
            margin: 20px 0;
            flex-wrap: wrap;
        }
        button {
            background-color: #0d6efd;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
        }
        button:hover {
            background-color: #0b5ed7;
        }
        .format-options {
            display: flex;
            gap: 10px;
            margin: 20px 0;
        }
        .format-option {
            flex: 1;
            padding: 15px;
            text-align: center;
            background-color: #f8f9fa;
            border-radius: 4px;
            cursor: pointer;
        }
        .format-option:hover {
            background-color: #e9ecef;
        }
    
/* Styles from weight-converter.html */

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
        }
        .header {
            text-align: center;
            margin-bottom: 40px;
        }
        .converter {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .input-group {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            align-items: center;
            flex-wrap: wrap;
        }
        input[type="number"] {
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            width: 200px;
        }
        select {
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: white;
        }
        button {
            padding: 8px 16px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        button:hover {
            background-color: #0056b3;
        }
        .result {
            margin-top: 20px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 4px;
            border-left: 4px solid #007bff;
        }
    
/* Styles from word-to-audio.html */

        .converter {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .controls {
            margin: 20px 0;
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        #textContent {
            width: 100%;
            min-height: 200px;
            margin: 10px 0;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        select, button {
            padding: 8px 16px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background: #fff;
            cursor: pointer;
        }
        button {
            background: #0d6efd;
            color: white;
            border: none;
        }
        button:hover {
            background: #0b5ed7;
        }
        .upload-btn {
            display: block;
            padding: 20px;
            border: 2px dashed #ddd;
            border-radius: 8px;
            text-align: center;
            cursor: pointer;
            margin: 20px 0;
        }
        #voiceOptions {
            min-width: 200px;
        }
        .history {
            margin-top: 20px;
        }
    body {
            font-family: 'Segoe UI', Arial, sans-serif;
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
        }
        .header {
            text-align: center;
            margin-bottom: 40px;
        }
        .header h1 {
            color: #0d6efd;
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        .header p {
            color: #888;
            font-size: 1.1em;
        }
        .back-button {
            display: inline-block;
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        .back-button:hover {
            background-color: #545b62;
        }
    
/* Styles from xml-to-json.html */

    body {
      font-family: 'Segoe UI', Arial, sans-serif;
      max-width: 1200px;
      margin: 20px auto;
      padding: 20px;
      background-color: #ffffff;
    }
    .header {
      text-align: center;
      margin-bottom: 40px;
    }
    .header h1 {
      color: #0d6efd;
      font-size: 2.5em;
      margin-bottom: 10px;
    }
    .header p {
      color: #888;
      font-size: 1.1em;
    }
    .converter {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    textarea {
      width: 100%;
      height: 200px;
      margin: 10px 0;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 4px;
      resize: vertical;
    }
    button {
      background-color: #0d6efd;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      margin: 5px;
    }
    button:hover {
      background-color: #0b5ed7;
    }
    .back-button {
      display: inline-block;
      padding: 8px 16px;
      background-color: #6c757d;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      margin-bottom: 15px;
    }
    .back-button:hover {
      background-color: #545b62;
    }
    .history {
      margin-top: 20px;
    }
    .history-item {
      border: 1px solid #ddd;
      margin: 10px 0;
      border-radius: 4px;
      overflow: hidden;
    }
    .history-summary {
      padding: 10px;
      background-color: #f8f9fa;
      cursor: pointer;
    }
    .history-item pre {
      margin: 0;
      padding: 10px;
      display: none;
      background-color: #fff;
      overflow-x: auto;
    }
    .history-item.expanded pre {
      display: block;
    }
  
/* Styles from youtube-thumbnail-extractor.html */

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
        }
        .header {
            text-align: center;
            margin-bottom: 40px;
        }
        .header h1 {
            color: #0d6efd;
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        .header p {
            color: #888;
            font-size: 1.1em;
        }
        .input-group {
            margin-bottom: 20px;
        }
        .input-group label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-weight: 500;
        }
        .input-group input {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
        }
        .input-group input:focus {
            border-color: #0d6efd;
            outline: none;
            box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
        }
        .thumbnail-container {
            margin: 20px 0;
            text-align: center;
            display: none;
        }
        .thumbnail-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        .thumbnail-option {
            border: 1px solid #ddd;
            padding: 15px;
            border-radius: 8px;
            background: white;
        }
        .thumbnail-option img {
            max-width: 100%;
            height: auto;
            margin-bottom: 10px;
        }
        .download-btn {
            background-color: #28a745;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            margin-top: 10px;
        }
        .download-btn:hover {
            background-color: #218838;
        }
        #error {
            color: #dc3545;
            display: none;
            margin: 10px 0;
        }
    
/* Styles from zakat-calculator.html */

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
      background: linear-gradient(135deg, #0f766e 0%, #14532d 100%);
      min-height: 100vh;
      padding: 20px;
      color: #1f2937;
    }

    .container {
      max-width: 900px;
      margin: 0 auto;
    }

    .header {
      text-align: center;
      margin-bottom: 40px;
      animation: fadeInDown 0.6s ease-out;
    }

    .header h1 {
      color: #ffffff;
      font-size: 2.8em;
      margin-bottom: 8px;
      font-weight: 700;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    }

    .header p {
      color: #d1fae5;
      font-size: 1.1em;
      font-weight: 300;
    }

    .back-button {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
      color: white;
      text-decoration: none;
      border-radius: 12px;
      margin-bottom: 25px;
      transition: all 0.3s ease;
      border: 1px solid rgba(255, 255, 255, 0.2);
      font-weight: 500;
    }

    .back-button:hover {
      background: rgba(255, 255, 255, 0.25);
      transform: translateX(-5px);
    }

    .calculator {
      background: white;
      padding: 40px;
      border-radius: 24px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      animation: fadeInUp 0.8s ease-out;
    }

    .calculator h2 {
      color: #065f46;
      font-size: 2em;
      margin-bottom: 30px;
      text-align: center;
      font-weight: 700;
    }

    .input-group {
      margin-bottom: 20px;
    }

    label {
      display: block;
      margin-bottom: 8px;
      color: #374151;
      font-weight: 600;
      font-size: 0.95em;
    }

    select, input {
      width: 100%;
      padding: 14px 18px;
      border: 2px solid #d1fae5;
      border-radius: 12px;
      font-size: 1em;
      transition: all 0.3s ease;
      background: #f9fafb;
    }

    input[type="text"].currency-input {
      text-align: right;
      font-family: monospace;
      font-size: 1.1em;
      font-weight: 600;
      color: #065f46;
    }

    select:focus, input:focus {
      outline: none;
      border-color: #10b981;
      background: white;
      box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    }

    .asset-group {
      background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
      border: 2px solid #d1fae5;
      padding: 24px;
      margin-bottom: 20px;
      border-radius: 16px;
      transition: all 0.3s ease;
    }

    .asset-group:hover {
      border-color: #10b981;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
    }

    .asset-group h3 {
      color: #065f46;
      font-size: 1.2em;
      margin-bottom: 12px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .asset-group h3::before {
      content: '';
      width: 8px;
      height: 8px;
      background: #10b981;
      border-radius: 50%;
      display: inline-block;
    }

    button {
      background: linear-gradient(135deg, #10b981 0%, #059669 100%);
      color: white;
      border: none;
      padding: 16px 32px;
      border-radius: 12px;
      cursor: pointer;
      width: 100%;
      font-size: 1.1em;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
      margin-top: 10px;
    }

    button:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    }

    button:active {
      transform: translateY(0);
    }

    .result {
      margin-top: 30px;
      padding: 28px;
      background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%);
      border-radius: 16px;
      border-left: 6px solid #10b981;
      display: none;
      animation: slideIn 0.5s ease-out;
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
    }

    .result h3 {
      color: #065f46;
      margin-bottom: 20px;
      font-size: 1.5em;
      font-weight: 700;
    }

    .result h4 {
      color: #047857;
      font-size: 1.8em;
      margin: 20px 0;
      padding: 20px;
      background: white;
      border-radius: 12px;
      text-align: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .result p {
      margin: 12px 0;
      color: #374151;
      font-size: 1em;
      line-height: 1.6;
    }

    .result strong {
      color: #065f46;
      font-weight: 600;
    }

    .info-section {
      background: white;
      padding: 40px;
      border-radius: 24px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      margin-top: 30px;
      animation: fadeInUp 0.8s ease-out 0.2s both;
    }

    .info-section h2 {
      color: #065f46;
      font-size: 2em;
      margin-bottom: 25px;
      text-align: center;
      font-weight: 700;
    }

    .info-card {
      background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
      border: 2px solid #d1fae5;
      padding: 25px;
      margin-bottom: 20px;
      border-radius: 16px;
      transition: all 0.3s ease;
    }

    .info-card:hover {
      border-color: #10b981;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
    }

    .info-card h3 {
      color: #047857;
      font-size: 1.3em;
      margin-bottom: 15px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .info-card h3::before {
      content: '✦';
      color: #10b981;
      font-size: 1.2em;
    }

    .info-card p {
      color: #374151;
      line-height: 1.8;
      margin-bottom: 12px;
      font-size: 1em;
    }

    .info-card ul {
      margin-left: 20px;
      color: #374151;
      line-height: 1.8;
    }

    .info-card ul li {
      margin-bottom: 8px;
    }

    .highlight-box {
      background: white;
      border-left: 4px solid #10b981;
      padding: 15px 20px;
      margin: 15px 0;
      border-radius: 8px;
      font-style: italic;
      color: #065f46;
      font-weight: 500;
    }

    footer {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      padding: 25px;
      text-align: center;
      margin-top: 40px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    footer p {
      margin: 0;
      color: #d1fae5;
      font-size: 0.9em;
    }

    footer a {
      color: #6ee7b7;
      text-decoration: none;
      font-weight: 600;
      transition: color 0.3s ease;
    }

    footer a:hover {
      color: #fff;
    }

    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateX(-20px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @media (max-width: 768px) {
      .header h1 {
        font-size: 2em;
      }
      
      .calculator {
        padding: 24px;
      }

      .calculator h2 {
        font-size: 1.6em;
      }

      .asset-group {
        padding: 18px;
      }
    }
  
/* Hero Section UI/UX Improvements */
.hero-section {
    text-align: center;
    padding: 30px 15px 40px 15px;
    background: transparent;
}

.hero-title {
    color: #0d6efd !important;
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important;
    letter-spacing: -0.02em !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.hero-subtitle {
    color: #374151 !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important;
}

.hero-description {
    color: #6b7280 !important;
    font-size: 1.15rem !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important;
}

/* Global Width Fix for All Converters */
body {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

.converter, .calculator, .container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.upload-area {
    width: 100% !important;
    box-sizing: border-box !important;
}
