/* General styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

h1, h2 {
    color: #d32f2f;
    text-align: center;
}

/* Navbar styles */
.navbar {
    background-color: #a00000; /* Darker red for better contrast */
    color: #ffffff;
    padding: 15px;
}

.navbar h1 {
    margin: 0;
    font-size: 28px; /* Increased font size for better visibility */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Added text shadow for improved readability */
}

.nav-button {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: #b71c1c;
}

/* Container styles */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Section styles */
.section-title {
    margin-bottom: 15px;
    font-size: 24px;
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 5px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-button {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.card-button:hover {
    background-color: #b71c1c;
}

/* Form styles */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="number"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.submit-button {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #b71c1c;
}

/* Result message styles */
.result-message {
    margin-top: 15px;
    font-weight: bold;
}

/* Footer styles */
.footer {
    text-align: center;
    padding: 10px;
    background-color: #d32f2f;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: 20px;
}
