@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Open+Sans:wght@300;400;600&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8; /* Increased line-height for better readability */
    background-color: #f4f7f6; /* Slightly lighter background */
    color: #333;
}

header {
    background-color: #2c3e50; /* Darker, more modern header */
    color: #ecf0f1; /* Light text color for contrast */
    padding: 15px 0;
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Keeps logo and nav spread out */
    padding: 15px 30px; /* Increased padding */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

header img.logo {
    height: 180px; /* Slightly adjusted logo size */
    margin-right: 20px; /* Added margin to separate logo from title */
}

header h1 {
    font-family: 'Roboto', sans-serif; /* Different font for header title */
    font-size: 2em; /* Larger title */
    margin: 0; /* Remove default margin */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Align nav items horizontally */
}

nav ul li {
    display: inline;
    margin: 0 20px; /* Increased spacing between nav items */
}

nav ul li a {
    color: #ecf0f1; /* Light text color for nav links */
    text-decoration: none;
    font-weight: 600; /* Bolder nav links */
    font-family: 'Roboto', sans-serif;
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

nav ul li a:hover {
    color: #1abc9c; /* Accent color on hover */
}

section {
    padding: 30px 20px; /* Increased padding */
    margin: 30px auto; /* Increased margin */
    max-width: 90%;
    background: #ffffff; /* Pure white background for sections */
    border-radius: 10px; /* Slightly more rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); /* Softer, more diffused shadow */
    font-family: 'Open Sans', sans-serif; /* Ensure Open Sans for section text */
}

h2 {
    font-family: 'Roboto', sans-serif; /* Roboto for main headings */
    color: #2c3e50; /* Dark blue for headings */
    font-size: 2.2em; /* Larger heading size */
    margin-bottom: 20px; /* More space below heading */
    text-align: center; /* Center align section titles */
}

h3 {
    font-family: 'Roboto', sans-serif; /* Roboto for sub-headings */
    color: #34495e; /* Slightly lighter blue for sub-headings */
    font-size: 1.6em; /* Adjusted sub-heading size */
    margin-top: 30px; /* More space above sub-heading */
    margin-bottom: 15px;
}

p {
    line-height: 1.8;
    margin: 15px 0;
    font-family: 'Open Sans', sans-serif;
    color: #555; /* Slightly lighter text color for paragraphs */
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Increased gap between form elements */
}

form label {
    font-weight: 600; /* Bolder labels */
    margin-bottom: 5px;
    color: #34495e; /* Consistent color with h3 */
}

form input, form textarea {
    padding: 12px; /* Increased padding */
    border: 1px solid #ddd; /* Lighter border */
    border-radius: 6px; /* More rounded inputs */
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s ease; /* Smooth transition for focus */
}

form input:focus, form textarea:focus {
    border-color: #1abc9c; /* Accent color on focus */
    outline: none; /* Remove default outline */
}

form button {
    background-color: #1abc9c; /* Primary accent color for button */
    color: #fff;
    padding: 12px 20px; /* Adjusted padding */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif; /* Roboto for button text */
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease; /* Smooth transition for hover */
}

form button:hover {
    background-color: #16a085; /* Darker shade of accent color on hover */
}

#form-status { /* Styling for the form status message */
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
}

footer {
    background-color: #2c3e50; /* Consistent dark footer */
    color: #ecf0f1;
    text-align: center;
    padding: 20px 0; /* Increased padding */
    margin-top: 30px; /* Increased margin */
    font-size: 0.9em;
    font-family: 'Open Sans', sans-serif;
}

/* Responsive design */
@media (max-width: 768px) { /* Adjusted breakpoint and styles for mobile */
    header {
        flex-direction: column;
        padding: 15px;
    }

    header img.logo {
        height: 120px; /* Smaller logo on mobile */
        margin-bottom: 10px;
    }

    header h1 {
        font-size: 1.8em; /* Smaller title on mobile */
    }

    nav ul {
        flex-direction: column; /* Stack nav items vertically on mobile */
        align-items: center;
        margin-top: 10px;
    }

    nav ul li {
        margin: 10px 0; /* Adjust margin for vertical layout */
    }

    section {
        max-width: 95%; /* Wider sections on mobile */
        padding: 20px 15px;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.4em;
    }
}

@media (min-width: 769px) { /* Ensure these apply above mobile breakpoint */
    nav ul {
        display: flex;
        justify-content: center;
    }

    nav ul li {
        margin: 0 20px;
    }

    section {
        max-width: 80%;
    }
}

@media (min-width: 1024px) {
    section {
        max-width: 70%;
    }
}
