/* ============================================
   SERVICES GRID LAYOUT - HUB PAGES ONLY
   ============================================ */

.all-services-section {
    padding: 4rem 0;
    background: #fff;
}

.all-services-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.service-category-section {
    margin-bottom: 40px;
}

.service-category-section:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.category-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-title a:hover {
    color: var(--primary-color);
}

/* 3-Column Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 8px;
}

.service-box {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.25rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.service-box:hover {
    border-color: var(--primary-color);
    background: #fff5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .all-services-section h1 {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

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

    .service-box {
        font-size: 0.95rem;
        padding: 1rem 0.75rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .all-services-section {
        padding: 3rem 0;
    }

    .all-services-section h1 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .category-title {
        font-size: 1.3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-box {
        font-size: 0.9rem;
        padding: 0.875rem 0.75rem;
    }
}
