* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
}
header {
    background-color: grey;
    color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight:400;
}
.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}
.search-bar {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}
.search-bar input {
    width: 100%;
    max-width: 500px;
    padding: 12px 15px;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.3s ease;
}
.search-bar input:focus {
    border-color: #007bff;
    font-weight:500;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card:hover {
    transform: scale(1.05);
    transition:.3s ease;
}
.card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.card p {
    font-size: 1rem;
    color: black;
    margin-bottom: 20px;
}
.card a {
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
    transition: color 0.3s ease;
}
.card a:hover {
    color: #0056b3;
}
footer {
    background-color: #343a40;
    color: #fff;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
}
footer p {
    font-size: 0.9rem;
}