/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f9f9f9, #e3e3e3);
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styling */
header {
    background: linear-gradient(135deg, #0078d7, #005a9e);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 900px;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Navigation Bar */
nav {
    margin: 20px 0;
    text-align: center;
}

nav a {
    color: #0078d7;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #005a9e;
    text-decoration: underline;
}

/* Main Content */
main {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    margin: 20px auto;
    animation: fadeIn 0.5s ease-in-out;
}

/* Buttons */
button {
    background: linear-gradient(135deg, #0078d7, #005a9e);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: linear-gradient(135deg, #005a9e, #003f73);
    transform: scale(1.05);
}

/* Footer Styling */
footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px 0;
    color: #666;
    font-size: 0.9rem;
    width: 100%;
    max-width: 900px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Card Component */
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    max-width: 800px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #0078d7;
}

.card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

/* Form Styling */
form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

form input:focus,
form textarea:focus {
    border-color: #0078d7;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 120, 215, 0.5);
}

form button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #0078d7, #005a9e);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

form button:hover {
    background: linear-gradient(135deg, #005a9e, #003f73);
    transform: scale(1.05);
}
/* Button Grid Container */
.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px 0;
    width: 100%;
    max-width: 900px;
}

/* Buttons */
button {
    background: linear-gradient(135deg, #0078d7, #005a9e);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 12px; /* Rounded corners for buttons */
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Images inside buttons */
button img {
    max-width: 100%;
    border-radius: 8px; /* Rounded corners for images */
    margin-right: 10px; /* Optional spacing between image and text */
}

button:hover {
    background: linear-gradient(135deg, #005a9e, #003f73);
    transform: scale(1.05);
}