
.container2 {
    max-width:50%;
    margin: auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgb(0 0 0 / 52%);
    padding: 40px;
  }

  .sub-heading{
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 40px;
  }

  .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
  }

  .inputs{
    width: 40%;
  }
  .results {
   width: 52%;
  }

  .input-group {
    margin-bottom: 20px;
  }

  .input-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 8px;
  }

  .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }

  .input-wrapper input[type="number"],
  .input-wrapper input[type="range"] {
    width: 100%;
  
    font-size: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #f7f9fc;
    outline: none;
    transition: border-color 0.3s ease;
  }
  .input-wrapper input[type="number"]{
    padding: 12px 16px;
  }
  .input-wrapper input[type="number"]:focus,
  .input-wrapper input[type="range"]:focus {
    border-color: #3182ce;
  }

  .input-wrapper span {
    margin-left: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #3182ce;
  }

  .results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .result-item {
    align-content: center;
    background-color: #f7f9fc;
    padding: 18px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .result-item h3 {
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 6px;
  }

  .result-item p {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
  }

  .cta {
    text-align: center;
    margin-top: 30px;
  }

  .cta button {
    background-color: #3182ce;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(49, 130, 206, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .cta button:hover {
    background-color: #2c5282;
    transform: translateY(-2px);
  }
  

  @media (max-width: 768px) {
    .content {
      flex-direction: column;
    }

    .inputs{
      width:100%;
    }
    .results {
     width:100%;
    }
    .container2 {
      max-width:70%;
      padding: 20px;
    }
    .result-item p {
      font-size: 18px;
      font-weight: 700;
      color: #2d3748;
  }
  }
  