* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  
  .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    background-color: #e0e7ff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .card {
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    width: 300px;
    height: 350px; /* Fixed height to ensure all cards are the same size */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #1a1a1a;
  }
  
  .card.green-bg {
    background-color: #DFF2E0;
    color: #2E7D32;
  }
  
  .card.blue-bg {
    background-color: #E0E8F9;
    color: #1565C0;
  }
  
  .card.yellow-bg {
    background-color: #F8F4E3;
    color: #AF8F1F;
  }
  
  .card.green-bg:hover {
    box-shadow: 0 12px 24px rgba(46, 125, 50, 0.3);
    transform: translateY(-6px);
  }
  
  .card.blue-bg:hover {
    box-shadow: 0 12px 24px rgba(21, 101, 192, 0.3);
    transform: translateY(-6px);
  }
  
  .card.yellow-bg:hover {
    box-shadow: 0 12px 24px rgba(175, 143, 31, 0.3);
    transform: translateY(-6px);
  }
  
  .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
  }
  
  .green { background-color: #2E7D32; color: white; }
  .blue { background-color: #1565C0; color: white; }
  .yellow { background-color: #AF8F1F; color: white; }
  
  .card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows the content to take up remaining space */
    justify-content: space-between; /* Distributes space evenly */
  }
  
  h3 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: bold;
  }
  
  p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1; /* Ensures the paragraph takes up available space */
  }
  
  .green-bg p,
  .blue-bg p,
  .yellow-bg p {
    color: inherit;
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 14px;
    border: none;
    background-color: #fff;
    border-radius: 50px;
    border: 1px solid #ccc;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    color: #333;
    align-self: flex-start; /* Aligns button to the start */
  }
  
  .btn:hover {
    background-color: #f0f0f0;
  }
  
  /* Mobile view adjustments */
  @media (max-width: 768px) {
    .container {
      flex-direction: column;
      gap: 16px;
    }
  
    .card {
      width: 100%;
      max-width: 350px;
      height: 300px; /* Adjusted height for mobile */
    }
  }
  
  @media (max-width: 400px) {
    .card {
      padding: 16px;
      height: 280px; /* Further adjusted for smaller screens */
    }
  
    h3 {
      font-size: 16px;
    }
  
    p {
      font-size: 13px;
    }
  
    .btn {
      font-size: 13px;
      padding: 8px 14px;
    }
  }