/* Basic Reset */
body, h1, h2, p, form, label, input, textarea, button, address, header, main, section, footer {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Variables for easier theme management */
:root {
    --primary-color: #007bff; /* Example: Blue */
    --secondary-color: #6c757d; /* Example: Grey */
    --background-color: #f8f9fa; /* Light grey background */
    --text-color: #343a40; /* Dark grey text */
    --light-text-color: #ffffff;
    --border-color: #dee2e6;
    --container-bg: #ffffff;
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 2rem 5%;
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    margin-bottom: 0.5rem;
    font-size: 2.5em;
}

header p {
    font-size: 1.1em;
}

.contact-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr; /* Form takes more space */
    gap: 2rem;
}

section {
    background-color: var(--container-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

textarea {
    resize: vertical; /* Allow vertical resize */
}

button[type="submit"] {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Contact Details Styling */
.contact-details-section address {
    font-style: normal;
}

.contact-details-section p {
    margin-bottom: 1rem;
}

.contact-details-section strong {
    color: var(--primary-color);
}

.contact-details-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details-section a:hover {
    color: #0056b3;
    text-decoration: underline;
}

footer {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem 5%;
    background-color: #e9ecef; /* Slightly different grey for footer */
    color: var(--secondary-color);
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr; /* Stack sections on smaller screens */
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem 5%;
    }
    header h1 {
        font-size: 2em;
    }
    section {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    header h1 {
        font-size: 1.8em;
    }
    header p {
        font-size: 1em;
    }
    button[type="submit"] {
        width: 100%;
        padding: 1rem;
    }
}

