/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  body {
    background: linear-gradient(to right, #f1f8e9, #ffffff);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
  }
  
  /* Header Styling */
  header {
    background-color: #4caf50;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  
  header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  /* Navigation */
  nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  nav a:hover {
    color: #ffeb3b;
  }
  
  /* Container */
  .container {
    max-width: 900px;
    margin: 30px auto;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  }
  
  /* Headings */
  .container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #4caf50;
  }
  
  .container h3 {
    margin-top: 30px;
    color: #388e3c;
    text-align: center;
  }
  
  /* Form Styling */
  form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  form label {
    flex: 1 1 150px;
    font-weight: 500;
    margin-top: 10px;
  }
  
  form select, form input[type="text"] {
    flex: 2 1 250px;
    padding: 10px 15px;
    border: 1px solid #4caf50;
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
  }
  
  form button {
    flex: 1 1 200px;
    padding: 10px 20px;
    border: none;
    background-color: #4caf50;
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s;
  }
  
  form button:hover {
    background-color: #388e3c;
  }
  
  /* Recommendation List */
  ul {
    list-style-type: none;
    padding: 0;
    margin-top: 15px;
  }
  
  ul li {
    background-color: #e8f5e9;
    margin: 8px 0;
    padding: 12px 15px;
    border-left: 5px solid #4caf50;
    border-radius: 5px;
    font-weight: 500;
    transition: transform 0.2s;
  }
  
  ul li:hover {
    transform: scale(1.02);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    form {
      flex-direction: column;
      align-items: center;
    }
  
    form select, form input[type="text"], form button {
      flex: 1 1 80%;
    }
  }