body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f7f7f5;
    color: #222;
}

header {
    text-align: center;
    padding: 60px 20px 30px;
}

header h1 {
    font-size: 34px;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.container {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    width: 320px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 22px;
    text-align: center;
}

.card-content h2 {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.card-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 22px;
    background: #2c3e50;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.25s ease, transform 0.1s ease;
}

.btn:hover {
    background: #1a252f;
}

.btn:active {
    transform: scale(0.97);
}

footer {
    text-align: center;
    padding: 25px 15px;
    font-size: 13px;
    color: #777;
    margin-top: 60px;
}

footer a {
    color: #2c3e50;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header {
        padding: 40px 15px 20px;
    }

    header h1 {
        font-size: 26px;
    }

    .container {
        padding: 20px 15px;
    }

    .card {
        width: 100%;
        max-width: 420px;
    }

    .card-image img {
        height: 160px;
    }

    .card-content {
        padding: 18px;
    }

    .card-content h2 {
        font-size: 18px;
    }

    .card-content p {
        font-size: 13px;
    }

    .btn {
        width: 100%;
        padding: 12px;
    }

    footer {
        font-size: 12px;
        padding: 20px 10px;
    }
}