body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #f4f7fb;
  color: #333;
  padding: 20px;
}

.container {
  max-width: 1100px;
  margin: auto;
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

h1 i {
  margin-right: 10px;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

h2 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #444;
}

.input-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

button {
  background: linear-gradient(135deg, #11998e, #38ef7d);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* SIP & Lump Sum Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.investment-card {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  animation: fadeIn 0.6s ease-in-out;
}

.investment-card h3 {
  margin-bottom: 8px;
}

.card-input {
  display: flex;
  flex-direction: column;
  margin: 6px 0;
}

.card-input label {
  font-size: 14px;
  margin-bottom: 4px;
  text-align: left;
}

.card-input input {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  width: 100%;
}

.actions button {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 6px 10px;
  margin: 5px;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.actions button:hover {
  background: rgba(255, 255, 255, 0.5);
}

.maturity {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: color 0.3s;
}

/* Summary Section */
.summary {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  text-align: center;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.summary h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}

.summary p {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
}

.highlight {
  background: rgba(255, 255, 255, 0.3);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: bold;
}

/* Progress Bar */
.progress-container {
  width: 100%;
  height: 15px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  margin: 15px 0;
}

.progress-bar {
  height: 15px;
  width: 0%;
  background: #fff;
  border-radius: 8px;
  transition: width 0.6s ease;
}

/* Suggestion Box */
.suggestion {
  margin-top: 10px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.3);
  padding: 8px;
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
}

/* YouTube Button */
.youtube-btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  color: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  transition: 0.3s;
}

.youtube-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

