/* Typography Improvements */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9; /* Lighter background for better contrast */
    color: #333; /* Dark grey text for readability */
}

/* Header and Navigation */
header {
    background-color: #0066cc; /* Deep blue for a more professional look */
    color: white;
    text-align: center;
    padding: 1em 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

header img {
    height: 180px; /* Logo size */
    margin-right: 15px;
}

nav ul {
    background-color: #333;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin: 0;
}

nav ul li a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
}

nav ul li a:hover {
    background-color: #005bb5; /* Slightly darker hover color */
    transform: translateY(-2px); /* Subtle hover effect */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Section Styling */
section {
    padding: 0.5em;
    margin: 0.5em 0;
}

h2 {
    color: #0066cc; /* Matching the header */
}

/* Button Styling */
.button {
    background-color: #28a745; /* Green for call-to-action buttons */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
    background-color: #218838; /* Darker green hover */
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Footer Styling */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em 0;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: white;
    text-decoration: none;
}

footer ul li a:hover {
    text-decoration: underline;
}

footer .social-icons img {
    width: 24px;
    margin: 0 10px;
}

/* Form Adjustments */
form label {
    display: block;
    margin-top: 10px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    box-sizing: border-box;
}

form textarea {
    height: 150px; /* Bigger message box */
}

button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    
    nav ul {
        display: block;
        text-align: left;
    }

    .button {
        width: 100%; /* Full-width buttons on mobile */
        text-align: center;
    }
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in;
}

.fade-in.visible {
    opacity: 1;
}
