:root {
    --primary-color: #F5C74D; /* Orange accent color */
    --secondary-color: #333; /* Dark background color */
    --light-color: #f4f4f4; /* Light background color */
    --text-color: #fff; /* White text color */
    --font-family: 'Arial', sans-serif; /* Use a more modern font stack if desired */
    --container-width: 1200px; /* Standard container width */
}

body {
    font-family: var(--font-family);
    margin: 0;
    line-height: 1.6; /* Improved readability */
    color: var(--secondary-color); /* Default text color */
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px; /* Consistent side padding */
}

/* Header */
header {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 1rem 0; /* Use rem for scaling */
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease; /* Smooth transition for scroll effect */
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-scrolled { /* Class added on scroll */
    background-color: rgba(51, 51, 51, 0.9); /* Slightly transparent background on scroll */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow on scroll */
}

.logo {
    height: 60px; /* Adjusted height */
    width: auto;
    transition: height 0.3s ease; /* Smooth transition for logo size */
}

.header-scrolled .logo {
    height: 50px; /* Smaller logo on scroll */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem; /* Use rem for consistent spacing */
}

nav li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500; /* Slightly bolder font weight */
    transition: color 0.3s ease, padding 0.3s ease; /* Smooth transition for color and padding on hover */
}

nav li a:hover {
    color: var(--primary-color);
}

/* Contact Section */
#contact {
    background-color: var(--light-color); /* Use your light background color */
    padding: 40px 0;
}

#contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

#contact p {
    text-align: center;  /* Center the introductory paragraph */
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.contact-form, .contact-info {
    width: 50%; /* Adjust as needed */
    margin: 20px auto; /* Center the form and info */
    padding: 20px;
    background-color: #fff; /* White background for form/info areas */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

.contact-form form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block; /* Make labels stack on top of inputs */
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-form input,
.contact-form textarea {
    width: calc(100% - 12px); /* Account for padding and border */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.contact-form button {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: darken(var(--primary-color), 10%); /* Darken color on hover */
}

.contact-info {
    text-align: center; /* Center the contact details */
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 1rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
}

.footer-links li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

.footer-links li a:hover {
    color: var(--primary-color); /* Highlight link color on hover */
    text-decoration: underline;
}

@media (max-width: 768px) {
    footer .container {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        margin-top: 1rem;
        flex-direction: column;
        text-align: center; /* Center links on smaller screens */
    }
    .contact-form, .contact-info {
        width: 90%; /* Make form and info full-width on smaller screens */
    }
}