/* General styling for the entire page */
body {
    font-family: sans-serif; /* Use a simple, sans-serif font */
    margin: 0;
    padding: 0;
    background-color: #f8f9fa; /* Very light background color */
    color: #2c3e50; /* Dark grayish-blue text for readability */
    line-height: 1.7;  /* Increased line height for better readability*/
}

/* Header section styling */
header {
    background-color: #ffffff; /* White background for header */
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    position: sticky; /* Make the header stick to the top */
    top: 0;
    z-index: 100; /* Ensure header is above other elements */
}

header h1 {
    margin: 0 0 10px 0; /* Reduced bottom margin */
    color: #2c3e50; /* Use the same dark grayish-blue from body */
    font-size: 2.2em; /* Slightly larger heading */
}

header p{
  color: #6c757d;
  font-size: 1.1em;
  margin-bottom: 0;
}

/* Main content area styling */
main {
    padding: 20px;
    margin: 20px auto; /* Center the main content */
    max-width: 1000px;  /* Increased max-width for wider screens */
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); /* Slightly stronger shadow */
}

/* Footer styling */
footer {
    background-color: #e9ecef; /* Very light gray for footer */
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
}

/* Style for links */
a {
    color: #0078d7; /* Bootstrap's blue */
    text-decoration: none;
    transition: color 0.2s ease-in-out; /* Smooth transition */
}

a:hover {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: underline;
}

/* Button styles */
button, .button {  /* Apply to both button elements and elements with class="button" */
    padding: 12px 25px;
    background-color: #0078d7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease; /* Added transform */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: inline-block; /* So margin/padding works correctly */
    text-decoration: none; /* If used as a link */
}

button:hover, .button:hover {
    background-color: #0056b3;
    transform: translateY(-1px); /* Slight lift on hover */
}

button:active, .button:active{
   transform: translateY(0);
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Form input styles */
input[type="text"],
input[type="email"],
textarea {
    padding: 10px;
    margin: 8px 0 20px 0;
    width: calc(100% - 20px); /* Adjust width to account for padding */
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.2s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none; /* Remove the default outline */
    border-color: #0078d7; /* Highlight border on focus */
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25); /* Add a subtle shadow */
}

textarea {
    resize: vertical;
    height: 120px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {  /* Target screens smaller than 768px (typical tablet size) */
    body {
        padding: 10px;
    }
    header {
        padding: 10px;
    }
    header h1{
      font-size: 1.8em;
    }
    main {
        padding: 15px;
        margin: 10px auto;
    }
    input[type="text"],
    input[type="email"],
    textarea {
        width: calc(100% - 16px); /* Adjust width for smaller padding */
    }
    button, .button{
      font-size: 1em;
      padding: 10px 20px;
    }
}

/* Smaller mobile devices */
@media (max-width: 576px) {
  header h1{
     font-size: 1.5em;
  }
  main{
     padding: 10px;
  }
  footer{
    font-size: 0.9em;
  