.custom-lang-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-lang-switcher .lang-btn {
    display: flex;
    padding: 4px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    border: 2px solid #03264C;
    background: #FFF;
    text-decoration: none;
    font-weight: 600;
    color: #03264C;
    font-size: 16px;
    cursor: pointer;
}

.custom-lang-switcher .lang-btn svg {
    width: 20px;
}

.custom-lang-switcher .lang-btn:hover {
    background: #03264C;
    color: #FFF;
}

.custom-lang-switcher .lang-btn:hover svg {
    fill: #ffffff;
}

.custom-lang-switcher .gt-current-lang {
    display: none;
}

/* --- Desktop Menu --- */
.my-shortcode-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.my-shortcode-menu>.menu-item {
    margin-bottom: 8px;
}

.my-shortcode-menu a {
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    color: #333;
}

.sub-menu {
    list-style: none;
    padding: 0 0 0 15px;
    margin: 6px 0 0 0;
}

.my-menu-toggle,
.my-menu-close {
    display: none;
}

/* --- Responsive (Below 768px) --- */
@media(max-width: 768px) {

    /* Toggle button (visible on mobile) */
    .my-menu-toggle {
        display: inline-block;
        padding: 10px 16px;
        background: #333;
        color: #fff;
        border: none;
        font-size: 18px;
        cursor: pointer;
        margin-bottom: 10px;
    }

    /* Off-canvas panel */
    .my-menu-panel {
        position: fixed;
        right: -280px;
        /* hidden */
        top: 0;
        width: 260px;
        height: 100vh;
        background: #fff;
        box-shadow: -3px 0 8px rgba(0, 0, 0, 0.2);
        padding: 20px;
        transition: right 0.3s ease;
        z-index: 9999;
    }

    /* When menu is open */
    .my-menu-panel.open {
        right: 0;
    }

    .my-menu-close {
        display: block;
        background: none;
        border: none;
        font-size: 26px;
        float: right;
        cursor: pointer;
        margin-bottom: 20px;
    }

    /* Menu items inside panel */
    .my-shortcode-menu a {
        padding: 10px;
        border-bottom: 1px solid #f0f0f0;
    }

    .sub-menu {
        padding-left: 15px;
    }
}

.custom-category-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: fit-content;
    background-color: #00B04F6B;
    border-radius: 4px;
    padding: 3px 10px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    border-radius: 0px !important;
    padding: 10px;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

/* Hover, focus, and active */
.nav-link:hover,
.nav-link:focus,
.nav-link:active {
    color: #30B44A;
    border-bottom-color: #30B44A;
}

.custom-tm {
    font-size: 0.5em;
    vertical-align: super;
}

.form-container {
    padding: 20px !important;
    border: solid 1px #DADADA !important;
    border-radius: 10px !important;
    box-shadow: 0px 0 8px rgba(0, 0, 0, 0.1); ;
}

.form-label{
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 500;
    color:#1a3453;
}

.form-input{
    border: solid 1px #DADADA !important;
    border-radius: 8px;
    color:#1a3453;
}

.btn-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.mortgage-calculate {
    background: #00B14F !important;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #FFF;
    border: none;
}
