/* Basic Reset & Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
    overflow: hidden; /* Clear floats */
}

/* Header & Navigation */
header {
    background: #337ab7; /* Professional Blue */
    color: #fff;
    padding-top: 20px;
    min-height: 70px;
    border-bottom: #0e4d8b 3px solid;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header h1 {
    float: left;
    margin-top: 5px;
}

header h1 a {
    font-size: 24px;
    font-weight: bold;
}

header nav {
    float: right;
    margin-top: 10px;
}

header li {
    display: inline;
    padding: 0 15px;
}

header nav a:hover,
header nav a.active {
    color: #d4e6f1; /* Lighter blue for hover/active */
    font-weight: bold;
}

/* Main Content Area */
main {
    padding: 30px 0;
}

section {
    margin-bottom: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
    color: #337ab7;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

h3 {
    color: #555;
    margin-top: 15px;
    margin-bottom: 10px;
}

ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

p {
    margin-bottom: 15px;
}

a {
    color: #337ab7;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Hero Section (Home Page) */
#hero {
    background: #e7f1fa; /* Light blue background */
    text-align: center;
    padding: 40px 20px;
}

#hero h2 {
    font-size: 2em;
    border-bottom: none;
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    background: #5cb85c; /* Green */
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    margin-top: 15px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #4cae4c; /* Darker green */
    text-decoration: none;
    color: #fff;
}

/* Specific Page Content Styling */
.page-content {
    background: #fff;
    padding: 30px;
}

.important-note {
    font-style: italic;
    color: #777;
    margin-top: 20px;
    border-left: 3px solid #337ab7;
    padding-left: 10px;
}

/* Contact Page Specifics */
.contact-details p {
    margin-bottom: 10px;
}
.contact-details strong {
    display: inline-block;
    width: 80px; /* Adjust as needed */
}

hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 30px 0;
}

/* Contact Form */
#contact-form .form-group {
    margin-bottom: 15px;
}

#contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

#contact-form textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 100px;
}

#contact-form button[type="submit"] {
    margin-top: 10px;
}

#form-status {
    margin-top: 15px;
    font-weight: bold;
}
#form-status.success {
    color: green;
}
#form-status.error {
    color: red;
}


/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

footer p {
    margin-bottom: 5px;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        float: none;
        text-align: center;
        margin-bottom: 10px; /* Add space between title and nav */
    }

    header nav {
        float: none;
        text-align: center;
    }

    header nav ul {
        padding-left: 0; /* Remove default padding */
    }

    header li {
        display: block; /* Stack nav items */
        padding: 8px 0;
        border-bottom: 1px dotted #5594c9; /* Separator for mobile nav */
    }
    header li:last-child {
        border-bottom: none;
    }

    #hero h2 {
        font-size: 1.8em;
    }

    .cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    header h1 a {
        font-size: 20px;
    }
    header nav a {
        font-size: 15px;
    }

    #hero h2 {
        font-size: 1.5em;
    }
    main {
        padding: 15px 0;
    }
    section {
        padding: 15px;
    }
    .container {
        padding: 0 10px;
    }
}
