/* Developer Card Horizontal Layout */
          .developer-card-horizontal {
              display: flex;
              background: #ffffff;
              border-radius: 12px;
              overflow: hidden;
              box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
              transition: all 0.3s ease;
              min-height: 200px;
          }

          .developer-card-horizontal:hover {
              box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
              transform: translateY(-4px);
          }

          .developer-card-left {
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: flex-start;
              padding: 15px;
              background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
              min-width: 250px;
              gap: 10px;
          }

          .developer-card-topmid {
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: flex-start;
              gap: 10px;
          }

          .developer-logo-wrapper {
              width: 150px;
              height: 145px;
              border-radius: 10px;
              overflow: hidden;
              background: #ffffff;
              display: flex;
              align-items: center;
              justify-content: center;
              box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          }

          .developer-logo {
              width: 100%;
              height: auto;
              object-fit: cover;
              padding: 10px;
          }

          .developer-meta {
              text-align: center;
              width: 100%;
          }

          .developer-meta h3 {
              margin: 0 0 10px 0;
              font-size: 20px;
              font-weight: 600;
              color: #071C35;
              white-space: nowrap;
          }

          .developer-meta h3 a {
              overflow: hidden;
              display: block;
              text-overflow: ellipsis;
              white-space: nowrap;
              color: #071C35;
              text-decoration: none;
              transition: color 0.3s ease;

          }

          .developer-meta h3 a:hover {
              color: #0d6efd;
          }

          .developer-stats {
              display: flex;
              gap: 15px;
              justify-content: center;
          }

          .stat-item {
              display: flex;
              flex-direction: column;
              align-items: center;
          }

          .stat-label {
              font-size: 11px;
              color: #6c757d;
              font-weight: 500;
              text-transform: uppercase;
              letter-spacing: 0.5px;
          }

          .stat-value {
              font-size: 18px;
              font-weight: 700;
              color: #000000;
          }

          .developer-card-right {
              flex: 1;
              padding: 15px;
              display: flex;
              flex-direction: column;
              min-width: 0;
          }

          .projects-title-area {
              display: flex;
              justify-content: space-between;
              align-items: center;
              border-bottom: 1px solid #e0dddd;
              margin-bottom: 10px;
              padding-bottom: 5px;
          }

          .projects-title {
              font-size: 20px;
              font-weight: 400;
              color: #071C35;
              text-transform: capitalize;
              letter-spacing: 0.5px;
          }
          .projects-title-area .devdetails-title-tagline a {
              text-transform: capitalize;
              letter-spacing: 0;
              color: #0d6efd;
              font-weight: 500;
              font-size: 13px;
              display: inline;
              text-decoration: underline;
          }

          .projects-list {
    flex: 1;
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}

.project-item {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0;
    gap:5px;
    overflow: hidden;
    min-width: 0;
    border-radius: 5px;
    background: #fff;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    flex: 0 0 calc((100% - 24px) / 3);
    max-width: calc((100% - 24px) / 3);
}
.project-top-item {
    display: block;
    position: relative;
    overflow: hidden;
}

.project-img {
    width: auto;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

          .project-img-placeholder {
              width: 70px;
              height: 70px;
              border-radius: 6px;
              background: #dee2e6;
              flex-shrink: 0;
              display: flex;
              align-items: center;
              justify-content: center;
              color: #999;
          }
          .developer-card-horizontal .listing-badge {
              position: absolute;
              left: 5px;
              top: 5px;
              background: rgb(7 28 53 / 85%);
              padding: 0 5px;
              color: #fff;
              border-radius: 5px;
              font-size: 12px;
              font-weight: 600;
              z-index: 1;
          }

          .project-info {
              display: flex;
              flex-direction: column;
              justify-content: center;
              gap: 5px;
              flex: 1;
              padding: 0 10px 5px;
              min-width: 0;
          }

          .project-info h5 {
              margin: 0;
              font-size: 18px;
              font-weight: 400;
              color: #071C35;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
          }

          .project-info h5 a {
              color: #071C35;
              text-decoration: none;
              transition: color 0.3s ease;
          }

          .project-info h5 a:hover {
              color: #071C35;
          }

          .project-info .project-sub-info {
              margin: 0;
              font-size: 13px;
              color: #6c757d;
	      overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
          }
.project-info .project-sub-info i {
    margin-right: 2px;
    font-weight: 500;
    color: #6c757d;
}

          .card-project-price{
          display: block;
          justify-content: space-between;
          align-items: center;
          position: absolute;
          width: 100%;
          text-align: center;
          bottom: 0;
          background: none;
          padding: 5px 0;
          background: rgb(7 28 53 / 70%);
          border-radius: 5px;
          box-shadow: none;
          z-index: 1;
          }

          .card-project-price .listing-price-amount {
              margin: 0;
              font-size: 20px;
              font-weight: 600;
              color: #fff;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
          }

          .no-projects {
              margin: 0;
              font-size: 13px;
              color: #6c757d;
              text-align: center;
              padding: 20px 0;
          }

          .developer-card-action {
              display: flex;
              gap: 10px;
              margin-top: auto;
              width: 100%;
          }

          .developer-card-action .theme-btn {
              flex: 1;
              padding: 10px 15px;
              font-size: 13px;
              font-weight: 600;
              border-radius: 6px;
              text-decoration: none;
              transition: all 0.3s ease;
          }

          .developer-card-action .btn-primary:hover {
              background: #0b5ed7;
              border-color: #0a58ca;
              transform: translateY(-2px);
          }

          /* Responsive Design */
          @media screen and (max-width: 1024px) {
              .developer-card-horizontal {
                  min-height: auto;
              }

              .developer-card-left {
                  min-width: 160px;
                  padding: 20px;
              }

              .developer-logo-wrapper {
                  width: 120px;
                  height: 90px;
              }

              .developer-card-right {
                  padding: 20px;
              }

              .projects-list {
                  max-height: 250px;
              }
          }

          @media screen and (max-width: 768px) {

    .developer-card-horizontal {
        flex-direction: column;
    }

    .developer-card-left {
        display: block;
        min-width: auto;
        padding: 10px;
        border-radius: 12px 12px 0 0;
    }
    .developer-card-topmid {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
    }
    .developer-logo-wrapper {
        width: 40%;
        height: stretch;
    }

    .developer-card-right {
        padding: 20px;
        border-radius: 0 0 12px 12px;
    }

    .developer-meta {
        text-align: center;
        width: 60%;
    }

    /* MOBILE PROJECT SLIDER */
    .projects-list{
        display:flex;
        overflow-x:auto;
        flex-wrap:nowrap;
        gap:0;
        scroll-snap-type:x mandatory;
        scrollbar-width:none;
        -ms-overflow-style:none;
    }

    .projects-list::-webkit-scrollbar{
        display:none;
    }

    .project-item{
        flex:0 0 100%;
        min-width:100%;
        scroll-snap-align:start;
    }

    .project-top-item{
        width:100%;
    }

    .project-img{
        width:100%;
        height:220px;
        object-fit:cover;
        display:block;
    }

    .slider-dots{
        display:flex;
        justify-content:center;
        gap:8px;
        margin-top:15px;
    }

    .slider-dot{
        width:10px;
        height:10px;
        border-radius:50%;
        background:#d6d6d6;
        cursor:pointer;
        transition:0.3s;
    }

    .slider-dot.active{
        background:#071C35;
    }
  }
 

/* ALC Card Horizontal Layout */

  .location-filter-section {
    padding: 10px 0;
    background: #f5f5f5;
}

.location-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
}

/* IMPORTANT FIXES */
.location-filter-slider {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    white-space: nowrap;
}

.location-filter-slider::-webkit-scrollbar {
    display: none;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    height: auto;
    line-height: normal;
    width: auto;
    border: none;
    background: #fff;
    color: #071C35;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #ccc;
    padding: 5px 15px;
    border-radius: 5px;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-btn:hover {
    background: #071C35;
    color: #fff;
}

.location-btn.active {
    background: #071C35;
    color: #fff;
}

.filter-nav {
    width: auto;
    line-height: normal;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.filter-nav:hover {
    background: #071C35;
    color: #fff;
}

.filter-nav i {
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 768px) {

    .location-filter-wrapper {
        gap: 10px;
    }

    .location-btn {
        height: 34px;
        font-size: 13px;
        padding: 0 14px;
    }

    .filter-nav {
        width: 34px;
        height: 34px;
    }
}

.alc-card-horizontal {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-height: 200px;
}

.alc-card-horizontal:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}


.alc-card-right {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.projects-title-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0dddd;
    margin-bottom: 10px;
    padding-bottom: 5px;
}
.projects-title-left, .projects-title-right {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.alc-card-right .projects-title {
    font-size: 22px;
    font-weight: 600;
    color: #071C35;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}
.alc-card-right .alc-city{
    font-size: 13px;
    color:#585858;
    font-weight: 500;
    display: inline;
}
.alc-card-right .alc-city a {
    display: inline;
    line-height: normal;
}
.alc-card-right .alc-total-projects{
    font-size: 16px;
    color:#071C35;
    font-weight: 600;
    line-height: normal;
    display: inline;
}
.projects-title-area .alc-title-tagline {
    text-transform: capitalize;
    letter-spacing: 0;
    color: #0d6efd;
    font-weight: 500;
    font-size: 13px;
    display: inline;
    text-decoration: underline;
    line-height: normal;
}
.projects-title-area .alc-title-tagline a {
    color: #0d6efd;
    font-size: 13px;
    display: inline;
    text-decoration: underline;
    line-height: normal;
}

.projects-list {
    flex: 1;
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}

.project-item {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0;
    gap:5px;
    overflow: hidden;
    min-width: 0;
    border-radius: 5px;
    background: #fff;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    flex: 0 0 calc((100% - 24px) / 3);
    max-width: calc((100% - 24px) / 3);
}
.project-top-item {
    display: block;
    position: relative;
    overflow: hidden;
}

.project-img {
    width: auto;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.project-img-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    background: #dee2e6;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}
.alc-card-horizontal .listing-badge {
    position: absolute;
    left: 5px;
    top: 5px;
    background: rgb(7 28 53 / 85%);
    padding: 0 5px;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.no-projects {
    margin: 0;
    font-size: 13px;
    color: #6c757d;
    text-align: center;
    padding: 20px 0;
}

.developer-card-action {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.developer-card-action .theme-btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.developer-card-action .btn-primary:hover {
    background: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .developer-card-horizontal {
        min-height: auto;
    }

    .developer-card-left {
        min-width: 160px;
        padding: 20px;
    }

    .developer-logo-wrapper {
        width: 120px;
        height: 120px;
    }

    .developer-card-right {
        padding: 20px;
    }

    .projects-list {
        max-height: 250px;
    }
}

@media (max-width:768px){
    .alc-card-horizontal {
        flex-direction: column;
    }
    .projects-title-area {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        border-bottom: 1px solid #e0dddd;
        margin-bottom: 10px;
        padding-bottom: 5px;
        flex-direction: column;
        gap: 15px;
    }
    .projects-title-left, .projects-title-right {
        width: 100%;
    }
    .projects-title-right {
        display: flex;
        gap: 5px;
        flex-direction: row;
        justify-content: space-between;
    }

    .projects-list{
        display:flex;
        overflow-x:auto;
        flex-wrap:nowrap;
        gap:0;
        scroll-snap-type:x mandatory;
        scrollbar-width:none;
        -ms-overflow-style:none;
    }

    .projects-list::-webkit-scrollbar{
        display:none;
    }

    .project-item{
        flex:0 0 100%;
        min-width:100%;
        scroll-snap-align:start;
    }

    .project-top-item{
        width:100%;
    }

    .project-img{
        width:100%;
        height:220px;
        object-fit:cover;
        display:block;
    }

    .slider-dots{
        display:flex;
        justify-content:center;
        gap:8px;
        margin-top:15px;
    }

    .slider-dot{
        width:10px;
        height:10px;
        border-radius:50%;
        background:#d6d6d6;
        cursor:pointer;
        transition:0.3s;
    }

    .slider-dot.active{
        background:#071C35;
    }
}
    .pagination-area{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    margin-top:40px;
    flex-wrap:wrap;
}

.pagination-area a,
.pagination-area .dots{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    border:1px solid #e5e7eb;
    background:#fff;
    color:#333;
    font-weight:600;
    transition:all .3s ease;
    text-decoration:none;
}

.pagination-area a:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.pagination-area a.active{
    background:#c89b63;
    border-color:#c89b63;
    color:#fff;
}

.pagination-area .page-nav{
    font-size:18px;
}

.pagination-area .dots{
    border:none;
    background:transparent;
    width:auto;
}


/*=========================
    Project List FILTER CARD
==========================*/

.dynamic-filter-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:5px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    overflow:hidden;
}

/*=========================================
    SELECTED FILTERS
=========================================*/

.selected-filter-section{
    position:sticky;
    top:0;
    background:#fff;
    z-index:10;
    padding-bottom:0;
    margin-bottom:5px;
}

.filter-values{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:12px;
}

.filter-values .tag{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:4px 10px;
    background:#e3f2fd;
    border:1px solid #90caf9;
    border-radius:20px;
    color:#1976d2;
    font-size:12px;
    line-height:1.8;
}

.filter-values .remove-tag{
    display:flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    border-radius:50%;
    text-decoration:none;
    color:#1976d2;
    font-size:14px;
    font-weight:400;
    transition:.25s;
}

.filter-values .remove-tag:hover{
    color:#dc3545;
}

.reset-btn{
    color: #dc3545;
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: Capitalize;
    border-bottom:1px solid #dc3545;
    line-height: normal;
    cursor: pointer;
}

.reset-btn:hover{
    color: #dc3545;
}

/*=========================
    BUTTONS
==========================*/

.dynamic-filter-card .btn{
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    text-transform: none;
    color: #333;
    line-height: 1.8;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: normal;
    font-family: inherit;
    font-weight: 400;
}

.dynamic-filter-card .btn-outline-primary{
    background:#fff;
    border:1px solid #ddd;
    color:#333;
}

.dynamic-filter-card .btn-outline-primary:hover{
    background:#f5f5f5;
    border-color:#999;
    color:#333;
}

.dynamic-filter-card .btn-outline-primary:focus {
    box-shadow: none;
}

.dynamic-filter-card .btn-primary{
    background:#007bff;
    border-color:#007bff;
    color:#fff;
}

/*=========================
    SECTIONS
==========================*/

.filter-section{
    margin-bottom:5px;
}

.filter-section:last-child{
    margin-bottom:0;
}

.selected-filter-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position:relative;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background: #f8f9fa;
}
.selected-filter-head .filter-heading{
    position: relative;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    border: none;
    background: none;
    padding: 0;
    border-radius: 0;
}

.filter-heading{
    position:relative;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background: #f8f9fa;
}

.filter-container{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:10px;
}

/*=========================
    MOBILE
==========================*/

@media(max-width:768px){

.dynamic-filter-card{

    padding:10px;
    margin-bottom:30px;
    height: auto;

}

.filter-section{

    border:1px solid #ececec;
    border-radius:5px;
    overflow:hidden;
}

.filter-heading{

    cursor:pointer;
}

.filter-heading:after{

    content:"+";
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    font-size:18px;
    font-weight:600;

}

.filter-section.active .filter-heading:after{

    content:"−";

}

.filter-container{

    display:none;
    padding:12px;

}

.filter-section.active .filter-container{

    display:flex;
    flex-wrap:wrap;
    gap:8px;

}

.filter-container{

    overflow-x:auto;
    white-space:nowrap;
    scrollbar-width:none;

}

.filter-container::-webkit-scrollbar{

    display:none;

}

.selected-filter-section{

    position:relative;
    top:auto;

}

}


/* Filter Button Styles */
.filter-btn {
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    color: #333;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    background-color: #e8e8e8;
    border-color: #999;
}

.filter-btn.active {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

/* Selected Filters Display */
.filter-values,
#selectedFilters {
    display: flex;
    flex-wrap: wrap;
    padding: 12px;
    row-gap: 10px;
    column-gap: 5px;
}

#selectedFilters .tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    background-color: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 16px;
    font-size: 12px;
    color: #1976d2;
}

#selectedFilters .tag .remove-tag {
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #1976d2;
    margin-left: 0;
    transition: color 0.2s;
}

#selectedFilters .tag .remove-tag:hover {
    color: #d32f2f;
}

/* Filter Sections */
.dynamic-filter-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    max-height: 600px;
    overflow: auto;
    scrollbar-width: none;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.filter-section {
   border-radius: 5px;
   overflow: hidden;
   margin-bottom: 5px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-container,
#cityFilters,
#natureFilters,
#statusFilters,
#typeFilters{
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    row-gap: 10px;
    column-gap: 5px;
}

/* =========================================
   MOBILE ONLY
========================================= */

@media(max-width:768px){

    .dynamic-filter-card{
        padding:10px;
        border-radius:5px;
        margin-bottom: 30px;
    }

    /* Accordion look */
    .filter-section{
        border: 1px solid #ececec;
    }

    .filter-heading{
        cursor:pointer;
    }

    .filter-heading:after{
        content:"+";
        position:absolute;
        right:15px;
        top:50%;
        transform:translateY(-50%);
        font-size:18px;
        font-weight:600;
    }

    .filter-section.active .filter-heading:after{
        content:"−";
    }

    .filter-container{
        display:none;
        padding:12px;
        
    }

    .filter-section.active .filter-container{
        display:flex;
        flex-wrap:wrap;
        padding:12px;
    }

    /* Horizontal chip scrolling */
    #cityFilters,
    #natureFilters,
    #statusFilters,
    #typeFilters{
        overflow-x:auto;
        white-space:nowrap;
        scrollbar-width:none;
    }

    #cityFilters::-webkit-scrollbar,
    #natureFilters::-webkit-scrollbar,
    #statusFilters::-webkit-scrollbar,
    #typeFilters::-webkit-scrollbar{
        display:none;
    }
}
