section.services-page-header .page-header-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../media/collections/service_cover.webp");
}

.services-grid-section {
    padding: 30px 0;
    background-color: var(--bg-light);
}

.services-grid-section .row {
    row-gap: 20px;
}

.services-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.services-filter h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1.2rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-buttons .filter-btn {
    padding: 10px 10px;
    background-color: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 25px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    flex-basis: 130px;
}

.filter-buttons .filter-btn:hover,
.filter-buttons .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.service-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(29, 78, 216, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(59, 130, 246, 0.6));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-category {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
}

.service-info {
    padding: 25px;
    text-align: center;
}

.service-title {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(16px, 5vw, 20px);
}

.service-price {
    margin-bottom: 20px;
    font-size: clamp(16px, 5vw, 20px);
    font-weight: bold;
    color: var(--primary-color);
}

.order-now-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color), #d97706);
    color: var(--white);
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.order-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.order-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.order-now-btn:hover::before {
    left: 100%;
}

.order-now-btn:active {
    transform: translateY(-1px);
}

.load-more-section {
    text-align: center;
}

.load-more-section .load-more-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.load-more-section .load-more-btn:hover {
    background-color: var(--secondary-color);
}
@media (max-width:575px) {
    .filter-buttons .filter-btn {
        flex-basis: 100%;
    }
}
@media (min-width:576px) and (max-width:767px) {
    .filter-buttons .filter-btn {
        flex-basis: 200px;
    }
}
@media (min-width:991px) and (max-width:1199px) {
    .filter-buttons .filter-btn {
        flex-basis: 150px;
    }
}