*{
    --font-body: 'Noto Sans', sans-serif;
    --black: #000000;
    --white: #ffffff;
    --blue: #0F3963;
    --blue-light: #E4F2F7;
    --blue-half: #879CB1;
    --blue-600: #6F88A1;
    --blue-800: #0D3152;
    --red: #DD391E;
    --red-light: #FFECED;
    --green: #33795F;
    --green-txt: #255744;
    --green-light: #C7E7DB;
    --gray: #8E8E8E;
    --gray-light: #E8E8E8;
    --border-gray: #D9D9D9;
    --border-gr: #D2D2D2;
    --activeFilter: #F4BB50;
    /* Brand Colors - Official */
    --primary-blue: #0F3963;
    --primary-green: #009748;
    --light-green: #E6F7EF;
    --dark-green: #007A3A;
    --orange: #e65100;
    --light-orange: #fff3e0;
    --yellow: #ffa000;
    --light-yellow: #fff9e6;
    --gray-50: #f8f9fa;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-400: #666;
    --gray-900: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: auto;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--black);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-width: 300px;
    width: 100%;
    max-width: 2048px;
    margin: 0 auto;
    line-height: 1.5;
}

body.scrollBlock {
    overflow: hidden;
    height: 100vh;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

/*Global wrapper classes*/
.noDisplay {
    display: none;
}

.desktopOnly {
    display: block;
}

.mobileOnly {
    display: none;
}

main {
    min-height: 100vh;
    background-color: var(--white)
}

/* .loading-fake{
  // width: 100vw;
  // height: 100vh;
  // background-color: #D1D3D4;
} */

.container {
    width: 100%;
}

.lr-pad {
    padding-left: 80px;
    padding-right: 80px;
}

.l-pad {
    padding-left: 80px;
}

.r-pad {
    padding-right: 80px;
}

.tb-pad {
    padding-top: 80px;
    padding-bottom: 80px;
}

.t-pad {
    padding-top: 80px;
}

.b-pad {
    padding-bottom: 80px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2.125rem;
}

h4 {
    font-size: 1.75rem;
}

h5 {
    font-size: 1.5rem;
}

.cta-button {
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--blue);
    color: var(--white);
    background: var(--blue);
    cursor: pointer;
    font-size: 1rem;
    font-family: 400;
    font-family: var(--font-body);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.cta-button.white {
    background: var(--white);
    color: #454A53;
}

.cover-banner {
    position: relative;
    padding-top: calc(219 /1424 * 100%);
}

.cover-banner.listing_banner {
    display: none;
}

.listbanner {
    display: none;
}

@media only screen and (min-width : 1280px) {
    .listbanner {
        display: block;
    }
}

.cover-banner img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.listfilters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.filterside {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.filterbox {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid var(--black);
    padding: 16px 32px;
    position: relative;
    cursor: pointer;
}

.filterbox .count {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    padding: 0;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    text-align: center;
}

.filterbox.sort {
    border-color: transparent;
}

.filterctas {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    padding: 16px 40px;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
}

.filterctas .cta-button {
    flex: 1;
}

.boxed {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.boxed p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.sort select {
    height: 100%;
    border: 1px solid var(--blue-half);
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 400;
    color: var(--blue-half);
    text-align: center;
    position: relative;
    background: url('../img/sort-icon.svg');
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: calc(100% - 4px);
    -webkit-appearance: none;
    padding: 8px 16px;
    padding-right: 26px;
    outline: none;
    cursor: pointer;
    font-family: var(--font-body);
    height: 50px;
}

.sort label p {
    color: #000000;
    pointer-events: none;
}

.list_sorting label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #c0c0c0;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--green);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--green);
}

input:checked+.slider:before {
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(24px);
}

.searchside {
    display: flex;
    gap: 8px;
}

.search input {
    border: 1px solid var(--border-gr);
    border-radius: 8px;
    padding: 16px;
    padding-left: 48px;
    padding-right: 32px;
    height: 100%;
    font-family: var(--font-body);
    width: 400px;
    position: relative;
    background: url('../img/search-icon.svg');
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 16px;
    font-size: 1rem;
    font-weight: 400;
}

.searchside .search {
    position: relative;
}

.searchside .search .cross-search {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    cursor: pointer;
}

.togglebox {
    padding: 16px;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-radius: 8px;
    /* border: 1px solid var(--gray-light); */
}

.togglebox.disabled {
    /* border-color: #D2D2D2; */
    background: transparent;
}

.togglebox.disabled p {
    color: #6F88A1;
    font-weight: 600;
}

.togglebox.disabled p svg path {
    stroke: #6F88A1;
}

.togglebox p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--green-txt);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.togglebox p svg path {
    stroke: var(--green-txt);
    stroke-width: 2px;
}

.stickybox {
    position: relative;
    position: -webkit-relative;
    /* top: -20px; */
    background: var(--white);
    z-index: 5;
    padding: 40px 0 20px 0;
}

.categories {
    position: relative;
}

.categories .swiper-slide {
    width: auto !important;
    flex: 0 0 auto;
}

.categories .swiper-slide.last-slide {
    width: 32px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.categories .swiper-slide .slidebox {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 0;
    cursor: pointer;
    opacity: 0.8;
    white-space: nowrap;
}

.categories .swiper-slide .slidebox.dot {
    position: relative;
}

.categories .swiper-slide .slidebox.dot::after {
    content: "";
    position: absolute;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    right: 10px;
    bottom: 28px;
    background: var(--blue);
}

.categories .swiper-slide .slidebox.dot.selected::after {
    background: var(--white);
}

.categories .swiper-slide .slidebox .icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categories .swiper-slide .slidebox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.categories .swiper-slide .slidebox p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--blue);
    display: block;
    padding: 10px;
    position: relative;
}

.categories .swiper-slide .slidebox p::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: var(--blue);
    opacity: 0;
}

.categories .swiper-slide .slidebox.selected {
    opacity: 1;
}

.categories .swiper-slide .slidebox.selected p {
    font-weight: 700;
}

.categories .swiper-slide .slidebox.selected p::after {
    opacity: 1;
}

.navbtn {
    height: 40px;
    width: 40px;
    cursor: pointer;
}

.navbtn svg {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.nav-prev[aria-disabled="true"] {
    display: none;
}

.nav-next[aria-disabled="true"] {
    display: none;
}

.nav-prev {
    transform: rotate(180deg);
}

.categories .navbtn {
    position: absolute;
    top: 5px;
    z-index: 3;
}

.categories .nav-prev,
.sub-cats .nav-prev {
    left: -40px;
}
.categories .nav-prev{
    rotate: 180deg;
    left: -20px;
    padding-top: 7px;
    padding-left: 5px;
}

.categories .nav-next,
.sub-cats .nav-next {
    right: -40px;
}
.categories .nav-next{
    right: -10px;
    padding-top: 6px;
    padding-left: 8px;
}

.sub-cats .navbtn {
    position: absolute;
    top: 0;
}

.sub-cats {
    margin-top: 32px;
    position: relative;
    display: none;
}

.sub-cats .swiper-slide {
    width: auto !important;
    flex: 0 0 auto;
}

.sub-cats .swiper-slide .slidebox {
    display: block;
    border: 1px solid var(--blue-800);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
}

.sub-cats .swiper-slide p {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--blue-800);
}

.sub-cats .swiper-slide .de-select {
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    display: none;
    border-radius: 50%;
}

.sub-cats .swiper-slide .de-select svg {
    display: flex;
}

.sub-cats .swiper-slide .slidebox.active {
    background: var(--blue);
    border-color: var(--blue);
}

.sub-cats .swiper-slide .slidebox.active p {
    color: var(--white);
}

.sub-cats .swiper-slide .slidebox.active .de-select {
    display: flex;
}

.sub-cats .swiper-slide .slidebox.active svg path {
    stroke: #0F3963;
}

.sub-cats .swiper-slide .slidebox.active svg {
    border-color: var(--white);
}

.sub-cats .swiper-slide .slidebox.active svg .border {
    stroke: var(--white);
}

.sub-cats .swiper-slide .selectall .slidebox {
    border: 0;
}

.sub-cats .swiper-slide .selectall .slidebox.active svg .border {
    stroke: #577492;
}

.sub-cats .swiper-slide .selectall .slidebox.active {
    background: transparent;
    border-color: transparent;
}

.sub-cats .swiper-slide .selectall .slidebox.active p {
    color: var(--blue-800);
}

.listing_cont {
    margin-top: 20px;
}
.list_cotainer{
    height: 100vh;
    overflow: auto;
}

.listing {
    display: grid;
    /* grid-template-columns: repeat(12, 1fr); */
    gap: 40px 16px;
    transition: all 0.4s ease-in-out;
}

.listing .col-3 {
    grid-column: span 3 !important;
}

/* Two-column layout (Grid view) */
.listing.two-column {
    grid-template-columns: repeat(12, 1fr);
    gap: 32px 24px;
}

.listing.two-column .col-3 {
    grid-column: span 3 !important;
}

.doc-card {
    width: 100%;
    transition: all 0.4s ease-out;
    position: relative;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    padding-bottom: 64px;
}

.doc-card:hover {
    box-shadow: 0px 1px 16px 0px #2C4E651A;
    transform: translate3d(0, -10px, 0);
    border-color: #A4A4A4;
}

.doc-card .imagebox {
    position: relative;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    /* padding-top: calc(234 / 306 * 100%); */
    padding-top: 100%;
}

.doc-card .imagebox img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* object-fit: cover; */
    object-fit: fill;
}

.tag {
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.tag p {
    color: #553500;
    font-size: 12px;
    font-weight: 700;
}

.tag.toptag {
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 8px;
}

.tag.rating {
    background: linear-gradient(94.13deg, #F0EFB7 0.42%, #E3BB32 32.52%, #DAA506 100.98%);
}

.tag.avail {
    background: #181717CC;
}

.tag.avail p {
    color: #64FF8B;
}

.tag.off p {
    color: var(--white);
}

.tag.off {
    background: #DD391E;
}

.tag.view {
    background: #CFD7E01A;
}

.bottomtags {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: calc(100% - 8px);
    display: flex;
    gap: 4px;
}

.bottomtags.two .tag:nth-child(1) p {
    display: none;
}

.doc-card .content {
    padding: 16px;
    padding-bottom: 32px;
}

.doc-card .content .name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-card .content .name p {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    max-width: calc(100% - 32px);
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-card .content .name .country {
    height: 18px;
    width: 20px;
}

.doc-card .content .name .country img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    display: block;
}

.doc-card .content .sub {
    font-size: 1rem;
    font-weight: 400;
    color: #3F3F3F;
    margin: 6px auto 16px auto;
}

.doc-card .tags {
    display: flex;
    gap: 8px;
    width: 100%;
    /* flex-wrap: wrap; */
}

.doc-card .tags .tg {
    flex: 1 1 auto;
    border-radius: 4px;
    color: #333333;
    font-size: 0.875rem;
    font-weight: 400;
    padding: 4px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.doc-card .tags .tg:nth-child(1) {
    background: var(--blue-light);
    border: 1px solid var(--blue-light);
}

.doc-card .tags .tg:nth-child(2) {
    background: var(--red-light);
    border: 1px solid var(--red-light);
}

.doc-card .tags .tg:nth-child(3) {
    background: var(--white);
    border: 1px solid #E8E8E8;
    width: 40px;
    max-width: 40px;
}

.doc-card .list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.doc-card .list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #777777;
}

.doc-card .list li span {
    font-weight: 700;
    color: #3F6182;
}

.doc-card .list li .icon {
    height: 20px;
    width: 20px;
    flex-shrink: 0;
}

.doc-card .list li .icon img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    display: block;
}

.doc-card .bookcta {
    width: 100%;
    left: 0;
    padding: 18px 24px;
    background: var(--primary-blue);
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    border-radius: 0 0 16px 16px;
    cursor: pointer;
    position: absolute;
    bottom: 0;
    transition: background 0.3s ease;
    text-decoration: none;
    display: block;
}

.doc-card:hover .bookcta {
    background: var(--blue-800);
}

/* Specialty Tags Styles */
.doc-card .specialties-section {
    margin-top: 12px;
}

.doc-card .specialties-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
}

.doc-card .specialty-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    color: #333;
    font-weight: 500;
    margin: 0;
    border: none;
    flex-shrink: 1;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
    text-align: center;
}

/* If only 1 specialty - take full width with ellipsis */
.doc-card .specialties-tags .specialty-tag:only-of-type:not(.more-count) {
    flex-shrink: 1;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 1st specialty when there are 2+ */
.doc-card .specialties-tags .specialty-tag:nth-of-type(1):not(:only-of-type) {
    flex-shrink: 0;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 2nd specialty */
.doc-card .specialties-tags .specialty-tag:nth-of-type(2) {
    flex-shrink: 1;
    min-width: 100px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* More count badge */
.doc-card .specialty-tag.more-count {
    background: #f0f0f0 !important;
    color: #666 !important;
    font-weight: 600;
    flex-shrink: 0;
    padding: 6px 12px;
    max-width: none !important;
    overflow: visible !important;
}

.listing-content {
    display: flex;
    width: 100%;
}

.close-filt {
    height: 20px;
    width: 20px;
    cursor: pointer;
}

.close-filt svg {
    height: 100%;
    width: 100%;
    display: flex;
}

.listing-content .right {
    width: 100%;
    transition: all 0.4s ease-out;
}

.listing-content.filteropen .filter-container {
    width: 100%;
    padding: 24px 0;
}

.listing-content .left.main-filter {

    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    visibility: hidden;
}

.listing-content .left.main-filter.filteropen {
    visibility: visible;
}

.filter-container {
    background: #CFD7E01A;
    width: 348px;
    border-right: 1px solid #E8E8E8;
    border-bottom: 1px solid #E8E8E8;
    background: var(--white);
    overflow: hidden;
    height: 100%;
    position: relative;
    left: -100%;
    transition: all 0.4s ease-out;
    transition-delay: 0s;
}

.listing-content .left.main-filter.filteropen .filter-container {
    left: 0;
}

.filter-container .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 40px;
    padding-right: 40px;
}

.filter-container .top-bar p {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
}

.filter-container .filters_list {
    padding: 0 40px;
    height: calc(100vh - 160px);
    overflow: auto;
}

.filters_list .filterlistcont .titlebox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 0 0;
    cursor: pointer;
}

.filters_list .filterlistcont .titlebox .lft {
    display: flex;
    gap: 6px;
    align-items: center;
}

.filters_list .filterlistcont .titlebox span {
    font-size: 12px;
    color: var(--blue);
    padding: 0;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    min-width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    text-align: center;
}

.filters_list .filterlistcont {
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 16px;
}

.filters_list .filterlistcont:nth-child(3) {
    border-top: 1px solid #D9D9D9;
    /* padding-top: 0; */
}

.filters_list .filterlistcont .titlebox p {
    font-size: 0.875rem;
    font-weight: 700;
    color: #333333;
    pointer-events: none;
}

.filter-container .titlebox .drop {
    transition: all 0.4s ease-out;
    pointer-events: none;
}

.filter-container .titlebox .drop svg {
    display: flex;
}

.filterlistcont.dropped .titlebox .drop {
    transform: rotate(180deg);
}

.filters_list .filterlistcont .dropbox {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease-out;
}

.filters_list .filterlistcont .search {
    width: 100%;
    margin-top: 16px;
}

.filters_list .filterlistcont .search input {
    width: 100%;
}

.filters_list .list .filt_list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 400;
    padding-left: 16px;
}

.filt_list input {
    accent-color: var(--blue-600);
    flex-shrink: 0;
}

.filt_list {
    cursor: pointer;
}

.filt_list .text {
    width: 100%;
}

.filt_list .count {
    padding: 0px 8px;
    border-radius: 999px;
    background: var(--blue-600);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 400;
    flex-shrink: 0;
}

.filterlistcont .list {
    max-height: 135px;
    overflow: auto;
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    padding-bottom: 16px;
}

.filterlistcont .list::-webkit-scrollbar {
    width: 4px;
}

.filterlistcont .list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.filterlistcont .list::-webkit-scrollbar-thumb {
    background: #D9D9D9;
}

.filterlistcont .list::-webkit-scrollbar-thumb:hover {
    background: #D9D9D9;
}

.sub-cats .top-bar {
    display: none;
}

.sub-cats .bottom {
    display: none;
}

.listtitle {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.listtitle .left_count {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.listtitle p {
    font-size: 1rem;
    font-weight: 600;
    color: #0F3963;
}

.listtitle span {
    font-size: 0.875rem;
    color: #879CB1;
}

.cattitle {
    display: none;
}

.listing tr {
    grid-column: span 3;
}

.listing tr td {
    display: block;
    width: 100%;
    height: 100%;
}

.listing tr td .col-3,
.listing tr td .doc-card {
    height: 100%;
}

#trainer_list {
    width: 100% !important;
}

.d-none {
    display: none;
}

.sort-btn-block {
    position: relative;
    width: 200px;
    font-family: sans-serif;
}

.sort-btn {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sort-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 1000;
    display: none;
    /* initially hidden */
}

.sort-menu li a {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    color: #333;
}

.sort-menu li a:hover {
    background-color: #f0f0f0;
}

#trainer_list_filter {
    display: none;
}

#cover-spin {
    position: fixed;
    z-index: 999;
    background: rgba(255, 255, 255, 0.16);
    height: 100vh;
    width: 100%;
    top: 0;
    left: 0;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 50px;
    --b: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 1px;
    background: conic-gradient(#0000 10%, var(--blue)) content-box;
    -webkit-mask:
        repeating-conic-gradient(#0000 0deg, #000 1deg 20deg, #0000 21deg 36deg),
        radial-gradient(farthest-side, #0000 calc(100% - var(--b) - 1px), #000 calc(100% - var(--b)));
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
    animation: l4 1s infinite steps(10);
}

.trainer_list_processing {
    width: 100%;
}

.overlay-spinner {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 24px;
    margin-top: 50px;
}

.active_filters {
    position: relative;
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.active_filters p.topactfilts {
    position: absolute;
    top: 0;
    transform: translateY(-100%);
    font-size: 14px;
    color: #20B7DC;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.active_filters p.allfilters {
    position: relative;
    width: 90px;
    font-size: 14px;
    color: #20B7DC;
    text-decoration: underline;
    text-underline-offset: 2px;
    background: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: flex-end;
}

.active_filters p.allfilters.hidden {
    display: none;
}

.active_filters p.allfilters .all {
    display: block;
}

.active_filters p.allfilters .less {
    display: none;
}

.active_filters p.allfilters.shown .all {
    display: none;
}

.active_filters p.allfilters.shown .less {
    display: block;
}

.active_filters .act_fitls_cont {
    width: calc(100% - 100px);
    overflow: auto;
    padding: 8px 0;
}

.active_filters .act_fitls_cont .actfiltflex {
    width: max-content;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.active_filters .act_fitls_cont .actfiltflex .filter-selection.d-none {
    display: none;
}

.active_filters .act_fitls_cont .actfiltflex .filter-selection {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.active_filters .act_fitls_cont .actfiltflex.shown {
    width: 100%;
    flex-wrap: wrap;
}

.active_filters .act_fitls_cont .actfiltflex.shown .filter-selection {
    flex-wrap: wrap;
}

.active_filters .actfilter {
    display: flex;
    align-items: center;
    background: #E7EBEF;
    padding: 4px 8px;
    border-radius: 999px;
}

.active_filters .actfilter span {
    font-size: 12px;
    color: #333333;
    font-weight: 400;
}

.active_filters .actfilter .closefilter {
    font-size: 12px;
    color: #333333;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
}

.active_filters .act_fitls_cont::-webkit-scrollbar {
    height: 4px;
}

.active_filters .act_fitls_cont::-webkit-scrollbar-thumb {
    background: var(--blue);
}

.listingmodal .submission button {
    min-width: inherit;
    width: max-content;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.listingmodal .formbox {
    max-width: 760px;
}

.subbg {
    display: none;
}

@keyframes l4 {
    to {
        transform: rotate(1turn)
    }
}

/* large  */
@media only screen and (max-width: 1200px) {
    .lr-pad {
        padding-left: 60px;
        padding-right: 60px;
    }

    .search input {
        width: 360px;
    }

    /* Desktop device: grid-template-columns inherited from base .listing style (12 columns) */
    .listing {
        /* grid-template-columns: repeat(0, 1fr) !important; Commented - uses base 12 column grid */
    }
}

/* tab  */
@media only screen and (max-width: 991px) {
    .mobileOnly {
        display: block;
    }

    .desktopOnly {
        display: none;
    }

    .lr-pad {
        padding-left: 16px;
        padding-right: 16px;
    }

    .l-pad {
        padding-left: 16px;
    }

    .r-pad {
        padding-right: 16px;
    }

    .tb-pad {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .t-pad {
        padding-top: 40px;
    }

    .b-pad {
        padding-bottom: 40px;
    }

    .togglebox {
        display: none;
    }

    .filterside .sort {
        display: none;
    }

    .listfilters {
        flex-direction: row-reverse;
    }

    .filterside .boxed p {
        display: none;
    }

    .filterbox {
        height: 52px;
        width: 52px;
    }

    .searchside {
        max-width: calc(100% - 92px);
    }

    .searchside .search {
        width: 100%;
    }

    .searchside .search input {
        max-width: 100%;
    }

    .categories .swiper-slide .slidebox {
        flex-direction: row;
    }

    .categories .swiper-slide .slidebox p {
        padding: 10px 16px 10px 12px;
    }

    .categories .swiper-slide .slidebox.selected {
        background: var(--blue);
        border-radius: 999px;
    }

    .categories .swiper-slide .slidebox.selected p {
        color: var(--white);
    }

    .categories .swiper-slide .slidebox .icon {
        padding-left: 8px;
    }

    .categories .swiper-slide .slidebox.selected img {
        filter: brightness(0) invert(1);
    }

    .categories .swiper-slide .slidebox p::after {
        display: none;
    }

    .categories .navbtn {
        top: 2px;
        height: 30px;
        width: 30px;
    }

    .filter-container .top-bar {
        padding-top: 0;
    }

    .categories .navbtn {
        top: 6px;
    }

    .categories .nav-next {
        right: -15px;
    }

    .categories .nav-prev {
        left: -15px;
    }

    .doc-card:hover {
        transform: none;
        box-shadow: none;
        border-color: #E8E8E8;
    }

    .listing {
        grid-template-columns: repeat(6, 1fr);
    }

    .doc-card .content {
        text-align: center;
        padding: 16px 4px;
        padding-bottom: 16px;
    }

    .doc-card .content .sub {
        font-size: 0.75rem;
        margin: 6px auto 0 auto;
    }

    .doc-card .content .name {
        justify-content: center;
    }

    .doc-card .tags {
        display: none;
    }

    .doc-card .list li {
        justify-content: center;
        display: none;
        font-size: 0.875rem;
    }

    .doc-card .list li:nth-child(1) {
        display: flex;
    }

    .doc-card .list li .tohide {
        display: none;
    }

    .doc-card {
        padding-bottom: 48px;
    }

    .doc-card .bookcta {
        width: 100%;
        left: 0;
        margin-bottom: 0;
        border-radius: 0 0 8px 8px;
        font-size: 0.875rem;
        bottom: 0;
        white-space: nowrap;
    }

    .doc-card .content .name p {
        font-size: 1rem;
    }

    .doc-card .list {
        margin-top: 8px;
    }

    .categories {
        padding: 0 8px;
    }

    .listing-content .left.main-filter {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        border-top: 1px solid #E8E8E8;
        border-radius: 8px 8px 0 0;
        overflow: hidden;
        transform: translateY(100%);
        transition: all 0.3s ease-in;
        height: 100svh;
    }

    .filter-container {
        width: 100%;
        background: var(--white);
        padding: 40px 0px 24px 0px;
        left: 0;
    }

    .listing-content.filteropen .right {
        width: 100%;
    }

    .listing-content.filteropen .filterside {
        display: block;
    }

    .listing-content .left.main-filter.filteropen {
        transform: translateY(0%);
    }

    .filters_list {
        max-height: calc(100svh - 160px);
        overflow: auto;
    }

    .sub-cats {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        border-top: 1px solid #E8E8E8;
        border-radius: 8px 8px 0 0;
        background: var(--white);
        overflow: hidden;
        padding: 24px;
        transform: translateY(100%);
        transition: 0.4s all ease-out;
    }

    .subbg {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9;
        /* opacity: 0.1; */
    }

    .sub-cats .top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 24px;
    }

    .sub-cats .top-bar p {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--black);
    }

    .sub-cats .top-bar .close-subcat {
        display: flex;
        align-items: center;
    }

    .sub-catslider {
        max-height: calc(100svh - 350px);
        overflow: auto;
    }

    .sub-cats .navbtn {
        display: none;
    }

    .sub-cats .swiper-wrapper {
        flex-wrap: wrap;
        gap: 16px;
    }

    .filterbox .count {
        font-size: 12px;
        padding: 2px;
    }

    .sub-cats .bottom {
        display: block;
        margin-top: 24px;
    }

    .listtitle {
        display: flex;
        align-items: flex-end;
        margin-bottom: 16px;
        gap: 6px;
    }

    .listtitle p {
        font-size: 0.875rem;
        font-weight: 600;
        color: #0F3963;
    }

    .listtitle span {
        font-size: 12px;
        color: #879CB1;
    }

    .stickybox {
        padding: 24px 0 16px 0;
    }

    .cattitle {
        display: block;
        margin-bottom: 8px;
        padding-left: 8px;
    }

    .cattitle p,
    .cattitle h1 {
        font-size: 1rem;
        font-weight: 700;
        color: #0F3963;
    }

    .sort select {
        font-size: 12px;
        padding: 8px;
        padding-right: 22px;
        height: auto;
    }

    .doc-card .bookcta {
        background: var(--blue);
        color: var(--white);
    }

    .active_filters .act_fitls_cont {
        width: 100%;
    }

    .active_filters p.allfilters {
        position: absolute;
        top: 0;
        transform: translateY(-100%);
        right: 16px;
    }

    .categories .swiper-slide .slidebox.dot::after {
        right: 4px;
    }

    .list_sorting label {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* less tab  */
@media only screen and (max-width: 767px) {}

/* mobile  */
@media only screen and (max-width: 563px) {}

/* Desktop: 4 columns (span 3 of 12) */
.listing tr {
    grid-column: span 3;
}

@media only screen and (max-width: 1024px) {
    .listing tr {
        grid-column: span 4;
    }
}

/* Tablet: List view = 1 column, Grid view = 2 columns */
@media only screen and (max-width: 991px) and (min-width: 768px) {
    /* List view (default) - 1 column */
    .listing tr {
        grid-column: span 6 !important;
    }
    .listing.two-column .col-3,.listing .col-3{
        grid-column: span 6 !important;
    }
    
    /* Grid view - 2 columns */
    .listing.two-column tr {
        grid-column: span 6 !important;
    }
}

/* Mobile: List view = 1 column, Grid view = 2 columns */
@media only screen and (max-width: 767px) {
    /* List view (default) - 1 column */
    .listing tr {
        grid-column: span 12 !important;
    }
    
    /* Grid view - 2 columns */
    .listing.two-column tr {
        grid-column: span 6 !important;
    }
}

/* Mobile (Small screens) - Responsive grid */
@media only screen and (max-width: 640px) {
    /* List view (default) - 1 column */
    .listing {
        grid-template-columns: repeat(12, 1fr) !important;
        gap: 24px 0 !important;
    }
    
    .listing tr {
        grid-column: span 12 !important;
    }
    
    .listing .col-3 {
        grid-column: span 12 !important;
        width: 100% !important;
    }
    
    /* Grid view - 2 columns */
    .listing.two-column {
        grid-template-columns: repeat(12, 1fr) !important;
        gap: 20px 12px !important;
    }
    
    .listing.two-column tr {
        grid-column: span 6 !important;
    }
    
    .listing.two-column .col-3 {
        grid-column: span 6 !important;
        width: 100% !important;
    }

    .doc-card .content .name p{
        text-align: left !important;
        text-wrap: wrap !important;
        gap: 5px !important;
    }
}

/* Very Small Devices (< 426px) - Extra responsive adjustments */
@media only screen and (max-width: 426px) {
    /* List view - 1 column (full width) */
    .listing {
        grid-template-columns: repeat(12, 1fr) !important;
        gap: 20px 0 !important;
    }
    
    .listing tr {
        grid-column: span 12 !important;
    }
    
    .listing .col-3 {
        grid-column: span 12 !important;
    }
    
    /* Grid view - 2 columns (compact) */
    .listing.two-column {
        grid-template-columns: repeat(12, 1fr) !important;
        gap: 16px 8px !important;
    }
    
    .listing.two-column tr {
        grid-column: span 6 !important;
    }
    
    .listing.two-column .col-3 {
        grid-column: span 6 !important;
    }
    
    /* Adjust card spacing for very small screens */
    .doc-card {
        border-radius: 10px;
    }
    
    .doc-card .content {
        padding: 12px;
    }
    
    .doc-card .name p {
        font-size: 16px;
    }
    
    .doc-card .bookcta {
        font-size: 14px;
        padding: 14px 18px;
    }
}

/* =====================================================
   RESTORED UI/UX IMPROVEMENTS - ALL MISSING STYLES
   ===================================================== */

/* Unified Search & Filter Bar */
.unified-search-filter {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.unified-search-filter .search {
    flex: 1;
    position: relative;
}

.unified-search-filter .search input {
    width: 100%;
    padding: 14px 48px 14px 48px;
    border: 1px solid #D2D2D2;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-body);
    background: url('../img/search-icon.svg') no-repeat 16px center;
    background-size: 20px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.unified-search-filter .search input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(15, 57, 99, 0.1);
}

.unified-search-filter .search .cross-search {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

.unified-search-filter .search .cross-search:hover {
    background: #f5f5f5;
}

.unified-search-filter .filter-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid #D2D2D2;
    border-radius: 8px;
    cursor: pointer;
    background: white;
    position: relative;
    transition: all 0.3s;
}

.unified-search-filter .filter-icon-btn:hover {
    border-color: var(--primary-blue);
    background: #f8f9fa;
}

.unified-search-filter .filter-icon-btn .count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    min-width: 20px;
    width: 20px;
    height: 20px;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    border: 2px solid white;
    text-align: center;
    line-height: 1.5;
}

/* Quick Filters */
.quick-filters {
    display: none;
    gap: 12px;
    overflow-x: auto;
    padding: 12px 0 16px 0;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.quick-filters::-webkit-scrollbar {
    display: none;
}

.quick-filter-chip {
    flex-shrink: 0;
    padding: 12px 20px;
    border: 1px solid #E8E8E8;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    user-select: none;
}

.quick-filter-chip:hover {
    border-color: var(--primary-green);
    background: #f8f9fa;
}

.quick-filter-chip.active {
    background: var(--light-green);
    border-color: var(--primary-green);
    color: var(--dark-green);
    font-weight: 600;
}

/* View Toggle Buttons */
.view-toggle {
    display: none;
    gap: 8px;
    align-items: center;
}

@media only screen and (max-width: 991px) {
    .view-toggle {
        display: flex !important;
    }
}

.view-toggle-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #D2D2D2;
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.view-toggle-btn:hover {
    border-color: var(--primary-blue);
    background: #f8f9fa;
}

.view-toggle-btn.active {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
}

/* Results Header - Right Controls */
.listtitle .right-controls {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Badge Chips (TOP RATED, VERIFIED) */
.doc-card .badge-chips {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.doc-card .badge-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doc-card .badge-chip.top-rated {
    background: var(--light-orange);
    color: var(--orange);
}

.doc-card .badge-chip.verified {
    background: var(--light-green);
    color: var(--dark-green);
}

/* Rating Badge */
.doc-card .rating-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #FFF9E6;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #F57F17;
}

.doc-card .rating-badge svg {
    width: 14px;
    height: 14px;
    color: #F57F17;
}

/* Available Today Badge */
.doc-card .available-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 151, 72, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Meta Info (Experience, Clients) */
.doc-card .meta-info {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.doc-card .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.doc-card .meta-item .icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-card .meta-item .icon svg {
    width: 100%;
    height: 100%;
}

/* Category Navigation Improvements */
.categories .swiper-slide .slidebox {
    padding: 2px 12px;
    border: 1px solid #E8E8E8;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.categories .swiper-slide .slidebox:hover {
    border-color: var(--primary-blue);
    background: #f8f9fa;
}

.categories .swiper-slide .slidebox.selected {
    background: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
}

.categories .swiper-slide .slidebox.selected p {
    color: white !important;
}

.categories .swiper-slide .slidebox.selected img {
    filter: brightness(0) invert(1);
}

.categories .swiper-slide .slidebox.dot::after {
    background: var(--primary-blue) !important;
}

.categories .swiper-slide .slidebox.dot.selected::after {
    background: var(--white) !important;
}

/* Sub-categories Selected State */
.sub-cats .swiper-slide .slidebox.selected {
    background: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    padding: 10px 18px;
}

.sub-cats .swiper-slide .slidebox.selected p {
    color: white !important;
    font-weight: 600;
}

.sub-cats .swiper-slide .slidebox.selected .icon {
    filter: brightness(0) invert(1);
}

/* Navigation Arrows */
.navbtn {
    background: white;
    border: 1px solid #E8E8E8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding: 0;
}

.navbtn svg {
    display: block;
    margin: auto;
}

.navbtn:hover {
    border-color: var(--primary-blue);
    background: #f8f9fa;
}

.navbtn svg path {
    transition: stroke 0.3s;
}

.navbtn:hover svg path {
    stroke: var(--primary-blue);
}

/* Results Header Improvements */
.listtitle .left_count p {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--primary-blue) !important;
}

/* Filter Container Improvements */
.filter_cont {
    margin-bottom: 24px;
}

/* Active Filters Styling */
.active_filters {
    margin-bottom: 20px;
}

.active_filters .clearbtn {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    text-decoration: underline;
}

/* Mobile Responsive Improvements */
@media only screen and (max-width: 991px) {
    .unified-search-filter {
        margin-bottom: 16px;
    }
    
    .unified-search-filter .search input {
        padding: 12px 44px 12px 44px;
        font-size: 15px;
    }
    
    .unified-search-filter .filter-icon-btn {
        width: 48px;
        height: 48px;
    }
    
    .quick-filters {
        padding: 10px 0 14px 0;
        gap: 10px;
        margin-bottom: 16px;
    }
    
    .quick-filter-chip {
        font-size: 14px;
        padding: 10px 18px;
    }
    
    .listtitle {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .listtitle .right-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .doc-card .badge-chips {
        flex-wrap: wrap;
    }
    
    .doc-card .meta-info {
        flex-direction: column;
        gap: 8px;
    }
}

@media only screen and (max-width: 640px) {
    .quick-filters {
        padding: 10px 0 12px 0;
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .quick-filter-chip {
        font-size: 15px;
        padding: 10px 16px;
        min-height: 40px;
    }
    
    .categories {
        margin-bottom: 16px;
        padding-bottom: 10px;
    }
    
    .doc-card .content .name p {
        font-size: 18px;
    }
    
    .doc-card .content .sub {
        font-size: 14px;
    }
    
    .doc-card .meta-item {
        font-size: 13px;
    }
    
    .doc-card .rating-badge {
        font-size: 14px;
    }
    
    .doc-card .available-badge {
        font-size: 12px;
        padding: 8px 14px;
        min-height: 32px;
    }
    
    .doc-card .bookcta {
        font-size: 16px;
        padding: 16px 20px;
        min-height: 60px;
    }
}

/* =====================================================
   ADDITIONAL UI/UX IMPROVEMENTS
   ===================================================== */

/* Two-Column Grid Layout - Card adjustments */
.listing.two-column .doc-card .imagebox {
    padding-bottom: 100%;
}

.listing.two-column .doc-card .content .name p {
    font-size: 16px;
}

.listing.two-column .doc-card .content {
    padding: 14px;
}

/* Improved Card Border Radius */
.doc-card {
    border-radius: 12px !important;
}

.doc-card .imagebox {
    border-radius: 12px 12px 0 0 !important;
}

/* Improved Content Padding */
.doc-card .content {
    padding: 16px 8px 20px 8px;
}

/* Name Section with Rating */
.doc-card .content .name {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.doc-card .content .name p {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Country Flag in Name */
.doc-card .content .name .country img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

/* Job Title Styling */
.doc-card .content .sub {
    font-size: 14px;
    color: #666;
    margin: 4px 0 12px 0;
}

/* Category Tab Border Improvements */
.categories .swiper-slide .slidebox:not(.selected) {
    background: white;
}

/* Filter Icon Button Improvements */
.filter-icon-btn.has-filters {
    border-color: var(--primary-blue);
    background: #f8f9fa;
}

/* Sort Dropdown Improvements */
.list_sorting select {
    border: 1px solid #D2D2D2;
    border-radius: 6px;
    padding: 10px 32px 10px 12px;
    font-size: 14px;
    color: #333;
    background-color: white;
    cursor: pointer;
}

.list_sorting select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* Active Filters Improvements */
.active_filters .actfilter {
    border: 1px solid #D2D2D2;
    padding: 6px 12px;
    border-radius: 20px;
}

.active_filters .actfilter span {
    font-size: 13px;
    font-weight: 500;
}

/* Sub-category Improvements */
.sub-cats .swiper-slide .slidebox {
    padding: 10px 18px;
    border: 1px solid #D2D2D2;
    border-radius: 8px;
    font-size: 14px;
}

/* Improved Hover States */
.doc-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: #CCCCCC;
}

/* Gap Improvements */
.listing {
    gap: 32px 24px;
}

/* Card Padding Bottom for CTA */
.doc-card {
    padding-bottom: 70px;
}

/* CTA Button Improvements */
.doc-card .bookcta {
    border-radius: 0 0 12px 12px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Aspect Ratio Fix */
.doc-card .imagebox {
    aspect-ratio: 1;
    height: 0;
    padding-bottom: 100%;
    padding-top: 0;
}

/* Specialty Tags - Additional Responsive Rules */
@media only screen and (max-width: 991px) {
    .doc-card .specialty-tag {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .doc-card .specialties-tags .specialty-tag:nth-of-type(1):not(:only-of-type) {
        max-width: 100px;
    }
    
    .doc-card .specialties-tags .specialty-tag:nth-of-type(2) {
        max-width: 150px;
    }
    
    .doc-card {
        padding-bottom: 60px;
    }
}

@media only screen and (max-width: 640px) {
    .doc-card .specialty-tag {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .doc-card .specialties-tags {
        gap: 6px;
        flex-wrap: wrap;
    }
}

/* Meta Info Responsive */
@media only screen and (max-width: 991px) {
    .doc-card .meta-info {
        gap: 12px;
    }
    
    .doc-card .meta-item {
        font-size: 13px;
    }
}

/* Badge Chips Responsive */
@media only screen and (max-width: 640px) {
    .doc-card .badge-chip {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* Available Badge Responsive */
@media only screen and (max-width: 991px) {
    .doc-card .available-badge {
        top: 8px;
        right: 8px;
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Rating Badge Responsive */
@media only screen and (max-width: 991px) {
    .doc-card .rating-badge {
        padding: 3px 6px;
        font-size: 13px;
    }
    
    .doc-card .rating-badge svg {
        width: 12px;
        height: 12px;
    }
}

/* Improved Focus States */
.unified-search-filter .search input:focus,
.list_sorting select:focus,
.filter-icon-btn:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Improved Active States */
.quick-filter-chip.active {
    box-shadow: 0 2px 8px rgba(0, 151, 72, 0.2);
}

.view-toggle-btn.active {
    box-shadow: 0 2px 8px rgba(15, 57, 99, 0.2);
}

/* Smooth Scrolling */
.quick-filters {
    scroll-behavior: smooth;
}

/* Accessibility Improvements */
.quick-filter-chip:focus,
.view-toggle-btn:focus,
.navbtn:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =====================================================
   LAPTOP RESPONSIVE BREAKPOINTS
   ===================================================== */

/* Large Desktop (1920px+) - 4K/Ultra-wide displays */
@media only screen and (min-width: 1920px) {
    .lr-pad {
        padding-left: 120px;
        padding-right: 120px;
    }
    
    /* Desktop device: grid-template-columns inherited from base .listing style (12 columns) */
    .listing {
        gap: 40px 32px;
    }
    
    .doc-card .content {
        padding: 20px 24px 24px 24px;
    }
    
    .doc-card .content .name p {
        font-size: 22px;
    }
    
    .doc-card .content .sub {
        font-size: 16px;
    }
    
    .doc-card .bookcta {
        font-size: 20px;
        padding: 20px 28px;
    }
}

/* Standard Desktop (1440px - 1919px) - Most common laptop size */
@media only screen and (min-width: 1440px) and (max-width: 1919px) {
    .lr-pad {
        padding-left: 100px;
        padding-right: 100px;
    }
    
    /* Desktop device: grid-template-columns inherited from base .listing style (12 columns) */
    .listing {
        gap: 36px 28px;
    }
    
    .listing .col-3 {
        grid-column: span 3 !important; /* 4 columns */
    }
    
    .listing.two-column .col-3 {
        grid-column: span 6 !important; /* 2 columns */
    }
    
    .doc-card .content .name p {
        font-size: 20px;
    }
    
    .doc-card .bookcta {
        font-size: 18px;
        padding: 18px 24px;
    }
}

/* Medium Laptop (1200px - 1439px) - Standard laptop */
@media only screen and (min-width: 1200px) and (max-width: 1439px) {
    .lr-pad {
        padding-left: 80px;
        padding-right: 80px;
    }
    
    /* Desktop device: grid-template-columns inherited from base .listing style (12 columns) */
    .listing {
        gap: 32px 24px;
    }
    
    .listing .col-3 {
        grid-column: span 3 !important; /* 4 columns */
    }
    
    .listing.two-column .col-3 {
        grid-column: span 6 !important; /* 2 columns */
    }
    
    .unified-search-filter .search input {
        font-size: 16px;
    }
    
    .doc-card .content .name p {
        font-size: 18px;
    }
    
    .doc-card .content .sub {
        font-size: 14px;
    }
}

/* Small Laptop (992px - 1199px) - Compact laptop */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .lr-pad {
        padding-left: 60px;
        padding-right: 60px;
    }
    
    /* Desktop device: grid-template-columns inherited from base .listing style (12 columns) */
    .listing {
        /* grid-template-columns: repeat(12, 1fr); */ /* Not needed - uses base style */
        gap: 28px 20px;
    }
    
    .listing .col-3 {
        grid-column: span 3 !important; /* 4 columns */
    }
    
    .listing.two-column .col-3 {
        grid-column: span 6 !important; /* 2 columns */
    }
    
    .unified-search-filter .search input {
        font-size: 15px;
        padding: 12px 44px;
    }
    
    .quick-filter-chip {
        font-size: 14px;
        padding: 10px 18px;
    }
    
    .doc-card .content {
        padding: 14px 16px 18px 16px;
    }
    
    .doc-card .content .name p {
        font-size: 17px;
    }
    
    .doc-card .content .sub {
        font-size: 13px;
    }
    
    .doc-card .meta-item {
        font-size: 13px;
    }
    
    .doc-card .bookcta {
        font-size: 16px;
        padding: 16px 20px;
    }
    
    .doc-card .specialty-tag {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* Laptop Landscape Optimization (1366px - 1440px) - Common laptop resolution */
@media only screen and (min-width: 1366px) and (max-width: 1440px) {
    .listing {
        gap: 32px 24px;
    }
    
    .doc-card {
        padding-bottom: 70px;
    }
}

/* MacBook Pro 13" (1280px - 1365px) */
@media only screen and (min-width: 1280px) and (max-width: 1365px) {
    .lr-pad {
        padding-left: 70px;
        padding-right: 70px;
    }
    
    .listing {
        gap: 30px 22px;
    }
    
    .doc-card .content .name p {
        font-size: 18px;
    }
}

/* MacBook Air / Small Laptop (1024px - 1279px) */
@media only screen and (min-width: 1024px) and (max-width: 1279px) {
    .lr-pad {
        padding-left: 50px;
        padding-right: 50px;
    }
    
    /* Desktop device: grid-template-columns inherited from base .listing style (12 columns) */
    .listing {
        /* grid-template-columns: repeat(12, 1fr); */ /* Not needed - uses base style */
        gap: 28px 20px;
    }
    
    .listing .col-3 {
        grid-column: span 4 !important; /* 3 columns */
    }
    
    .listing.two-column .col-3 {
        grid-column: span 6 !important; /* 2 columns */
    }
    
    .unified-search-filter {
        margin-bottom: 18px;
    }
    
    .quick-filters {
        padding: 10px 0 14px 0;
        gap: 10px;
    }
    
    .quick-filter-chip {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .doc-card .content {
        padding: 14px;
    }
    
    .doc-card .content .name p {
        font-size: 16px;
    }
    
    .doc-card .content .sub {
        font-size: 13px;
    }
    
    .doc-card .meta-info {
        gap: 12px;
    }
    
    .doc-card .meta-item {
        font-size: 12px;
    }
    
    .doc-card .bookcta {
        font-size: 15px;
        padding: 14px 18px;
    }
    
    .doc-card .specialty-tag {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .doc-card .specialties-tags .specialty-tag:nth-of-type(1):not(:only-of-type) {
        max-width: 90px;
    }
    
    .doc-card .specialties-tags .specialty-tag:nth-of-type(2) {
        max-width: 140px;
    }
}

/* Laptop Height Adjustments (for short screens) */
@media only screen and (max-height: 768px) and (min-width: 992px) {
    .stickybox {
        padding: 20px 0 16px 0;
    }
    
    .categories {
        margin-bottom: 16px;
    }
    
    .quick-filters {
        padding: 8px 0 12px 0;
    }
    
    .listing_cont {
        height: auto;
    }
}

/* Laptop Height Adjustments (for very short screens) */
@media only screen and (max-height: 600px) and (min-width: 992px) {
    .stickybox {
        position: relative;
        padding: 16px 0 12px 0;
    }
    
    .categories {
        margin-bottom: 12px;
    }
    
    .quick-filters {
        padding: 6px 0 10px 0;
        gap: 8px;
    }
    
    .quick-filter-chip {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* Retina Display Optimization */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi) {
    .doc-card .imagebox img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Laptop Touch Screen Support */
@media (hover: none) and (pointer: coarse) and (min-width: 992px) {
    .quick-filter-chip,
    .view-toggle-btn,
    .filter-icon-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .doc-card:hover {
        transform: none;
    }
}

/* Wide Screen Optimization (21:9 aspect ratio) */
@media only screen and (min-width: 2560px) {
    .lr-pad {
        padding-left: 160px;
        padding-right: 160px;
    }
    
    /* Desktop device: grid-template-columns inherited from base .listing style (12 columns) */
    .listing {
        gap: 48px 40px;
    }
    
    .listing .col-3 {
        grid-column: span 2 !important; /* 6 columns on ultra-wide (span 2 of 12) */
    }
    
    .listing.two-column .col-3 {
        grid-column: span 4 !important; /* 3 columns (span 4 of 12) */
    }
}

@media only screen and (max-width: 376px){
    .doc-card .available-badge{
        padding: 6px;
        font-size: 8px;
        opacity: 0.9;
    }

    .listing.two-column .doc-card .content{
        padding: 5px;
    }
    .listing.two-column .doc-card .content .name{
        gap: 5px !important;
    }
    .listing.two-column .doc-card .content .name p{
        font-size: 12px !important;
    }
    .listing.two-column .doc-card .content .sub{
        font-size: 12px !important;
    }
    .listing.two-column .doc-card .content .name .country img{
        width: 16px !important;
        height: 16px !important;
    }

    .listing.two-column .doc-card .badge-chip{
        font-size: 9px !important;
        padding: 3px !important;
    }
    .listing.two-column .doc-card .badge-chip{
        font-weight: 800 !important;
    }
    .listing.two-column .doc-card .specialties-tags{
        gap: 5px !important;
    }
    .listing.two-column .doc-card .specialties-tags{
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    .listing.two-column .doc-card .bookcta{
        font-size: 12px !important;
    }
}