/* Layout: sticky footer */
html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #ffffff;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 0px;
}

.pt-200 {
    padding-top: 100px;
}

.invalid {
    border: solid 1px red !important;
}

.valid {
    border: solid 1px #13d128 !important;
}


.cst-pd-p {
    padding-top: 0px;
}

/* Profile layout: tighten space below the header */
.user-dashboard.small-section {
    padding-top: 32px;
    padding-bottom: 40px;
    margin-top: 0;
}

.user-dashboard.small-section .container {
    margin-top: 0;
}

/* Parent container */
.position-relative {
    position: relative;
    /* Ensures the child elements (icon) are positioned relative to this container */
}

/* Text box */
.sm-ht {
    height: 40px;
    /* Adjust height for consistency */
    padding-right: 35px;
    /* Add space for the icon inside the input */
}

.abttn {
    position: absolute;
    top: 13%;
    font-size: 24px !important;
    cursor: pointer;
}

/* Default styles for LTR */
html[dir="ltr"] .abttn {
    right: 10px;
    left: auto;
}

/* Adjust styles for RTL */
html[dir="rtl"] .abttn {
    left: 10px;
    right: auto;
}



.dv-sign-up section {
    padding-top: 75px !important;
}

.video-search {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1140px;
}

.video-search .input-group-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 1rem 0.75rem !important;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.7;
    color: #212529;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.log-in form .form-group .input-group select {
    border: none;
    border-bottom: 1px solid #eee;
}

.property-wizard select {
    padding: 12px 20px 10px;
}

.filter-panel .grid-list-filter li {
    margin-bottom: -10px;
}

.p-top-p section {
    padding-top: 7px;
}

.font-18 {
    font-size: 18px !important;
}

.font-16 {
    font-size: 16px !important;
}

.cs-pad-tb5-lr10 {
    padding: 5px 10px 3px 10px;
}

.property-section .property-1 .property-details,
.property-section .property-2 .property-details {
    padding: 0px;
}

/* padding on home screen for property listings*/
.property-home-list {
    padding: 15px !important;
}

.property-details ul li:last-child {
    padding-left: 0;
}

.property-section .property-box .property-image .overlay-property-box .effect-round {
    margin-right: 5px;
}

.prp .column-sm>div {
    margin-bottom: 5px;
}

/* Modern search input wrapper */
.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 0.95rem;
    z-index: 10;
    pointer-events: none;
}

.search-input-wrapper .search-input-field {
    padding-left: 42px;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.search-input-wrapper .search-input-field:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.search-input-wrapper .search-input-field::placeholder {
    color: #9ca3af;
    font-size: 0.9rem;
}

.dropdownSearch {
    position: absolute;
    border: 1.5px solid #e5e7eb;
    min-height: 10px;
    max-height: 280px;
    overflow-y: auto;
    display: none;
    background: #ffffff;
    z-index: 1000;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdownSearch .dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
}

.dropdownSearch .dropdown-item:last-child {
    border-bottom: none;
}

.dropdownSearch .dropdown-item:hover {
    background: #f0f9ff;
    color: #1e40af;
    padding-left: 20px;
}

.dropdownSearch .dropdown-item:active {
    background: #dbeafe;
}

/* Modern scrollbar for dropdown */
.dropdownSearch::-webkit-scrollbar {
    width: 6px;
}

.dropdownSearch::-webkit-scrollbar-track {
    background: #f9fafb;
    border-radius: 0 0.5rem 0.5rem 0;
}

.dropdownSearch::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.dropdownSearch::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.dropdownSearch .dropdown-item i.fa-building {
    font-size: 0.85rem;
}

.prop-section {
    padding-top: 45px;
}

.prop-section-user,
.prop-section-user section {
    padding-top: 0px;
}


.plist ul li {
    padding-left: 5px !important;
    padding-right: 5px !important;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 5px;
}

.prop-text {
    font-size: 15px;
    font-weight: 500;
    color: #12171a;
    padding-bottom: 7px;
}

.font-19 {
    font-size: 19px !important;
}

.text-right {
    text-align: right;
}

.select2-results__options li {
    display: block !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 47px !important;
}

.select2-container--default .select2-selection--single {
    height: 45px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 9px !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    height: 43px !important;
}

/* Direction-aware dropdown chevrons for selects and Select2 */
html[dir="rtl"] .form-select {
    background-position: left .75rem center !important;
}

html[dir="ltr"] .form-select {
    background-position: right .75rem center !important;
}

html[dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__arrow {
    left: 8px !important;
    right: auto !important;
}

html[dir="ltr"] .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 8px !important;
    left: auto !important;
}

.infoBox .marker-detail .detail-part ul li {
    padding-left: 0px;
    padding-right: 0 !important;
    font-size: 13px;
}

.mapRate {
    font-size: 17px;
    font-weight: 700;
    color: #b64300;
}

.infoBox .marker-detail .detail-part ul {
    margin-bottom: 3px !important;
}


.login {
    margin-top: 5px;
}

.cst-logo {
    height: 65px;
}

.cst-cb-h .card-body {
    padding: 0 !important;
}

.cst-md-wd {
    width: 70% !important;
}

.propD .btn {
    float: right;
}

.propD {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.amentiesTable {
    width: 100%;
    border-collapse: collapse;
}

.amentiesTable tr {
    display: flex;
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
}

.amentiesTable td {
    display: block;
    /* Default block display for stacking on smaller screens */
    width: 100%;
    /* Full width on small screens */
    margin-bottom: 10px;
    /* Add spacing between items */
}

.amentiesTable td label {
    display: inline-block;
    /* Ensure inline-block mode for labels */
    width: auto;
    /* Adjust width based on content */
    text-align: left;
    /* Align text to the left */
}

.amentiesTable td label input {
    margin-right: 8px;
    /* Space between checkbox and text */
}


header .main-navbar .nav-menu>li {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

header .header-right .right-menu ul .dropdown {
    position: relative;
    padding: 10px !important;
}


























































@media (min-width: 768px) {
    .amentiesTable td {
        display: inline-block;
        /* Inline-block on larger screens */
        width: auto;
        /* Adjust based on content size */
        margin-right: 15px;
        /* Add spacing between items */
        margin-bottom: 0;
        /* Remove bottom margin for inline layout */
    }
}

.btn-login {
    display: flex;
    flex-wrap: wrap;
    /* Allow items to wrap to the next line */
    gap: 10px;
    /* Add spacing between buttons */
    justify-content: center;
    /* Center the buttons horizontally */
}

.btn-login span,
.btn-login a {
    flex: 1 1 auto;
    /* Allow flexible sizing and wrapping */
    text-align: center;
    /* Center align text within buttons */
}

@media (max-width: 768px) {


    .marker-detail {
        width: 200px;
    }

    .marker-detail img {
        min-width: 200px !important
    }

    .leaflet-popup-content {
        width: 200px !important
    }

    .infoBox .marker-detail {
        width: 200px;
        margin-left: -10px;
    }













    .btn-login {
        flex-direction: column;
        /* Stack items vertically on smaller screens */
        align-items: stretch;
        /* Stretch buttons to fit the container */
    }

    .btn-login span,
    .btn-login a {
        width: 100%;
        /* Make buttons full width on mobile */
    }
}


.dashboard-list .nav-tabs {
    flex-direction: column !important;
    /* Stack items vertically */
    width: 100%;
    /* Ensure full width for the vertical list */
}

.dashboard-list .nav-item {
    margin-bottom: 10px;
    /* Add spacing between items */
}

.dashboard-list .nav-link {
    text-align: left;
    /* Align the text to the left */
    padding: 10px 15px;
    /* Add padding for better spacing */
    width: 100%;
    /* Make the links take full width */
}

.dashboard-list .menu-toggle {
    display: none;
    /* Hide the toggle button since this is for desktop */
}

.cur {
    font-weight: 500;
    font-size: 11px
}

.ml-2 {
    margin-left: 15px;
}

.property-details ul {
    margin-bottom: 5px !important;
}




.cst-ul {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    align-items: center;
    /* Center vertically */
    justify-content: center;
}

/* Center items horizontally on mobile screens */
@media (max-width: 768px) {
    .cst-ul {
        justify-content: center;
        /* Center items horizontally */
    }
}

.cst-ul li {
    align-items: center;
    /* Center content vertically */
    justify-content: center;
    /* Center content horizontally */

    overflow: hidden;
    /* Clip overflowing content */
    text-overflow: ellipsis;
    /* Show ellipsis when content overflows */
    white-space: nowrap;
    /* Prevent line breaks */
    max-width: calc(100% / 5);
    /* Dynamically allocate width based on the number of items */
}

.cst-ul li span,
.cst-ul li i {
    overflow: hidden;
    /* Ensure ellipsis applies to child content */
    text-overflow: ellipsis;
    /* Display ellipsis */
    white-space: nowrap;
    /* Prevent wrapping of child content */
}



.cst-abs {
    position: absolute;
    bottom: 5px;
    right: 10px;
}


























@media (max-width: 768px) {
    s .dashboard-list {
        position: relative;
    }

    .dashboard-list .menu-toggle {
        display: none;
        /* Hidden by default */
        position: fixed;
        top: 21%;
        left: 0px;
        z-index: 1001;
        background-color: #ffffff;
        border: none;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .dashboard-list .nav-tabs {
        position: fixed;
        /* Position menu on the left */
        top: 0;
        left: -300px;
        /* Hidden off-screen initially */
        width: 300px;
        /* Sidebar width */
        height: 100%;
        background-color: #f8f9fa;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        /* Enable scrolling for longer menus */
        z-index: 1000;
        padding: 15px;
        transition: left 0.3s ease;
        /* Smooth sliding effect */
        flex-direction: column;
        display: flex;
    }

    .dashboard-list .nav-tabs.show {
        left: 0;
        /* Slide in from the left */
    }

    .dashboard-list .nav-tabs .nav-item {
        margin-bottom: 10px;
    }

    .dashboard-list .nav-tabs .nav-link {
        text-align: left;
        padding-left: 20px;
        position: relative;
    }

    .dashboard-list .nav-tabs .nav-link i {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-toggle.reverse i {
        transform: rotate(180deg);
        /* Rotate arrow */
    }

    .dashboard-list .menu-toggle {
        display: block !important;
        /* Show toggle button on mobile */
    }

    .dashboard-list .nav-tabs {
        display: flex !important;
        /* Sidebar menu, hidden off-screen initially */
    }
}




.dftbl {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align content for consistency */
    gap: 15px;
    /* Add spacing between elements */
}

.dftbl .table-borderless {
    width: 100%;
    /* Ensure table takes full width */
}

.dftbl .table-borderless tr {
    display: flex;
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
}

.dftbl .table-borderless td {
    width: 50%;
    /* Two columns on larger screens */
    padding: 10px;
}

@media (max-width: 768px) {
    .dftbl .table-borderless tr {
        flex-direction: column;
        /* Stack items vertically on mobile */
    }

    .dftbl .table-borderless td {
        width: 100%;
        /* Full width for each cell on smaller screens */
    }

    .dftbl button {
        width: 100%;
        /* Make the button full width for better usability */
    }
}


.single-property .description-section .single-feature ul li i {
    color: #8b8b8b;
    margin-right: 6px;
    vertical-align: 2px;
    font-size: 17px;
}






.cst-pb-mob {
    padding: 0 5px;
}






.sm-ht {
    height: 55px;
    padding: 9px 18px;
    border-radius: 25px;
}


/*Media queries for small screen*/
@media (max-width: 600px) {
    .cst-slider {
        background-position: center;
    }

    .video-search {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .dropdownSearch {
        left: 0;
        right: 0;
    }

    .cst-logo {
        height: 40px;
    }

    .p-top-p section {
        padding-top: 5px;
    }

    .cst-pd-p {
        padding-top: 0px;
        padding-bottom: 0px
    }

    .cst-pd-p-ul>ul {
        display: inline-block !important;
    }

    .cst-pb-mob {
        margin-bottom: 5px;
    }

    .rounded {
        padding-bottom: 2rem !important;
    }

    .cst-md-wd {
        width: 100% !important;
    }

    .pt-200 {
        padding-top: 50px;
    }
}

/* Styles for devices with width between 601px and 1024px */
@media (min-width: 601px) and (max-width: 1024px) {
    .cst-slider {
        background-position: center;
    }

    .video-search {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}


@media (max-width: 768px) {

    header .main-navbar .nav-menu>li {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 0px;
        padding-top: 30px;
    }

    .smNone {
        display: none !important;
    }

    .d-sm-none {
        display: none !important;
    }

    .sm-ht {
        height: 55px;
        padding: 8px 18px;
    }

    #mapleaf {
        height: 0px
    }


    /* Filter list side panel for mobile */
    .filter-panel .grid-list-filter {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 80% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: #fff !important;
        z-index: 1001 !important;
        overflow-y: auto !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
        transition: left 0.3s ease !important;
        padding: 1.5rem 1rem !important;
        display: block !important;
    }

    /* Show filter list when active */
    .filter-panel .grid-list-filter.active {
        left: 0 !important;
    }

    /* Overlay styles for mobile */
    .filter-panel .filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        transition: opacity 0.3s ease;
    }

    /* Show overlay when active */
    .filter-panel .filter-overlay.active {
        display: block !important;
    }

    /* Sticky Filter Bar for Mobile - Always Visible */
    .filter-panel .top-panel {
        position: sticky !important;
        top: 60px !important;
        z-index: 998 !important;
        background: #ffffff !important;
        padding: 0.4rem 0 !important;
        margin-bottom: 0.25rem !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    /* Mobile Filter Action Bar - Combined Map and Filter Icons */
    .mobile-filter-actions {
        display: flex !important;
        gap: 0.5rem !important;
        justify-content: flex-end !important;
        align-items: center !important;
        padding: 0 0.75rem !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Hide mobile filter actions on desktop */
    @media (min-width: 992px) {
        .mobile-filter-actions {
            display: none !important;
        }
    }

    /* Display filter icon on mobile */
    .filter-panel .filter-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        height: 38px !important;
        cursor: pointer !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
        background: #ffffff !important;
        border-radius: 8px !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        transition: all 0.2s ease !important;
        margin: 0 !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }

    .filter-panel .filter-icon:hover,
    .filter-panel .filter-icon:active {
        background: #f8f9fa !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
        transform: translateY(-1px) !important;
    }

    .filter-panel .filter-icon i {
        font-size: 16px !important;
        color: #0d6efd !important;
    }

    .mobile-filter-actions .map-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        height: 38px !important;
        cursor: pointer !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
        background: #ffffff !important;
        border-radius: 8px !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        transition: all 0.2s ease !important;
        margin: 0 !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }

    .mobile-filter-actions .map-icon:hover,
    .mobile-filter-actions .map-icon:active {
        background: #f8f9fa !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
        transform: translateY(-1px) !important;
    }

    .mobile-filter-actions .map-icon .fa-map {
        position: static !important;
        font-size: 16px !important;
        color: #0d6efd !important;
        padding: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        right: auto !important;
    }

    /* Desktop map icon styling - keep original position */
    @media (min-width: 992px) {
        .map-icon {
            display: block;
            text-align: right;
            position: relative;
            background: #ffffff;
            height: 45px;
            margin-bottom: 3px;
        }

        .map-icon .fa-map {
            box-shadow: 0px 0px 1px 1px rgb(231 230 230);
            position: absolute;
            cursor: pointer;
            border-radius: 5px;
            font-size: 17px;
            right: 37px;
            padding: 10px;
        }
    }

    /* Ensure each <li> appears in a new line */
    .filter-panel .grid-list-filter li {
        display: block;
        /* Makes each <li> block-level */
        width: 100%;
        /* Ensures it spans the full width */
        margin-bottom: 10px;
        /* Optional: Adds space between items */
    }

    /* Optional: Style dropdowns for better usability on mobile */
    .filter-panel .grid-list-filter li .dropdown {
        width: 100%;
        /* Adjust dropdown width */
    }

    /* Optional: Adjust text alignment if needed */
    .filter-panel .grid-list-filter li span {
        text-align: left;
        /* Aligns text to the left */
    }

    .cst-mob {
        z-index: 1100 !important;
    }

    .property-section .property-2 .property-box .property-image .labels-left,
    .property-section .property-box-flat .property-box .property-image .labels-left {
        left: 15px !important;
    }

    #amenitiesTable {
        font-size: 19px;
    }

    .cst-md-tbl {
        display: table;
        /* Transform the table into a block */
        width: 100%;
        font-size: 19px;
    }

    .cst-md-tbl tr {
        display: block;
        /* Each row becomes a block */
        margin-bottom: 10px;
    }

    .cst-md-tbl td {
        display: block;
        /* Each cell becomes a block */
        width: 100%;
        /* Full width */
        padding: 5px;
    }

    .cst-md-tbl td i {
        margin-right: 30px;
        /* Adds spacing between icon and text */
    }

    /* Optional: Add a visual style for mobile */
    .cst-md-tbltd {
        background-color: #f9f9f9;
    }
}




/* Styles for devices with width 1025px and above */
@media (min-width: 1025px) {
    .filter-panel .filter-icon {
        display: none;
    }

    .modal-lg,
    .modal-xl {
        max-width: 90%;
    }
}

/* Gallery Buttons Styling */

.appartmentGallery {
    position: relative;
    width: 100%;
}


.gallery-btn {
    position: absolute;
    top: 50%;
    /* Center vertically */
    transform: translateY(-50%);
    border: none;
    padding: 0px 5px;
    /* Button size */
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    background-color: #0d6efd;
    color: white;
}

.gallery-btn SPAN {
    color: white;
}

/* Initial Style for Previous Button */
#prevImageBtn {
    position: absolute;
    left: -30px;
    /* Initial position to the left */
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    /* Initially hidden */
    visibility: hidden;
    /* Initially invisible */
    transition: all 0.5s ease;
    /* Smooth transition for hover effect */
}

/* Initial Style for Next Button */
#nextImageBtn {
    position: absolute;
    right: -30px;
    /* Initial position to the right */
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    /* Initially hidden */
    visibility: hidden;
    /* Initially invisible */
    transition: all 0.5s ease;
    /* Smooth transition for hover effect */
}

/* Hover Effect on Parent Container */
.btnhovers:hover #prevImageBtn {
    left: 10px;
    /* Move closer to the image */
    opacity: 1;
    /* Make visible */
    visibility: visible;
    /* Make interactable */
}

.btnhovers:hover #nextImageBtn {
    right: 10px;
    /* Move closer to the image */
    opacity: 1;
    /* Make visible */
    visibility: visible;
    /* Make interactable */
}


.dots-container {
    text-align: center;
    /* Center dots horizontally */
    margin-top: 15px;
    position: absolute;
    /* Position at the bottom of the parent container */
    bottom: 10px;
    /* Adjust distance from the bottom */
    left: 50%;
    /* Center horizontally within the container */
    transform: translateX(-50%);
    /* Correct centering offset */
    display: flex;
    /* Use flexbox for better alignment */
    justify-content: center;
    /* Ensure items are centered */
    gap: 10px;
    /* Add spacing between dots */
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #0d6efd;
    /* Active dot color */
}



.mt-60 {
    margin-top: 60px !important;
}

.mt-100 {
    margin-top: 100px !important;
}


/* Icons for Previous and Next Buttons */
.fas,
.fab {
    font-size: 15px;
    /* Adjust icon size */
    color: #736f6f;
}

.fa-search-location:before {
    color: #007bff;
}

header.header-2 {
    background-color: #fff;
    /*height: 68px ;*/
}

/*.property-section .property-box .property-image .property-slider .slick-dots li.slick-active button::before{
 color: #007bff;
}


*/

.ptype-main li {
    display: block;
}



.mr-35 {
    margin-right: 35px !important;
}

@media (max-width: 768px) {
    .mr-35 {
        margin-right: 35px !important;
    }

    .mr-33 {
        margin-right: 33px !important;
    }

    .mr-31 {
        margin-right: 31px !important;
    }

    .mr-30 {
        margin-right: 30px !important;
    }
}


.tb-dtls {
    margin-top: 25px;
}

.table> :not(caption)>*>* {
    padding: 0.2rem 0.5rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: .5px;
    -webkit-box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}


/* Remove border for the last row of each inner table */
.table.tb-dtls tr:last-child td {
    border-bottom: none;
}




.dvMain .no-boder-bttm {
    border-spacing: 0 3px;
    /* Horizontal spacing is 0, vertical spacing is 7px */
    border-collapse: separate;
    /* Ensure border-spacing works */
    margin-bottom: 0px;
}

.no-boder-bttm tr {
    background-color: #f9fbfb;
    border-radius: 5px;
    margin-bottom: 7px;
}

.dt-cst-img {
    height: 220px;
}

.no-boder-bttm thead,
td {
    border-width: 0;
    border-color: #ecedef66 !important;
}

.filter-panel {
    padding: 0 0 5px;
    margin-bottom: 0px;
    border-bottom: 1px solid #eee;
}




@media (max-width: 768px) {
    .property-wizard.horizontal-wizard .wizard-box .wizard-step-container .wizard-form-details .text-end p a {
        margin-left: auto;
        display: table;
        text-align: center;
        margin-top: 10px;
    }

    .table.tb-dtls tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 0px;
        /* Adds spacing between rows */
        background-color: #f9f9f9;
        /* Optional: Add a background color for better separation */
        border-radius: 5px;
        /* Optional: Rounded corners for rows */
    }

    .table.tb-dtls td {
        flex: 0 0 100%;
        /* Makes each cell occupy full width */
        padding: 5px 7px;
        /* Padding for better readability */
        box-sizing: border-box;
        /* Includes padding and border in width */
        border-bottom: 1px solid #eeeff0;
        /* Consistent border for all cells */
    }

    .table.tb-dtls td:last-child {
        border-bottom: 1px solid #eeeff0;
        /* Ensure the last cell retains its border */
    }

    .table.tb-dtls tr:last-child td {
        border-bottom: 1px solid #eeeff0;
        /* Remove the bottom border for the last row only */
    }

    .tb-dtls {
        margin-top: 2px;
    }

    .responsive-table {
        overflow-x: initial;
        /* Ensure responsive behavior */
    }

    .btn-pill {
        width: 100%;
    }

    .propD .table {
        margin-bottom: 3px !important;
    }
}

.no-boder-bttm {
    border-color: transparent !important;
}


.prop-details .spc-lft {
    margin-left: 35px;
}

.prop-details .spc-lft-31 {
    margin-left: 31px;
}

.prop-details label {
    margin: 3px;
}

#prevImageBtn .fas,
#nextImageBtn .fas {
    font-size: 11px !important;
}



fieldset {
    border: 2px solid #007bff;
    border-radius: 10px;

}

legend {
    font-size: 1.2rem;
    color: #0d6efd;
    padding: 0 10px;
    padding-bottom: 0px;
    font-weight: bold;
    text-align: center;
}


.ft-600 {
    font-weight: 600;
}

.fc-grey {
    color: #4e4c4c;
}

.horizontal-list li {
    display: inline-block;
    /* Ensure items are inline */
    padding: 5px 10px;
    /* Add some padding */
    border: 1px solid #ddd;
    /* Optional: Add border for styling */
    border-radius: 4px;
    /* Optional: Add rounded corners */
    background-color: #f9f9f9;
    /* Optional: Add background color */
}

.border {
    border: none !important;
    box-shadow: 3.346px 3.716px 22.5px rgba(0, 0, 0, 0.07);
}

.cst-grp {
    width: 65%;
}

.prop-details {
    display: flex;
    flex-wrap: wrap;
    /* Allow items to wrap to the next row */
    list-style: none;
    /* Remove default list styling */
    padding: 0;
    margin: 0;
    gap: 10px;
    /* Add consistent spacing between items */
}

.prop-details li {
    width: calc(33.333% - 10px);
    /* Each item takes 1/3 of the row minus spacing */
    margin: 0;
    /* Remove extra margin (gap handles spacing) */
    box-sizing: border-box;
    /* Include padding and border in width */
    display: flex;
    align-items: center;
    /* Align icons and labels vertically */
    text-align: left;
    /* Default text alignment for LTR */
}

/* Icon and Label Spacing */
.prop-details li i {
    margin-right: 10px;
    /* Space between icon and label for LTR */
}

/* RTL Styles */
.prop-details[dir="rtl"] {
    direction: rtl;
    /* Set direction to RTL */
    text-align: right;
    /* Align text to the right */
}

.prop-details[dir="rtl"] li i {
    margin-right: 0;
    /* Reset LTR margin */
    margin-left: 10px;
    /* Space between icon and label for RTL */
}

.nFloor {
    font-size: 14px;
    font-weight: 500;
    color: black
}

/* Mobile Styles */
@media (max-width: 768px) {

    legend {
        text-align: center
    }




    .prop-details li {
        width: 100%;
        /* Full width on smaller screens */
    }

    .dots-container {
        bottom: 35px;
    }


    .nFloor {
        font-size: 14px;
        font-weight: 500;
        color: black;
        margin-bottom: 35px;
    }
}


#togglePassword {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    right: 10px;
}







#clickhere {
    cursor: pointer;
}

.property-map .filter-panel {
    margin-bottom: 20px;
    border-bottom: none;
}

#lblDistrict {
    margin-bottom: 0;
}

.riyal {
    margin-right: 31px;
}




.mr-33 {
    margin-right: 33px !important;
}

.mr-31 {
    margin-right: 31px !important;
}

.mr-30 {
    margin-right: 30px !important;
}

@media (max-width: 768px) {
    .mr-sset1 {
        margin-right: 30px !important;
    }

    .m-set2 {
        margin-right: 34px !important;
    }

    .mr-m31 {
        margin-right: 31px !important;
    }

    .mr-m30 {
        margin-right: 30px !important;
    }

    /* Mobile design for Details buttons on Properties page */
    .property-map .property-box .property-btn {
        position: relative !important;
        margin-top: 0.75rem !important;
        justify-content: flex-end !important;
        display: flex !important;
    }

    .property-map .property-box .property-btn .btn,
    .details-btn {
        min-height: 44px !important;
        padding: 0.6rem 1.2rem !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25) !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        width: auto !important;
        max-width: 50% !important;
        white-space: nowrap !important;
    }

    .property-map .property-box .property-btn .btn::after,
    .details-btn::after {
        content: '→';
        font-size: 18px;
        display: inline-block;
        margin-left: 0.5rem;
    }

    .property-map .property-box .property-btn .btn:hover,
    .property-map .property-box .property-btn .btn:active,
    .details-btn:hover,
    .details-btn:active {
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25) !important;
    }

    /* RTL Support */
    [dir="rtl"] .property-map .property-box .property-btn .btn::after,
    [dir="rtl"] .details-btn::after {
        content: '←';
        margin-left: 0;
        margin-right: 0.5rem;
    }

}



.plan-card {
    box-shadow: 0px 0px 2px 0px #838080;
    border-radius: 5px;
    padding: 15px;
    background: #fff;
    transition: 0.3s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure all cards have the same height */
}

.plan-card:hover {
    transform: translateY(-3px);
    border-color: #007bff;
    background-color: #dbf2f2ff;
}

.plan-card input[type="radio"] {
    position: absolute;
    top: 18px;
    right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.plan-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.price {
    font-size: 1rem;
    color: #ff5c41;
    font-weight: bold;
    margin-bottom: 5px;
    border-bottom: dashed 1px #d0d0d0;
}

.bb {
    border-bottom: dashed 1px #d0d0d0;
    padding-bottom: 5px;
    margin-bottom: 5px !important;
}

.features {
    flex-grow: 1;
    /* Ensures all cards expand evenly */
}

.btn-container {
    text-align: center;
    margin-top: 20px;
}

.property-wizard.horizontal-wizard .wizard-box .wizard-step-container .wizard-steps li {
    display: inline-block;
    margin: 5px !important;
}


#txtEnglish,
#txtAbrabic {
    font-size: 15px;
    color: black !important;
    font-weight: 500;
    padding: 5px
}


.cst-table th {
    background-color: #e9eef6;
    padding: 5px;
}

.cst-table td {

    padding: 10px;
    color: #515151
}

.cst-fieldSet {

    border: dashed 1px #e6822d;
    padding: 15px;
    margin-bottom: 15px
}

.cst-legend {

    margin-bottom: 20px;
    text-decoration: underline;


}

form label {
    color: #586167;
    margin-left: 3px;
}

.spc-lft {
    margin-left: 0;
    /* Reset margin for RTL */
    margin-right: 35px;
    /* Add margin for RTL */
}

.spc-lft-31 {
    margin-left: 0;
    /* Reset margin for RTL */
    margin-right: 31px;
    /* Add margin for RTL */
}

.sortable {
    cursor: pointer;
    position: relative;
    padding-right: 20px;
}

[dir="ltr"] .sortable::after {

    position: absolute;
    right: 15px;
    font-size: 16px;
    color: rgb(47 94 255);
}

.sortable.sorted-asc::after {

    color: blue;
    font-size: 16px;
}

.sortable.sorted-desc::after {

    color: blue;
    font-size: 16px;
}

@media (max-width: 575px) {
    .line-tab.nav-tabs {
        display: flex;
        text-align: center;
    }

    #top-tab.nav-tabs .nav-link {
        padding: 5px;
    }
}

@media (max-width: 420px) {
    h2 {
        font-size: 17px;
    }




}

.filter-cards .advance-card>h6::before {
    bottom: -6px;
    width: 100%;
}

.cst-font-heading {
    font-family: cursive;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #090909;
    background-color: #fff;
    border-color: #ffffff #ffffff #0d6efd;
    border-bottom-width: 2px;
}

#apartmentTabs {
    border-bottom: none !important;
    margin-bottom: 5px;
}

#apartmentTabs .nav-link {
    font-size: 14px;
}


@media only screen and (max-width: 767px) {

    /* Styles for mobile devices */
    body {
        font-size: 16px;
    }

    .container {
        padding: 10px;
        flex-direction: column;
    }

    /* Add your mobile-specific styles here */




    .prop-details .spc-lft {
        margin-left: 31px;
    }

    .prop-details .m35 {
        margin-left: 35px !important;
    }

    .prop-details .m33 {
        margin-left: 33px !important;
    }

    .gallery-btn {
        padding: 5px 13px;

    }
}

.clr-blue {
    color: rgb(47 94 255);

}

.cur::before {
    color: rgb(47 94 255);
}

.vertical-align-center {
    display: flex;
    align-items: center;
    /* vertical centering */
    justify-content: center;
    /* optional: horizontal centering */
}

.abso {
    padding-top: 10px;
}

.fa-arrow-right:before {
    content: "\f061";
    color: white;
}

.fa-paper-plane:before,
.fa-arrow-up:before {
    color: white;
}

/* Subtle divider for all footers */
footer,
.footer,
.sub-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    position: relative;
    z-index: 1;
}

/* Footer adjustments */
.footer.footer-bg {
    background: linear-gradient(135deg, rgba(20, 40, 73, 0.98) 0%, rgba(13, 32, 62, 0.99) 50%, rgba(4, 19, 40, 1) 100%);
    position: relative;
    color: #dee9f8;
}

.footer.footer-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 117, 163, 0.25) 0%, rgba(18, 45, 80, 0.45) 60%, rgba(7, 26, 51, 0.65) 100%);
    pointer-events: none;
}

.footer.footer-bg>.container {
    position: relative;
    z-index: 1;
}

.footer-highlight {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 30px 25px;
    box-shadow: 0 18px 45px rgba(10, 33, 64, 0.35);
    color: #15406f;
    text-align: center;
}

.footer-highlight img {
    display: block;
    margin: 0 auto 18px;
    filter: drop-shadow(0 8px 20px rgba(15, 31, 54, 0.25));
}

.footer-highlight p,
.footer-highlight h6,
.footer-highlight a {
    color: #15406f;
}

.footer-highlight h6 {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-highlight .icon-list {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-highlight .icon-list li a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(17, 64, 119, 0.12);
    color: #15406f;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-highlight .icon-list li a:hover {
    background-color: #0071d0;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer.footer-bg .footer-links h5,
.footer.footer-bg .footer-links a,
.footer.footer-bg .footer-links p,
.footer.footer-bg .footer-links span,
.footer.footer-bg .footer-title,
.footer.footer-bg .footer-content li a {
    color: #f0f5ff;
}

.footer.footer-bg .footer-title {
    letter-spacing: 0.6px;
}

.footer.footer-bg .footer-title:after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin-top: 0.5rem;
    background-color: rgba(223, 235, 255, 0.55);
}

.footer.footer-bg .footer-content li a:hover {
    color: #b7d6ff;
}

.mr-10 {
    margin-right: 10px;
}

.select2-container--default .select2-selection--single {

    border-radius: 25px !important;
    height: 50px !important
}

.fa-lgg {
    font-size: 1.7em;
    line-height: 0.75em;
    vertical-align: -.0667em;
}

/* Feature highlight (services redesign) */
.service-highlight {
    background: #f7fbff;
}

.service-highlight {
    background: linear-gradient(135deg, rgba(235, 244, 255, 0.6), #f8fbff);
}

.service-highlight .feature-shell {
    background: #fff;
    border-radius: 15px;
    padding: clamp(2rem, 4vw, 3.75rem);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06), 0 3px 8px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.03);
    max-width: 1360px;
    margin-inline: auto;
}

.banner-section {
    position: relative;
    z-index: 1;
}

.hero-main {
    position: relative;
    z-index: 1;
}

.hero-search-container {
    position: relative;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-search-floating {
    position: absolute;
    left: 50%;
    bottom: -4rem;
    transform: translateX(-50%);
    width: min(100%, 1440px);
    z-index: 5;
    transition: opacity .2s ease;
    padding: 0 1rem;
}

.hero-search-floating .video-search .row {
    border-radius: 18px;
}

.hero-search-floating .mobile-search-wrapper {
    margin-top: 1rem;
}

.hero-search-buffer {
    height: .5rem;
}

@media (max-width: 767.98px) {
    .hero-search-floating {
        position: static;
        transform: none;
        width: 100%;
        bottom: auto;
    }

    .hero-search-buffer {
        height: .5rem;
    }
}

.feature-visual {
    position: relative;
    width: min(360px, 80vw);
    margin: 0 auto;
}

.feature-visual__halo {
    position: absolute;
    inset: -6%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 117, 245, .25), transparent 70%);
    filter: blur(10px);
    z-index: 0;
}

.feature-visual__img {
    position: relative;
    z-index: 1;
    aspect-ratio: 1/1;
    border-radius: 50%;

    background-position: center;
    box-shadow: 0 35px 65px rgba(15, 23, 42, 0.25);
    border: 18px solid #fff;
}

.feature-visual__badge {
    position: absolute;
    bottom: 20px;
    right: -10px;
    background: #fff;
    border-radius: 999px;
    padding: .35rem 1rem;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.15);
    z-index: 2;
}

.feature-visual__badge i {
    color: #0d6efd;
}

.feature-copy__eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .85rem;
    color: #7a8ba8;
    margin-bottom: .5rem;
}

.feature-card-grid .feature-card {
    display: flex;
    gap: 14px;
    border-radius: 18px;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
    align-items: flex-start;
}

.feature-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(11, 117, 245, 0.15), rgba(11, 117, 245, 0.25));
    color: #0550c3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* RTL feature card styles moved to ar-sheet.css */


.property-section {
    /* background: linear-gradient(180deg, #f6f8ff 0%, #eef4ff 35%, #f7fbff 100%); */
    padding-top: clamp(0rem, .5vw, .5rem);
    padding-bottom: clamp(1.75rem, 3vw, 3.5rem);
    margin-top: 2rem;
}

@media (max-width: 767px) {
    .property-section {
        margin-top: 0;
        padding-top: 0;
    }
}



.property-shell {
    background: #fff;
    border-radius: 15px;
    padding: clamp(2rem, 4vw, 3.75rem);
    /* box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06), 0 3px 8px rgba(15, 23, 42, 0.05); */
    border: 1px solid rgba(15, 23, 42, 0.03);
    margin-inline: auto;
}

.property-section .title-2 {
    text-align: center;
    margin-bottom: 2rem;
}

.section-pill {
    display: inline-block;
    padding: .55rem 1.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d6efd, #0a3c7d);
    color: #fff;
    font-weight: 600;
    letter-spacing: .02em;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.25);
}

.property-section .property-box {
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.property-section .property-details {
    padding: 1.75rem;
}

.property-section .property-btn .btn {
    border-radius: 30px;
    border-width: 2px;
}

/* Property list "Details" button (desktop + mobile) */
.property-map .property-btn .btn.btn-dashed.btn-pill.color-2,
.btn.details-btn {
    min-height: 44px !important;
    padding: 0.6rem 1.2rem !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: auto !important;
    white-space: nowrap !important;
}

.property-map .property-btn .btn.btn-dashed.btn-pill.color-2::after,
.btn.details-btn::after {
    content: '→';
    font-size: 18px;
    display: inline-block;
}

.property-map .property-btn .btn.btn-dashed.btn-pill.color-2:hover,
.property-map .property-btn .btn.btn-dashed.btn-pill.color-2:active,
.btn.details-btn:hover,
.btn.details-btn:active {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #ffffff;
    border: none;
}

[dir="rtl"] .property-map .property-btn .btn.btn-dashed.btn-pill.color-2::after,
[dir="rtl"] .btn.details-btn::after {
    content: '←';
}

.sub-footer {
    background: linear-gradient(180deg, #f6f7f7 0%, #f1f3f7 70%, #dce2ef 100%);
    color: #0f2144;
}

.sub-footer .contact-item svg,
.sub-footer .contact-item span {
    color: #0f2144;
}

.sub-footer .footer-logo-img {
    filter: drop-shadow(0 5px 12px rgba(15, 33, 68, 0.25));
}

/* Mobile footer styles */
.mobile-footer {
    background: #fff;
    border-top: 1px solid #ededed;
}

.mobile-footer {
    background: #fff;
    border-top: 1px solid #ededed;
}

.mobile-footer .mobile-social a {
    color: #6b7280;
    font-size: 20px;
    padding: 0 8px;
}

.mobile-footer .mobile-social a:hover {
    color: #0d6efd;
}

.mobile-footer .mobile-links a {
    color: #4b5563;
    text-decoration: none;
    margin: 0 6px;
}

.mobile-footer .mobile-links a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .mobile-footer {
        display: none !important;
    }
}

/* Mobile home search bar */
@media (max-width: 767.98px) {
    .mobile-search-wrapper {
        position: relative;
        margin-top: -28px;
        z-index: 2;
    }

    .mobile-search-card {
        background: #ffffff;
        border-radius: 14px;
        padding: 10px 12px;
    }

    .mobile-search-btn {
        width: 48px;
        height: 48px;
        border-radius: 10px;
        background: #0d6efd;
        color: #fff;
        border: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-search-btn i {
        color: #fff;
        font-size: 18px;
    }

    .mobile-field label {
        font-size: 12px;
        color: #6b7280;
        margin: 0 0 4px;
    }

    .mobile-field .form-select {
        border: none;
        box-shadow: none;
        padding: 0;
        background-color: #ffffff;
    }

    .mobile-field .form-select:focus {
        box-shadow: none;
    }

    .mobile-divider {
        border-inline-end: 1px solid #e5e7eb;
    }

    html[dir="rtl"] .mobile-divider {
        border-inline-end: none;
        border-inline-start: 1px solid #e5e7eb;
    }
}

/* When slide menu is open, hide search bars and any select2 instances */
body.menu-open .mobile-search-wrapper,
body.menu-open .video-search,
body.menu-open .select2-container {
    display: none !important;
}

body.menu-open .hero-search-floating {
    opacity: 0;
    pointer-events: none;
}

/* Mobile search bar: direction-aware ordering */
@media (max-width: 767.98px) {
    .mobile-search-card .row {
        display: flex;
        flex-wrap: nowrap;
    }

    .mobile-search-card .ms-col-btn {
        flex: 0 0 auto;
    }

    .mobile-search-card .ms-col-type,
    .mobile-search-card .ms-col-neighborhood {
        flex: 1 1 0;
    }

    /* RTL visual order: [Neighborhood] [Type] [Search] (search on left) */
    html[dir="rtl"] .mobile-search-card .ms-col-neighborhood {
        order: 1;
    }

    html[dir="rtl"] .mobile-search-card .ms-col-type {
        order: 2;
    }

    html[dir="rtl"] .mobile-search-card .ms-col-btn {
        order: 3;
    }

    /* Divider between Neighborhood and Type (on right side of Type in RTL) */
    html[dir="rtl"] .mobile-search-card .ms-col-type {
        border: none;
        border-inline-start: 1px solid #e5e7eb;
    }

    html[dir="rtl"] .mobile-search-card .ms-col-neighborhood {
        border: none;
        border-inline-start: 0;
        border-inline-end: 0;
    }

    /* LTR: [Neighborhood] [Type] [Search] */
    html[dir="ltr"] .mobile-search-card .ms-col-neighborhood {
        order: 1;
    }

    html[dir="ltr"] .mobile-search-card .ms-col-type {
        order: 2;
    }

    html[dir="ltr"] .mobile-search-card .ms-col-btn {
        order: 3;
    }

    html[dir="ltr"] .mobile-search-card .ms-col-neighborhood {
        border-inline-end: 1px solid #e5e7eb;
    }

    html[dir="ltr"] .mobile-search-card .ms-col-type {
        border: none;
        border-inline-end: 0;
    }
}

/* Desktop search spacing overrides */
@media (min-width: 768px) {
    .video-search .form-select.sm-ht {
        height: 44px;
        padding: 6px 16px;
        border-radius: 18px;
    }

    .video-search .select2-container--default .select2-selection--single {
        height: 44px !important;
        border-radius: 18px !important;
    }

    .video-search .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 44px !important;
    }

    .video-search .select2-container--default .select2-selection--single .select2-selection__arrow {
        top: 8px !important;
    }
}

@media (min-width: 768px) {

    /* Keep container width; widen controls via grid and snug button to right */
    .video-search .search-btn-col {
        padding-right: 0;
    }

    html[dir="rtl"] .video-search .search-btn-col {
        padding-left: 0;
        padding-right: 0;
    }

    /* 24px card padding - 10px desired gap = 14px negative margin */
    .video-search .btn-search-desktop {
        margin-right: -14px;
    }

    html[dir="rtl"] .video-search .btn-search-desktop {
        margin-right: 0;
        margin-left: -14px;
    }
}

@media (min-width: 768px) {
    .video-search .btn-search-desktop {
        height: 46px;
        width: 46px;
        border-radius: 10px;
    }
}

/* Privacy download experience */
.privacy-download {
    background: linear-gradient(135deg, #f5f7ff 0%, #eef4ff 55%, #ffffff 100%);
    padding: clamp(2.5rem, 4vw, 4rem) 0;
}

.privacy-shell {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.privacy-hero {
    background: #ffffff;
    border-radius: 28px;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.08);
    display: flex;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.privacy-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 120% -20%, rgba(13, 110, 253, 0.15), transparent 45%);
    pointer-events: none;
}

.privacy-hero>* {
    position: relative;
    z-index: 1;
}

.hero-copy {
    flex: 1 1 360px;
}

.hero-card {
    flex: 0 0 320px;
    background: #0f172a;
    border-radius: 22px;
    color: #f8fbff;
    padding: 1.75rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@media (max-width: 991.98px) {
    .privacy-hero {
        flex-direction: column;
    }

    .hero-card {
        flex: 1 1 auto;
    }
}

.privacy-eyebrow {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    color: #4f46e5;
    font-weight: 600;
}

.privacy-lead {
    margin: 1rem 0 1.5rem;
    font-size: 1.05rem;
    color: #4b5563;
}

.privacy-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-chip {
    background: rgba(79, 70, 229, 0.08);
    border-radius: 16px;
    padding: 0.85rem 1.1rem;
    min-width: 150px;
}

.stat-value {
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    color: #111827;
}

.stat-label {
    font-size: 0.9rem;
    color: #4b5563;
    display: block;
}

.privacy-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #0d6efd;
    color: #ffffff;
    border-radius: 14px;
    padding: 0.85rem 1.35rem;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 18px 30px rgba(13, 110, 253, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 35px rgba(13, 110, 253, 0.35);
    color: #ffffff;
}

.btn-download .icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    align-items: center;
    justify-content: center;
}

.btn-download svg {
    width: 16px;
    height: 16px;
}

.btn-outline {
    border: 1px solid rgba(15, 23, 42, 0.2);
    border-radius: 14px;
    padding: 0.85rem 1.35rem;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.privacy-footnote {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.hero-card .card-heading {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(248, 251, 255, 0.9);
    margin-bottom: 1.25rem;
}

.hero-card .card-heading .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
}

.hero-card .card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-card .card-list li {
    background: rgba(15, 23, 42, 0.45);
    border-radius: 14px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-title {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #e2e8f0;
}

.card-note {
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.85);
    display: block;
}

.card-footer {
    margin-top: 1.5rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.footer-label {
    font-weight: 600;
    margin: 0;
}

.footer-note {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.85);
}

.footer-note a {
    color: #8ab4ff;
    text-decoration: underline;
}

.badge-soft {
    background: rgba(148, 163, 184, 0.2);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.privacy-grid {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.privacy-panel {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.75rem;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.privacy-panel h2 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: #0f172a;
}

.privacy-panel.accent {
    background: linear-gradient(135deg, #111936, #1e2760);
    color: #eef2ff;
    box-shadow: 0 18px 45px rgba(17, 25, 54, 0.6);
}

.privacy-panel.accent h2 {
    color: #ffffff;
}

.privacy-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.privacy-steps li {
    display: flex;
    gap: 0.9rem;
    background: #f6f8ff;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.05);
    align-items: flex-start;
}

.step-index {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #0d6efd;
    color: #ffffff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
}

.step-title {
    margin: 0;
    font-weight: 600;
    color: #0f172a;
}

.step-copy {
    margin: 0.2rem 0 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.checklist {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.checklist li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: inherit;
}

.check-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #22c55e;
    color: #0f172a;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
}

.privacy-panel.accent .check-icon {
    background: rgba(34, 197, 94, 0.25);
    color: #e2fbe8;
}

.mini-card {
    border-radius: 18px;
    padding: 1.25rem;
    background: #0f172a;
    color: #ffffff;
}

.privacy-panel.accent .mini-card {
    background: rgba(15, 23, 42, 0.8);
}

.mini-title {
    margin: 0 0 0.35rem;
    font-weight: 600;
}

.mini-copy {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
}

.mini-link {
    color: #93c5fd;
    font-weight: 600;
    text-decoration: none;
}

.mini-link:hover {
    text-decoration: underline;
}

html[dir="rtl"] .privacy-hero {
    direction: rtl;
}

html[dir="rtl"] .privacy-steps li,
html[dir="rtl"] .checklist li {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .privacy-cta {
    justify-content: flex-start;
}

html[dir="rtl"] .privacy-panel,
html[dir="rtl"] .hero-copy {
    text-align: right;
}

.doc-inline {
    margin-top: 1.75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 1.5rem;
    background: rgba(79, 70, 229, 0.05);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.doc-inline-head {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.doc-inline-eyebrow {
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.72rem;
    margin: 0;
    color: #4f46e5;
    font-weight: 700;
}

.doc-inline-title {
    margin: 0;
    font-size: 1.15rem;
    color: #0f172a;
}

.doc-inline-copy {
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
    max-width: 560px;
}

.doc-inline-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.doc-inline-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    padding: 1rem 1.25rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.doc-inline-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.doc-inline-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.95rem;
}

.doc-inline-pill {
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
}

.doc-inline-desc {
    margin: 0;
    color: #4b5563;
    font-size: 0.9rem;
    min-height: 48px;
}

.doc-inline-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.35rem;
}

.doc-inline-link {
    flex: 1 1 120px;
    text-align: center;
    border-radius: 12px;
    padding: 0.65rem 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    color: #0f172a;
    background: #f8fafc;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.doc-inline-link.primary {
    background: #0d6efd;
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.25);
}

.doc-inline-link.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 35px rgba(13, 110, 253, 0.3);
    color: #ffffff;
}

.doc-inline-link.ghost {
    border-color: rgba(15, 23, 42, 0.2);
    background: transparent;
}

.doc-inline-link.ghost:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.doc-inline-card[dir="rtl"] {
    text-align: right;
}

.doc-inline-card[dir="rtl"] .doc-inline-meta {
    flex-direction: row-reverse;
}

.doc-inline-card[dir="rtl"] .doc-inline-actions {
    flex-direction: row-reverse;
}

@media (max-width: 575.98px) {
    .privacy-shell {
        padding: 0 1rem;
    }

    .privacy-hero {
        padding: 1.75rem;
    }

    .stat-chip {
        min-width: 100%;
    }

    .btn-download,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .doc-inline-grid {
        grid-template-columns: 1fr;
    }

    /* .doc-inline-actions {
        flex-direction: column;
    } */
}

/* Hero price range slider */
.price-range-slider {
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    padding: 0.75rem 0.9rem;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.price-range-slider .price-range-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.75rem;
    color: #111827;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

/* In RTL mode, keep min on left, max on right (normal order) */
[dir="rtl"] .price-range-slider .price-range-values {
    flex-direction: row;
}

.price-range-slider .price-range-display {
    white-space: nowrap;
}

.price-range-slider .price-range-separator {
    color: #9ca3af;
}

.price-range-slider .price-range-track {
    position: relative;
    height: 1.5rem;
}

.price-range-slider .price-range-track::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 999px;
}

.price-range-slider .price-range-progress {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background-color: #0d6efd;
    border-radius: 999px;
    left: 0;
    right: 0;
}

.price-range-slider .price-range-input {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    width: 100%;
    height: 1.5rem;
    background: transparent;
    pointer-events: none;
    margin: 0;
    touch-action: none;
}

.price-range-slider .price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: all;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #0d6efd;
    background-color: #ffffff;
    box-shadow: 0 3px 6px rgba(15, 23, 42, 0.2);
    transition: transform 0.1s ease;
}

.price-range-slider .price-range-input::-webkit-slider-thumb:active {
    transform: scale(1.05);
}

.price-range-slider .price-range-input::-moz-range-thumb,
.price-range-slider .price-range-input::-ms-thumb {
    pointer-events: all;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #0d6efd;
    background-color: #ffffff;
    box-shadow: 0 3px 6px rgba(15, 23, 42, 0.2);
}

.price-range-slider .price-range-input::-webkit-slider-runnable-track,
.price-range-slider .price-range-input::-moz-range-track,
.price-range-slider .price-range-input::-ms-track {
    background: transparent;
    border: none;
}

.price-range-slider-sm {
    padding: 0.6rem 0.65rem;
}

.price-range-slider-sm .price-range-values {
    font-size: 0.8rem;
}

/* Admin header user name badge */
.page-wrapper .page-main-header .header-menu .profile-avatar .profile-user-name {
    font-weight: 600;
    color: #222222;
    padding: 0 0.75rem;
    white-space: nowrap;
}

/* Building Form Actions - Button Container */
.building-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    width: 100%;
}

/* LTR: Align buttons to the right */
html[dir="ltr"] .building-form-actions {
    justify-content: flex-end;
}

/* RTL: Align buttons to the left */
html[dir="rtl"] .building-form-actions {
    justify-content: flex-start;
}

/* Button Icon Spacing */
.building-form-actions .btn i {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* LTR: Icon on the left, text on the right */
html[dir="ltr"] .building-form-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

html[dir="ltr"] .building-form-actions .btn i {
    margin-right: 0;
}

/* RTL: Icon on the right, text on the left */
html[dir="rtl"] .building-form-actions .btn {
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 8px;
}

html[dir="rtl"] .building-form-actions .btn i {
    margin-left: 0;
}

/* ============================================
   CONTACT US PAGE STYLES
   ============================================ */

.contact-section {
    background: linear-gradient(135deg, rgba(235, 244, 255, 0.6), #f8fbff);
    padding: clamp(2rem, 4vw, 4rem) 0;
    min-height: 80vh;
}

.contact-shell {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.85rem;
    color: #7a8ba8;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.contact-lead {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Contact Form Card */
.contact-form-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.form-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #0a3c7d);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

.form-card-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form .form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form .required {
    color: #ef4444;
}

.contact-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.contact-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 0.95rem 2rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d6efd, #0a3c7d);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.25);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(13, 110, 253, 0.35);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.info-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.25));
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.info-content p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0 0 0.75rem 0;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.2s ease;
}

.info-link:hover {
    gap: 0.75rem;
    color: #0a3c7d;
}

.info-link i {
    font-size: 0.85rem;
}

/* Social Card */
.social-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.18));
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #0d6efd, #0a3c7d);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(13, 110, 253, 0.3);
}

/* Contact Footer */
.contact-footer {
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.footer-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem 0;
    text-align: center;
}

.faq-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.faq-chip {
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(13, 110, 253, 0.12));
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.faq-chip:hover {
    background: linear-gradient(135deg, #0d6efd, #0a3c7d);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(13, 110, 253, 0.25);
}

/* RTL Support */
html[dir="rtl"] .info-card {
    flex-direction: row-reverse;
}

html[dir="rtl"] .info-content {
    text-align: right;
}

html[dir="rtl"] .form-card-header {
    flex-direction: row-reverse;
}

html[dir="rtl"] .btn-submit {
    flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        margin-bottom: 2rem;
    }

    .contact-title {
        font-size: 1.75rem;
    }

    .contact-lead {
        font-size: 1rem;
    }

    .contact-form-card,
    .contact-footer {
        padding: 1.5rem;
    }

    .info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-content {
        text-align: center;
    }

    html[dir="rtl"] .info-card {
        align-items: center;
    }

    html[dir="rtl"] .info-content {
        text-align: center;
    }

    .faq-chips {
        gap: 0.5rem;
    }

    .faq-chip {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* Responsive: Stack buttons on mobile */
@media (max-width: 768px) {
    .building-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .building-form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}