/* General body styling - fully centered */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #1e8449; /* apna preferred color */
  overflow: hidden;          /* scroll prevent kare */
}

/* Advice card styling */
.advice-card {
  background-color: #ffffff; /* card ka color */
  border-radius: 12px;
  box-shadow: 10 8px 20px rgba(0, 0, 0, 0.15);
  padding: 25px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  transition: transform 0.2s;
}

.advice-card:hover {
  transform: scale(1.03);
}

/* Advice text */
#advice-text {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  min-height: 24px;
}

/* Button styling */
.advice-card button {
  padding: 12px 24px;
  font-size: 1rem;
  background-color: #27ae60;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.advice-card button:hover {
  background-color: #5dee9a;
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 500px) {
  .advice-card {
    padding: 20px;
  }

  #advice-text {
    font-size: 1rem;
  }

  .advice-card button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 350px) {
  .advice-card {
    padding: 15px;
  }

  #advice-text {
    font-size: 0.9rem;
  }

  .advice-card button {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}
