:root {
    --color-primary: #fff;
    --color-secondary: #222222ff;
    --color-comp: #2851cbff;
    --font-primary: sans-serif;
    --color-headerhover: #7f7f7fff;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
    font-family: 'Poppins', sans-serif;
}

body {
    background: whitesmoke;
    overflow-x: hidden;
}

.filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    align-items: end;
    margin: 1.5rem auto;
    max-width: 1100px;
    margin-top: 9rem;
}

.filter-item {
    display: flex;
    flex-direction: column;
}

.filter-item label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.filter-item select,
.filter-item input[type="range"] {
    padding: 0.6rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.filter-item select:focus,
.filter-item input[type="range"]:focus {
    outline: none;
    border-color: #0077ff;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0, 119, 255, 0.1);
}

.price-range-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

#priceValue {
    font-size: 0.85rem;
    color: #555;
}

.availability-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem 1rem;
}

.availability-options label {
    font-size: 0.85rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.availability-options input {
    accent-color: #0077ff;
}

.service-listing {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.service-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 16px rgba(0, 119, 255, 0.2);
}

.service-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #0077ff20;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #222;
}

.provider-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: #555;
}

.verified-badge {
    background: #0077ff;
    color: #fff;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.4rem;
}

.price {
    color: #0077ff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.rating {
    color: #f4b400;
    font-size: 0.9rem;
}

.rating span {
    color: #555;
    font-size: 0.85rem;
    margin-left: 0.3rem;
}

.view-btn {
    display: inline-block;
    margin-top: 1rem;
    background: var(--color-comp);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.4rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 50%;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 184, 148, 0.2);
}

.view-btn:hover {
    box-shadow: 0 5px 14px rgba(0, 184, 148, 0.35);
    transform: translateY(-2px);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    text-align: center;
    color: #555;
    background: #f9fafb;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-height: 300px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    margin-top: 8rem;
}

.empty-state:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.empty-state img {
    width: 120px;
    height: auto;
    opacity: 0.8;
    margin-bottom: 1.2rem;
    transition: opacity 0.3s ease;
}

.empty-state img:hover {
    opacity: 1;
}

.empty-state h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 1rem;
    color: #6b7280;
    max-width: 400px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}