/* Importing Google Fonts: Lato */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0; /* Let .container handle padding */
    background-color: #f8f9fa; /* Very light grey/blue */
    color: #343a40; /* Darker grey for body text */
    line-height: 1.7;
    display: flex; /* For vertical centering (optional, but nice) */
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Full viewport height */
}

.container {
    max-width: 850px; /* Slightly wider */
    width: 90%; /* Responsive width */
    margin: 40px auto; /* Margin for larger screens */
    padding: 50px 60px; /* More padding */
    background-color: #ffffff;
    border-radius: 12px; /* Slightly more rounded corners */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); /* More pronounced shadow */
    text-align: center; /* Center align all content */
}

h1 {
    font-size: 2.8em; /* Larger heading */
    color: #212529; /* Even darker blue-grey */
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -0.5px; /* Subtle tightening */
}

h2 {
    font-size: 1.8em;
    color: #343a40;
    border-bottom: 2px solid #e9ecef; /* Lighter border */
    padding-bottom: 15px;
    margin-top: 45px;
    margin-bottom: 30px;
    font-weight: 700;
}

p {
    margin-bottom: 20px;
    font-size: 1.1em; /* Slightly larger paragraph text */
    line-height: 1.7;
    color: #555; /* Slightly lighter text for readability */
}

.contact-section {
    margin-top: 40px;
    text-align: left; /* Align form elements to the left within this section */
}

form {
    display: grid;
    gap: 20px; /* More space between form fields */
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: calc(100% - 30px); /* Adjust width for padding */
    padding: 15px; /* More padding in inputs */
    border: 1px solid #ced4da; /* Light border */
    border-radius: 8px; /* More rounded input fields */
    font-size: 1.05em;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fefefe; /* Very slight off-white for inputs */
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    border-color: #007bff; /* Bootstrap-like blue on focus */
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); /* Subtle glowing effect */
}

form textarea {
    resize: vertical;
    min-height: 120px; /* Minimum height for textarea */
}

form button[type="submit"] {
    background-color: #007bff; /* Primary blue button */
    color: white;
    padding: 15px 30px; /* More padding for button */
    border: none;
    border-radius: 8px;
    font-size: 1.15em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    justify-self: center; /* Center align the button */
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2); /* Shadow for button */
}

form button[type="submit"]:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-3px); /* Lift effect */
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3); /* Enhanced shadow on hover */
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Basic responsiveness for smaller screens */
@media (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 30px;
        width: 95%;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
    }

    form input[type="text"],
    form input[type="email"],
    form textarea {
        width: calc(100% - 20px); /* Adjust for smaller padding */
        padding: 10px;
    }

    form button[type="submit"] {
        padding: 12px 20px;
        font-size: 1em;
    }
}
