/* ========== MODERNIZED HOMEPAGE — Feb 2026 ========== */

/* ====== PAGE-LEVEL: Body background + centered layout ====== */

/* Background image stretching behind main content */
body {
    background: url('../images/bgSydney.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
    min-height: 100vh;
}

/* Hide the old slider — branding is now in contact-bar */
.slider-main {
    display: none !important;
}

/* ====== Contact/Brand bar ====== */
.contact-bar {
    background: #fff;
    color: #333;
    padding: 0;
    font-size: 13px;
    border-bottom: 1px solid #e5e7eb;
}
.contact-bar-inner {
    max-width: 1135px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}
.contact-bar .brand {
    display: flex;
    align-items: baseline;
    gap: 14px;
}
.contact-bar .brand a {
    color: #17487d !important;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.contact-bar .brand a:hover {
    color: #1a5ba3 !important;
}
.contact-bar .brand .tline {
    color: #777;
    font-size: 13px;
    font-weight: 400;
}
.contact-bar .contact-links a {
    color: #555 !important;
    text-decoration: none;
    margin-left: 18px;
    font-size: 13px;
}
.contact-bar .contact-links a:hover {
    color: #17487d !important;
}

/* ====== Nav bar: dark, contrasting from light contact bar ====== */
.header {
    position: relative;
    z-index: 100;
    background: #0d487d !important;
    border-top: none !important;
    border-bottom: none !important;
}
.header .header-inner .nav ul li a {
    color: #fff !important;
    padding: 12px 13px !important;
}
.header .header-inner .nav ul li a:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
}
/* --- Dropdown menus: clean, modern, compact --- */
.header .header-inner .nav ul li:hover > ul {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #e8eaed !important;
    border-radius: 6px !important;
    overflow: hidden;
}
/* --- Override Customizer inline widths on all dropdowns --- */
@media screen and (min-width: 999px) {
    .header .header-inner .nav ul li ul {
        width: auto !important;
    }
    .header .header-inner .nav #menu-item-188871 .sub-menu {
        width: auto !important;
        position: absolute;
        left: 0 !important;
    }
    .header .header-inner .nav #menu-item-185927 .sub-menu {
        width: 420px !important;
        position: absolute;
        left: 0 !important;
    }
    .header .header-inner .nav #menu-item-185927 .sub-menu li {
        width: 50% !important;
    }
    .header .header-inner .nav ul li ul li {
        width: auto !important;
    }
}
/* --- NAATI Translation dropdown: 2 columns --- */
#menu-item-185927:hover > ul.sub-menu,
li#menu-item-185927:hover > ul {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 420px !important;
}
#menu-item-185927 > ul > li,
#menu-item-185927 > ul.sub-menu > li {
    width: 50% !important;
    float: none !important;
    box-sizing: border-box;
}
.header .header-inner .nav ul li ul {
    background: #fff !important;
}
.header .header-inner .nav ul li ul li a {
    color: #333 !important;
    padding: 7px 14px !important;
    border-top: none !important;
    border-bottom: 1px solid #f0f1f3 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    transition: background-color 0.15s, color 0.15s;
}
.header .header-inner .nav ul li ul li:last-child a {
    border-bottom: none !important;
}
.header .header-inner .nav ul li ul li a:hover {
    color: #17487d !important;
    background-color: #f5f8fc !important;
}

/* Main content: centered white box */
.main-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    background: #fff;
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.25);
    border-radius: 0 0 6px 6px;
}

/* Content area padding */
.content-area {
    padding: 24px 30px 0 !important;
}

/* --- Layout: Expand sidebar/form to ~40% --- */
.content_sidebar {
    display: flex;
    gap: 36px;
}
.content_sidebar > .clear {
    display: none;
}
#sidebar {
    flex: 0 0 38%;
    float: none !important;
    order: 2;
    max-width: 38%;
}
.site-main, #sitemain {
    flex: 1 1 0%;
    float: none !important;
    order: 1;
    min-width: 0;
}

/* --- Sidebar heading --- */
#sidebar > h2 {
    font-size: 22px;
    font-weight: 700;
    color: #17487d;
    margin: 0 0 4px;
}
#sidebar > p {
    color: #666;
    font-size: 14px;
    margin: 0 0 16px;
    line-height: 1.5;
}

/* --- Form card with shadow (from .com.au) --- */
#GetAQuoteFormInner {
    width: 100% !important;
    float: none !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 24px;
    background: #fff;
    box-sizing: border-box;
}

/* --- Form inputs --- */
#GetAQuoteForm input[type="text"],
#GetAQuoteForm input[type="email"],
#GetAQuoteForm input[type="tel"],
#GetAQuoteForm select,
#GetAQuoteForm textarea {
    width: 100% !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    font-size: 15px !important;
    font-family: 'Roboto', Arial, sans-serif;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 10px !important;
    float: none !important;
    background: #fff;
    color: #333;
    -webkit-appearance: none;
}
#GetAQuoteForm input:focus,
#GetAQuoteForm select:focus,
#GetAQuoteForm textarea:focus {
    outline: none;
    border-color: #3674b7 !important;
    box-shadow: 0 0 0 3px rgba(54, 116, 183, 0.12);
}
#GetAQuoteForm textarea {
    height: 80px !important;
    resize: vertical;
}

/* --- Language selects side by side --- */
.form-lang-row {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
}
.form-lang-row select {
    flex: 1;
    min-width: 0;
    margin-bottom: 10px !important;
}

/* --- File upload area --- */
#GetAQuoteForm .fileinput {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 10px;
    background: #f8fafc;
    transition: border-color 0.2s, background 0.2s;
    clear: both;
    width: 100%;
    box-sizing: border-box;
}
#GetAQuoteForm .fileinput:hover {
    border-color: #3674b7;
    background: #f0f5ff;
}
#GetAQuoteForm input[type="file"] {
    border: none !important;
    padding: 0 !important;
    background: transparent;
    margin-bottom: 4px !important;
    font-size: 13px !important;
}
#uploadedFiles {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}
#uploadedFiles li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    margin-bottom: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #333;
    transition: background 0.15s;
}
#uploadedFiles li:hover {
    background: #f8fafc;
}
#uploadedFiles .file-thumbnail {
    width: 48px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}
#uploadedFiles .file-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
}
#uploadedFiles .removeFile {
    background: none;
    color: #999;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    flex-shrink: 0;
    transition: color 0.2s;
}
#uploadedFiles .removeFile:hover {
    color: #555;
}

/* --- Submit button — gradient like .com.au --- */
#GetAQuoteForm input[type="submit"],
#GetAQuoteForm .btnSubmit {
    background: linear-gradient(135deg, #1a5ba3 0%, #123c84 100%) !important;
    border: 0 !important;
    height: auto !important;
    padding: 13px 28px !important;
    cursor: pointer;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600;
    border-radius: 8px !important;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(18, 60, 132, 0.3);
    width: 100% !important;
    letter-spacing: 0.3px;
    text-transform: none;
}
#GetAQuoteForm input[type="submit"]:hover {
    background: linear-gradient(135deg, #1e6bba 0%, #144e8f 100%) !important;
    box-shadow: 0 4px 16px rgba(18, 60, 132, 0.4);
    transform: translateY(-1px);
}

/* --- Required note --- */
#GetAQuoteForm .req {
    font-size: 12px;
    color: #888;
    text-align: center;
    padding: 12px 0 0;
    clear: both;
}

/* --- Submit loader --- */
.submitLoader {
    text-align: center;
    padding: 16px;
    font-size: 14px;
    color: #17487d;
    background: #f0f5ff;
    border-radius: 8px;
    margin-top: 8px;
}

/* --- Validation errors --- */
#GetAQuoteForm label.error {
    color: #dc2626 !important;
    font-size: 12px;
    margin: -6px 0 8px;
    display: block;
}
#GetAQuoteForm input.error,
#GetAQuoteForm select.error,
#GetAQuoteForm textarea.error {
    border-color: #dc2626 !important;
}

/* ====== LEFT SIDE CONTENT MODERNIZATION ====== */

/* --- Page title (h1) --- */
h1.entry-title,
h1.page-title,
.entry-header h1 {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0d2b4a !important;
    margin: 0 0 20px !important;
    padding: 0 0 14px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.3px;
    border-bottom: 3px solid #3674b7;
    display: inline-block;
}

/* --- Article headings --- */
.entry-content h2,
.entry-content h2.wp-block-heading {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 22px;
    font-weight: 800;
    color: #0d2b4a;
    border-left: none;
    padding-left: 0;
    padding-bottom: 10px;
    margin: 32px 0 16px;
    border-bottom: 2px solid #3674b7;
    display: inline-block;
    letter-spacing: -0.2px;
}
.entry-content h3,
.entry-content h3.wp-block-heading {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 17px;
    font-weight: 700;
    color: #0d2b4a;
    margin: 24px 0 12px;
    letter-spacing: -0.2px;
}

/* --- Bullet lists as check items --- */
.entry-content ul.wp-block-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 12px 0 20px;
}
.entry-content ul.wp-block-list li {
    position: relative;
    padding: 9px 0 9px 32px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}
.entry-content ul.wp-block-list li:last-child {
    border-bottom: none;
}
.entry-content ul.wp-block-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.entry-content ul.wp-block-list li::after {
    content: '\2713';
    position: absolute;
    left: 4px;
    top: 11px;
    color: #3674b7;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
}

/* --- Modern CTA buttons --- */
.entry-content .wp-block-button__link.wp-element-button {
    background: linear-gradient(135deg, #1a5ba3 0%, #123c84 100%) !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 8px rgba(18, 60, 132, 0.25) !important;
    text-transform: none !important;
    display: inline-block;
}
.entry-content .wp-block-button__link.wp-element-button:hover {
    background: linear-gradient(135deg, #1e6bba 0%, #144e8f 100%) !important;
    box-shadow: 0 4px 16px rgba(18, 60, 132, 0.35) !important;
    transform: translateY(-1px);
}

/* --- Content images --- */
.entry-content .wp-block-image img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* --- Paragraphs --- */
.entry-content p {
    line-height: 1.7;
    color: #444;
}

/* --- Google reviews --- */
.review-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 14px !important;
    margin: 0 4px;
    border: 1px solid #e5e7eb;
}
.review-meta {
    margin-bottom: 6px;
}
.review-author {
    font-weight: 600;
    color: #333;
}
.review-date {
    color: #888;
    font-size: 12px;
}
.review-text {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

/* --- Slick slider arrows --- */
.slider-prev, .slider-next {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.slider-prev:hover, .slider-next:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* --- Hide Facebook iframe (outdated) --- */
#sidebar iframe[src*="facebook"] {
    display: none;
}

/* ====== FOOTER MODERNIZATION ====== */

#footer-wrapper {
    background: #0b1e34 !important;
    padding: 48px 0 0 !important;
    margin-top: 0 !important;
    border-top: 3px solid #3674b7;
}
.footer {
    width: auto !important;
    max-width: 1140px;
    margin: 0 auto !important;
    padding: 0 24px;
    display: flex !important;
    gap: 40px;
    color: #c8d8e8;
    font-size: 14px;
    line-height: 1.7;
}
.footer-col-1,
.footer-col-3 {
    width: auto !important;
    float: none !important;
    flex: 1;
    margin: 0 !important;
}
.footer h3 {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: none !important;
    margin: 0 0 16px !important;
    padding: 0 0 10px !important;
    border-bottom: 2px solid rgba(54, 116, 183, 0.4);
    letter-spacing: 0;
}
.footer a {
    color: #c8d8e8 !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.footer a:hover {
    color: #fff !important;
}
.footer ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.footer ul li {
    padding: 5px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: none !important;
    color: #c8d8e8;
    font-size: 13px;
    line-height: 1.5;
}
.footer ul li:last-child {
    border-bottom: none;
}
.footer ul li a {
    font-size: 13px !important;
    padding: 0 !important;
    background: none !important;
    font-family: Arial, sans-serif !important;
    line-height: 1.5;
    color: #c8d8e8 !important;
}
.footer ul li a:hover {
    color: #fff !important;
}
.footer .recent-post li span {
    color: #6a9ac4 !important;
    font-size: 12px !important;
}
.footer .phone-no {
    margin-top: 12px !important;
    line-height: 1.8;
}
.footer .phone-no strong {
    color: #90b4d4 !important;
    width: auto !important;
    display: inline !important;
    margin-right: 6px;
}
.footer p {
    margin: 0 0 12px !important;
    color: #c8d8e8;
}

/* Copyright bar */
.copyright-wrapper {
    background: #081525 !important;
    padding: 20px 0 !important;
    margin-top: 40px;
    font-size: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.copyright {
    width: auto !important;
    max-width: 1140px;
    margin: 0 auto !important;
    padding: 0 24px;
    color: #7a8fa4 !important;
    display: block !important;
    text-align: center;
}
.copyright-txt {
    float: none !important;
    font-size: 12px;
    color: #6a7f94 !important;
    margin-bottom: 8px;
}
.design-by {
    float: none !important;
    font-size: 12px;
    color: #8a9fb4 !important;
    text-align: center !important;
}
.design-by br {
    display: none;
}
.design-by a,
.design-by a strong {
    color: #fff !important;
    font-weight: 600;
}
.design-by a:hover {
    color: #90b4d4 !important;
}

/* ====== RESPONSIVE ====== */
@media screen and (max-width: 979px) {
    .content_sidebar {
        display: block;
    }
    #sidebar,
    .site-main,
    #sitemain {
        width: 100% !important;
        float: none !important;
    }
    #sidebar {
        margin-top: 24px;
        max-width: 100% !important;
        flex: none !important;
    }
    #GetAQuoteFormInner {
        max-width: 500px;
        margin: 0 auto;
    }
    .main-container {
        margin: 0 !important;
        max-width: 100% !important;
        box-shadow: none;
        border-radius: 0;
    }
    .content-area {
        padding: 16px 16px 0 !important;
    }
    .contact-bar-inner {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding: 10px 16px;
    }
    .contact-bar .brand {
        flex-direction: column;
        gap: 2px;
        align-items: center;
    }
    .contact-bar .contact-links a {
        margin: 0 8px;
    }
    .footer {
        flex-direction: column !important;
        gap: 32px !important;
    }
    .copyright {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .design-by {
        text-align: center !important;
    }
}
@media screen and (max-width: 640px) {
    .form-lang-row {
        flex-direction: column;
        gap: 0;
    }
    #GetAQuoteFormInner {
        padding: 18px;
    }
    .entry-content h2.wp-block-heading {
        font-size: 19px;
    }
    .contact-bar .brand a {
        font-size: 17px;
    }
}
