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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f7f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* Container for Cards */
.container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Card Styling */
.card {
    background-color: #fff;
    width: 250px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Form Card */
.form-card {
    border: 2px solid #007bff;
}

.form-card input,
.form-card textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.form-card button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-card button:hover {
    background-color: #0056b3;
}

/* Product Card */
.product-card {
    border: 2px dashed #28a745;
}

.product-card img {
    width: 100%;
    border-radius: 10px;
}

.product-card h3 {
    margin: 10px 0;
    color: #333;
}

.product-card p {
    color: #28a745;
    font-weight: bold;
}

.product-card button {
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.product-card button:hover {
    background-color: #218838;
}

/* Profile Card */
.profile-card {
    border: 2px dotted #ffc107;
}

.profile-card img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 10px;
}

.profile-card h3 {
    margin: 10px 0;
    color: #333;
}

.profile-card p {
    color: #ffc107;
    font-weight: bold;
}

.profile-card button {
    padding: 10px;
    background-color: #ffc107;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.profile-card button:hover {
    background-color: #e0a800;
}

/* Gradient Border Card */
.gradient-card {
    position: relative;
    padding: 20px;
}

.gradient-border {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #ff6f61, #6a5acd, #32cd32);
    border-radius: 15px;
    z-index: -1;
}

.gradient-card img {
    width: 100%;
    border-radius: 10px;
}

.gradient-card h3 {
    margin: 10px 0;
    color: #333;
}

.gradient-card p {
    color: #555;
}

.gradient-card button {
    padding: 10px;
    background-color: #ff6f61;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.gradient-card button:hover {
    background-color: #e55b50;
}
