/* ---------------- BASIC RESET ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #263238;
    background-color: #f5f7fa;
}

/* ---------------- HEADER ---------------- */
header {
    background-color: #17324d;
    color: #ffffff;
    padding: 17px 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 3px solid #2f6f8f;
}

header a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
}

header a:hover {
    color: #d9e8f0;
}

/* ---------------- ENQUIRY FORM ---------------- */
.enquiry-form {
    background-color: #ffffff;
    padding: 30px 20px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 8px;
    border: 1px solid #e1e7ec;
    box-shadow: 0 3px 12px rgba(23, 50, 77, 0.08);
}

.enquiry-form h1,
.enquiry-form h2 {
    margin-bottom: 15px;
    color: #17324d;
}

.enquiry-form p {
    margin-bottom: 20px;
}

.enquiry-form input,
.enquiry-form textarea,
.enquiry-form button {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #cbd5dc;
    font-size: 1em;
    font-family: Arial, sans-serif;
}

.enquiry-form input,
.enquiry-form textarea {
    background-color: #ffffff;
    color: #263238;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: #2f6f8f;
    box-shadow: 0 0 0 2px rgba(47, 111, 143, 0.12);
}

.enquiry-form button {
    background-color: #2f6f8f;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.enquiry-form button:hover {
    background-color: #245873;
}

.enquiry-form button:focus {
    outline: 2px solid #17324d;
    outline-offset: 2px;
}

/* ---------------- CONTENT SECTIONS ---------------- */
section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

section h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #17324d;
}

section p {
    margin-bottom: 15px;
}

section ul {
    list-style-type: disc;
    margin-left: 20px;
}

section li {
    margin-bottom: 8px;
}

/* ---------------- FOOTER NAVIGATION ---------------- */
.footer-nav {
    background-color: #e9eef2;
    padding: 15px 20px;
    text-align: center;
    margin-bottom: 20px;
    border-top: 1px solid #d7e0e6;
    border-bottom: 1px solid #d7e0e6;
    overflow-x: auto;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.footer-nav ul li a {
    text-decoration: none;
    color: #245873;
    font-weight: bold;
    font-size: 1em;
    white-space: nowrap;
}

.footer-nav ul li a:hover {
    color: #17324d;
    text-decoration: underline;
}

/* ---------------- FOOTER ---------------- */
footer {
    background-color: #17324d;
    color: #eef4f7;
    padding: 30px 20px;
    text-align: center;
    border-top: 3px solid #2f6f8f;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: #d9e8f0;
    text-decoration: underline;
}

footer a:hover {
    color: #ffffff;
}

/* ---------------- BOTTOM STICKY TFN ---------------- */
.sticky-tfn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #17324d;
    color: #ffffff;
    text-align: center;
    padding: 12px 0;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 -2px 8px rgba(23, 50, 77, 0.22);
    border-top: 2px solid #2f6f8f;
}

.sticky-tfn a {
    color: #ffffff;
    text-decoration: none;
}

.sticky-tfn a:hover {
    color: #d9e8f0;
    text-decoration: underline;
}

/* ---------------- LINKS ---------------- */
a {
    color: #245873;
}

a:hover {
    color: #17324d;
}

/* ---------------- FORM PLACEHOLDER ---------------- */
input::placeholder,
textarea::placeholder {
    color: #71808b;
    opacity: 1;
}

/* ---------------- RESPONSIVE DESIGN ---------------- */
@media (max-width: 1024px) {
    section {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    header {
        justify-content: center;
        text-align: center;
    }

    section h2 {
        font-size: 1.4em;
    }

    .footer-nav {
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .enquiry-form {
        padding: 20px 15px;
        margin: 15px auto;
    }

    section {
        padding: 20px 15px;
    }

    .enquiry-form input,
    .enquiry-form textarea,
    .enquiry-form button {
        font-size: 16px;
    }

    /* horizontal scroll for footer nav on small screens */
    .footer-nav ul {
        justify-content: flex-start;
    }

    .sticky-tfn {
        padding: 11px 8px;
        font-size: 0.95em;
    }
}