body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
  }
  
  header h1 {
    font-size: 28px;
    text-align: center;
    font-weight: bold;
    flex: 1;
  }
  
  header nav {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
  }
  
  header nav a {
    text-decoration: none;
    padding: 10px 20px;
    background-color: #1c085d;
    color: #fff;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  header nav a:hover {
    background-color: #333;
  }
  
  .container {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
  }
  
  .chart-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
  }
  
  .chart-card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
  }
  
  .chart-card h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .chart-card .percentage {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .chart-container {
    position: relative;
    width: 100%;
    height: 200px;
  }
  
  footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    margin-top: auto;
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .container {
      grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
  
    .chart-container {
      height: 150px;
    }
  }
  
  @media (max-width: 768px) {
    header {
      flex-direction: column;
      align-items: center;
      padding: 10px;
    }
  
    header h1 {
      margin-bottom: 10px;
      font-size: 24px;
    }
  
    header nav {
      gap: 10px;
    }
  
    .container {
      grid-template-columns: 1fr;
    }
  
    .chart-card {
      padding: 15px;
    }
  
    .chart-container {
      height: 150px;
    }
  }
  
  @media (max-width: 480px) {
    header h1 {
      font-size: 20px;
    }
  
    header nav a {
      font-size: 12px;
      padding: 8px 15px;
    }
  
    .chart-card h2 {
      font-size: 16px;
    }
  
    .chart-card .percentage {
      font-size: 14px;
    }
  
    .chart-container {
      height: 120px;
    }
  }
  