﻿/* Keep desktop nav visible until 950px */
@media (max-width: 1199px) {
    .nav-area {
        display: block !important;
    }
}

/* Now hide it only below 950px */
@media (max-width: 950px) {
    .nav-area {
        display: none !important;
    }
}

/* Footer: keep 2 columns on small screens */
@media (max-width: 767px) {
    .tmp-footer-area .main-footer-one-area {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }

    /* Optional: make logo + contact span full width */
    .tmp-footer-area .single-footer-inner.logo-area,
    .tmp-footer-area .single-footer-inner.contact {
        grid-column: 1 / -1 !important;
    }
}

.tgp-mobile-callbar {
    display: none;
}

@media only screen and (min-width: 1px) and (max-width: 1199px) {

    .header-custom-container2 .header-main {
        background-color: #eee;
        border-bottom: 1px solid #777;
        width: 100%; margin: 0px; padding: 0px 30px;
    }

        .header-custom-container2 .header-main .logo-area img {
            padding-right: 40px;
        }


    .header-custom-container2 .header-main .header-mid-one-wrapper .nav-area ul.mainmenu li > a,
    .header-custom-container2 .header-main .header-mid-one-wrapper .nav-area ul.mainmenu li > a,
    .header-custom-container2 .header-main .header-mid-one-wrapper .nav-area ul.mainmenu li > a[aria-current="page"] {
        color: #ce363f !important;
    }

    .header-custom-container2 .header-main .header-mid-one-wrapper .nav-area ul.mainmenu li a {
        color: #444 !important;
    }


        .tgp-mobile-callbar {
            display: block;
            width: 100%;
            padding: 14px 10px;
            background-color: #efefef;
            font-size: 22px;
            text-align: center;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
            position: relative;
            z-index: 50;
        }

        .tgp-call-text {
            font-weight: 600;
            margin-right: 6px;
        }

        .tgp-call-number {
            font-weight: 800;
            color: #ce363f;
            text-decoration: none;
        }

            .tgp-call-number:hover {
                text-decoration: underline;
            }



    }

.tgp-citylink {
    text-decoration: underline;
}



.banner-bg-with-bottom-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55); /* adjust 0.55 darker/lighter */
    z-index: 1;
}

.banner-bg-with-bottom-card {
    position: relative;
    z-index: 2;
}

.container-3 {
    max-width: 1400px
}

.title-geoCustom{
    font-size: 45px;
    font-weight: bold;
    line-height: 60px;
    margin-top: 30px;
}

/* Mobile offcanvas stability */
.tgp-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 9998;
}

.tgp-mobile-sidebar {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    max-width: 88vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: right .25s ease;
    box-shadow: -8px 0 24px rgba(0,0,0,.15);
    padding: 20px 20px 30px;
}

body.tgp-mobile-open .tgp-mobile-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.tgp-mobile-open .tgp-mobile-sidebar {
    right: 0;
}

body.tgp-mobile-open {
    overflow: hidden;
}

/* Cleaner mobile menu spacing */
.tgp-mobile-sidebar .mainmenu > li {
    border-bottom: 1px solid #eee;
}

    .tgp-mobile-sidebar .mainmenu > li > a.main {
        display: block;
        padding: 14px 0;
        font-weight: 600;
        color: #1f2937;
    }

.tgp-mobile-sidebar .submenu {
    padding: 0 0 12px 12px;
}

    .tgp-mobile-sidebar .submenu li a {
        display: block;
        padding: 8px 0;
    }

/* Close button */
.tgp-mobile-sidebar .close-icon-menu {
    border: 0;
    background: transparent;
    font-size: 22px;
    margin-bottom: 10px;
    color: #111;
}

/* Optional: hide template weirdness if it adds transforms */
.side-bar.tgp-mobile-sidebar,
.side-bar.tgp-mobile-sidebar * {
    backface-visibility: hidden;
}

.tgp-mobile-sidebar .close-icon-menu, #mobile-menu-close {
    position: absolute !important;
    top: 50px !important;
    right: 24px !important;
    left: auto !important;
    margin: 0 !important;
}

.tgp-mobile-sidebar {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    max-width: 88vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: right .25s ease;
    box-shadow: -8px 0 24px rgba(0,0,0,.15);
    padding: 70px 20px 30px; /* gives room for the X */
}