/* General Body and Layout */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 960px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navigation Bar */
.navbar {
    background-color: #2c3e50; /* Darker blue/grey */
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative; /* Added for hamburger positioning */
    min-height: 60px; /* Ensure navbar is visible even when links are hidden */
}

.brand-name {
    display: none; /* Hidden by default on large screens */
    color: #ecf0f1; /* Light grey/blue */
    font-size: 1.8em;
    font-weight: bold;
    padding: 0 20px;
    text-decoration: none;
}

.hamburger-menu {
    display: none; /* Hidden by default on large screens */
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Visible by default on large screens */
    justify-content: center;
    align-items: center;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    color: #ecf0f1; /* Light grey/blue */
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 4px;
}

.nav-links a:hover {
    color: #ffffff;
    background-color: #34495e; /* Slightly lighter dark blue/grey */
}

/* Headings */
h1 {
    font-size: 2.8em;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

h2 {
    font-size: 2.2em;
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

h3 {
    font-size: 1.8em;
    color: #34495e;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 500;
}

p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

/* Contact Us Page Specific Styles */
.contact-form-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 30px;
}

.contact-form-section > div {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

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

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    transition: border-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: #3498db; /* Blue focus border */
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.contact-form button[type="submit"] {
    background-color: #3498db; /* Blue */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background-color: #2980b9; /* Darker blue */
}

.contact-details-list {
    list-style: none;
    padding: 0;
}

.contact-details-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #555;
}

.contact-details-list strong {
    color: #333;
}

.contact-details-list a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details-list a:hover {
    text-decoration: underline;
    color: #2980b9;
}

/* Responsive adjustments */

/* Tablet styles */
@media (max-width: 768px) {
    .container {
        margin: 15px;
        padding: 15px;
    }

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
    }

    .contact-form-section {
        flex-direction: column;
        gap: 20px;
    }

    .navbar {
        padding: 10px 0;
    }

    .nav-links {
        flex-direction: column;
        display: none; /* Hidden by default for hamburger menu on small screens */
        width: 100%;
    }

    .nav-links.show { /* Changed from .active to .show as per instructions */
        display: flex;
        flex-direction: column; /* Ensure vertical display when active */
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        padding: 10px 20px;
        width: 100%;
        display: block;
    }

    .brand-name {
        display: block; /* Show brand name on small screens */
        position: absolute;
        left: 20px;
        top: 15px;
    }

    .hamburger-menu {
        display: block; /* Show hamburger icon on small screens */
        position: absolute;
        right: 20px;
        top: 15px;
        background: none;
        border: none;
        color: white;
        font-size: 30px;
        cursor: pointer;
        z-index: 1000;
    }
}

/* Mobile styles */
@media (max-width: 480px) {
    .container {
        margin: 10px;
        padding: 10px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }

    p {
        font-size: 0.95em;
    }

    .contact-form-section {
        gap: 15px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        padding: 10px;
    }

    .contact-form button[type="submit"] {
        padding: 10px 20px;
        font-size: 1em;
    }
}

/* Alert Messages */
.alert-success {
    background-color: #d4edda; /* Light green */
    color: #155724; /* Dark green */
    padding: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-danger {
    background-color: #f8d7da; /* Light red */
    color: #721c24; /* Dark red */
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-danger ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: disc;
}

.alert-danger ul li {
    margin-bottom: 5px;
}
