 *{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
 }
 
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    height: 100%;
}

 body {
      font-family: 'Segoe UI', sans-serif;
      background-color: #0e0e0e;
      color: #fff;
      margin: 0;
      padding: 0;
    }
    header {
      background-color: #1a1a1a;
      padding: 1rem;
      text-align: center;
      font-size: 1.5rem;
      font-weight: bold;
      border-bottom: 1px solid #333;
    }
    .news {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1.5rem;
      padding: 2rem;
      max-width: 1200px;
      margin: auto;
    }
.news__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

    .card {
      background-color: #1c1c1c;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      transition: transform 0.2s ease;
    }
    .card:hover {
      transform: translateY(-5px);
    }
    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    .card-body {
      padding: 1rem;
    }
    .card-body h3 {
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }
    .card-body p {
      font-size: 0.9rem;
      color: #ccc;
      height: 60px;
      overflow: hidden;
    }
    .read-more {
      display: inline-block;
      margin-top: 0.5rem;
      color: #00aced;
      text-decoration: none;
      font-weight: bold;
    }
    .loader {
      text-align: center;
      color: #aaa;
    }
    .error {
      color: red;
      text-align: center;
      padding: 2rem;
    }

header {
    background: white;
    padding: 10px;
}
.header__{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.h2{
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    text-transform: capitalize;
}

ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.tg {
    font-size: 20px !important;
    cursor: pointer;
    outline: none;
    border: none;
}