/* HomeSAE AJAX Search Plugin Styles */
/* Following UI/UX Rules: Plus Jakarta Sans font, 8px spacing, Black primary color, modern design */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* CSS Variables for consistent theming - Black Theme */
:root {
    --homesae-primary: #000000;
    --homesae-primary-dark: #1a1a1a;
    --homesae-primary-light: #333333;
    --homesae-success: #10B981;
    --homesae-error: #EF4444;
    --homesae-warning: #F59E0B;
    --homesae-info: #6B7280;
    --homesae-bg-page: #F8FAFC;
    --homesae-bg-card: #FFFFFF;
    --homesae-text-primary: #000000;
    --homesae-text-secondary: #374151;
    --homesae-text-muted: #6B7280;
    --homesae-border: #D1D5DB;
    --homesae-border-dark: #000000;
    --homesae-shadow-subtle: 0 1px 3px rgba(0,0,0,0.1);
    --homesae-shadow-hover: 0 4px 6px rgba(0,0,0,0.15);
    --homesae-shadow-strong: 0 8px 20px rgba(0,0,0,0.2);
    --homesae-radius: 8px;
    --homesae-radius-large: 12px;
    --homesae-transition: all 0.2s ease-in-out;
}

/* Base Styles */
.homesae-search-container {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #000000;
    padding: 40px 0;
    margin-bottom: 40px;
}

/* Search Header Styles */
.homesae-search-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 32px;
}

.homesae-search-title {
    font-size: 28px !important;
    font-weight: 700;
    color: white;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.homesae-search-description {
    font-size: 16px;
    color: white;
    margin: 0;
    opacity: 0.9;
    margin: 0 auto;
    line-height: 1.6;
}


/* Search Form Styles */
.homesae-search-form {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.homesae-search-fields {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.homesae-field-group {
    flex: 1;
}

.homesae-button-group {
    display: flex;
    gap: 12px;
    align-items: left  ;
}

.homesae-select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid white;
    border-radius: 6px;
    font-size: 15px !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #000000;
    color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}



.homesae-select:hover {
    border-color: rgba(255, 255, 255, 0.8);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white !important;
    line-height: 40px !important;
    padding-left: 20px !important;
   font-size: 15px !important;
}
/* Button Styles */
.homesae-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 24px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;

    text-decoration: none;
    line-height: 1.4;
    min-width: 120px;
    justify-content: center;
}

.homesae-btn-search {
    background: white;
    color: black;
}



.homesae-btn-clear {
    background: white;
    color: black;
}


.homesae-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Button Styles */
.homesae-search-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.homesae-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 24px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;

}
.select2-container--default .select2-results>.select2-results__options {
    max-height: 300px;
    overflow-y: auto;
}
.homesae-btn-primary {
    background: var(--homesae-primary);
    color: white;
}

.homesae-btn-primary:hover {
    background: var(--homesae-primary-dark);

    box-shadow: var(--homesae-shadow-hover);
}

.homesae-btn-secondary {
    background: var(--homesae-bg-card);
    color: var(--homesae-primary);
    border: 1px solid var(--homesae-primary);
}

.homesae-btn-secondary:hover {
    background: var(--homesae-primary);
    color: white;
    transform: translateY(-1px);
}

.homesae-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}



/* Project Grid Container */
.homesae-search-results {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}
/* Search Results Styles */
.homesae-search-results {
    margin-top: 32px;
    margin-bottom: 32px;
}

/* Results Header */
.homesae-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 16px;
}

.homesae-results-info {
    font-size: 16px;
    color: var(--homesae-text-primary);
    font-weight: 500;
	white-space: nowrap;
}

.homesae-sort-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.homesae-sort-select {
    padding: 8px 16px;
    border: 1px solid var(--homesae-border);
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--homesae-bg-card);
    color: var(--homesae-text-primary);
    cursor: pointer;
    min-width: 150px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.homesae-sort-select:focus {
    outline: none;
    border-color: var(--homesae-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Skeleton Loading Effect - Exact copy of project card structure */
.homesae-skeleton-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

.homesae-skeleton-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--homesae-bg-card);
    border-radius: var(--homesae-radius);
    overflow: hidden;
    box-shadow: var(--homesae-shadow-subtle);
    transition: var(--homesae-transition);
    border: 1px solid var(--homesae-border);
    position: relative;
    height: 500px;
    width: 100%;
}

.homesae-skeleton-image {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: homesae-skeleton-shimmer 1.5s infinite;
}

.homesae-skeleton-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.homesae-skeleton-title {
    color: white;
    font-size: 20px !important;
    font-weight: 300 !important;
    margin: 0 0 8px 0;
    line-height: 1.3em !important;
    height: 24px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3) 25%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.3) 75%);
    background-size: 200% 100%;
    animation: homesae-skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
    width: 80%;
}

.homesae-skeleton-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.homesae-skeleton-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 18px;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    height: 18px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3) 25%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.3) 75%);
    background-size: 200% 100%;
    animation: homesae-skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
    width: 60%;
}

.homesae-skeleton-meta-item:nth-child(2) {
    width: 70%;
}

.homesae-skeleton-meta-item:nth-child(3) {
    width: 50%;
}

.homesae-skeleton-meta-item:nth-child(4) {
    width: 65%;
}

.homesae-skeleton-meta-item:nth-child(5) {
    width: 55%;
}

.homesae-skeleton-button {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.homesae-skeleton-button span {
    background: linear-gradient(90deg, rgba(255,255,255,0.3) 25%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.3) 75%);
    background-size: 200% 100%;
    animation: homesae-skeleton-shimmer 1.5s infinite;
    color: white;
    padding: 3px 90px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 300;
    text-align: center;
    height: 21px;
    width: 180px;
    border-radius: 4px;
}

@keyframes homesae-skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Skeleton Column Layouts - Exact copy of project grid */
.homesae-skeleton-grid.homesae-columns-1 {
    grid-template-columns: 1fr;
}

.homesae-skeleton-grid.homesae-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.homesae-skeleton-grid.homesae-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.homesae-skeleton-grid.homesae-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.homesae-skeleton-grid.homesae-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

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

/* Project Grid Styles */
.homesae-projects-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

/* Column Layouts */
.homesae-columns-1 {
    grid-template-columns: 1fr;
}

.homesae-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.homesae-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.homesae-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.homesae-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

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

.homesae-project-card {
    background: var(--homesae-bg-card);
    border-radius: var(--homesae-radius);
    overflow: hidden;
    box-shadow: var(--homesae-shadow-subtle);
    transition: var(--homesae-transition);
    border: 1px solid var(--homesae-border);
    position: relative;
}

.homesae-project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--homesae-shadow-strong);
}

/* Project Card Link Styles */
.homesae-project-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--homesae-bg-card);
    border-radius: var(--homesae-radius);
    overflow: hidden;
    box-shadow: var(--homesae-shadow-subtle);
    transition: var(--homesae-transition);
    border: 1px solid var(--homesae-border);
    position: relative;
    height: 500px;
    width: 100%;
}


.select2-container {
    width: 300px !important;
}

.homesae-project-image {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.homesae-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.homesae-project-title {
    color: white;
    font-size: 20px !important;
    font-weight: 300 !important;
    margin: 0 0 8px 0;
    line-height: 1.3em !important;
}


.homesae-project-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.homesae-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 18px;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

.homesae-meta-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.7));
}

.homesae-meta-item i {
    font-size: 16px;
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.7));
    flex-shrink: 0;
}



/* Pagination Styles */
.homesae-pagination {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.homesae-pagination-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.homesae-pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--homesae-border);
    background: var(--homesae-bg-card);
    color: var(--homesae-text-primary);
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--homesae-transition);
    text-decoration: none;
}

.homesae-pagination-btn:hover {
    background: var(--homesae-primary);
    color: white;
    border-color: var(--homesae-primary);
    transform: translateY(-1px);
}

.homesae-pagination-btn.active {
    background: var(--homesae-primary);
    color: white;
    border-color: var(--homesae-primary);
}

.homesae-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.homesae-pagination-btn:disabled:hover {
    background: var(--homesae-bg-card);
    color: var(--homesae-text-primary);
    border-color: var(--homesae-border);
    transform: none;
}

/* Empty State */
.homesae-empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--homesae-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    width: 100%;
}

.homesae-empty-state svg {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    opacity: 0.5;
    display: block;
}

.homesae-empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--homesae-text-secondary);
    margin: 0 0 8px 0;
    text-align: center;
}

.homesae-empty-state p {
    font-size: 18px;
    margin: 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .homesae-columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .homesae-columns-5 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .homesae-columns-6 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .homesae-skeleton-grid.homesae-columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .homesae-skeleton-grid.homesae-columns-5 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .homesae-skeleton-grid.homesae-columns-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .homesae-columns-3,
    .homesae-columns-4,
    .homesae-columns-5,
    .homesae-columns-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .homesae-skeleton-grid.homesae-columns-3,
    .homesae-skeleton-grid.homesae-columns-4,
    .homesae-skeleton-grid.homesae-columns-5,
    .homesae-skeleton-grid.homesae-columns-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .homesae-search-container {
        padding: 32px 16px;
    }
    
    .homesae-search-header {
        padding: 0 16px;
        margin-bottom: 32px;
    }
    
    .homesae-search-title {
        font-size: 24px;
    }
    
    .homesae-search-description {
        font-size: 14px;
    }
    .select2-container {
        width: 100% !important;
    }
    .homesae-search-fields {
        flex-direction: column;
        gap: 16px;
        max-width: 100%;
    }
    
    .homesae-field-group {
        max-width: 100%;
    }
    
    .homesae-button-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .homesae-btn {
        min-width: 100%;
    }
    
    .homesae-columns-1,
    .homesae-columns-2,
    .homesae-columns-3,
    .homesae-columns-4,
    .homesae-columns-5,
    .homesae-columns-6 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .homesae-skeleton-grid.homesae-columns-1,
    .homesae-skeleton-grid.homesae-columns-2,
    .homesae-skeleton-grid.homesae-columns-3,
    .homesae-skeleton-grid.homesae-columns-4,
    .homesae-skeleton-grid.homesae-columns-5,
    .homesae-skeleton-grid.homesae-columns-6 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .homesae-skeleton-link {
        height: 400px;
    }
    
    .homesae-results-header {
        gap: 16px;
    }
    
    .homesae-sort-container {
        width: 100%;
        justify-content: flex-end;
    }
    
    .homesae-sort-select {
        min-width: 200px;
    }
    
    .homesae-pagination-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }
    
  
    
    .homesae-project-overlay {
        padding: 16px;
    }
    
    .homesae-project-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
 
    .homesae-project-overlay {
        padding: 12px;
    }
    

    .homesae-meta-item svg {
        width: 18px;
        height: 18px;
    }
}

/* Accessibility Improvements */
.homesae-btn:focus,
.homesae-select:focus,
.homesae-pagination-btn:focus {
    outline: 2px solid var(--homesae-primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --homesae-border: #000000;
        --homesae-text-muted: #000000;
    }
}

.select2-container--default .select2-selection--single {
    height:40px !important;
    border: 1px solid white !important;
    border-radius: 6px !important;
    background: #000000 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.select2-container--default .select2-selection--single:focus {
    border-color: white !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2) !important;
    outline: none !important;
}



.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    right: 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: white transparent transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent white transparent !important;
}

.select2-dropdown {
    border: 1px solid white !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    background: #000000 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    top: -10px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid white !important;
    border-radius: 4px !important;

    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 18px !important;
    background: #000000 !important;
    color: white !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: white !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2) !important;
    outline: none !important;
}

.select2-container--default .select2-results__option {
    padding: 12px 16px !important;
    font-size: 18px !important;
    color: white !important;
    transition: var(--homesae-transition) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected=true] {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.select2-container--default .select2-results__option[data-selected=true] {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.select2-container--default .select2-results__option--highlighted[data-selected=true] {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

/* Select2 Loading Spinner */
.select2-container--default .select2-results__option--loading {
    color: rgba(255, 255, 255, 0.7) !important;
}

.select2-container--default .select2-results__option--loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--homesae-border);
    border-top: 2px solid var(--homesae-primary);
    border-radius: 50%;
    animation: homesae-spin 1s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

/* Select2 No Results */
.select2-container--default .select2-results__option--no-results {
    color: rgba(255, 255, 255, 0.7) !important;
    font-style: italic;
}

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

/* Developer Projects Container */
.homesae-developer-container {
    width: 100%;
    margin: 0 auto;
}

.homesae-developer-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 32px;
    background: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  
}

.homesae-developer-title {
    font-size: 28px !important;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-align: center;
    width: 100%;
}

.homesae-developer-description {
    font-size: 16px;
    color: #ffffff;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-align: center;
    width: 100%;
}

.homesae-developer-results {
    margin-top: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Developer Skeleton Loading */
.homesae-developer-skeleton-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
}

.homesae-developer-skeleton-grid.homesae-columns-1 {
    grid-template-columns: 1fr;
}

.homesae-developer-skeleton-grid.homesae-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.homesae-developer-skeleton-grid.homesae-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.homesae-developer-skeleton-grid.homesae-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.homesae-developer-skeleton-grid.homesae-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

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

/* Developer Pagination */
.homesae-developer-pagination-btn {
    padding: 8px 16px;
    border: 1px solid #E2E8F0;
    background: white;
    color: #0F172A;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.homesae-developer-pagination-btn:hover:not(.active):not(:disabled) {
    background: #F8FAFC;
    border-color: #6366F1;
    color: #6366F1;
}

.homesae-developer-pagination-btn.active {
    background: #6366F1;
    border-color: #6366F1;
    color: white;
}

.homesae-developer-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Developer Skeleton Loading */
.homesae-developer-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.homesae-skeleton-link {
    height: 500px;
    width: 100%;
    background: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.homesae-skeleton-image {
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: homesae-skeleton-shimmer 1.5s infinite;
}

.homesae-skeleton-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.homesae-skeleton-title {
    height: 24px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: homesae-skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
    width: 80%;
}

.homesae-skeleton-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.homesae-skeleton-meta-item {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: homesae-skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
    width: 60%;
}

.homesae-skeleton-meta-item:nth-child(2) {
    width: 70%;
}

.homesae-skeleton-meta-item:nth-child(3) {
    width: 50%;
}

.homesae-skeleton-meta-item:nth-child(4) {
    width: 65%;
}

.homesae-skeleton-meta-item:nth-child(5) {
    width: 55%;
}

/* Responsive skeleton grid */
@media (max-width: 1200px) {
    .homesae-developer-skeleton-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .homesae-developer-skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .homesae-developer-skeleton-grid {
        grid-template-columns: 1fr;
    }
}

/* Project Tags Styles */
.homesae-project-tags {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 32px);
}

.homesae-tag {
    background: #fff;
    color: #000;
    border-radius: 5px;
    padding: 0px 12px;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none;
    border: 1px solid #ddd;
    transition: background-color 0.3s, color 0.3s;
}

/* Responsive tag styles */
@media (max-width: 768px) {
    .homesae-project-tags {
        top: 12px;
        left: 12px;
        max-width: calc(100% - 24px);
        gap: 4px;
    }
    
    .homesae-tag {
        font-size: 11px;
        padding: 3px 6px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .homesae-project-tags {
        top: 8px;
        left: 8px;
        max-width: calc(100% - 16px);
    }
    
    .homesae-tag {
        font-size: 10px;
        padding: 2px 5px;
        border-radius: 8px;
    }
}

/* Responsive skeleton button styles */
@media (max-width: 768px) {
    .homesae-skeleton-button {
        margin-top: 12px;
    }
    
    .homesae-skeleton-button span {
        font-size: 14px;
        padding: 6px 12px;
        width: 150px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .homesae-skeleton-button {
        margin-top: 8px;
    }
    
    .homesae-skeleton-button span {
        font-size: 13px;
        padding: 5px 10px;
        width: 120px;
        height: 16px;
    }
}

/* Project Button Styles */
.homesae-project-button {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.homesae-project-button span {
    background: white;
    color: black;
    padding: 3px 90px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 300;
    text-align: center;
    cursor: pointer;
}


/* Responsive button styles */
@media (max-width: 768px) {
    .homesae-project-button {
        margin-top: 12px;
    }
    
    .homesae-project-button span {
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .homesae-project-button {
        margin-top: 8px;
    }
    
    .homesae-project-button span {
        font-size: 13px;
        padding: 5px 10px;
    }
}
