* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #2f3942;
    color: #333;
    line-height: 1.6;
    flex: 1 0 auto;
}

header {
    text-align: center;
    padding: 40px 20px;
    background-color: #414e58;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.ps {
    font-size: 0.9rem;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    flex-grow: 1;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.card h2 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.card p strong {
    color: #2c3e50;
}

a {
    display: inline-block;
    text-decoration: none;
    color: #3498db;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card a:hover {
    color: #2980b9;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #2f3942;
    color: white;
    font-size: 0.9rem;
    width: 100%;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .container {
        grid-template-columns: 1fr;
    }

    .card h2 {
        font-size: 1.2rem;
    }

    .card p {
        font-size: 0.9rem;
    }
}