/* EMI Calculator Styles */
.emi-calculator-section {
    padding: 60px 0px;
    background-color: #f8f9fa;
  }
  
  .section-subtitle {
    color: #6c757d;
    margin-bottom: 30px;
  }

  
  .calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #e3f2fd;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 20px;
  }
  
  .calculator-form {
    flex: 1;
    min-width: 300px;
  }
  
  .calculator-results {
    flex: 1;
    min-width: 300px;
  }
  
  .form-group {
    margin-bottom: 25px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #343a40;
  }
  
  .input-group {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .input-group input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    height: 8px;
    background: #bec8d3;
    border-radius: 4px;
    outline: none;
  }
  
  .input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .input-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  }
  
  .value-display {
    min-width: 80px;
    text-align: right;
    font-weight: 600;
    color: #007bff;
  }
  
  .quick-amounts {
    display: flex;
    gap: 10px;
    margin-top: 10px;
  }
  
  .quick-amount {
    padding: 5px 10px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    background: #fff;
    color: #495057;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .quick-amount:hover {
    background: #f1f3f5;
  }
  
  .quick-amount.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
  }
  
  .tenure-toggle {
    display: flex;
    gap: 5px;
    margin-top: 10px;
  }
  
  .tenure-toggle button {
    padding: 5px 15px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    background: #fff;
    color: #495057;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .tenure-toggle button.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
  }
  
  .result-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 8px;
  }
  
  .result-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
  }
  
  .result-card h4 {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
  }
  
  .result-card p {
    font-size: 18px;
    font-weight: 600;
    color: #343a40;
    margin: 0;
  }
  
  .result-chart {
    margin: 30px 0;
    height: 200px;
  }
  
  .cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
  }
  
  .btn-outline {
    background: transparent;
    border: 1px solid #007bff;
    color: #007bff;
  }
  
  .btn-outline:hover {
    background: #f8f9fa;
  }
  
  .emi-table-container {
    margin-top: 40px;
    display: none;
  }
  
  .emi-table-container h3 {
    margin-bottom: 20px;
  }
  
  .table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .table th, .table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
  }
  
  .table th {
    font-weight: 600;
    color: #495057;
    background: #f8f9fa;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .calculator-container {
      flex-direction: column;
      padding: 10px;
    }
    .value-display{
      text-align: center;
    }
    .result-chart{
      display: none;
    }
    
    .cta-buttons {
      flex-direction: column;
    }
    
    .btn-outline, .btn-primary {
      width: 100%;
    }
  }