/* Start With Mohamed Elshamhout  */
:root {
    /* --bs-primary: #ff7070; */
    --bs-primary: #006CE4;
    --bs-secondary: #2e2e2e;
    --bs-success: #1BA563;
    --bs-warning: #E9BE38;
    --bs-danger: #FC4856;
    --bs-light: #f9f9f9;
    --bs-dark: #222222;
    --bs-gray: #6a6c6b;
    --bs-medium: #DADADA;
    --bs-primary-rgb: 0, 108, 228;
    --bs-secondary-rgb: 42, 42, 42;
    --bs-success-rgb: 27, 165, 99;
    --bs-warning-rgb: 233, 190, 56;
    --bs-danger-rgb: 252, 72, 86;
    --bs-light-rgb: 249, 249, 249;
    --bs-medium-rgb: 246, 246, 246;
    --bs-dark-rgb: 34, 34, 34;
    --bs-body-color-rgb: var(--bs-black-rgb);
    --bs-body-bg-rgb: var(--bs-light-rgb);
    --bs-body-font-family: "enFont";
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 500;
    --bs-body-line-height: 1.5;
    --bs-body-color: var(--bs-black);
    --bs-body-bg: var(--bs-white);
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: var(--bs-dark);
    --input-border-color: #E2E8F0;
    /* nav-link */
    --bs-nav-link-font-size: 1.15rem;
    --bs-nav-link-padding-x: 1.5rem;
    --bs-nav-link-font-weight: 500;
    /* --bs-navbar-active-color: var(--bs-primary); */
    --truncate-line-height: 1.75rem;
}

@font-face {
    font-family: 'arFont';
    src: url('../fonts/Almarai-Light.ttf');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'arFont';
    src: url('../fonts/Almarai-Regular.ttf');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'arFont';
    src: url('../fonts/Almarai-Bold.ttf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'arFont';
    src: url('../fonts/Almarai-ExtraBold.ttf');
    font-weight: bolder;
    font-style: normal;
}


/* //english font  */
@font-face {
    font-family: 'enFont';
    src: url('../fonts/Inter-Light.ttf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'enFont';
    src: url('../fonts/Inter-Regular.ttf');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'enFont';
    src: url('../fonts/Inter-Medium.ttf');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'enFont';
    src: url('../fonts/Inter-Bold.ttf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'enFont';
    src: url('../fonts/Inter-ExtraBold.ttf');
    font-weight: 800;
    font-style: normal;
}

.fw-light {
    font-weight: 300 !important;
}

.fw-normal {
    font-weight: 500 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-bolder {
    font-weight: 800 !important;
}

.w-30 {
    width: 30%;
}

.w-35 {
    width: 35%;
}

.w-40 {
    width: 40%;
}

.shadow {
    box-shadow: 0 .35rem .75rem rgba(0, 0, 0, .15) !important;
}

.fs-x {
    font-size: 3rem !important;
}

.text-muted {
    color: #A6ACB5 !important;
}

.langs-group .form-check-label:hover {
    background-color: var(--bs-light) !important;
    color: var(--bs-dark) !important;
}

.langs-group .form-check-input:checked+.form-check-label {
    background-color: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

.text-gray {
    color: var(--bs-gray);
}

.border-medium {
    border-color: var(--bs-medium) !important;
}

.border-dashed {
    border-style: dashed !important;
}

.dropdown-toggle {
    cursor: pointer;
}

.rate-star {
    cursor: pointer;
}

.pagination .page-link {
    height: 45px;
    min-width: 45px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.pagination .page-link.active-page {
    background-color: var(--bs-primary) !important;
    color: var(--bs-white);
}

.truncate-2,
.truncate-3,
.truncate-4,
.truncate-5,
.truncate-6 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: var(--truncate-line-height);
    /* Adjust line height for better readability */
}

.truncate-2 {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: calc(2 * var(--truncate-line-height));
}

.line-2 {
    height: calc(2 * var(--truncate-line-height));
}

.truncate-3 {
    line-clamp: 3;
    -webkit-line-clamp: 3;
    max-height: calc(3 * var(--truncate-line-height));
}

.line-3 {
    height: calc(3 * var(--truncate-line-height));
}

.truncate-4 {
    line-clamp: 4;
    -webkit-line-clamp: 4;
    max-height: calc(4 * var(--truncate-line-height));
}

.line-4 {
    height: calc(4 * var(--truncate-line-height));
}

.truncate-5 {
    line-clamp: 5;
    -webkit-line-clamp: 5;
    max-height: calc(5 * var(--truncate-line-height));
}

.line-5 {
    height: calc(5 * var(--truncate-line-height));
}

.truncate-6 {
    line-clamp: 6;
    -webkit-line-clamp: 6;
    max-height: calc(6 * var(--truncate-line-height));
}

.line-6 {
    height: calc(6 * var(--truncate-line-height));
}

.border-loading {
    /* background: linear-gradient(0deg, rgba(var(--bs-primary-rgb), 0) 0%, rgba(var(--bs-primary-rgb), 1) 100%); */
    padding: 1.5px !important;
    animation: gradientShift .75s linear infinite;
    border: none !important;
}

.border-loading select {
    border: none !important;
}

@keyframes gradientShift {
    0% {
        background: linear-gradient(0deg, rgba(var(--bs-primary-rgb), 0) 0%, rgba(var(--bs-secondary-rgb), .15) 50%, rgba(var(--bs-primary-rgb), 1) 100%)
    }

    14% {
        background: linear-gradient(45deg, rgba(var(--bs-primary-rgb), 0) 0%, rgba(var(--bs-secondary-rgb), .15) 50%, rgba(var(--bs-primary-rgb), 1) 100%)
    }

    28% {
        background: linear-gradient(90deg, rgba(var(--bs-primary-rgb), 0) 0%, rgba(var(--bs-secondary-rgb), .15) 50%, rgba(var(--bs-primary-rgb), 1) 100%)
    }

    42% {
        background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0) 0%, rgba(var(--bs-secondary-rgb), .15) 50%, rgba(var(--bs-primary-rgb), 1) 100%)
    }

    56% {
        background: linear-gradient(225deg, rgba(var(--bs-primary-rgb), 0) 0%, rgba(var(--bs-secondary-rgb), .15) 50%, rgba(var(--bs-primary-rgb), 1) 100%)
    }

    70% {
        background: linear-gradient(270deg, rgba(var(--bs-primary-rgb), 0) 0%, rgba(var(--bs-secondary-rgb), .15) 50%, rgba(var(--bs-primary-rgb), 1) 100%)
    }

    75% {
        background: linear-gradient(315deg, rgba(var(--bs-primary-rgb), 0) 0%, rgba(var(--bs-secondary-rgb), .15) 50%, rgba(var(--bs-primary-rgb), 1) 100%)
    }

    100% {
        background: linear-gradient(360deg, rgba(var(--bs-primary-rgb), 0) 0%, rgba(var(--bs-secondary-rgb), .15) 50%, rgba(var(--bs-primary-rgb), 1) 100%)
    }
}


.gradient-bg {
    background: rgba(66, 55, 43, 0.25);
    background: linear-gradient(0deg, rgba(66, 55, 43, 0.25) 0%, rgba(5, 80, 88, 0.3) 52%, rgba(132, 90, 72, 0.25) 100%);
    background: -webkit-linear-gradient(0deg, rgba(66, 55, 43, 0.25) 0%, rgba(5, 80, 88, 0.3) 52%, rgba(132, 90, 72, 0.25) 100%);
    background: -moz-linear-gradient(0deg, rgba(66, 55, 43, 0.25) 0%, rgba(5, 80, 88, 0.3) 52%, rgba(132, 90, 72, 0.25) 100%);
}

.chip .btn-close {
    font-size: 10px;
}

html {
    --bs-body-font-family: "enFont";
    font-size: 14px;
    overflow-x: hidden;
    height: 100vh;
}

html[dir="rtl"] {
    --bs-body-font-family: "arFont";

}

body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    /* height: 100vh;
    overflow-x: auto; */
}

footer {
    margin-top: auto !important;
}

body::-webkit-scrollbar {
    width: 10px;
    background-color: var(--bs-light);
    border-radius: 0px;
}

body::-webkit-scrollbar-track,
.modal-fullscreen .modal-body::-webkit-scrollbar-track {
    background-color: transparent;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--bs-primary);
    border-radius: 0px;
}

.modal-fullscreen .modal-body::-webkit-scrollbar {
    width: 10px;
    background-color: var(--bs-primary);
}

.modal-fullscreen .modal-body::-webkit-scrollbar-thumb {
    background-color: rgba(var(--bs-white-rgb), .35);
}


.row {
    overflow: hidden;
    /* max-width: 100%; */
}

.form-error {
    font-size: 12px;
    color: var(--bs-danger);
}

.toggle-password {
    cursor: pointer;
}

.form-control {
    box-shadow: none !important;
}

.form-control.select-iso {
    width: auto;
    flex-grow: 0;
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-select option {
    font-size: calc(12px + .2vw);
    font-weight: 600;

}

.border-gray {
    border-color: var(--bs-gray) !important;
}

.input-group.border {
    border-color: var(--input-border-color) !important;
}

.btn-primary {
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-hover-bg: rgba(var(--bs-primary-rgb), .85);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-disabled-bg: var(--bs-gray);
    border: none;
    outline: none;
    box-shadow: none;
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: var(--bs-white);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--bs-primary);
    --bs-gradient: none;
}

.dropdown-menu {
    --bs-dropdown-color: var(--bs-dark);
    --bs-dropdown-bg: var(--bs-light);
    --bs-dropdown-link-hover-bg: var(--bs-primary);
    --bs-dropdown-link-hover-color: var(--bs-white);
    --bs-dropdown-link-active-color: var(--bs-white);
    --bs-dropdown-link-active-bg: var(--bs-primary);
    --bs-dropdown-item-padding-y: 0.55rem;

}

.btn {
    transition: all ease .75s;
    /* --bs-btn-line-height: 1.25; */
}

picture {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.navbar {
    --bs-navbar-nav-link-padding-x: var(--bs-nav-link-padding-x);
    --bs-navbar-active-color: var(--bs-primary);
    --bs-navbar-hover-color: var(--bs-primary);
    opacity: 1;
    transition: all 0.5s ease-in;

}

/* .navbar-dark {
    --bs-navbar-color: var(--bs-light);
} */

.navbar.sticky-top.hide {
    opacity: 0;
    transform: translateY(-100%);
    transition: all 1s ease-out;
}

nav .navbar-brand {
    height: 60px;
    width: 150px;
}


.navbar-nav .nav-link.active {
    font-weight: bold;

}

.nav-link {

    --bs-nav-link-color: var(--bs-dark);
    --bs-nav-link-font-weight: 600;
}

nav .country-img {
    width: 24px;
    height: 24px;
    object-fit: cover;
}

nav .user-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
}

.iti__country-list {
    text-align: start;
    left: 0;
}

.iti__country {
    display: flex;
    align-items: center;
}

.iti__dial-code {
    color: var(--bs-black);
    font-weight: bold;
    padding: 0px 10px;
}

.iti__flag-box {
    margin-inline-start: 0px;
    margin-inline-end: 5px;
}

.iti {
    width: 100%;
}



.iti--separate-dial-code .iti__selected-flag {
    flex-direction: row-reverse;
    background-color: var(--bs-primary) !important;
    border-start-end-radius: .5rem;
    border-end-end-radius: .5rem;

}

.iti__arrow {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--bs-white);
}

.iti__arrow--up {
    border-top: none;
    border-bottom: 5px solid var(--bs-white);
}

.iti__selected-dial-code {
    color: var(--bs-white);
}



/* Start footer  */
footer .logo {
    width: 150px;
    height: 55px;
}

/* footer .logo img {
    filter: brightness(0) invert(1);
} */

footer a {
    text-decoration: none;
}

footer .nav-link:after {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background-color: var(--bs-white);
    transition: width .5s;
}

footer .nav-link:hover:after {
    width: 100%;
    transition: width .5s;

}

/* End footer  */
/* start verification code styling  */
.pin-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    margin: 0 5px;
}

.pin-input:focus {
    outline: 2px solid #0d6efd;
}

.pin-container {
    display: flex;
    justify-content: center;
    direction: ltr;
}

/* End verification code styling  */
/* Start category style  */
.category picture {
    width: 162px;
    height: 162px;
}

.category picture img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* End category style  */
/* Start step style  */
.step picture {
    width: 290px;
    height: 290px;
}

.step .btn {
    min-width: 150px;
}

.step .btn:hover {
    background-color: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

.step p {
    --truncate-line-height: 2rem;
}

/* End step style  */
/* Start Worker style  */
.worker {
    width: calc(100% - 26px);
    height: calc(100% - 26px);
    display: flex;
    flex-direction: column;
    margin: 13px;

}

.worker picture {
    width: 84px;
    height: 84px;
    margin: 0 auto;
    background-color: rgba(var(--bs-medium-rgb), .9);
    padding: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.worker picture img {
    /* object-fit: cover; */
}

.specialization {
    color: var(--bs-success);
    background-color: rgba(var(--bs-success-rgb), .2);
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 4px 10px;
}

.specialization img {
    width: 20px;
    height: 20px;
    margin-inline-end: 5px;
    filter: brightness(0) saturate(100%) invert(42%) sepia(12%) saturate(2687%) hue-rotate(99deg) brightness(120%) contrast(87%);

}

/* End Worker style  */

/* start home carousel  */
.home-slider picture {
    width: 52vw;
    height: 35vw;

}

.home-slider picture img {
    object-fit: cover;
}

.home-slider h2 {
    font-size: 2.85rem;
    --truncate-line-height: 4.25rem;
    font-weight: 700;
}

.home-slider {
    padding-bottom: 80px;
}

.home-slider .carousel-indicators {
    bottom: -50px;
    z-index: 0;
}

.home-slider .content {
    background-image: url(../images/slider-pattern.png);
    background-position: 0 100%;
    background-size: contain;
    background-repeat: no-repeat;
}

.carousel-indicators button[data-bs-target] {
    background-color: var(--bs-medium);
    height: 16px;
    width: 16px;
    border-radius: 10px;
    border: none;
}

.carousel-indicators .active {
    background-color: var(--bs-primary) !important;
    width: 50px !important;
}

.carousel-control-next,
.carousel-control-prev {
    top: auto;
    bottom: -50px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--bs-primary);
    border: 3px solid var(--bs-primary);
    background: var(--bs-white);
    opacity: 1;
    transition: all .5s ease-out;

}

.carousel-control-next:hover,
.carousel-control-prev:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
    transition: all .5s ease-out;

}

.carousel-control-next:hover span,
.carousel-control-prev:hover span {
    filter: brightness(0) saturate(100%) invert(1);
}

.carousel-control-next {
    left: 35%;
}

.carousel-control-prev {
    right: 35%;
}

html[dir="ltr"] .carousel-control-next {
    left: auto;
    right: 35%;
}

html[dir="ltr"] .carousel-control-prev {
    right: auto;
    left: 35%;
}



.carousel-control-next-icon,
.carousel-control-prev-icon {
    filter: brightness(0) saturate(100%) invert(24%) sepia(76%) saturate(2769%) hue-rotate(202deg) brightness(96%) contrast(102%);
    width: 1.5rem;
    height: 1.5rem;
}

/* End home carousel  */

/* Start home page styling  */
.home-page .intro .content {
    background-color: rgba(205, 205, 205, .25);
    backdrop-filter: blur(16px);
    width: 58%;

}

.home-page .commen-search {
    background-color: rgba(var(--bs-dark-rgb), .25);
    backdrop-filter: blur(8px);
}

/* End home page styling  */
/* Start worker Page  */
.worker-page .main-row {
    max-width: 100%;
}

.filter {
    min-width: 210px;
    width: 20vw;
}

.filter .list-unstyled img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* End worker Page  */

/* Start register modal style  */
#registerModal {
    --bs-modal-width: 90vw;
}




.Specializations {
    position: absolute;
    top: 0;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 2;
    overflow: auto;
}

.in-profile:has(.Specializations:not(.d-none)) {
    background-color: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 2000;
}


.in-profile .Specializations {
    background-color: var(--bs-light);
    max-width: 900px;
    width: 100%;
    margin: auto;
    height: auto;
    max-height: 85vh;
    border-radius: 10px;
}

.accordion {
    --bs-accordion-border-width: 0;
}

/* .select-image {
    width: 65px;
    height: 65px;
    overflow: hidden;
} */

/* .select-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */
.select-image>div {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#previewImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* End register modal style  */
/* Start profile page style  */
.nav-pills .nav-link.active {
    border-inline-end: 6px solid var(--bs-primary);
}

.nav-pills {
    --bs-nav-pills-border-radius: 0;
    --bs-nav-pills-link-active-color: var(--bs-primary);
    --bs-nav-pills-link-active-bg: rgba(var(--bs-primary-rgb), .15);
}

/* End profile page style  */

/* Start about us page style  */
.about-us-page .info .container {
    margin: 0px;
    max-width: 100%;
    padding: 0px;
}

.about-us-page .info * {
    font-size: calc(12px + .5vw);
    font-weight: 400;
    line-height: calc(13px + 1.5vw);
    color: var(--bs-gray);

}

.about-us-page .info h2 {
    margin-top: calc(10px + .3vw);
    font-weight: bold;
    color: var(--bs-primary);
}

/* End about us page style  */
.no-result picture {
    width: calc(100px + 10vw);
    height: calc(100px + 10vw);
    margin: auto;
}

.filter-in-small .dropdown {
    border-inline-end: 1px solid var(--bs-medium);
}

.filter-in-small .dropdown:first-of-type {
    border-inline-start: none;
}

.filter-in-small .dropdown:last-of-type {
    border-inline-end: none;
}

.filter-in-small .dropdown {
    border-inline-start: 1px solid var(--bs-medium);
}

.scrolling-cats img {
    width: 22px;
    height: 20px;
}

.scrolling-cats .btn span {
    display: inline-block;
    height: 20px;
    line-height: 20px;
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1200px;
        padding: 0px;
    }
}

@media (min-width: 1200px) {

    .fs-1 {
        font-size: 2.5rem !important;
    }

    .fs-2 {
        font-size: 2rem !important;
    }

    .fs-3 {
        font-size: 1.5rem !important;
    }

    .fs-4 {
        font-size: 1.35rem !important;
    }

    .fs-5 {
        font-size: 1.2rem !important;
    }

    .fs-6 {
        font-size: 1.1rem !important;
    }

    .fs-base {
        font-size: 1rem !important;
    }

    .signup-modal .modal-body>.row>div:first-child {
        padding-top: 4vw;
    }

    #registerModal .modal-dialog,
    #addServiceProviderModal .modal-dialog {
        width: 1000px;
    }
}

@media (max-width: 1199.99px) {
    :root {
        --bs-body-line-height: 1.25;
    }

    .fs-base {
        font-size: 1.125rem !important;
    }

    .step picture {
        width: 230px;
        height: 220px;
    }

    html {
        font-size: 10px;
    }

    .home-slider picture {
        width: 530px;
        height: 370px;
    }

    .category picture {
        width: 130px;
        height: 130px;
    }

    .step picture {
        width: 230px;
        height: 220px;
    }

    nav .user-img {
        width: 35px;
        height: 35px;
    }

    .worker {
        width: calc(100% - 16px);
        height: calc(100% - 16px);
        margin: 10px auto;

    }

    .navbar-collapse .fs-4 {
        font-size: calc(1.25rem + 0.25vw) !important;
    }
}

@media (max-width: 991.98px) {

    .container,
    .container-md,
    .container-sm {
        max-width: calc(100% - 40px);
    }

    .step picture {
        width: 185px;
        height: 185px;
    }

    .home-slider picture {
        width: 42vw;
        height: 35vw;
    }

    .fs-base {
        font-size: 1.5rem !important;
    }

    footer .logo {
        width: 110px;
        height: 40px;
    }

    footer .social-btn {
        width: 38px;
        height: 38px;
    }

    .carousel-indicators button[data-bs-target] {
        height: 10px;
        width: 10px;
    }

    .navbar-collapse>.d-flex {
        justify-content: space-between;

    }

    /* main {
        padding-top: 70px;
    } */
    .navbar-collapse {
        width: 250px;
        flex-basis: auto;
        flex-grow: 0;
        background: var(--bs-primary);
        max-width: 100%;
        position: fixed;
        top: 70px;
        padding: 15px;
        border-radius: 12px;
        margin-inline-end: calc(100% - 250px - 6rem);
        /* overflow: hidden; */
    }

    .navbar-collapse::before {
        content: '';
        position: absolute;
        inset: 0;
        background-color: var(--bs-white);
        z-index: -1;
        opacity: .35;
        border-radius: 12px;
    }

    .navbar-nav .nav-link {
        padding: 10px 10px;
        border-radius: 5px;
        color: var(--bs-white);
        margin-bottom: 4px;
    }

    .navbar-nav .nav-link.active {
        background-color: var(--bs-white);
        margin-bottom: 8px;

    }

    .navbar .dropdown {
        padding: 3px 10px !important;
        background-color: rgba(var(--bs-white-rgb), .25);
        border-radius: 5px;
    }

    .navbar .dropdown .nav-link {
        color: var(--bs-white) !important;
    }

    .navbar .dropdown-toggle::after {
        position: absolute;
        left: 10px;
        top: 5px;
        bottom: 0;
        margin: auto;
        height: 10px;
        color: var(--bs-white);
    }

    html[dir="ltr"] .navbar .dropdown-toggle::after {
        left: auto;
        right: 10px;
    }

    .navbar a:has(.fa-globe) {
        text-align: start;
        width: 75px;
        padding: 10px 10px;
        color: var(--bs-white);
        order: 4;
    }

    .navbar>.container-fluid {
        flex-direction: row-reverse;
        flex-wrap: nowrap;
    }

    nav .navbar-brand {
        margin: 0px !important;
        margin-inline-start: 20px;
        flex-shrink: 1;
    }

    .nav-item.profile-nav {
        padding: 3px 0px !important;
    }

    .nav-item.profile-nav .dropdown-toggle {
        color: var(--bs-primary) !important;
        width: 114px;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 767.98px) {

    .fs-6 {
        font-size: 1.2rem !important;
    }

    .fs-base {
        font-size: 14px !important;
    }

    html {
        font-size: 12px;
    }


    nav .navbar-brand {
        height: 35px;
        width: 80px;
    }

    footer .logo {
        width: 100px;
        height: 30px;
    }



    .navbar-nav {
        --bs-nav-link-padding-y: 0.75rem;
        --bs-nav-link-font-size: 1.5rem;
    }

    nav .navbar-brand {
        height: 50px;
        width: 120px;
    }

    .fs-base {
        font-size: 1.35rem !important;
    }

    .home-page .intro .content {
        width: 80%;
    }

    .category picture {
        width: 100%;
        height: 20vw;
    }

    .step {
        max-width: 370px;
    }

    .step p {

        line-height: normal;
        height: auto;
        line-clamp: none;
        -webkit-line-clamp: none;
        max-height: none;
        font-size: 1.25rem !important;
    }

    .home-slider picture {
        width: 100%;
        height: 44vw;
    }


    .home-slider .container-sm {
        max-width: 612px;
    }

    .home-slider h2 {
        font-size: 1.85rem;
        --truncate-line-height: 3rem;
        height: calc(3 * var(--truncate-line-height));
    }

    .carousel-control-prev {
        right: 10%;
    }

    .carousel-control-next {
        left: 10%;
    }

    html[dir="ltr"] .carousel-control-next {
        left: auto;
        right: 10%;
    }

    html[dir="ltr"] .carousel-control-prev {
        right: auto;
        left: 10%;
    }

    .carousel-indicators .active {
        width: 25px !important;
    }

    .main-row>.col-auto {
        width: 100%;
    }

    .filter {
        width: 100%;
        margin: 0px !important;
        padding: 0px !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .filter .list-unstyled {
        display: flex;
        overflow-x: auto;
        padding-bottom: 5px !important;
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }

    .filter .list-unstyled li {
        flex-shrink: 0;
        border: 1px solid var(--bs-medium);
        border-radius: 5px;
        padding: 0;
        margin: 5px;
        box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);

    }

    .filter .list-unstyled li:has(.form-check-input:checked[type=checkbox]) {
        background-color: var(--bs-primary) !important;
        color: var(--bs-white);

    }

    .filter .list-unstyled input[type=checkbox] {
        display: none;
    }

    .filter .list-unstyled label {
        padding: 10px !important;
    }

    .filter .list-unstyled img {
        width: 22px;
        height: 20px;
    }

    .filter li:has(.form-check-input:checked[type=checkbox]) img {
        filter: brightness(0) invert(1);
    }

    .filter .list-unstyled .btn span {
        display: inline-block;
        height: 20px;
        line-height: 20px;
    }

    .filter .filter-location {
        display: flex;
        /* flex-wrap: wrap; */
        border: 1px solid var(--bs-medium) !important;
        border-radius: 8px;
        box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
        padding: 5px 0 !important;
        margin-top: 10px !important;
        background-color: var(--bs-white);
    }

    .filter .filter-location .dropdown {
        width: auto !important;
        flex-grow: 1;
        margin: 0px 5px !important;
        border: none !important;
        box-shadow: none !important;
        border-inline-end: 2px solid var(--bs-medium) !important;
        border-radius: 0px !important;
    }

    .filter .filter-location .dropdown:last-of-type {
        border: none !important;
    }

    .filter .filter-location .form-select {
        border: none !important;
        box-shadow: none !important;
    }

    .filter .filter-location h3 {
        /* width: 100%; */
        display: none;
    }

    .filter .btn {
        width: auto !important;
        min-width: 85px;
        display: flex;
        margin-inline-start: auto;
        align-items: center;
        justify-content: center;
    }

    html[dir="ltr"] .filter {
        left: auto;
        right: 20px;
    }

    .show-filter {
        position: relative;
    }

    .show-filter:after {
        content: '';
        background-color: rgba(0, 0, 0, .15);
        position: absolute;
        left: 0;
        bottom: 0;
        top: 0;
        right: 0;
        z-index: 20;
    }

    .show-filter .filter {
        /* left: 15px; */
        z-index: 35;
        opacity: 1;
        transition: ease opacity 1s;
    }

    .select-image>div {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 575.98px) {
    html {
        font-size: 10px;
    }

    .container,
    .container-md,
    .container-sm {
        max-width: calc(100% - 20px);
    }

    .fs-x {
        font-size: 2.25rem !important;
    }

    .worker {
        max-width: 320px;
        height: auto;
    }

    .home-slider {
        margin: 16px !important;
    }

    .home-slider .container-sm {
        max-width: 340px;
    }

    .category h3 {
        font-size: calc(1rem + .35vw) !important;

    }

    .pagination .page-link {
        height: 35px;
        min-width: 35px;
    }

    .navbar-collapse>.d-flex {
        flex-wrap: wrap;
        /* align-items: flex-start !important; */
    }

    .navbar-collapse>.d-flex>.dropdown:last-child {
        min-width: 100%;
    }

    .navbar-collapse .dropdown-item {
        font-size: 14px;
        font-weight: 600 !important;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .workers .worker {
        /* flex-direction: row;
        overflow: hidden; */
        width: calc(100% - 32px);
        max-width: 100%;
        position: relative;
        text-decoration: none;
        padding: 16px;
    }

    /* .workers .worker picture {
        margin: 0;
        height: 100%;
        border-radius: 0px;
        padding: 0px;
        min-height: 100%;
        width: 34vw;
    } */

    .workers .worker .content {
        flex-grow: 1;
        /* padding: 12px; */
    }

    /* .workers .worker picture img {
        margin: 0;
        height: 100%;
        border-radius: 0px !important;
        padding: 0px;
        width: 34vw;
        position: absolute;
        top: 0;
        bottom: 0;
    }
 */
    .workers .worker>.btn.toggle-fav {
        position: absolute;
        top: 10px;
        margin-inline-start: calc(100% - 50px) !important;
        padding: 5px !important;
    }


    /* .workers .worker .content>div:has(.specialization) {
        justify-content: flex-start !important;
    } */

    .workers .worker .specialization {
        border-radius: 5px;
        font-size: 10px !important;
    }

    .specialization img {
        width: 15px;
        height: 15px;
    }

    .navbar-collapse {

        margin-inline-end: calc(100% - 250px - 2rem);
        /* overflow: hidden; */
    }
}

@media (max-width: 360px) {

    .fs-x {
        font-size: 1.25rem !important;
    }

    .intro {
        padding: 0px !important;
    }

    .intro .content {
        padding: 10px !important;
    }

    .intro picture {
        border-radius: 0px !important;
    }

    .intro h1 {
        margin: 0px;
    }

    .intro .fs-4 {
        font-size: calc(.9rem + .65vw) !important;
    }

    footer .container {
        padding-left: 0;
        padding-right: 0;
    }

    nav .navbar-brand {
        width: 80px;
    }

    .workers .worker {
        width: calc(100% - 10px);
    }

    .home-page .workers .worker {
        width: calc(100% - 32px);
    }

    .workers .worker .content p>span {
        display: none;
    }
}