/**
 * EstateFlow AI - Website Frontend Styles
 * Overrides and enhancements for website frontend, auth forms, property cards & responsive mobile header.
 */

.password-field { position: relative; }
            .password-field .form-control { padding-right: 52px; }
            .password-toggle-btn {
                position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
                border: 0; background: transparent; color: #6b7280; width: 32px; height: 32px;
                display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
            }
            /* Medium website/auth inputs + buttons (theme defaults are 56–60px) */
            .form-control:not(textarea) {
                height: 42px !important;
                min-height: 42px !important;
                font-size: 14.5px !important;
                line-height: 1.3 !important;
                padding: 0.4rem 0.85rem !important;
            }
            select.form-control:not([size]):not([multiple]) {
                height: 42px !important;
            }
            .form-control.fc-lg:not(textarea),
            select.form-control.fc-lg:not([size]):not([multiple]) {
                height: 46px !important;
                min-height: 46px !important;
            }
            textarea.form-control {
                height: auto !important;
                min-height: 110px !important;
                padding: 0.65rem 0.85rem !important;
                font-size: 14.5px !important;
            }
            .input-with-icon .form-control,
            .italian-search .input-with-shadow .form-control,
            .italian-search .input-with-icon .form-control {
                height: 42px !important;
                padding-left: 42px !important;
            }
            .search-form .form-control,
            .search-big-form .form-control {
                height: 42px !important;
                padding-left: 40px !important;
            }
            .search-form .btn,
            .search-big-form .btn {
                height: 42px !important;
                min-height: 42px !important;
                padding: 0 1.1rem !important;
                font-size: 14.5px !important;
                line-height: 1 !important;
            }
            .search-form .select2-container--default .select2-selection--single,
            .search-big-form .select2-container--default .select2-selection--single {
                height: 42px !important;
            }
            .search-form .select2-container--default .select2-selection--single .select2-selection__rendered,
            .search-big-form .select2-container--default .select2-selection--single .select2-selection__rendered {
                line-height: 40px !important;
            }
            .search-form .select2-container--default .select2-selection--single .select2-selection__arrow,
            .search-big-form .select2-container--default .select2-selection--single .select2-selection__arrow {
                height: 42px !important;
            }
            .form-group > i,
            .search-big-form .form-group > i {
                top: 50% !important;
                transform: translateY(-50%) !important;
                font-size: 16px !important;
            }
            .btn:not(.btn-sm):not(.btn-xs):not(.btn-circle):not(.notification-toggle):not(.password-toggle-btn):not(.demo-login-btn) {
                padding: 0.5rem 1.15rem !important;
                font-size: 14.5px !important;
                line-height: 1.25 !important;
                min-height: 42px !important;
            }
            .btn.btn-lg:not(.btn-circle),
            .btn-lg:not(.btn-circle) {
                padding: 0.55rem 1.25rem !important;
                font-size: 15px !important;
                line-height: 1.25 !important;
                min-height: 44px !important;
            }
            .btn.btn-md,
            .btn-md {
                padding: 0.5rem 1.1rem !important;
                font-size: 14.5px !important;
                min-height: 42px !important;
            }
            .btn.search-btn,
            .search-btn {
                height: 44px !important;
                min-height: 44px !important;
                padding: 0 1rem !important;
                font-size: 15px !important;
                line-height: 1 !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            .submit-page .btn,
            .form-submit .btn,
            .ajax-auth-form .btn[type="submit"],
            .pop-login {
                min-height: 44px !important;
                height: auto !important;
                padding: 0.55rem 1.25rem !important;
                font-size: 15px !important;
            }
            /* Brand text: theme `.logo span` rules must not apply */
            .header .nav-brand {
                display: inline-flex !important;
                align-items: center !important;
                max-width: none;
                line-height: 1 !important;
            }
            .header .brand-logo-text {
                display: inline-flex !important;
                align-items: center !important;
                gap: 0.55rem !important;
                line-height: 1 !important;
            }
            .header .brand-logo-mark {
                display: inline-flex !important;
                flex: 0 0 auto !important;
                font-size: inherit !important;
            }
            .header .brand-logo-label {
                display: inline-block !important;
                white-space: nowrap !important;
                line-height: 1 !important;
                font-size: 19px !important;
            }
            .header .brand-logo-label > span {
                display: inline !important;
                font-size: inherit !important;
                letter-spacing: inherit !important;
                line-height: inherit !important;
            }
            /* One polished header row: logo left | links tight | actions right (EN + FR) */
            @media (min-width: 992px) {
                .header > .container {
                    max-width: 100% !important;
                    width: 100% !important;
                    padding-left: 0.85rem !important;
                    padding-right: 0.85rem !important;
                    margin-left: 0 !important;
                    margin-right: 0 !important;
                }
                .header .navigation.navigation-landscape {
                    display: flex !important;
                    align-items: center !important;
                    height: 66px !important;
                    min-height: 66px !important;
                    width: 100% !important;
                    gap: 0.75rem !important;
                }
                .header .navigation-landscape .nav-header {
                    float: none !important;
                    flex: 0 0 auto;
                    display: flex !important;
                    align-items: center !important;
                    margin: 0 !important;
                    padding: 0 !important;
                    margin-right: 0.15rem !important;
                }
                .header .navigation-landscape .nav-brand {
                    padding: 0 !important;
                    margin: 0 !important;
                }
                .header .navigation-landscape .nav-menus-wrapper {
                    display: flex !important;
                    align-items: center !important;
                    justify-content: flex-start !important;
                    flex: 1 1 auto;
                    float: none !important;
                    width: auto !important;
                    min-width: 0;
                    gap: 0.5rem !important;
                }
                .header .navigation-landscape .nav-menu {
                    display: flex !important;
                    flex-wrap: nowrap !important;
                    align-items: center !important;
                    float: none !important;
                    margin: 0 !important;
                    gap: 0.05rem !important;
                }
                .header .navigation-landscape .nav-menu > li {
                    float: none !important;
                    display: flex !important;
                    align-items: center !important;
                    margin: 0 !important;
                }
                .header .navigation-landscape .nav-menu > li > a {
                    padding: 0.4rem 0.42rem !important;
                    font-size: 14.5px !important;
                    font-weight: 600 !important;
                    line-height: 1.2 !important;
                    white-space: nowrap !important;
                }
                .header .navigation-landscape .nav-menu.nav-menu-social {
                    margin-left: auto !important;
                    gap: 0.4rem !important;
                    align-items: center !important;
                    flex: 0 0 auto !important;
                }
                .header .navigation-landscape .nav-menu.nav-menu-social > li {
                    margin: 0 !important;
                    padding: 0 !important;
                }
                .header .navigation-landscape .nav-menu.nav-menu-social > li.add-listing {
                    top: 0 !important;
                    position: relative !important;
                    height: auto !important;
                    margin: 0 0 0 0.25rem !important;
                    border-radius: 0 !important;
                    background: #14b86c !important;
                    overflow: hidden !important;
                    align-self: center !important;
                }
                .header .navigation-landscape .nav-menu.nav-menu-social > li.add-listing > a {
                    display: inline-flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                    top: 0 !important;
                    height: 38px !important;
                    min-height: 38px !important;
                    padding: 0 0.9rem !important;
                    line-height: 1 !important;
                    color: #fff !important;
                    white-space: nowrap !important;
                    font-size: 13.5px !important;
                    font-weight: 700 !important;
                }
            }

            /* ═════════════════════════════════════════════════════════
             * RESPONSIVE MOBILE HEADER (iPhones & screens <= 991px)
             * ═════════════════════════════════════════════════════════ */
            @media (max-width: 991.98px) {
                .header {
                    position: relative;
                    background: #ffffff !important;
                    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08) !important;
                    z-index: 1000 !important;
                    width: 100% !important;
                }
                .header.header-fixed {
                    position: fixed !important;
                    top: 0 !important;
                    left: 0 !important;
                    right: 0 !important;
                }
                .header .container {
                    padding-left: 16px !important;
                    padding-right: 16px !important;
                    width: 100% !important;
                    max-width: 100% !important;
                }
                .header .navigation,
                .header #navigation {
                    display: flex !important;
                    align-items: center !important;
                    justify-content: space-between !important;
                    height: 64px !important;
                    min-height: 64px !important;
                    width: 100% !important;
                    position: relative !important;
                    margin: 0 !important;
                    padding: 0 !important;
                }
                .header .nav-header {
                    display: flex !important;
                    align-items: center !important;
                    justify-content: space-between !important;
                    width: 100% !important;
                    height: 64px !important;
                    float: none !important;
                    position: relative !important;
                }
                .header .nav-brand {
                    display: inline-flex !important;
                    align-items: center !important;
                    padding: 0 !important;
                    margin: 0 !important;
                    height: 100% !important;
                    line-height: normal !important;
                    max-width: calc(100% - 56px) !important;
                }
                .header .nav-brand .brand-logo-text {
                    max-width: 100% !important;
                }
                .header .nav-brand .brand-logo-mark {
                    width: 32px !important;
                    height: 32px !important;
                    border-radius: 8px !important;
                    font-size: 16px !important;
                }
                .header .nav-brand .brand-logo-label {
                    font-size: 17px !important;
                    white-space: nowrap !important;
                    overflow: hidden !important;
                    text-overflow: ellipsis !important;
                }

                /* Hamburger Toggle button on mobile */
                .header .nav-toggle {
                    display: inline-flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                    width: 42px !important;
                    height: 42px !important;
                    padding: 0 !important;
                    margin: 0 !important;
                    position: relative !important;
                    top: auto !important;
                    right: auto !important;
                    border: 1px solid #e2e8f0 !important;
                    border-radius: 8px !important;
                    background: #f8fafc !important;
                    cursor: pointer !important;
                    color: #1e293b !important;
                    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
                    flex-shrink: 0 !important;
                    transition: background 0.15s ease, transform 0.15s ease !important;
                }
                .header .nav-toggle:active {
                    background: #f1f5f9 !important;
                    transform: scale(0.96) !important;
                }
                .header .nav-toggle::before,
                .header .nav-toggle::after {
                    display: none !important;
                }
                .header .nav-toggle-icon {
                    display: flex !important;
                    flex-direction: column !important;
                    justify-content: space-between !important;
                    width: 18px !important;
                    height: 14px !important;
                    pointer-events: none !important;
                }
                .header .nav-toggle-icon span {
                    display: block !important;
                    width: 100% !important;
                    height: 2px !important;
                    background-color: #334155 !important;
                    border-radius: 2px !important;
                    transition: transform 0.22s ease, opacity 0.22s ease !important;
                }
                .header .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
                    transform: translateY(6px) rotate(45deg) !important;
                }
                .header .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
                    opacity: 0 !important;
                }
                .header .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
                    transform: translateY(-6px) rotate(-45deg) !important;
                }

                /* Mobile off-canvas drawer */
                .header .nav-menus-wrapper {
                    position: fixed !important;
                    top: 0 !important;
                    left: -330px !important;
                    bottom: 0 !important;
                    width: 290px !important;
                    max-width: 82vw !important;
                    height: 100% !important;
                    height: 100dvh !important;
                    background: #ffffff !important;
                    z-index: 100000 !important;
                    overflow-y: auto !important;
                    -webkit-overflow-scrolling: touch !important;
                    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), left 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
                    box-shadow: none !important;
                    display: flex !important;
                    flex-direction: column !important;
                    padding: 0 !important;
                    margin: 0 !important;
                    float: none !important;
                }
                .header .nav-menus-wrapper.nav-menus-wrapper-open,
                .header .navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-open {
                    left: 0 !important;
                    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.3) !important;
                }

                /* Drawer Header: Logo + Close button */
                .header .nav-menus-wrapper-header {
                    display: flex !important;
                    align-items: center !important;
                    justify-content: space-between !important;
                    padding: max(14px, env(safe-area-inset-top, 14px)) 16px 14px 16px !important;
                    border-bottom: 1px solid #f1f5f9 !important;
                    background: #ffffff !important;
                    flex-shrink: 0 !important;
                }
                .header .nav-menus-wrapper-close-btn,
                .header .nav-menus-wrapper-close-button {
                    display: inline-flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                    width: 34px !important;
                    height: 34px !important;
                    border-radius: 8px !important;
                    border: 1px solid #e2e8f0 !important;
                    background: #f8fafc !important;
                    color: #64748b !important;
                    font-size: 22px !important;
                    line-height: 1 !important;
                    cursor: pointer !important;
                    float: none !important;
                    margin: 0 !important;
                    padding: 0 !important;
                    transition: all 0.15s ease !important;
                }
                .header .nav-menus-wrapper-close-btn:hover,
                .header .nav-menus-wrapper-close-button:hover {
                    background: #fee2e2 !important;
                    color: #ef4444 !important;
                    border-color: #fecaca !important;
                }

                /* Nav Menu inside drawer */
                .header .nav-menu {
                    float: none !important;
                    width: 100% !important;
                    margin: 0 !important;
                    padding: 8px 0 !important;
                    list-style: none !important;
                }
                .header .nav-menu > li {
                    float: none !important;
                    display: block !important;
                    width: 100% !important;
                    border: none !important;
                    border-bottom: 1px solid #f8fafc !important;
                    position: relative !important;
                    margin: 0 !important;
                    padding: 0 !important;
                }
                .header .nav-menu > li > a {
                    display: flex !important;
                    align-items: center !important;
                    justify-content: space-between !important;
                    padding: 12px 20px !important;
                    font-size: 15px !important;
                    font-weight: 500 !important;
                    color: #1e293b !important;
                    text-decoration: none !important;
                    line-height: 1.4 !important;
                    transition: background 0.15s ease, color 0.15s ease !important;
                }
                .header .nav-menu > li.active > a,
                .header .nav-menu > li > a:hover {
                    color: #14b86c !important;
                    background-color: #f0fdf4 !important;
                    font-weight: 600 !important;
                }

                /* Submenu indicators & toggles */
                .header .nav-menu > li .submenu-indicator {
                    position: absolute !important;
                    right: 12px !important;
                    top: 6px !important;
                    width: 36px !important;
                    height: 36px !important;
                    display: inline-flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                    cursor: pointer !important;
                    z-index: 5 !important;
                    margin: 0 !important;
                    transition: transform 0.22s ease !important;
                }
                .header .nav-menu > li .submenu-indicator:before {
                    content: "" !important;
                    width: 7px !important;
                    height: 7px !important;
                    border-right: 2px solid #64748b !important;
                    border-bottom: 2px solid #64748b !important;
                    transform: rotate(45deg) !important;
                    display: block !important;
                    transition: transform 0.22s ease !important;
                }
                .header .nav-menu > li.nav-submenu-open > a .submenu-indicator,
                .header .nav-menu > li.nav-submenu-open > .submenu-indicator,
                .header .nav-menu > li.open > a .submenu-indicator,
                .header .nav-menu > li.open > .submenu-indicator {
                    transform: rotate(180deg) !important;
                }
                .header .nav-menu > li.nav-submenu-open > a .submenu-indicator:before,
                .header .nav-menu > li.nav-submenu-open > .submenu-indicator:before {
                    border-color: #14b86c !important;
                }

                /* Dropdown submenus */
                .header .nav-menu .nav-dropdown,
                .header .nav-menu .nav-submenu {
                    display: none !important;
                    position: static !important;
                    width: 100% !important;
                    background: #f8fafc !important;
                    box-shadow: none !important;
                    padding: 4px 0 !important;
                    margin: 0 !important;
                    border-top: 1px solid #f1f5f9 !important;
                    border-left: 3px solid #14b86c !important;
                    list-style: none !important;
                }
                .header .nav-menu > li.nav-submenu-open > .nav-dropdown,
                .header .nav-menu > li.nav-submenu-open > .nav-submenu,
                .header .nav-menu > li.open > .nav-dropdown,
                .header .nav-menu > li.open > .nav-submenu {
                    display: block !important;
                }
                .header .nav-menu .nav-dropdown > li > a,
                .header .nav-menu .nav-submenu > li > a {
                    padding: 10px 20px 10px 28px !important;
                    font-size: 14px !important;
                    color: #475569 !important;
                    display: block !important;
                    line-height: 1.4 !important;
                }
                .header .nav-menu .nav-dropdown > li > a:hover,
                .header .nav-menu .nav-submenu > li > a:hover {
                    color: #14b86c !important;
                    background: #edfdf4 !important;
                }

                /* Bottom Actions in Drawer */
                .header .nav-menu.nav-menu-social {
                    float: none !important;
                    width: 100% !important;
                    padding: 16px 18px max(24px, env(safe-area-inset-bottom, 24px)) 18px !important;
                    margin-top: auto !important;
                    border-top: 1px solid #e2e8f0 !important;
                    background: #ffffff !important;
                    display: flex !important;
                    flex-direction: column !important;
                    gap: 10px !important;
                }
                .header .nav-menu.nav-menu-social > li {
                    float: none !important;
                    display: block !important;
                    width: 100% !important;
                    border: none !important;
                    margin: 0 !important;
                    padding: 0 !important;
                }
                .header .nav-menu.nav-menu-social > li.add-listing {
                    order: 1 !important;
                    border-radius: 8px !important;
                    background: #14b86c !important;
                    text-align: center !important;
                    box-shadow: 0 2px 6px rgba(20, 184, 108, 0.25) !important;
                    overflow: hidden !important;
                }
                .header .nav-menu.nav-menu-social > li.add-listing a {
                    display: block !important;
                    padding: 12px 16px !important;
                    color: #ffffff !important;
                    font-weight: 600 !important;
                    font-size: 15px !important;
                    text-align: center !important;
                    border-radius: 8px !important;
                    line-height: 1.2 !important;
                }
                .header .nav-menu.nav-menu-social > li:not(.add-listing):not(.notification-menu) {
                    order: 2 !important;
                }
                .header .nav-menu.nav-menu-social > li:not(.add-listing):not(.notification-menu) > a {
                    display: flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                    gap: 8px !important;
                    padding: 11px 16px !important;
                    border: 1px solid #e2e8f0 !important;
                    border-radius: 8px !important;
                    color: #334155 !important;
                    font-weight: 600 !important;
                    font-size: 15px !important;
                    background: #f8fafc !important;
                    line-height: 1.2 !important;
                }
                .header .nav-menu.nav-menu-social > li:not(.add-listing):not(.notification-menu) > a:hover {
                    background: #f1f5f9 !important;
                    color: #0f172a !important;
                }
                .header .nav-menu.nav-menu-social > li.notification-menu {
                    order: 3 !important;
                }
                .header .nav-menu.nav-menu-social > li.notification-menu .notification-toggle {
                    width: 100% !important;
                    display: flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                    gap: 8px !important;
                    height: 42px !important;
                    border: 1px solid #e2e8f0 !important;
                    border-radius: 8px !important;
                    background: #f8fafc !important;
                }

                /* Backdrop overlay */
                .nav-overlay-panel {
                    position: fixed !important;
                    inset: 0 !important;
                    width: 100vw !important;
                    height: 100vh !important;
                    height: 100dvh !important;
                    background-color: rgba(15, 23, 42, 0.45) !important;
                    backdrop-filter: blur(2px) !important;
                    -webkit-backdrop-filter: blur(2px) !important;
                    z-index: 99998 !important;
                    cursor: pointer !important;
                }
                body.nav-open {
                    overflow: hidden !important;
                }
            }

            /* Extra adjustments for sm iPhones (<= 375px) */
            @media (max-width: 375px) {
                .header .container {
                    padding-left: 12px !important;
                    padding-right: 12px !important;
                }
                .header .nav-brand .brand-logo-mark {
                    width: 28px !important;
                    height: 28px !important;
                    font-size: 14px !important;
                }
                .header .nav-brand .brand-logo-label {
                    font-size: 15px !important;
                }
                .header .nav-toggle {
                    width: 38px !important;
                    height: 38px !important;
                }
            }
            /* Header notification bell + unread badge */
            .header .notification-menu {
                display: flex !important;
                align-items: center !important;
                margin: 0 4px 0 0 !important;
                padding: 0 !important;
            }
            .header .notification-toggle {
                position: relative !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                width: 40px !important;
                height: 40px !important;
                padding: 0 !important;
                border: 1px solid #e2e8f0 !important;
                border-radius: 50% !important;
                background: #fff !important;
                color: #64748b !important;
                box-shadow: none !important;
                cursor: pointer !important;
            }
            .header .notification-toggle:hover,
            .header .notification-toggle:focus {
                background: rgba(20, 184, 108, 0.08) !important;
                border-color: rgba(20, 184, 108, 0.35) !important;
                color: #14b86c !important;
                outline: none !important;
            }
            .header .notification-toggle i {
                font-size: 16px !important;
                line-height: 1 !important;
            }
            .header .notification-count {
                position: absolute !important;
                top: -2px !important;
                right: -2px !important;
                min-width: 18px !important;
                height: 18px !important;
                padding: 0 5px !important;
                border-radius: 999px !important;
                background: #ef4444 !important;
                color: #fff !important;
                font-size: 10px !important;
                font-weight: 700 !important;
                line-height: 14px !important;
                text-align: center !important;
                border: 2px solid #fff !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            .header .notification-count.d-none {
                display: none !important;
            }
            .header .notification-menu .dropdown {
                position: relative !important;
            }
            .header .notification-dropdown.dropdown-menu {
                width: 340px !important;
                max-width: min(340px, calc(100vw - 24px)) !important;
                margin-top: 10px !important;
                padding: 0 !important;
                border: 1px solid #e2e8f0 !important;
                border-radius: 14px !important;
                background: #fff !important;
                opacity: 1 !important;
                box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18) !important;
                overflow: hidden !important;
                left: auto !important;
                right: 0 !important;
                transform: none !important;
                z-index: 2000 !important;
            }
            .header .notification-dropdown.dropdown-menu.show {
                display: block !important;
            }
            .header .notification-dropdown__header {
                padding: 14px 16px !important;
                border-bottom: 1px solid #eef2f7 !important;
                background: #fff !important;
                gap: 12px !important;
            }
            .header .notification-dropdown__header strong {
                display: block !important;
                color: #0f172a !important;
                font-size: 15px !important;
            }
            .header .notification-dropdown__header .small {
                color: #64748b !important;
            }
            .header .notification-dropdown__header .btn-link {
                color: #14b86c !important;
                font-weight: 600 !important;
                text-decoration: none !important;
                white-space: nowrap !important;
            }
            .header .notification-dropdown__body {
                max-height: 320px !important;
                overflow-y: auto !important;
                background: #fff !important;
            }
            .header .notification-dropdown__item {
                display: block !important;
                padding: 14px 16px !important;
                border-bottom: 1px solid #f1f5f9 !important;
                color: #1f2937 !important;
                text-decoration: none !important;
            }
            .header .notification-dropdown__item:hover {
                background: #f8fafc !important;
                text-decoration: none !important;
            }
            .header .notification-dropdown__title {
                font-weight: 700 !important;
                color: #111827 !important;
                margin-bottom: 4px !important;
            }
            .header .notification-dropdown__message {
                color: #64748b !important;
                font-size: 14px !important;
                line-height: 1.45 !important;
            }
            .header .notification-dropdown__time {
                margin-top: 6px !important;
                font-size: 12px !important;
                color: #94a3b8 !important;
            }
            .header .notification-dropdown__empty {
                padding: 22px 16px !important;
                color: #64748b !important;
                text-align: center !important;
                background: #fff !important;
            }
            @media (min-width: 992px) {
                .header,
                .header .navigation,
                .header .nav-menus-wrapper,
                .header .nav-menu,
                .header .notification-menu {
                    overflow: visible !important;
                }
            }
            /* Property cards — tight packing, no empty middle */
            .equal-height-cards > [class*="col-"] {
                margin-bottom: 1rem !important;
            }
            .property-listing.property-2 {
                overflow: hidden !important;
                border-radius: 10px !important;
                background: #fff !important;
                box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07) !important;
                border: 1px solid #eef2f7 !important;
                margin: 0 0 0.75rem !important;
                height: auto !important;
                display: block !important;
            }
            .property-listing.property-2 .listing-img-wrapper {
                min-height: 320px !important;
                max-height: none !important;
                height: 320px !important;
            }
            .property-listing.property-2 .listing-img-wrapper img {
                min-height: 320px !important;
                max-height: none !important;
                height: 320px !important;
                width: 100% !important;
                object-fit: cover !important;
                object-position: center 30% !important;
                display: block !important;
            }
            @media (max-width: 767.98px) {
                .property-listing.property-2 .listing-img-wrapper {
                    min-height: 260px !important;
                    height: 260px !important;
                }
                .property-listing.property-2 .listing-img-wrapper img {
                    min-height: 260px !important;
                    height: 260px !important;
                }
            }
            .property-listing.property-2 .property-type {
                position: absolute !important;
                right: 10px !important;
                bottom: 10px !important;
                top: auto !important;
                left: auto !important;
                background: rgba(15, 23, 42, 0.88) !important;
                color: #fff !important;
                padding: 4px 10px !important;
                border-radius: 999px !important;
                font-size: 10px !important;
                font-weight: 700 !important;
                letter-spacing: 0.03em !important;
                text-transform: uppercase !important;
                line-height: 1 !important;
                box-shadow: none !important;
                z-index: 3 !important;
            }
            .property-listing.property-2 .listing-detail-wrapper {
                padding: 0.65rem 0.85rem 0 !important;
                align-items: flex-start !important;
                display: block !important;
            }
            .property-listing.property-2 .listing-name {
                font-size: 14.5px !important;
                line-height: 1.3 !important;
                margin: 0 0 0.15rem !important;
            }
            .property-listing.property-2 .listing-name a {
                color: #0f172a !important;
                display: inline !important;
            }
            .property-listing.property-2 .listing-short-detail > p,
            .property-listing.property-2 .listing-short-detail .text-muted {
                margin: 0 !important;
                padding: 0 !important;
                font-size: 12.5px !important;
                line-height: 1.3 !important;
                color: #64748b !important;
            }
            .property-listing.property-2 .price-features-wrapper {
                margin: 0 !important;
                padding: 0.45rem 0.85rem 0.75rem !important;
                display: flex !important;
                flex-direction: column !important;
                flex-wrap: nowrap !important;
                gap: 0.3rem !important;
                align-items: stretch !important;
            }
            .property-listing.property-2 .listing-price-fx {
                flex: 0 0 auto !important;
                width: 100% !important;
                margin: 0 !important;
            }
            .property-listing.property-2 .listing-card-info-price {
                margin: 0 !important;
                padding-left: 0.35em !important;
                font-size: 18px !important;
                line-height: 1.15 !important;
                color: #14b86c !important;
            }
            .property-listing.property-2 .listing-card-info-price .price-suffix {
                font-size: 12px !important;
            }
            .property-listing.property-2 .list-fx-features {
                display: flex !important;
                flex-wrap: nowrap !important;
                justify-content: space-between !important;
                align-items: stretch !important;
                gap: 0.45rem !important;
                margin: 0 !important;
                padding: 0 !important;
                width: 100% !important;
            }
            .property-listing.property-2 .listing-card-info-icon {
                flex: 1 1 0 !important;
                min-width: 0 !important;
                width: auto !important;
                margin: 0 !important;
                padding: 0.4rem 0.25rem !important;
                position: relative !important;
                background: #f1f5f9 !important;
                border-radius: 8px !important;
                text-align: center !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            .property-listing.property-2 .inc-fleat {
                margin: 0 !important;
                padding: 0 !important;
                color: #475569 !important;
                font-size: 12px !important;
                font-weight: 600 !important;
                line-height: 1.2 !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                gap: 0.3rem !important;
                white-space: nowrap !important;
            }
            .property-listing.property-2 .inc-fleat:before {
                display: none !important;
                content: none !important;
            }
            .property-listing.property-2 .inc-fleat i {
                font-size: 11px !important;
                color: #14b86c !important;
            }
            /* Tighter home section gaps between card grids */
            .sec-heading {
                margin-bottom: 1.25rem !important;
            }
            .sec-heading h2 {
                margin-bottom: 0.35rem !important;
            }
            .sec-heading p {
                margin-bottom: 0 !important;
            }
            /* Location cards — image + readable overlay caption */
            .location-listing,
            .ef-city-card {
                display: block !important;
                position: relative !important;
                height: auto !important;
                margin-top: 0 !important;
                margin-bottom: 1rem !important;
                overflow: hidden !important;
                border-radius: 16px !important;
                text-decoration: none !important;
                color: inherit !important;
            }
            .location-listing-thumb {
                display: block !important;
                width: 100% !important;
                padding: 0 !important;
                line-height: 0 !important;
                aspect-ratio: 3 / 2 !important;
                overflow: hidden !important;
            }
            .location-listing-thumb img {
                width: 100% !important;
                height: 100% !important;
                object-fit: cover !important;
                object-position: center !important;
                display: block !important;
                border-radius: 0 !important;
            }
            .location-listing-caption {
                position: absolute !important;
                left: 0 !important;
                right: 0 !important;
                bottom: 0 !important;
                top: auto !important;
                z-index: 2 !important;
                padding: 2rem 1rem 0.95rem !important;
                text-align: left !important;
                background: linear-gradient(180deg, transparent 0%, rgba(8, 15, 28, 0.88) 72%) !important;
                pointer-events: none !important;
            }
            .location-listing-caption h4 {
                margin: 0 0 0.35rem !important;
                font-size: 1.15rem !important;
                font-weight: 700 !important;
                line-height: 1.25 !important;
                color: #ffffff !important;
                text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
            }
            .location-listing-caption h4 a {
                color: #ffffff !important;
            }
            .location-listing-caption span,
            .location-listing-caption .theme-cl {
                display: inline-block !important;
                margin: 0 !important;
                font-size: 12px !important;
                font-weight: 700 !important;
                line-height: 1.2 !important;
                color: #34d399 !important;
                background: rgba(20, 184, 108, 0.22) !important;
                border: 1px solid rgba(20, 184, 108, 0.45) !important;
                padding: 0.25rem 0.65rem !important;
                border-radius: 999px !important;
            }
            /* Testimonial circular photos — clean single ring */
            .st-author-thumb {
                width: 64px !important;
                height: 64px !important;
                overflow: hidden !important;
                border-radius: 50% !important;
                flex: 0 0 64px !important;
                border: 2px solid rgba(255,255,255,.55) !important;
                box-shadow: 0 2px 8px rgba(0,0,0,.25) !important;
                background: #1e293b !important;
            }
            .st-author-thumb img {
                width: 100% !important;
                height: 100% !important;
                object-fit: cover !important;
                border-radius: 50% !important;
                border: 0 !important;
                display: block !important;
            }
            .smart-tes-author .st-author-box {
                display: flex !important;
                align-items: center !important;
                gap: 14px !important;
            }
            .fr-grid .agent-avatar img,
            .agency-list .agency-avatar img,
            .agents-grid .agents-grid-avatar img {
                width: 100% !important;
                height: 100% !important;
                object-fit: cover !important;
                border-radius: 50% !important;
            }

/* -- EstateFlow polished marketing sections -- */
.ef-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.ef-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,15,28,.35) 0%, rgba(8,15,28,.72) 58%, rgba(8,15,28,.9) 100%),
    linear-gradient(90deg, rgba(8,15,28,.55) 0%, rgba(8,15,28,.15) 60%, rgba(8,15,28,.35) 100%);
}
.ef-hero__inner {
  position: relative;
  z-index: 1;
  padding: 7rem 0 4.5rem;
}
.ef-hero__brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 .75rem;
  line-height: 1.05;
}
.ef-hero__title {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 600;
  max-width: 16ch;
  margin: 0 0 1rem;
  line-height: 1.25;
  color: #fff;
}
.ef-hero__lead {
  max-width: 38rem;
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.ef-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.ef-search-band {
  margin-top: -2.25rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1.5rem;
}
.ef-search-band__form {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 40px rgba(15,23,42,.12);
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
}
.ef-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
  margin-bottom: .35rem;
}
.ef-section { padding: 4.5rem 0; }
.ef-section--tint { background: #f5f7fa; }
.ef-section--dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 3.5rem 0;
}
.ef-step {
  height: 100%;
  padding: 1.5rem 1.25rem;
  border-left: 3px solid #14b86c;
  background: #fff;
}
.ef-step__num {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  color: #14b86c;
  margin-bottom: .65rem;
}
.ef-pathway {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none !important;
  border: 1px solid rgba(15,23,42,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ef-pathway:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15,23,42,.12);
  color: inherit;
}
.ef-pathway img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.ef-pathway__body { padding: 1.25rem 1.3rem 1.4rem; }
.ef-pathway__body h4 { margin-bottom: .45rem; }
.ef-pathway__body p { color: #64748b; margin-bottom: .75rem; }
.ef-pathway__body span { color: #14b86c; font-weight: 600; }
.ef-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 1.5rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
}
.ef-trust__actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.ef-media {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  min-height: 320px;
}
.ef-kicker {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  font-weight: 700;
  color: #14b86c;
  margin-bottom: .5rem;
}
.ef-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ef-checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .55rem;
}
.ef-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45rem;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: #14b86c;
}
.ef-panel {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  padding: 1.5rem;
  height: 100%;
}
.ef-value {
  height: 100%;
  padding: 1.35rem 1.2rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
}
.ef-value h5 { margin-bottom: .55rem; }
.ef-value p { color: #64748b; margin: 0; }
.ef-stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: .35rem;
}
.ef-stat span { color: rgba(255,255,255,.72); font-size: .92rem; }
.ef-team {
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
}
.ef-team img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.ef-team__body { padding: 1.1rem 1.15rem 1.3rem; }
.ef-contact-tile {
  height: 100%;
  padding: 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
}
.ef-contact-tile i {
  font-size: 1.4rem;
  color: #14b86c;
  display: inline-block;
  margin-bottom: .65rem;
}
.ef-contact-tile p { color: #64748b; margin: 0; }
.ef-map-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  min-height: 360px;
}
.ef-map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}
.ef-faq__item {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 14px;
  margin-bottom: .75rem;
  overflow: hidden;
}
.ef-faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: #0f172a;
}
.ef-faq__a {
  padding: 0 1.15rem 1.1rem;
  color: #64748b;
}
.ef-ai-result {
  margin-top: 1rem;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  white-space: pre-wrap;
  max-height: 340px;
  overflow: auto;
}
.ef-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.ef-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 767.98px) {
  .ef-hero { min-height: 78vh; }
  .ef-hero__inner { padding: 6rem 0 3rem; }
  .ef-search-band { margin-top: -1.25rem; }
  .ef-pathway img { height: 180px; }
}

/* Features dropdown — reliable under Inertia (theme nav JS often misses re-init) */
.navigation .nav-menu > li.ef-has-submenu { position: relative; }
.navigation .nav-menu > li.ef-has-submenu > .ef-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  z-index: 1200;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 14px 30px rgba(15,23,42,.12);
  border-radius: 12px;
  padding: .45rem 0;
  margin-top: .15rem;
}
.navigation .nav-menu > li.ef-has-submenu:hover > .ef-submenu,
.navigation .nav-menu > li.ef-has-submenu.nav-submenu-open > .ef-submenu,
.navigation .nav-menu > li.ef-has-submenu.open > .ef-submenu {
  display: block !important;
}
.navigation .nav-menu > li.ef-has-submenu.ef-submenu-right > .ef-submenu {
  left: auto;
  right: 0;
}
.navigation .nav-menu > li.ef-has-submenu > .ef-submenu > li > a,
.navigation .nav-menu > li.ef-has-submenu > .ef-submenu > li > .nav-link,
.navigation .nav-menu > li.ef-has-submenu > .ef-submenu > li > form > .nav-link {
  display: block;
  padding: .55rem 1rem;
  color: #0f172a;
  white-space: nowrap;
  text-align: left;
}
.navigation .nav-menu > li.ef-has-submenu > .ef-submenu > li > a:hover,
.navigation .nav-menu > li.ef-has-submenu > .ef-submenu > li > .nav-link:hover {
  background: #f3faf6;
  color: #14b86c;
}
.navigation .nav-menu > li.ef-has-submenu > .ef-submenu.ef-account-menu {
  min-width: 248px;
  border-radius: 0;
  padding: 0.55rem;
}
.navigation .nav-menu > li.ef-has-submenu > .ef-submenu .ef-logout-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(220, 38, 38, 0.28);
  background: #fff;
  color: #b91c1c;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.navigation .nav-menu > li.ef-has-submenu > .ef-submenu .ef-logout-btn:hover {
  background: #fef2f2;
  border-color: rgba(220, 38, 38, 0.5);
  color: #991b1b;
}
@media (max-width: 991.98px) {
  .navigation .nav-menu > li.ef-has-submenu > .ef-submenu {
    position: static;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    margin: 0;
    padding-left: .75rem;
  }
  .navigation .nav-menu > li.ef-has-submenu.ef-submenu-right > .ef-submenu {
    left: 0;
    right: auto;
  }
}

/* ==========================================================================
   ESTATEFLOW LUXURY HERO SLIDER (PREMIUM PROPERTY SHOWCASE)
   ========================================================================== */
.ef-hero-slider {
  position: relative;
  width: 100%;
  min-height: 680px;
  height: 84vh;
  max-height: 840px;
  overflow: hidden;
  background-color: #070d18;
  color: #ffffff;
  display: flex;
  align-items: center;
}
.ef-hero-slider__track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ef-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
}
.ef-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}
.ef-hero-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.0);
  transition: transform 7.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.ef-hero-slide.is-active .ef-hero-slide__bg {
  transform: scale(1.07);
}
.ef-hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 12, 22, 0.90) 0%, rgba(6, 12, 22, 0.72) 42%, rgba(6, 12, 22, 0.25) 100%),
    linear-gradient(180deg, rgba(6, 12, 22, 0.45) 0%, rgba(6, 12, 22, 0.15) 40%, rgba(6, 12, 22, 0.88) 100%);
  pointer-events: none;
}
.ef-hero-slide__container {
  position: relative;
  z-index: 3;
  padding-top: 5rem;
  padding-bottom: 5.5rem;
}
.ef-hero-slide__content {
  max-width: 760px;
}
.ef-hero-slide__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(20, 184, 108, 0.15);
  border: 1px solid rgba(20, 184, 108, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #34d399;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 7px 16px;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ef-hero-slide.is-active .ef-hero-slide__badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}
.ef-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: ef-pulse 2s infinite;
}
@keyframes ef-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.ef-hero-slide__title {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(2.1rem, 4.3vw, 3.6rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 1.15rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.ef-hero-slide.is-active .ef-hero-slide__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}
.ef-hero-slide__lead {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.62;
  margin: 0 0 1.25rem;
  max-width: 650px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.ef-hero-slide.is-active .ef-hero-slide__lead {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
.ef-hero-slide__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 1.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 14px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.ef-hero-slide.is-active .ef-hero-slide__tag {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.48s;
}
.ef-hero-slide__search {
  max-width: 760px;
  margin: 0 0 1.15rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.ef-hero-slide.is-active .ef-hero-slide__search {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}
.ef-hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.ef-hero-slide.is-active .ef-hero-slide__actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.62s;
}
.ef-hero-btn {
  font-weight: 600;
  padding: 0.85rem 1.85rem !important;
  border-radius: 8px !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.ef-hero-btn--primary {
  background: #14b86c !important;
  border-color: #14b86c !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(20, 184, 108, 0.35);
}
.ef-hero-btn--primary:hover {
  background: #0f9b5a !important;
  border-color: #0f9b5a !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(20, 184, 108, 0.5);
}
.ef-hero-btn--secondary {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff !important;
}
.ef-hero-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}
.ef-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10, 18, 30, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  z-index: 10;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}
.ef-slider-arrow:hover {
  background: #14b86c;
  border-color: #14b86c;
  color: #ffffff;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 6px 16px rgba(20, 184, 108, 0.4);
}
.ef-slider-arrow--prev {
  left: 14px;
}
.ef-slider-arrow--next {
  right: 14px;
}
.ef-slider-nav {
  position: absolute;
  bottom: 2.25rem;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}
.ef-slider-indicators {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}
.ef-slider-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 18, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 9999px;
  padding: 6px 14px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.ef-slider-indicator:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(10, 18, 30, 0.85);
}
.ef-slider-indicator.is-active {
  color: #ffffff;
  border-color: rgba(20, 184, 108, 0.7);
  background: rgba(20, 184, 108, 0.22);
}
.ef-indicator-progress {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.ef-indicator-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #10b981;
  border-radius: 3px;
}
.ef-slider-indicator.is-active .ef-indicator-bar {
  animation: ef-indicator-fill 6s linear forwards;
}
@keyframes ef-indicator-fill {
  from { width: 0%; }
  to { width: 100%; }
}
.ef-slider-counter {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  background: rgba(10, 18, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  pointer-events: auto;
}
.ef-counter-current {
  color: #34d399;
}
.ef-counter-divider {
  margin: 0 6px;
  opacity: 0.5;
}

@media (max-width: 991.98px) {
  .ef-hero-slider {
    min-height: 600px;
    height: auto;
  }
  .ef-hero-slide__container {
    padding-top: 4.5rem;
    padding-bottom: 5.5rem;
  }
  .ef-slider-arrow {
    display: none;
  }
  .ef-hero-slide__lead {
    font-size: 1rem;
  }
}
@media (max-width: 575.98px) {
  .ef-hero-slider {
    min-height: 560px;
  }
  .ef-hero-slide__title {
    font-size: 1.85rem;
  }
  .ef-hero-btn {
    width: 100%;
  }
  .ef-slider-nav {
    bottom: 1.25rem;
  }
  .ef-slider-indicator {
    padding: 4px 10px;
    font-size: 11.5px;
  }
  .ef-indicator-progress {
    width: 22px;
  }
}

/* Pricing feature lists (home + /pricing) */
.pricing-wrap .pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pricing-wrap .pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.4;
}
.pricing-wrap .pricing-features li:last-child {
  border-bottom: 0;
}
.pricing-wrap .pricing-features .fa-check {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

/* City cards need spacing when not in slick */
.location-listing {
  margin-bottom: 1.5rem;
}

/* FAQ accordion */
.ef-faq__item {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.ef-faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: #0f172a;
}
.ef-faq__a {
  padding: 0 1.15rem 1.1rem;
  color: #64748b;
}

/* Testimonials slider items */
.smart-textimonials .st-testimonial {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.5rem 1.65rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.smart-textimonials .st-testimonial p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #334155;
}

/* Feature icon boxes */
.middle-icon-large-features-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 184, 108, 0.12);
  color: #14b86c;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

/* Compact website sections + cards */
body.website-app section {
  padding: 52px 0;
}
body.website-app section.ef-hero-slider,
body.website-app .ef-hero-slider {
  padding: 0 !important;
  margin: 0 !important;
}
body.website-app .sec-heading {
  margin-bottom: 1.5rem !important;
}
body.website-app .sec-heading h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem) !important;
}
body.website-app .sec-heading p {
  font-size: 0.95rem !important;
}

.ef-stats-strip {
  padding: 1.25rem 0 !important;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.ef-stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  min-height: 0;
}
.ef-stat-card strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.ef-stat-card span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.ef-stat-card > i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex: 0 0 auto;
}
.ef-stat-card.widget-1 > i { background: #ecfdf5; color: #10b981; }
.ef-stat-card.widget-2 > i { background: #eff6ff; color: #3b82f6; }
.ef-stat-card.widget-3 > i { background: #fdf4ff; color: #d946ef; }
.ef-stat-card.widget-4 > i { background: #fff7ed; color: #f97316; }

body.website-app .pricing-wrap,
body.website-app .ef-pricing-card {
  padding: 1.25rem 1.2rem !important;
  border-radius: 16px !important;
  margin-bottom: 1rem !important;
  transform: none !important;
}
body.website-app .pricing-wrap.recommended,
body.website-app .ef-pricing-card.recommended {
  transform: none !important;
}
body.website-app .pricing-header .pr-title {
  font-size: 1rem !important;
  margin-bottom: 0.35rem !important;
}
body.website-app .pricing-header .pr-value {
  font-size: 1.85rem !important;
  margin-bottom: 0.35rem !important;
}
body.website-app .pricing-header .pr-value span {
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #64748b !important;
}
body.website-app .pricing-header p {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}
body.website-app .pricing-wrap .pricing-features {
  margin-bottom: 0.85rem !important;
}
body.website-app .pricing-wrap .pricing-features li {
  padding: 0.35rem 0;
  font-size: 0.88rem;
  gap: 0.45rem;
}
body.website-app .pricing-bottom .btn-pricing,
body.website-app .pricing-bottom .btn {
  padding: 0.55rem 1rem !important;
  font-size: 0.9rem !important;
}

.ef-agent-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  padding: 1.15rem 1rem 1.2rem;
  text-align: center;
}
.ef-agent-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  display: block;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.ef-agent-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.ef-agent-card h4 a {
  color: #0f172a;
}
.ef-agent-card h4 a:hover {
  color: #14b86c;
}
.ef-agent-card p {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}

.ef-testimonials {
  background: #fff;
}
.ef-testimonial-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  padding: 1.35rem 1.4rem;
}
.ef-testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 1rem;
}
.ef-testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ef-testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.ef-testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
}
.ef-testimonial-author span {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
}
.ef-testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
.ef-testimonial-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #cbd5e1;
}
.ef-testimonial-dots button.is-active {
  width: 22px;
  background: #14b86c;
}

/* Compact custom language switcher */
.ef-lang {
  position: relative;
  z-index: 40;
}
.ef-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ef-lang__btn:hover,
.ef-lang.is-open .ef-lang__btn {
  border-color: rgba(20, 184, 108, 0.45);
  box-shadow: 0 0 0 3px rgba(20, 184, 108, 0.12);
}
.ef-lang.is-busy .ef-lang__btn {
  opacity: 0.7;
  cursor: wait;
}
.ef-lang__flag {
  min-width: 1.4rem;
}
.ef-lang__caret {
  font-size: 10px;
  color: #64748b;
}
.ef-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}
.ef-lang__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 0.55rem 0.6rem;
  text-align: left;
  color: #0f172a;
}
.ef-lang__option:hover,
.ef-lang__option.is-active {
  background: #ecfdf5;
}
.ef-lang__code {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #14b86c;
  min-width: 1.5rem;
}
.ef-lang__name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
}
.ef-lang__check {
  color: #14b86c;
  font-size: 12px;
}
.ef-lang-switcher {
  margin-right: 0.35rem;
}

body.website-app .middle-icon-features-item {
  padding: 1rem 0.75rem !important;
  margin-bottom: 0.75rem !important;
}
body.website-app .location-listing,
body.website-app .ef-city-card {
  margin-bottom: 1rem;
}
body.website-app .location-listing-thumb img {
  height: 100% !important;
}
