    body {
      margin: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f6f6f6;
      min-height: 100vh;
      padding: 20px;
    }

    .converter {
      background: #fff;
      padding: 25px 20px;
      border-radius: 15px;
      max-width: 600px;
      width: 100%;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      margin-bottom: 30px;
      color: rgba(246,81,41,1);
    }

    h2 {
      text-align: left;
      color: rgba(246,81,41,1);
      margin-bottom: 20px;
      font-size: 22px;
    }

    .dropdowns {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    select, input {
      flex: 1;
      min-width: 120px;
      padding: 12px;
      border: 2px solid rgba(246,81,41,1);
      border-radius: 8px;
      font-size: 16px;
      color: rgba(246,81,41,1);
      box-sizing: border-box;
    }

    label {
      display: block;
      margin-top: 10px;
      margin-bottom: 5px;
      font-weight: bold;
      color: rgba(246,81,41,1);
    }

    .buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 15px;
    }

    button {
      flex: 1;
      min-width: 100px;
      padding: 12px 20px;
      background-color: rgba(246,81,41,1);
      border: none;
      border-radius: 8px;
      color: white;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s;
    }

    button:hover {
      background-color: #d64d27;
    }

    .result, .comparison {
      margin-top: 15px;
      background: #ffeae6;
      padding: 15px;
      border-radius: 10px;
      color: rgb(0, 0, 0);
      font-weight: bold;
      display: none;
      overflow-x: auto;
    }

    table {
      width: 100%;
      margin-top: 10px;
      border-collapse: collapse;
      font-size: 14px;
    }

    th, td {
      border: 1px solid rgba(246,81,41,0.4);
      padding: 6px;
      text-align: center;
    }

    th {
      background-color: rgba(246,81,41,0.1);
    }
            .conversion-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin: 25px 0;
        }

        .conversion-card {
            background: #f8f9fa;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 20px;
        }

        .conversion-card h4 {
            color: #e67e22;
            margin-bottom: 15px;
            text-align: center;
        }
/* Responsive ke liye */
@media (max-width: 768px) {
    .conversion-grid {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }
}

@media (max-width: 480px) {
    .conversion-grid {
                grid-template-columns: 1fr;
            }
}

    /* Mobile styles */
    @media (max-width: 600px) {
      h2 {
        font-size: 18px;
        text-align: center;
      }
      .converter {
        padding: 20px 15px;
        margin-left: 0; /* no extra margin on mobile */
      }
    }

    /* Desktop styles (margin-left 150px) */
    @media (min-width: 992px) {
      .converter {
        margin-left: 150px;
      }
    }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            margin-left: 150px;
            margin-right: 110px;
            padding: 20px;
        }

        header {
            text-align: center;
            margin-bottom: 40px;
            padding: 30px 0;
            border-bottom: 2px solid #f0f0f0;
        }

        h1 {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 15px;
            font-weight: bold;
        }

        .subtitle {
            font-size: 1.2rem;
            color: #666;
            margin-bottom: 20px;
        }

        .info-box {
            background: #f8f9fa;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            padding: 30px;
            margin: 30px 0;
            text-align: center;
        }

        h2 {
            color: #2c3e50;
            font-size: 1.8rem;
            margin: 40px 0 20px 0;
            border-bottom: 2px solid #e74c3c;
            padding-bottom: 10px;
        }

        h3 {
            color: #34495e;
            font-size: 1.4rem;
            margin: 30px 0 15px 0;
        }

        h4 {
            color: #2c3e50;
            font-size: 1.2rem;
            margin: 25px 0 10px 0;
            font-weight: bold;
        }

        p {
            margin-bottom: 15px;
            text-align: justify;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin: 25px 0;
            background: white;
            border: 1px solid #ddd;
        }

        th, td {
            border: 1px solid #ddd;
            padding: 12px;
            text-align: center;
        }

        th {
            background-color: #e74c3c;
            color: white;
            font-weight: bold;
        }

        tr:nth-child(even) {
            background-color: #f9f9f9;
        }

        .formula-box {
            background: #fdeaea;
            border: 1px solid #e74c3c;
            border-radius: 8px;
            padding: 20px;
            margin: 25px 0;
        }

        .formula {
            font-size: 1.1rem;
            font-weight: bold;
            text-align: center;
            margin: 10px 0;
            padding: 10px;
            background: white;
            border-radius: 5px;
        }

        ul, ol {
            margin: 15px 0 15px 30px;
        }

        li {
            margin-bottom: 8px;
        }

        .highlight {
            background: #fff3cd;
            padding: 15px;
            border-radius: 5px;
            border-left: 4px solid #ffc107;
            margin: 20px 0;
        }

        .tip {
            background: #f8d7da;
            padding: 15px;
            border-radius: 5px;
            border-left: 4px solid #e74c3c;
            margin: 20px 0;
        }

        .examples-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 25px 0;
        }

        .example-card {
            background: #f8f9fa;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
        }

        .faq-section {
            margin: 40px 0;
        }

        .faq-item {
            margin: 20px 0;
            border: 1px solid #e0e0e0;
            border-radius: 5px;
        }

        .faq-question {
            background: #f8f9fa;
            padding: 15px;
            font-weight: bold;
            cursor: pointer;
            border-bottom: 1px solid #e0e0e0;
        }

        .faq-answer {
            padding: 15px;
            background: white;
        }

        strong {
            color: #2c3e50;
            font-weight: bold;
        }

        .temperature-scale {
            background: linear-gradient(to right, #3498db, #e74c3c);
            height: 20px;
            border-radius: 10px;
            margin: 20px 0;
            position: relative;
        }

        .scale-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            font-size: 0.9rem;
            color: #666;
        }

        /* Tablet responsiveness */
        @media (max-width: 1024px) {
            .container {
                margin-left: 100px;
                margin-right: 80px;
                padding: 15px;
            }
        }

        /* Small tablet / large mobile */
        @media (max-width: 768px) {
            .container {
                margin-left: 50px;
                margin-right: 40px;
                padding: 10px;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            .examples-grid {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }
        }

        /* Mobile responsiveness */
        @media (max-width: 480px) {
            .container {
                margin-left: 20px;
                margin-right: 15px;
                padding: 5px;
            }
            
            h1 {
                font-size: 1.7rem;
            }
            
            h2 {
                font-size: 1.5rem;
            }
            
            .info-box {
                padding: 20px;
            }
            
            .examples-grid {
                grid-template-columns: 1fr;
            }
            
            table {
                font-size: 0.9rem;
            }
            
            th, td {
                padding: 8px;
            }
        }

        /* Very small screens */
        @media (max-width: 320px) {
            .container {
                margin-left: 10px;
                margin-right: 10px;
                padding: 0;
            }
            
            h1 {
                font-size: 1.4rem;
            }
          }
    .card-section {
      max-width: 1200px;
      margin: 50px auto;
      padding: 0 20px;
    }

    .card-section h2 {
      color: #f65129;
      border-left: 5px solid #f65129;
      padding-left: 10px;
      font-size: 1.7rem;
      margin-bottom: 25px;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
    }

    .card {
      background: #fff;
      border-radius: 12px;
      padding: 25px 20px;
      text-align: center;
      box-shadow: 0 3px 8px rgba(0,0,0,0.08);
      transition: all 0.25s ease;
      cursor: pointer;
      border: 1px solid #eee;
    }

    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
      border-color: #f65129;
    }

    .emoji {
      font-size: 2rem;
      display: block;
      margin-bottom: 12px;
    }

    .card h3 {
      margin: 0;
      font-size: 1rem;
      color: #333;
    }
   a{
    text-decoration: none;
   }
